forked from benfry/processing4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
done.txt
13116 lines (12042 loc) · 605 KB
/
done.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1288 (4.1)
X bump Java version to 17.0.5
X theme is not being kept after Processing restart on Windows
X unable to reproduce so just hoping this works
X https://github.com/processing/processing4/issues/565
X update languages to work with more specific locales
X expanded language codes to support traditional Chinese translation
X https://github.com/processing/processing4/issues/600
X update wiki
X https://github.com/processing/processing4/wiki/Translations
X https://www.oracle.com/java/technologies/javase/jdk17-suported-locales.html
X Offline reference has been removed for 4.x, build a new version
X implement offline reference download
X https://github.com/processing/processing-website/releases/download/2022-10-05-1459/reference.zip
X add a note about the file size to the progress window
X document on wiki
X https://github.com/processing/processing4/wiki/Offline-Reference
X https://github.com/processing/processing4/issues/524
X https://github.com/processing/processing4/issues/589
X offline documentation source?
o https://github.com/processing/processing-website/releases
o json: https://api.github.com/repos/processing/processing-website/releases
o has an array of objects, and there's an object key for 'zipball_url' we can use:
o https://api.github.com/repos/processing/processing-website/zipball/2022-11-14-1615
X look into LSP code contribution
X https://github.com/processing/processing4/pull/564
X https://github.com/processing/processing4/issues/117
X App was merged into processing.mode.java.lsp.PdeLanguageServer
X "Show Sketch Folder" for library examples need to treat the sketch as Untitled
o and with that, switch to another directory
X https://github.com/processing/processing4/issues/548
X was working as intended
o remove target.path from build/build.xml
o maybe simpler way to write version? sheesh
X not sure what this was about, but confirmed that things are set up as they should be
contrib
X size(863,863/2) not working as first line of setup() function in a simple sketch
X https://github.com/processing/processing4/issues/602
X preproc inserting weird number of spaces
X https://github.com/processing/processing4/issues/607
X before 'public' in functions, it's an extra single space
o not indenting the rest of the code at all
X many blank lines at the beginning
o 'exported at' text at the top is awkward
1287 (4.0.2)
X using Java 17 in more syntax
X fix potential casting problem with Platform and DefaultPlatform
X should be unreachable, but fixed anyway
X bring back getCodeIndex() for GUI Builder Tool
X https://github.com/processing/processing4/issues/545
X ...and remove again
X https://github.com/processing/processing4/issues/596
contribs
X Catalan translation for Processing 4.0.1
X https://github.com/processing/processing4/issues/550
X https://github.com/processing/processing4/pull/554
X Update to Ukranian language strings
X https://github.com/processing/processing4/pull/585
X Fix errors in the Spanish translation
X https://github.com/processing/processing4/issues/552
X https://github.com/processing/processing4/pull/574
X JSSC update for M1/M2
X https://github.com/processing/processing4/pull/577
X https://github.com/processing/processing4/issues/525
X Fix vertical placement of top elements in the Manager window
X https://github.com/processing/processing4/issues/520
X https://github.com/processing/processing4/pull/539
X function/variable "does not exist" errors reported when defining a class without setup/draw
X https://github.com/processing/processing4/issues/579
X https://github.com/processing/processing4/pull/597
docs
X added a "Translations" page to the wiki
X https://github.com/processing/processing4/wiki/Translations
X https://github.com/processing/processing/wiki/Localization
X explanation of how to create a naming.json file
X https://github.com/processing/processing4/wiki/Naming-Sketches
before 4.0.2
X library version number parsing isn't ignoring comments properly
X https://github.com/processing/processing4/issues/586
X https://github.com/processing/processing4/issues/553
X Can't Update Libraries due to "this.progressBar" is null error message
X https://github.com/processing/processing4/issues/567
X if naming scheme produces a sketch w/ the same name, what happens?
X probably a crash (or infinite loop?) need to check
X temp folders owned by one user can't be overwritten by another
X this was on Linux; curious if Windows has an issue too?
X overwrite with -Djava.io.tmpdir=/path/to/tmpdir
X maybe we should use java.io.tmpdir -> processing -> $USER
X https://github.com/processing/processing4/issues/549
X put in a note about the cleaning process
X too many temp folders prevent restart
X https://github.com/processing/processing4/issues/582
X if user clicks "no" when asked to access Documents folder, will cause weird problems later
X "Please fix read/write" in ContributionManager.updateFlagged()
X but that also shouldn't prevent users from continuing
X https://github.com/processing/processing4/issues/581
X use tccutil or some api to check whether user has disallowed access
X https://recoursive.com/2020/03/03/reset_macos_privacy_permissions/
1286 (4.0.1)
X Changing into p5.js mode gives an error
X https://github.com/processing/processing4/issues/530
X add another rollover for the "more prefs" text in the Preferences window
X open the wiki page on click
X also pull the foreground color from the LaF instead of disabling the label
1285 (4.0)
X can we compress jdk/Contents/Home/legal into a single zip?
X it's ~300 files of the ~500 in the entire jdk directory
X working on macOS, written up for Windows and Linux
X test on Windows and Linux
X working on an updated welcome screen
X fix usages of .array() method in PDE code
X default naming selection not being set in prefs window
X make sure mono font is coming from languages file when first setting editor pref
X fix the processing.foundation cert
X remove links to old pages from the language translations
X cd build/shared/lib/languages
X grep menu.help * | grep url
X make sure the numbers scripts are working again before launch
o anything else we need to be tracking?
X recent errors from AndroidMode
X seems related to the random JavaBuild issue
X final call on the About screen
themes
X try gradients in Lab space
X not an obvious win, so set as a pref and come back to it later
X updateTheme() in Theme Selector not updating color for dropdown on changes
X theme_selector.combo_box.enabled.bgcolor
X theme_selector.combo_box.enabled.bgcolor
X doesn't update dynamically unless you (a) select ‘Minerals’ or ‘Alloys’
X or (b) open, then close the dropdown
X changing between themes not updating the combo box text (though arrow trigger works)
X switching between alloys and minerals will properly update
X rollover color for console scrollbar is always blue
X probably a typo in the theme generator (yep)
export
X if error in the code during export, was just saying "error during export"
X now sending the error to the status bar as expected
X get code signing to work again on macOS for exported applications
X absolutely floored that it was broken this long
X new docs added, window text redone
X "include Java for macOS" only relevant for current macOS platform
X better to fix that, or make it possible to download both?
X Export to Application on Apple Silicon is including a broken "Universal" appbundler
X need to lipo a new appbundler, or have it export one of the two files
X rewrote Exporting Applications wiki page
X include more details about Gatekeeper et al
X “Array_Test.app” is damaged and can’t be opened. You should move it to the Trash.
X https://github.com/processing/processing/issues/4214 (closed)
X figure out if we can do anything with signing applications
X https://developer.apple.com/forums/thread/128166
X https://developer.apple.com/forums/thread/701514#701514021
X https://developer.apple.com/forums/thread/701581#701581021
/ Xcode command line tools must be installed first
/ show a message before even opening the Export dialog
X can't restrict to installation b/c may want to do other platforms
X or detection of the CLT may not be correct
X or users may be doing their own manual signing anyway
X for now, just cleaning up the messages a bit for clarity
X and bump the font size back up for legibility
docs
X update theme instructions
X https://github.com/processing/processing4/wiki/Themes
X update the platforms page
X https://github.com/processing/processing4/wiki/Supported-Platforms
o rename to 'platforms'?
X examples still coming from processing-docs repo
X https://github.com/processing/processing-examples
X can safely clone this repo instead of using processing-docs
X 'chars' array is never used in ascii video example
X https://github.com/processing/processing-video/blob/master/examples/Capture/AsciiVideo/AsciiVideo.pde
X add wiki page for preferences and customization
o auto-complete not auto-triggering, change pref for handling?
o Auto-completion: [ ] Disabled [ ] Show on Ctrl-Space [ ] Always show
o https://github.com/processing/processing/issues/5691
X docs about settings.path and sketchbook.path.four
X https://github.com/processing/processing4/issues/362
X https://github.com/processing/processing4/wiki/Preferences#sketchbook-and-settings-location
X add a version of the Troubleshooting page to the 4.x repo
X https://github.com/processing/processing/wiki/troubleshooting
X and update the Help menu to link to it
X add a version of the FAQ to the processing4 wiki
X and link to it from the Help menu
X rewrite https://github.com/processing/processing4/wiki/FAQ for 4.0
X rename changes.md to revisions.md
X this document replaced revisions.txt, and the name was changed to changes.md
X to prevent confusion with the old revisions.txt file
X however, it's far more confusion, because "changes" is used on the wiki
X which documents the differences between 3.x and 4.x et al
X other projects on which p5 is built
X no longer oro matcher and jikes
X add: quaqua, jna, registry stuff, .. ?
X i can't fix these:
An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION
all i can do is find things that might trigger them, but it's more likely
than not to be a java problem, and not something that can be fixed
X search the source for 'applet' references (i.e. SVG docs)
X add a note about underscores in sketch tabs in prefs doc
X update "changes in 4.0" because so much left out
X update README.md in the root
/ move api/internal changes elsewhere
X link to other wiki things that are more useful
temp
X temp folders (particularly on Windows)
X a whole section down below about this
X inside Sketch, makeTempFolder() would be the place to modify the location
X perhaps make a 'temp' inside the sketchbook folder?
X on startup, check to see if there are a lot of files, remove them?
X or maybe auto-delete once older than 24 hours?
X also don't search it when walking the sketchbook
X untitled folders are stored in temp folder
o add a note about temp dir to the bug on windows temp dirs
o move away from using a temp dir at all for sketches
o -Djava.io.tmpdir=Z:\temp
o change up how temp directories are handled
o it's sometimes copying the files to a different drive on windows
X clean up /tmp folders used during build
X https://github.com/processing/processing/issues/1896 (moved)
X https://github.com/processing/processing4/issues/529
X use Platform.delete() to remove untitled sketches
X would allow us to use the /tmp folder
cleaning
X the gradient.top and gradient.bottom lines are used by makeGradient(),
X so search for makeGradient() calls to see whether they're still in use.
X having brought back some gradient themes for beta 9, we'll keep this in place
X create default tools folder (just like libraries)
o for tools, maybe don't run on event thread? (makes the gui hang)
o but instead, things that affect gui need to be called w/ invokeLater?
X Export to Application was broken with OpenGL (Casey)
X verified to be working
o show warnings about wrong library folder layout?
X nah, too fussy to get this to work; spend time on library dev help instead
o check into offscreen text rendering with JNA
o even just for tab names it'd be so much nicer
o https://github.com/iterate-ch/rococoa
X looking good enough for now
o Pasting text into PDE results in "Clipboard does not contain a string"
X https://github.com/processing/processing/issues/3651
X this was just a workaround, not a fix
X https://github.com/processing/processing/pull/4040
X closing in the hope that it's resolved in Java 17
X Icon instead of an "X" for the "could not connect" message
X https://github.com/processing/processing/issues/3706
X done back in 3.0.2
X change to using Platform.delete() instead of Base.removeDir() where possible
X verify that the OS X version uses the real call
X and doesn't just look for .Trash
o move old Google Code SVN back to processing.org
o then cull out the old branches/tags from the Github repo
o and/or start bundling separate source downloads
X managed to merge in what was necessary
o getCoreLibrary() is breaking OpenGL
o "new Library()" constructor needs to go back to private
X this is ancient
o add .bat file to lib on windows so that we can get better debugging info
o add a Tool for removing extended attributes? xattr -cr /path/to/Something.app
o when exporting an app, run xattr on it to handle "app is damaged" errors?
o xattr -cr /path/to/application.app
o -c removes attributes, -r is recursive
o doesn't help b/c it has to be done on the receiving end
o what to double-click when opening p5 projects (.pdp?)
o lack of a project file makes this a little bit of a headache
o dropping a sketch folder onto the PDE should also be implemented
X not necessary, and we have sketch.properties
o add documentation for how to run mode development from Eclipse
o implementation/changes from JDF
o get rid of static mode? only setup/draw mode? or create project that way?
o pro: simplify internal code, fixes some of the worst errors
o con: people love it, most of the books use it heavily
o add === for String.equals()
o might be problematic since it might be opposite the javascript meaning
o jer: it's a decent time to start talking abt references/vars
o automatic import of JavaFX when FX2D is specified (no time)
o allow modes to specify their own base file name
o need to move "is this a sketch?" handling into Mode
o createPreprocessor() added to JavaEditor, creating a mess
o https://github.com/processing/processing/commit/2ecdc36ac7c680eb36e271d17ad80b657b3ae6a0
o break out Mode-specific options to their own panels in prefs
o Mode should just provide a panel for their prefs
X skipping this for 4: just not enough options in other Modes
X and too much overlap with options that would be used across
X at the end of the day, too confusing
X make the build fail if git pull on processing-docs fails
X remove "save before running" message
o patch to core classpath by Manindra?
o remove toolbar menu references and code to rebuild
o fix single instance server on OS X to load double-clicked files
o when run from Eclipse, the single instance thing punts
X 'recent' menu needs to recognize the p5 app folder
X also should recognize the user's home dir
o possibility of libraries folder inside a particular sketch?
o add font fixes to the rest of the API
o https://github.com/processing/processing/commit/eaff673d173b2d27f276cf5c59e3abf6c0fab86b
o g2.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS,
o RenderingHints.VALUE_FRACTIONALMETRICS_ON);
o look through all isPopupTrigger() code
o make sure both press/release are implemented
X add minimum version required (or max version?) to libraries/modes/etc
o reas: code coloring sometimes disappears
X haven't seen this for a while
o PreferencesFrame is a misnomer (not a frame itself)
o change to PreferencesDialog, and make it a dialog?
X nah, it contains a Frame instance; no big deal
o different design of squiggly line
o easy to do inside JavaTextAreaPainter.paintSquiggle()
X build custom scroll bar since the OS versions are so ugly
X see notes in the 'dialogs' section below, implement our own option panes?
/ tiny trail of dots when moving the selection bar up/down on retina
X should be resolved
X need 'actively pressed' version of 'play' and 'stop'
X could do rollover as well, but do other apps use them?
o iTunes has no rollover state but has a 'down' state
o swaps to stop after release
o recent menu gets huge with other p5 versions on osx
X spacing of the updates number/circle in the lower right is off
X https://github.com/processing/processing/issues/4094
X https://github.com/processing/processing/pull/4097
o solution is to create a sprite sheet as a psd that'll have better type
o no way we're gonna fix the sizing and spacing for all platforms
o more than a certain amount should just be 10+, +, or whatever
X resolved earlier
X me: undo not in the correct location
X this should be resolved elsewhere
o if the lib folder goes missing from export, give an error
o also any .jar files that are missing, give an error
o showing more debug messages (command line?)
o when exporting to application (or applet) don't copy .java files from folder
o (they'll be copied as source files later)
o make .java files and friends go to correct locations on export (app)
o warn on export when people call their sketches things like Server
o warn if someone extends PApplet but mis-names the sketch
o or don't allow it to be exported
o add bug reference to the faq once added to the db
X or at least add a note about this to the faq
o show error when no main() is included but class extends PApplet
o error can happen or be checked
o exporting application copies .java files
o .java files are copied to the root folder as well as the source folder
o two-tiered dialogs for everything - use big font/little font style throughout
o http://javagraphics.blogspot.com/2008/06/joptionpane-making-alternative.html
X doesn't work as well (and is less necessary) with FlatLaf
o use macosx dialogs for all of the editor stuff
o see about doing the same on windows, linux?
o the others seem to respond ok to the lucida grande since they use defaults
X switched to FlatLaf
o vista style dialogs
o http://msdn.microsoft.com/en-us/library/bb328626.aspx
X switched to FlatLaf
o confirmation dialogs (save and don't save.. who'd a thunk it)
o http://msdn.microsoft.com/en-us/library/aa511273.aspx
o http://i.msdn.microsoft.com/Aa511273.Confirmations03(en-us,MSDN.10).png
X Tooltip over variable decl has wrong style and content
X make all tooltips run through our style
X https://github.com/processing/processing/issues/3940
X done back in 3.x
X Library path mismatch between processing-java and export
X https://github.com/processing/processing/issues/4493
X duplicate of https://github.com/processing/processing-video/issues/188
o need to deal with classpath conflicts
o avoid garbage that people have installed on their machines
o antlr.jar in the classpath will cause trouble..
o https://forum.processing.org/beta/num_1138652326.html
o jogl jar files, or jogl install will cause trouble
o /System/Library/Java/Extensions or /Library/Java/Extensions
o the /System one contains qtjava
o the /Library one is empty (by default), maybe skip it?
X these should be long fixed
o classpath conflicts also problem with PDE itself
o catch antlr conflicts, and put up an error message
o https://download.processing.org/bugzilla/1225.html (no Google issue)
X also should be long since fixed
o java.ext.dirs for /System/Library/Java/Extensions
o http://java.sun.com/j2se/1.5.0/docs/guide/extensions/spec.html
o can set java.ext.dirs to something else
o on osx, just ignore anything in /Library/Java/Extensions (but not others)?
X removed after Java 8: https://docs.oracle.com/en/java/javase/17/migrate/migrating-jdk-8-later-jdk-releases.html#GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
o native lib stuff, use native.txt in lib folder, then:
o String osName = System.getProperty("os.name");
o String osArch = System.getProperty("os.arch");
o http://stackoverflow.com/questions/1611357/how-to-make-a-jar-file-that-include-dll-files
o need better error messages for broken api / library troubles
o e.g. ocd is broken in 0125 because of method signature changes
o make sure there aren't library jar files named the same thing
o i.e. if one library has db.jar, then that's gonna kill another db.jar
o when the files are copied over
X other issues filed for this
X manager huh
X highlight color seems to be incorrect?
o after installing, the item in the manager list doesn't change color
o 'recent' menu doesn't respect examples folder of other p5 versions
o could write that into the file, that it's an example
o or write the path as shown in the PDE to the file as simpler
X oh well; want folks using the latest anyway
X startup is so incredibly slow
X the splash screen comes up fairly quickly, so what gives?
X lots of EDT thread stuff, particularly with loading contribs
X handleNew() taking 2-3s?
X got this in better shape in the 4.x beta series
X remaining bits come down to sketchbook loading rewrites
X and moving more things off the AWT thread
fonts
X fonts are still really ugly (on non-retina)
o may need to drop use of Source Sans
o what do these do, and are we doing it already?
o System.setProperty("awt.useSystemAAFontSettings","on");
o System.setProperty("swing.aatext", "true");
X how are we going to handle fonts for other languages?
X two new fonts have been added, other languages will need more
X need a decent sans with with Unicode coverage
X i.e. https://github.com/processing/processing/pull/3025
o Implement fallback fonts so we can use Source et al with CJK/Greek/Arabic
X https://github.com/processing/processing/issues/5023
movie maker
o break Movie Maker out to its own library?
o another big leap in file size reduction for the PDE download
o nope, spend the time doing auto-download for the binaries
o would need to figure out a good way to highlight it/encourage installation
o ...as well as the other libraries? separate window?
X versions for aarch64 as well
X https://github.com/eugeneware/ffmpeg-static/releases
X ffmpeg binaries for all our platforms
X native version for ARM on macOS, also versions for Raspberry Pi
X updated ffmpeg to 5.0.1
waiting/video library
o update Video library to use the new layout
o Export to Application not working with the current video library
o https://github.com/processing/processing-video/issues/188
detach sketch names
o remove checkbox for detaching sketch name
o just do this manually, and Save As will reset the name
o should this be a setting in the sketch itself?
X no, some people may want to keep the old behavior, make this obvious
o really need to override the save dialog and add a checkbox there
o or should this be on the rename for the main tab
o and if it's different on 'save as' then it won't update it
o better yet, is it on creating sketches, so it actually is a pref
o i.e. 'new sketches use name Sketch.java' instead of name of sketch as main tab
o that might be closer to where people are expecting it anyway
o and combined w/ the rename checkbox on the main tab, that might do it
X detach sketch name and folder name (use sketch.properties)
X better for git, etc
X single file thing is long gone
o introduce the idea of 'scraps' (ala gist) that are just single page blobs
welcome
X better startup experience/something to really make it feel like 4
X set a new preference for it (the old pref had .beta in the name)
o just skip the welcome screen on Windows hidpi dipslays?
o better to launch a web browser
o also use id/ask for login to help understand community?
o tell users about JavaFX, Movie Maker install, changing themes
X make the examples work in the startup window
X smaller images so they're not so crunchy?
new things
+ themes
+ naming
+ new Movie Maker that uses ffmpeg
+ Apple Silicon support
+ raspberry pi 32/64 support
+ Java 17/faster/more up to date
+ JavaFX now needs to be imported
+ sketch name detached
minor new things
+ absolutely massive number of small bug fixes and usability tweaks
+ ability to create truly portable versions/more options for school environments
old things
+ Examples window (Casey will pick 3-4)
* Reference, Discourse, Github, Wiki
1284 (4.0b9)
X bump to Java 17.0.3+7
X and again to Java 17.0.4+8
X specify Java version with appbundler in main app
X "core does not run on this architecture linux-amd64" on Linux
X just need to do 'ant clean-jogl' inside core
X update wiki with recent changes (i.e. separating sketch folder)
X https://github.com/processing/processing4/wiki/Processing-4
X check Windows for any visual artifacts with FlatLaf
X code completion seems to have broken between beta 4 and beta 5
X https://github.com/processing/processing4/issues/491
X git bisect good ccc62c6 / git bisect bad f583eef
X https://github.com/processing/processing4/commit/0f9b290398aac86ef56fe3c4e9c3ff88fdd53466
X introduces https://github.com/processing/processing4/issues/519
X clean up dist: 'bin' and 'src' from Java Mode were included, iml files, etc
X cuts 67 MB down to 45 MB on disk
X docs are 3.x not 4.x
X how to handle new reference (about 100 MB with DSI version vs 4.2 MB for 3.x)
o xz compression may cut down 2x vs zip, but we lose the .zip file reading
o https://mvnrepository.com/artifact/org.tukaani/xz/1.9
X move reference back online
X file an issue for the loss of local reference
X https://github.com/processing/processing4/issues/524
X Apple Silicon support
X https://github.com/processing/processing4/issues/128
X update version of JNA in use
X Update graphics and visual design elements for 4.x
X https://github.com/processing/processing4/issues/48
X close the interface issue, major changes done
X remove underscore and use (half?) space for tabs?
X half space character not implemented, but the space looks good
X disable behavior with sketch.name.replace_underscore = false
X add clean-libs target to build.xml files that need it
X check all Help menu entries and their destinations
X Help > Environment not going to the right place
X Help > Libraries Reference > submenu items don't work
X same for Tools reference
X https://github.com/processing/processing/issues/5839
X replace build/shared/lib/theme.txt with final kyanite.txt
naming
X Friendly Names for new Sketches (includes UI for switching it back)
X https://github.com/processing/processing/issues/6045
X https://github.com/processing/processing/pull/6048
X https://github.com/processing/processing4/pull/144
X "friendly" naming for sketches
X master list of words
X https://github.com/glitchdotcom/friendly-words/tree/master/words
X exact sources
X https://github.com/glitchdotcom/friendly-words/blob/master/words/predicates.txt
X https://github.com/glitchdotcom/friendly-words/blob/master/words/objects.txt
X how friendly names are used in the p5.js web editor
X https://github.com/processing/p5.js-web-editor/blob/develop/client/utils/generateRandomName.js
X p5.js uses predicate followed by an object
X add other naming options (cooking and classic) and prefs
X also support additional naming.json file in sketchbook folder
X add "Cosmos" name set
bugs
X re-post bugzilla entries at https://download.processing.org/bugzilla/
X create an index.html page for easier scraping
X replace dev.processing.org bug numbers
X http://dev.processing.org/bugs/show_bug.cgi?id=1188
X with http://processing.org/bugs/bugzilla/1188.html
X or better yet, https://download.processing.org/bugzilla/1188.html
X replace code.google.com URLs with Github URLs (numbers are sorta in sync)
X not bothering with todo.txt and done.txt since it's historical
X many of them include both, and it's easy enough to search if it's of interest
X updated all that are still in the source and the active todo.txt files
fonts
X can't ship before ui.font and language bits sorted out
X otherwise the override to use Source Sans Pro will hose other languages
X make note of language change (Greek also removed)
X sort out ui.font plus the other fonts inside theme.txt
X Toolkit.getSansFont() will use the internal ProcessingSansPro font
X which means it gets used inside ManagerFrame,
X and prevents the theme from updating the font
X while that font could exist in theme.txt,
X getSansFont() also handles the language fallback version
X that pref should come from the translations: i.e. an override setting
X decision: set the default sans, bold, and mono font in language file
X can be overridden in preferences.txt
o specify ui.sans.plain, ui.sans.bold, ui.sans.mono in theme.txt
o need a separate identifier for the builtin sans (now called processing.sans)
o and when theme wants to ask for a sans font
X fix fonts in the welcome page
X dialog formatting fixes
X move all (formerly Lucida) dialog formatting into Messages
X currently a couple other classes that use it
/ create a version that works nicely with FlatLaf
X implemented in one place; still needs to just be redone
X two tier dialog box (defaulting back to Lucida)
X font for stack trace dialogs is too small (and wrong)
X dialog box with stack trace (font is too small)
X actually fix the stack trace dialog with 12pt font size change
X text gutter doesn't seem to be hidpi
X or is it b/c screen not quite 2x? (nope)
X try to tweak the line numbers in the gutter a bit
X finally found the problem: Source Code Pro not hinting below 12pt (!?#$@(*)
X change to 12pt, add alpha params to theme.txt
X editor.gutter.linehighlight.color -> editor.gutter.highlight.color
X # transparency (0..100) for line numbers in gutter
X editor.gutter.text.active.alpha = 70
X # transparency for lines not currently in use
X editor.gutter.text.inactive.alpha = 30
export application
X fix Export to Application on macOS with Apple Silicon
X gets rid of "Unable to load Java Runtime Environment"
X update appbundler main.m through https://github.com/TheInfiniteKind/appbundler/commit/5946207c9e29ab85887e94d5651b329e4669e2d6
X rewrite variable substitution for Info.plist.tmpl
X cleans up readability
X would have broken w/ anything on the same line
X specify JVM version in exported applications
X appbundler seems to prefer Java 1.8 if installed
X specifying correct version for both Processing.app and Export to Application
contrib
X add flatlaf.jar to the Windows config.xml
X https://github.com/processing/processing4/pull/498
X Fix parsing of java error messages containing ":"
X https://github.com/processing/processing4/issues/492
X https://github.com/processing/processing4/pull/493
X Export Application gives java.lang.ClassNotFoundException: --full-screen error
X https://github.com/processing/processing4/issues/488
X https://github.com/processing/processing4/pull/502
X IDE treats {} brackets as code when they're inside a String, char or comment
X https://github.com/processing/processing4/issues/444
X https://github.com/processing/processing4/pull/504
X Add Java arguments to enable Anti-Aliasing in bash script
X anti-aliasing issues under KDE, does the cmd line arg break anything?
X https://docs.oracle.com/javase/7/docs/technotes/guides/2d/flags.html#aaFonts
X https://github.com/processing/processing4/pull/513
design
X color updates based on changes from Paul (220426)
o icons for the console items
X console.svg and error.svg already done
X console scroll bar colors
X https://github.com/processing/processing4/issues/265
X remove the 2 pixel line from the tab bar in the footer
X also round both edges of the editor footer tabs
X because the deselected tab no longer has an outline
X look and feel plus fonts
X trying out https://www.formdev.com/flatlaf/ to clean things up
X using Source Sans Pro as interface font
X rewrite language selector to use fallback fonts
X tweaks to the splash/about screen from Paul
X Color Selector buttons misaligned
X redo layout for FlatLaf, also tweak further to remove some of the quirkiness
X Export to Application fonts are too tiny
X menu background colors
X better default fonts for Swing; argh
X file an issue with the images
X https://www.pushing-pixels.org/2017/01/17/using-san-francisco-font-in-swing-applications-on-a-mac.html
o Space Grotesk and Mono?
o https://fonts.google.com/specimen/Space+Mono
o https://fonts.google.com/specimen/Space+Grotesk
X replace foundation icon png that had a random black shape
X a few size/proportion tweaks from Paul
X visual artifacts on Linux with new UI
X remove editor.laf preference because it conflicts with FlatLaf
X menu crustiness, console background color not getting set, others?
X need to check on an actual Linux device, not a VM
X this was caused by Nimbus interactions with FlatLaf
X command key symbol missing in pop up menus
X overall layout/spacing/proportion
X icons for debug toolbar (VariableInspector.java)
X replace variables-1x and -2x with separate SVG files in debug
X implement 2x versions of the icons for the debugger window/variable inspector
X https://github.com/processing/processing/issues/3921
X visual fixes for tab sizes, etc (with Paul)
X weirdness with gaps in tabs (editor too big, manager too small)
X contrib mgr: filter/dropdown vertical centering is too high
/ fake bold being used for tab name? (Windows only?)
X should be resolved with both fonts now being installed
X code completion icon updates (class, field, protected, method)
X these go into CompletionPanel.java
X also set the color and font with updateTheme()
X waiting on final colors from theme
design/themes
X updated 4x4 for themes, foundation svg icon tweaks
X implement 4x4 by auto-generating from svg versions
X make drag events work properly
X add buttons for 'reload theme' and 'how to create themes' to theme fella
X remove the 'reload theme' tool
X both sets working, loading from folders
X fixed up html wiring for styles
X gradients
X add a couple with gradients to the selector box?
X if no matching theme selected, was highlighting column -1
X reset the theme because of significant changes
X move away from writing theme.txt?
X instead store the theme name, for easier updating
X and a version in the sketchbook will always override
X (selecting a new theme will rename that file, but not replace a theme.txt file)
X include in this release b/c of potential for problems
X accent color and light/dark mode into the theme, and use with flatlaf
X style the popup menu for Mode using the theme
X console scroll bar colors
X update lib/theme.txt to clean up current Frankenstein status
X just replace with the blue default once that's updated
design/errors
X errors table theme
X use errors.row.bgcolor as bgcolor for the error list
o change errors.row to errors.list in theme.txt
X add errors.bgcolor instead
design/preferences
X get rid of text box for 'background color when presenting'
X redundant (can type numbers in the dialog) and fussy
X change "sketchbook location" to "sketchbook folder"
X (this is how it's referenced everywhere else in the interface)
X shorten sketchbook location text field
o sketchbook location to single line (drop "location"? say folder?)
X why is sketchbook location text selected when opening window?
X had focus by default, which apparently selects the text
X remove 'smooth text' (too rare: manual editing should suffice)
X switch to BoxLayout before making more layout changes?
X move 'enable complex text' up near language?
X better yet, move language down below font and interface scale
o turn it on when selecting CJKV as a language
X show 'requires restart' only after making a change
X fixed for interface zoom
X hidpiDisableBox
X inputMethodBox
X languageSelectionBox and languageRestartLabel
X preferences.zoom = Interface scale -> preferences.interface_scale = Scale
X preferences.zoom.auto -> preferences.interface_scale.auto
X set link color in prefs window to use accent color
X move 'requires restart' to one thing at the bottom
X preferences.enable_complex_text removed, replaced with
X preferences.enable_complex_text = Enable complex text input
X preferences.enable_complex_text.tip
X preferences.requires_restart = requires restart of Processing
X becomes preferecnes.restart_required = Restart Processing to apply changes
X put language & complex text on same line
X move colons into the language file
X show hand cursor with links for labels
o move delete previous pref to the Export to Application window
o get rid of the pref/just use the setting from export to app
X no clear alternative for disabling this, so remove from prefs window
X but still supported inside preferences.txt for those who must
X it's moving the files to the trash anyway, which should be safe enough
X finish rearranging item order in PreferencesFrame
X all set for now
o move to separate panel
o (maybe not, because not clear which will be inherited by other modes?)
o background when presenting
o continuously check
o code completion
o suggest imports
o increase memory
X opting not to: not enough items, and too disruptive for unclear benefit
X remove extra space between prefs lines
design/manager
X add manager.panel constants for colors
X status panel not updating in updateTheme()
X StatusPanel.getBodyStyle() has hard-coded fonts/sizes
X changed manager.list.search to manager.search
X implement foundation icon using svg
X icons for contrib manager list entries (green/orange PNGs won't do)
X remove ability to rearrange columns in contrib manager
X why tf this is the default is beyond me
X set color of the sort order icon in the ListPanel table header
X also the color of the text?
X override flatlaf for components (search, buttons, dropdown menu) in manager
X popup menu coloring (contribs)
X progress bar in contrib manager
X need monochrome icon for foundation
o do we need other color states for list item icons
X they seem to be find for now
X add updateTheme() to contrib.ListPanel
X right now pulling Theme.getColor() directly
X but need to make sure repaint() is called anyway
X contrib manager theme
X identify coloring for icons
X how much of theme to inherit
X generate manager icons
o slightly taller tabs, though maybe they're better than the Editor?
o editor tabs are different height, as are the footer tabs
X important for prefs window background color too
X remove ManagerFrame constants for NORMAL_PLAIN, SMALL_PLAIN, etc
X these should be read from theme.txt instead
o or not used at all: the defaults from ui.font and FlatLaf should do
X only really need for the bold font
X improved 'close' icon (thicker x)
X better 'search' icon (search.svg with a less enormous eyeglass)
X replace foundation-16, foundation-32, foundation-64 in lib/icons
X contribs exclamation looks like an error, not "update available"
X clean up the updates panel in the manager
X fix column widths in 'updates' tab of contrib manager
X also make them resizable
X section headings look bad (not capitalized, not plural, no bg color change)
X color change might help, but a little fussy at the moment
X gets into whether the type weight should change, and starts affecting too much
X update available icon looks broken (bad winding rule?)
manager
X make ContributionTab.FilterField into a static class
o then perhaps move to another source file
X nah, ContributionTabFilterField is a bit much
X move things around a bit so it's not quite a mess
o add reinstall option?
X nah, too fussy; not a big deal to do remove and install
X remove JProgressBar from ContributionTab/UpdateContributionTab
X StatusPanelDetail creates its own, which is the one used
X after download, list item doesn't update to show installed
X stays stuck with the downloading icon
contrib
X Double-clicking a .pde file also opens an untitled/empty sketch
X https://github.com/processing/processing4/issues/477
X https://github.com/processing/processing4/pull/479
X Update PDE_es.properties
X https://github.com/processing/processing4/pull/480
X https://github.com/processing/processing4/pull/481
X Update PDE_de.properties
X https://github.com/processing/processing4/pull/483
status
X replace emoji buttons in status bar
X re-save svg files using svg 1.0
X sort out hover/press states here (only hovers atm)
X also add state for shift-click to search
X theme colors for emoji buttons (new themes across the board)
X icons in the status bar (using emojis at the moment, now out of place)
X console collapse/expand button
X copy to clipboard button
X implement alpha for url (70, 90, 100)
X remove the color
X get shift down from the editor window and pass to status
X thicker version of the search icon for the status panel
X copy the icon over from the manager
cleaning
o should default to the local Java on Windows and Linux
o have export apps default to the local JRE
o Linux is probably using the system JRE if available
o launch4j may be all set, but double-check
X um, no--we should use the embedded version, b/c who knows what happens
X Blank sketch opened even if opening an existing sketch by double-clicking
X https://github.com/processing/processing/issues/218
o improve the speed of file copying
o use FileChannels, see FileInputStream.getChannel(),
o and use transferFrom() or transferTo().)
o could also use FileUtils in Apache's common io
o http://commons.apache.org/io/api-release/index.html
X Switch to getModifiersEx() in `processing.app`
X https://github.com/processing/processing4/issues/67
X done in beta 2
/ library compilations not ordered properly w/ sorting
/ do we still support library compilations? that was from 2016
X https://github.com/processing/processing/issues/4630
decisions
o preferences in web frame?
o intro page using webkit (launching into examples)
o and maybe the reference too?
X nope, webkit embed way too large
o how to send messages from webkit server to PDE (i.e. for a color tool)
X skipping webkit embed for now
X should we use Java 11 instead of 17 to be less of an outlier?
X default rpi openjdk seems to be 11, we're not using any 17 features
X size change is negligible (17 may even be slightly smaller)
X or is this just a matter of 17 being new and it'll change quickly?
X JavaFX 17 (a good idea) seems to be compatible with Java 11
X JavaFX 11 has fewer builds (no ARM, prolly no Apple Silicon)
X 11 LTS is supported until September 2026, 17 until 2029
X https://dzone.com/articles/whats-new-between-java-11-and-java-17
X switching to 17 as the default because it's now available in rpi os
1283 (4.0b8)
X fix logic for opening the correct 'main' tab in handleOpen()
X opening AspectHelper.js makes it the main tab
X through sketch.properties is not rewritten
X dropping folder into sketch window throws weird exception
X https://github.com/processing/processing4/issues/441
X fix " does not exist" message on Linux startup
X no longer pass a blank sketch file name from startup script
X also remove unused readlink
X support multiple files passed on command line
X only show setWritable() failure in recent.txt when it is a problem
X NullPointerException when changing the theme
X https://github.com/processing/processing4/issues/476
X suppress java.lang.NoSuchMethodError: accessibilityHitTest error
X https://github.com/processing/processing4/issues/368
X change to "Modes..." or "Manage Modes..." and same for Libraries, etc
X toolbar.add_mode = Add Mode... ->
X toolbar.manage_modes = Manage Modes…
X menu.library.add_library = Add Library... ->
X menu.library.manage_libraries = Manage Libraries…
X menu.tools.add_tool = Add Tool... ->
X menu.tools.manage_tools = Manage Tools…
X update download.processing.org/reference.zip to be a static file
X switch language_gen.py to python3, other versions removed from macOS
o open dialog extensions only work for the current Mode
o i.e. in Java Mode, won't list .js files as candidates
X false alarm: the Mode wasn't installed properly
X set minimum size for scroll bar thumb
X https://github.com/processing/processing4/issues/473
X on build of dist, immediately submit to Microsoft: https://aka.ms/wdsi
X https://www.microsoft.com/en-us/wdsi/submission/1f8f4dc4-73e7-484b-8d1c-d6e6d7551157
manager
X "Error during download and install of Python Mode for Processing"
X https://github.com/processing/processing/issues/5918
X https://github.com/processing/processing4/issues/445
X Manager fails to complete install of PythonMode when no windows open
X https://github.com/processing/processing/issues/5309
X https://github.com/processing/processing4/issues/446
X removed weird double call of installPreviouslyFailed()
X remove unused icon code from ManagerTabs
X implement updateTheme()
X remove the extra 2-pixel line at the top
o currently uses prepareGraphics(), do we need to remove that?
X looks like nope, that was sorted out separately
X remove extra ContribProgressMonitor class
X removing the current Mode (with no windows open) will cause an exception
X when next opening a sketch, nextMode is set to the old guy
X clicking "Update All" on the Updates tab throws NPE
X https://github.com/processing/processing4/issues/440
X an incompatible Mode prevents the PDE from quitting after last window is closed
X https://github.com/processing/processing/issues/5112
X https://github.com/processing/processing4/issues/448
X could not reproduce on Linux, possible that Windows has a cp issue
X but hopefully more likely that it's been resolved with all the Mode cleanup
X categories
X remove "Starred" as a category (it was unused)
X use isFoundation() instead of isSpecial() for tagging list entries
X add "Renderer" as a category
X use https to get the contribs listing
X remove insane overbuilt search in contribs
X sure, we have over a hundred libraries, but we don't have millions
X search by contrib type (is:) wasn't even working properly
X removing accents was trashing some input too
X redo category tallying for contribs (Libraries only anyway?)
X gets rid of maze of code that's storing libraries by their category
X remove unnecessary code that tracks contribs by category
X this was hiding the issue that was causing contribs to add several times
X because the add() was inside the category loop of that code
X remove unused 'restart' flagging code, setRestartFlag() never used
X all that was left was maintenance of when that's been set, so...
X allow update of the current Mode
X if doing an update (not just delete), close sketches and re-open
X if doing a delete, require sketches to be closed
X change up StatusPanelDetail constructor to clean up accessors
preproc
X correctly handling sketch renderer with fullScreen()
X also when using other display numbers
X https://github.com/processing/processing4/pull/474
X https://github.com/processing/processing4/issues/471
X return PreprocessorResult for Android Mode
X https://github.com/processing/processing4/pull/470
X https://github.com/processing/processing4/issues/469
contrib
X Text caret position shifts when typing Japanese
X https://github.com/processing/processing4/issues/447
X https://github.com/processing/processing4/pull/462
X Some keys can't be entered on the On-Screen Keyboard
X https://github.com/processing/processing4/issues/403
X https://github.com/processing/processing4/pull/461
X Error with tweak mode when using underscores in numbers
X https://github.com/processing/processing4/issues/442
X https://github.com/processing/processing4/pull/459
X Fix IDE auto-formatting confused by method references
X https://github.com/processing/processing4/issues/279
X https://github.com/processing/processing4/pull/436
1282 (4.0b7)
X Bring back getMainProgram() for Python Mode
X https://github.com/processing/processing4/issues/409
X Change straight quotes to smart quotes in the PDE.properties file
X look for other uses of Util.deleteFile() and replace with Platform calls
sketchbook/open/deletions/modes
X test "obvious" sketch folder (and whether it prompts)
X opening Downloads > something.pde made a p5.js sketch with only an index.html
X if no sketch.properties, reset nextMode to the default mode
X deleting sketch removed contents of Download folder
X https://github.com/processing/processing4/issues/424
X also very problematic for what happens with Save As
X ah, this is because it was just a single .pde file, yikes
X sketch.properties should be present, but won't be if the parent is renamed
o always write sketch.properties? (would help the later rename case)
X when loading, prompt to ask whether the parent folder is the sketch folder?
X if it is, write sketch.properties to set the main file
X if not, move it to its own folder "move blah.pde to a folder named blah"
X are you sure you want to delete the sketch "Downloads"
X instead of "are you sure you want to delete this sketch?"
X have 'delete' function move things to the trash
o or remove 'delete' as an option altogether
X new language string: warn.delete.sketch_folder so we can include folder name
X and renamed warn.delete.file to warn.delete.sketch_file
X remove selectMode() code from Base... just too funky
X should just go back to the default Mode, or the first that matches
X not enough Modes to warrant all the weirdness that could happen
o and for Android (the only legit case), local.properties should be set
o or we have changeMode() to make it an easy switch
X turns out, it wasn't getting set, but that's now fixed