-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Enhanced EOL support #2685
Enhanced EOL support #2685
Commits on May 18, 2020
-
added enum to represent different styles of line endings, and marked …
…`Utils.EOL` as deprecated
Configuration menu - View commit details
-
Copy full SHA for 1687acc - Browse repository at this point
Copy the full SHA 1687accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 463d704 - Browse repository at this point
Copy the full SHA 463d704View commit details -
fixes javaparser#2647 -- nodes now have a data item with detail about…
… which line ending was found during parsing -- this is then used during the lexical preservation csmtoken insertion/diffing to ensure that the "new" newlines are of the same type as the parent....
Configuration menu - View commit details
-
Copy full SHA for 7ae8157 - Browse repository at this point
Copy the full SHA 7ae8157View commit details
Commits on May 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a383ff4 - Browse repository at this point
Copy the full SHA a383ff4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1575ce4 - Browse repository at this point
Copy the full SHA 1575ce4View commit details -
added method that allows passing a default line ending if there eithe…
…r one isn't set or it is a meta-value e.g. EMPTY or NONE
Configuration menu - View commit details
-
Copy full SHA for 6094e5a - Browse repository at this point
Copy the full SHA 6094e5aView commit details -
bug fix where the node has no EOL chars already -- default to using s…
…ystem's line ending
Configuration menu - View commit details
-
Copy full SHA for 0303145 - Browse repository at this point
Copy the full SHA 0303145View commit details -
fixed the CsmToken based only on a given token type int -- the conten…
…t should be unescaped line separators, but the lookup returns escaped line separators; deprecated isSpaceOrTab and added isWhitespaceButNotEndOfLine as a replacement;
Configuration menu - View commit details
-
Copy full SHA for b64e895 - Browse repository at this point
Copy the full SHA b64e895View commit details -
added comments to the variety of whitespace characters treated as a s…
…pace within the grammar (e.g. non-breaking spaces and tab characters)
Configuration menu - View commit details
-
Copy full SHA for fa48fe4 - Browse repository at this point
Copy the full SHA fa48fe4View commit details
Commits on May 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 117cc6e - Browse repository at this point
Copy the full SHA 117cc6eView commit details
Commits on May 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aeebc4d - Browse repository at this point
Copy the full SHA aeebc4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c07766 - Browse repository at this point
Copy the full SHA 0c07766View commit details -
Merge branch 'issue_2647_eol' of https://github.com/MysterAitch/javap…
…arser into issue_2647_eol
Configuration menu - View commit details
-
Copy full SHA for c792876 - Browse repository at this point
Copy the full SHA c792876View commit details -
Configuration menu - View commit details
-
Copy full SHA for c60d03e - Browse repository at this point
Copy the full SHA c60d03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c85e2a - Browse repository at this point
Copy the full SHA 7c85e2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1199e - Browse repository at this point
Copy the full SHA 9e1199eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1ddcc4 - Browse repository at this point
Copy the full SHA d1ddcc4View commit details -
edited TestUtils#readResource to read the file "as-is" (i.e. characte…
…r by character). If it is important for you to define the line endings used, provide a LineEnding as a second parameter else use TestUtils#readResourceUsingSystemEol
Configuration menu - View commit details
-
Copy full SHA for 3fd78bb - Browse repository at this point
Copy the full SHA 3fd78bbView commit details -
editing another test case which presumes system EOL -- this commit pr…
…ovides more descriptive output from the test's utility method
Configuration menu - View commit details
-
Copy full SHA for b0e88e1 - Browse repository at this point
Copy the full SHA b0e88e1View commit details -
Introduced TestUtils.assertEqualsString and TestUtils.assertEqualsStr…
…ingIgnoringEol, and edited some tests to this.
Configuration menu - View commit details
-
Copy full SHA for 339d45a - Browse repository at this point
Copy the full SHA 339d45aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c69a61 - Browse repository at this point
Copy the full SHA 1c69a61View commit details
Commits on May 23, 2020
-
updated appveyor.yml to set autocrlf to true -- appveyor defaults to …
…`input` meaning that it checks out the code using the repo's line endings not the system's line endings this was discovered / came up as a problem in javaparser#2685 where javaparser started to respect the line endings of test resources instead of reading line-by-line and inserting the system's line endings
Configuration menu - View commit details
-
Copy full SHA for e3e59af - Browse repository at this point
Copy the full SHA e3e59afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b3b64c - Browse repository at this point
Copy the full SHA 0b3b64cView commit details
Commits on May 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f70d09 - Browse repository at this point
Copy the full SHA 0f70d09View commit details
Commits on May 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2027ca2 - Browse repository at this point
Copy the full SHA 2027ca2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ede3a21 - Browse repository at this point
Copy the full SHA ede3a21View commit details -
renamed uses of
toString()
totoRawString()
to emphasise that the…… caller wants the actual line separator "as-is" and without any additional escaping; added human-readable "descriptions" to the LineEnding enums; progress on LineEndingProcessingProvider.java -- now functional and tests passing;
Configuration menu - View commit details
-
Copy full SHA for df5605c - Browse repository at this point
Copy the full SHA df5605cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7540f1d - Browse repository at this point
Copy the full SHA 7540f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b58c4 - Browse repository at this point
Copy the full SHA 65b58c4View commit details -
renamed EOL to SYSTEM_EOL to make it explicit that it refers to the h…
…ost's line separator
Configuration menu - View commit details
-
Copy full SHA for 8a1dd7d - Browse repository at this point
Copy the full SHA 8a1dd7dView commit details -
renamed variable/config option re: detecting line endings as opposed …
…to retaining them
Configuration menu - View commit details
-
Copy full SHA for 6c52c73 - Browse repository at this point
Copy the full SHA 6c52c73View commit details -
renamed variable/config option re: detecting line endings as opposed …
…to retaining them
Configuration menu - View commit details
-
Copy full SHA for c0a4305 - Browse repository at this point
Copy the full SHA c0a4305View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c8570 - Browse repository at this point
Copy the full SHA 62c8570View commit details -
renamed variable/config option re: detecting line endings as opposed …
…to retaining them
Configuration menu - View commit details
-
Copy full SHA for 2062690 - Browse repository at this point
Copy the full SHA 2062690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4144743 - Browse repository at this point
Copy the full SHA 4144743View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7fd3c9 - Browse repository at this point
Copy the full SHA a7fd3c9View commit details