Commit Graph

2355 Commits

Author SHA1 Message Date
dzaima 449bf857f2 Fix parsing of java error messages containing ":" 2022-05-28 12:46:38 +03:00
Ben Fry 85238e42a4 rebuild theme selector for multiple sets, add theme to it 2022-05-21 08:49:10 -04:00
Ben Fry 6c841066d5 removing unused ui elements and updating the todo list for design work 2022-05-19 15:10:56 -04:00
Ben Fry 8d21712e9c updating the Export to Application window for FlatLaf 2022-05-09 21:08:22 -04:00
Ben Fry 93a611973b Merge pull request #436 from TN8001/confused-method-references
Fix IDE auto-formatting confused by method references (40b1) #279
2022-04-23 08:34:28 -04:00
Ben Fry f605c1bdd7 Merge pull request #459 from arnoudvanderleer/442-tweak-ints-underscores 2022-04-21 13:53:29 -04:00
Ben Fry b3f38c4baf Merge pull request #474 from processing/full_screen_sketch_renderer
Find sketch renderer in full screen preproc.
2022-04-21 13:42:33 -04:00
A Pottinger 6d6d7e8f1c Find sketch renderer inn full screen preproc. 2022-04-21 08:38:35 -07:00
codeanticode ffc64d0dec preprocess() method in JavaBuild returns PreprocessorResult object 2022-04-19 23:16:56 -04:00
Tempestas Ludi c4e806e3f0 Add simple tweak mode support for underscores in decimal and hexadecimal numbers 2022-03-28 19:42:06 +02:00
TN8001 0237dc37ac Update AutoFormat.java
fix #279
2022-03-05 08:37:37 +09:00
codeanticode 96778d8a7b Store sketch renderer in PreprocessorResult 2022-02-19 16:56:29 -05:00
Ben Fry d0e6f281d8 when doing Save As, don't included exported applications 2022-02-13 11:51:27 -05:00
Ben Fry fa741e29d0 lots of code to handle scaling on Windows; also for #378 2022-02-13 08:46:16 -05:00
Ben Fry ee0f093981 remove commented-out code to avoid confusion (moved elsewhere) 2022-02-12 12:04:41 -05:00
Ben Fry 1bb5b3e60c fix NPE for Preferences.get() in Export to Application 2022-02-12 10:56:55 -05:00
A Pottinger 0a848442d5 Add test for multiline strings in classes just to be safe.
Though the test isn't broken, just adding a multiline string within a class test case just out of an abundance of caution.
2022-02-10 08:56:15 -08:00
A Pottinger 4ffd2e5898 Add variable modifier to multi-multiline string test. 2022-02-10 08:52:08 -08:00
A Pottinger 3c59e3694c Fix for new test. 2022-02-10 08:46:53 -08:00
A Pottinger 18e1d567b6 Fix greedy multi-line string rule.
Single character fix which adds test for and closes #398 by making the rule non-greedy.
2022-02-10 08:43:24 -08:00
Ben Fry 0fb7f77390 fix errant use of sketch name vs main tab name 2022-02-06 20:05:51 -05:00
Ben Fry e19cd00481 just cleaning up spacing 2022-02-06 19:40:10 -05:00
Ben Fry f557e144ca fix typos, mostly spelling 2022-02-06 19:21:50 -05:00
Ben Fry bceb495731 cleaning syntax, spaces, and warnings in search of bug 2022-02-06 19:18:50 -05:00
Ben Fry 0c82fa4ce3 fix warnings and reduce number of very wide lines 2022-02-06 19:08:45 -05:00
Ben Fry adfe784341 split use of Sketch.getName() with new Sketch.getMainName() method 2022-02-06 18:54:52 -05:00
Ben Fry 22d6aca04c removing commented-out bits 2022-02-06 18:41:42 -05:00
Ben Fry bec5d15d18 minor clarification 2022-02-06 18:37:30 -05:00
Ben Fry 36a85e20c1 remove unnecessary "mode" reference, other notes 2022-02-04 20:36:01 -05:00
A Pottinger 7bc308e10e Add a test for no arg full screen. 2022-02-03 08:59:56 -08:00
A Pottinger 477508a971 Resolves preproc issue related to #352. 2022-02-03 08:57:37 -08:00
A Pottinger 220061ff3d Add new preproc test resources related to #352. 2022-02-03 08:56:11 -08:00
A Pottinger 63b8aa5753 Add failing test for #352.
It appears that the preproc is only bringing in the first arg in rewrite and this commit adds a test to check that other arguments also come over.
2022-02-03 08:47:01 -08:00
A Pottinger 787bef4a96 Clean up spacing on Processing.g4 2022-01-30 09:47:06 -08:00
A Pottinger 8ff88f7d14 Minor style improvements in antlr grammars. 2022-01-30 09:42:50 -08:00
A Pottinger 675dab3b6d Fix Processing.g4 use of tabs. 2022-01-30 09:40:06 -08:00
A Pottinger 077e6741f7 Minor clean up for #384. 2022-01-29 20:21:22 -08:00
A Pottinger 00fbc6974d Allow scrubCommentsAndStrings with flag. 2022-01-29 20:17:05 -08:00
A Pottinger 8ee119f150 As part of #371, finally disable SourceUtils transforms.
SourceUtils has been doing unnecessary stuff but, until multiline strings, they weren't getting in the way so it stuck around. Adding flag to disable since the automaton inside SourceUtils is difficult to modify for the new language feature.
2022-01-29 20:05:34 -08:00
A Pottinger b66c5f2487 Closes #371: Mutli-line string support.
Offers support for multi-line strings with a flag to simulate the feature prior to switching to Java 17 build flags. Note that comments are left in (TODOs) where the switch would be required to support it "natively".
2022-01-29 16:14:04 -08:00
A Pottinger 30cee886da Closes #317: Preproc behavior when size defined in user class.
Though this was already fixed, just adding a test to confirm that it stays fixed. Need to respect calls to user-definined size methods including those defined in user-made classes.
2022-01-29 15:19:01 -08:00
A Pottinger c7d6cba2a8 Added unit test file for resolution of mixing modes error. 2022-01-29 15:15:41 -08:00
A Pottinger 5385dafbf0 Added a little documentation related to #290. 2022-01-29 15:11:38 -08:00
A Pottinger 0f9b290398 Closes #290: Support detection of mixed modes in preproc.
Make a more friendly error message when the user is mixing modes, allowing for localization of error.
2022-01-29 15:08:14 -08:00
Ben Fry b3e1a49f3b closing in on a release, cleaning things up a bit 2022-01-23 20:40:36 -05:00
Ben Fry 0da881e328 add pde/pdex/pdez document icons, update icons inside core and PDE, swap foundation icon 2022-01-22 22:02:17 -05:00
Ben Fry d6fe5cac33 renaming macosx to macos in build.xml and the build folder 2022-01-22 17:34:08 -05:00
Ben Fry 83a1ec6552 the new Export to Application debugged and working 2022-01-22 15:05:39 -05:00
Ben Fry 8c44733d7e move export prompt to its own class 2022-01-22 13:26:42 -05:00
Ben Fry 85e136f17f more reworking of export, but ui still unfinished 2022-01-22 13:04:38 -05:00