Commit Graph

7971 Commits (b7025b9ce48dd9440ea73ebadd8f3bb241c8a858)

Author SHA1 Message Date
Tienson Qin b7025b9ce4 fix: undo/redo paginations 2022-07-20 13:56:04 +08:00
Tienson Qin d40c0d8926 fix: WIP broken undo/redo for long page 2022-07-20 13:56:04 +08:00
Peng Xiao d271b85a51 fix: should only log query when debug is enabled 2022-07-20 11:55:17 +08:00
charlie 2b94a95f11 fix(api): return non transferable value for plugin api 2022-07-20 09:34:28 +08:00
Gabriel Horner 981b1ad69e Fix autorun tests doc, close #5967 2022-07-19 21:04:02 -04:00
Gabriel Horner b226484683
Merge pull request #6056 from playerofgames/calc_enhance_format
Calculator improvements: new operations, display formats, constants and bases
2022-07-19 10:03:41 -04:00
Martin Scott 1d0fa763a5 Revised format directives and mixed number format
Also changed output of non-decimal numbers to use base prefixes.
2022-07-19 10:25:26 +01:00
Gabriel Horner 48306d37aa test: temporarily skip intermittently failing test 2022-07-18 10:54:55 -04:00
8N9KT abedbac922
Fix/boolean in query table (#6063)
* show boolean properties value in query table

* Update query_table.cljs

* Update query_table.cljs
2022-07-18 10:33:04 -04:00
sawhney17 dc380ad64d
fix(references): block references crash (#6061)
* fix  #6057

* clear extra files

* format

* refactor

* use multi arity to simplify
2022-07-18 10:16:24 -04:00
yoyurec 04ea801c12 Plugin settings add data-key 2022-07-18 22:14:32 +08:00
Martin Scott 7c11de885b Add fraction display mode
Support for showing results as fractions (mixed numbers or improper) and entering mixed numbers.
2022-07-18 01:04:48 +01:00
Martin Scott a4b79ffe4f Fix tests
Compare output strings based on input lines.
2022-07-18 00:49:59 +01:00
Martin Scott 70c04e34bf Add operations, display formats, constants and bases
New operations:
- factorial operator `!`;
- modulo operator `mod`.

Constants added:
- `PI`
- `E`

New display format controls:
- `:fix <places>` display format;
- `:sci <places>` display format;
- `:norm <display-precision>` display format;
- `:hex`, `:oct`, `:bin` and`:dec` display formats.

New number formats:
- Enter hexadecimal, octal and binary numbers using `0x`, `0o` and `0b` prefixes respectively.

Bugs fixed:
- Loss of precision when supplying numbers in scientific notation.
2022-07-15 19:46:32 +01:00
Gabriel Horner 903e5c8a3b
Merge pull request #6024 from logseq/fix/remove-built-in-property-pages
Enhance: Property page enhancements
2022-07-15 11:04:27 -04:00
Gabriel Horner 7370716215 Move editable linkable built-in props to var
They were also being referred to elsewhere in block.cljs
Also moved filters to editable as that is existing behavior
Also disabled verbosity of cli tests to allow graph-parser tests to be
more readable
2022-07-15 10:41:35 -04:00
Junyi Du 33318c395b test(e2e): temporarily skip alias testing 2022-07-15 16:35:43 +08:00
llcc 54a7e61b26 Revert: don't parse some special property key values as pages
Produced two many extra pages.
2022-07-15 16:11:11 +08:00
llcc cd6c355e8d fix testings 2022-07-15 15:52:00 +08:00
llcc 1b5627ed4d add :icon :aliases to editable-built-in-properties 2022-07-15 15:52:00 +08:00
llcc 4ea1cbadaf don't parse some special property key values as pages
e.g. numbers, boolean
2022-07-15 15:26:09 +08:00
llcc f371d99034 don't parse value of built-in property keys as pages 2022-07-15 15:26:09 +08:00
Andelf 5f74ba6907 fix: allow edit icon:: property 2022-07-15 15:26:09 +08:00
Gabriel Horner a0087d7792 Add config options to disable property pages and to exclude certain ones 2022-07-15 15:26:09 +08:00
Gabriel Horner de61b28000 Add additionable built-in properties that shouldn't have pages created
Introduced hidden naming as that is a more accurate name for its usage.
There may be a possible bug with existing built-in-properties but not
familiar with all cases here and don't want to introduce more bugs
before release
2022-07-15 15:26:09 +08:00
Gabriel Horner abd7e0becb Add 3 missing built-in-properties
Also fix carve linter and make nbb test invocation easier
2022-07-15 15:26:09 +08:00
Gabriel Horner 50bce350de Don't auto-create pages for built-in properties
Fixes #5963
2022-07-15 15:26:09 +08:00
Gabriel Horner 538b2aaab2
Merge pull request #5982 from sawhney17/improve-references-filter
enhance(filters): Improve reference filters
2022-07-14 10:57:44 -04:00
charlie 288dcf549d fix(assets): missing reg case-insensitive 2022-07-14 11:12:34 +08:00
charlie a80aa2df0f fix(assets): missing asset resource when file name with specific url encoded chars 2022-07-14 11:12:34 +08:00
charlie 390a2469da chore(plugin): build libs core 2022-07-14 11:09:10 +08:00
charlie 6facd22ea0 fix(plugin): occasional memory leak when dynamic slot ui with provide ui 2022-07-14 11:09:10 +08:00
charlie cc04718576 fix(plugin): occasional memory leak when dynamic slot ui with provide ui 2022-07-14 11:09:10 +08:00
sawhney17 a93b47a886 keep constant capitalization 2022-07-14 11:08:04 +08:00
sawhney17 3a9c4da9fd update dict 2022-07-14 11:08:04 +08:00
sawhney17 33c4a2bfa3 make the git commti customizable 2022-07-14 11:08:04 +08:00
Peng Xiao d8fe1b0b37 fix: export as html issue 2022-07-14 11:07:26 +08:00
queeup dccfce748d fix: update Turkish translation 2022-07-14 11:06:59 +08:00
Gabriel Horner 9ee2a09601
Merge branch 'master' into improve-references-filter 2022-07-13 17:35:22 -04:00
sawhney17 26b15982af fix search limits 2022-07-14 00:07:16 +04:00
sawhney17 5f57c508cb address comments 2022-07-14 00:07:00 +04:00
llcc 5c29517636 fix click not working on cards preview mode 2022-07-13 21:42:15 +08:00
Junyi Du ee3ac7dd21
fix: blocking hooks when setup repo; recover diacritic e2e test (#5952)
* fix: blocking hooks when setup repo; recover diacritic e2e test

* test(e2e): update e2e test for the new selection UI
2022-07-13 21:30:17 +08:00
Andelf df70190f60 fix(ios): delay unlink event by 500ms 2022-07-13 20:03:26 +08:00
Andelf 5c1ef22e8e fix(watcher): avoid calling delete too early 2022-07-13 20:03:26 +08:00
sawhney17 e8ee6b4202
Merge branch 'logseq:master' into improve-references-filter 2022-07-12 18:31:28 +04:00
sawhney17 7ccc56b717 implement fuzzy search 2022-07-12 18:07:37 +04:00
sawhney17 0854028693 localize text 2022-07-12 17:07:37 +04:00
Wojciech Nawrocki 2390846531
feat(pdf): fix formatting of copied text (#4564)
* chore(pdf): update pdfjs to 2.13.216

Also reapplied pdf_viewer fix from d3b4773.

* fix(pdf): formatting of copied text

* chore(pdf): update viewer CSS to 2.13.216

* chore(pdf): remove deprecated option

* chore(pdf): update pdfjs to 2.14.305

* doc(pdf): document some functions

* fix(pdf): highlight positioning
2022-07-12 18:30:50 +08:00
llcc 6f395175d5
fix key duplicates caused by key case when insert page property (#5889)
* fix key duplicates caused by key case when insert page property

* use lower-cased property key
2022-07-12 10:58:21 +08:00