-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR for #3472: use flat json for cut/copy/paste nodes #3473
Draft
edreamleo
wants to merge
226
commits into
devel
Choose a base branch
from
ekr-3472-flat-json
base: devel
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will remain a draft until Leo 6.7.6.
#3472 describes the json format.
#3485 describes possible problems with
paste-retaining-clones
.copy-node
,paste-node
, andpaste-retaining-clones
so they use json dicts.paste-retaining-clones
should give priority to pasted nodes.server.copy_node
andserver.copy_node_as_json
.The new version of
fc.outline_to_clipboard_string
usesc.archive
Details
Here is the old version of
fc.outline_to_clipboard_string
:Command-line arguments and commands
check-uas
command, with two aliases.--trace=uas
.Commander methods
c.archive
,c.unarchive
, andc.validate_archive
.c.recreateGnxDict
. This method had no chance of being correct.c.was_cloned_in_archive
andc.recompute_all_parents
.c.all_unique_nodes
usingv.alt_self_and_subtree
.c.all_nodes
toc.all_unique_nodes
everywhere, retainingall_nodes
as an alias.c.alt_all_positions
andc.alt_unique_nodes
.Position methods
p.alt_self_and_subtree
andp.alt_subtree
.VNode methods
v.alt_self_and_subtree
andv.alt_self_and_parents
.v.setAllAncestorAtFileNodesDirty
usingv.alt_self_and_parents
.leoGlobals classes and functions
SetJSONEncoder
class inleoGlobals.py
, notleoFileCommands.py
.g.dump_archive
,g.dump_clone_info
,g.dump_gnx
,g.archive_uas
. It validates all uas. Switches ing.app.debug
enable traces in this method.g.objToString
and g.internalError`.Testing
leoTest2.py
.