forked from processing/processing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
1237 lines (1087 loc) · 57.3 KB
/
todo.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
0233 (3.0a6)
X post a note about the "help" stuff
X https://github.com/processing/processing/labels/help
X Deal with ctrl-alt-n regression
X https://github.com/processing/processing/issues/2979
X splash screen for Linux
X https://github.com/processing/processing/pull/3005
X don't add a ^M to files when writing
X https://github.com/processing/processing/issues/3014
X add more bulletproofing to the save process
X https://github.com/processing/processing/issues/2923
X serious text improvements (at least on retina)
X Menu mnemonics (alt-f, etc) getting typed into the editor
X https://github.com/processing/processing/issues/3057
X Opening and closing preferences window prompts user to save unmodified sketch
X https://github.com/processing/processing/issues/3074
X Pressing PgDn in a code without scrollbar gives Exception
X https://github.com/processing/processing/issues/2990
X internal fixes and cleanups to TweakMode
X https://github.com/processing/processing/issues/2799
X implement line numbers in the editor
X 5px between line number (right-aligned) and the right edge of the gutter
X ie textAlign(RIGHT) / text(lineNum, LEFT_GUTTER - 5, y)
X https://github.com/processing/processing/issues/3128
X run button w/ debugger shouldn't require "continue" before actually starting
X https://github.com/processing/processing/issues/3096
X remove code that's moving the sketch path arg later
X https://github.com/processing/processing/commit/0a14835e6f5f4766b022e73a8fe562318636727c
_ install/remove buttons not working in the managers
_ https://github.com/processing/processing/issues/3172
_ search the source for 'applet' references (i.e. SVG docs)
integration of pdex/debug
o make the tabs have a default minimum size
o multiple sizes as they get smaller (web browser style)
X merge experimental into the main Java mode
X thereby removing Java 2.0 mode from the next release
X otherwise redoing the design for 2 modes
X changed JLS4 to JLS8 (but make sure it doesn't introduce anything too weird)
X change build scripts, get things running
X rename TextArea and TextAreaPainter to JavaTextArea
X DebugEditor.createTextArea() is copy & pasted from JavaEditor
X this whole setup is really gross at the moment
X finish Ant task to download JRE and JDK from Oracle
X remove public 'ta' object in DebugEditor, also dmode
X hasJavaTabs() cleanup
X how does it relate to compilationCheckEnabled?
X removed, seems to be duplicate/used the same way
jre download/install
X make sure the file downloads correctly before renaming
X https://github.com/processing/processing/issues/2960
X update build scripts for Windows and Linux to use JRE downloader Ant Task
X https://github.com/processing/processing/issues/3059
update components
X moving to Java 8 because Java 7 will be discontinued
X http://www.oracle.com/technetwork/java/javase/eol-135779.html
X requires Vista SP2 (ok, just say 7), and OS X 10.8.3, Ubuntu 12.04
X requires 10.10 to build appbundler (for the Xcode SDK)
X requires ECJ update (using 4.4.1)
X http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.1-201409250400/
X update to launch4j 3.6
X http://sourceforge.net/projects/launch4j/files/launch4j-3/3.6/
o update ld and windres: https://github.com/processing/processing/tree/master/java/application/launch4j/bin
o also xstream.jar https://github.com/processing/processing/tree/master/java/application/launch4j/lib
earlier
X any problems with new code signing crap?
X issues raised around the symlink (just replace with a copy of the binary?)
X fixed the short-term problem, filed an issue for the rest
X https://developer.apple.com/library/prerelease/mac/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG205
X Move import suggestion to errors console
X https://github.com/processing/processing/issues/2947
X server.stop produces an error: java.net.SocketException: socket closed
X https://github.com/processing/processing/issues/74
X https://github.com/processing/processing/pull/2474
X NPE when calling Client.ip() after the connection has been closed
X https://github.com/processing/processing/issues/2576
X https://github.com/processing/processing/pull/2922
joel
X Add reference for installed tools and libraries to the Help menu
X https://github.com/processing/processing/issues/943
X https://github.com/processing/processing/pull/2804
X examples.properties file missing prevents startup
X https://github.com/processing/processing/issues/3037
X https://github.com/processing/processing/pull/3047
X several new French translations
X https://github.com/processing/processing/pull/3061
X contributions.txt now gets deleted and recreated instead of overwritten
X https://github.com/processing/processing/pull/3073
X https://github.com/processing/processing/issues/2994
X Contrib Manager does not stop parsing contribs.txt if an error exists
X https://github.com/processing/processing/pull/3132
X offer to install libraries imported libraries that are not available
X https://github.com/processing/processing/pull/3155
X https://github.com/processing/processing/issues/2566
X make fatal errors terminate the pde
X https://github.com/processing/processing/issues/3068
X https://github.com/processing/processing/pull/3069
X Java 8 method replace() used, removed
X https://github.com/processing/processing/issues/3168
X https://github.com/processing/processing/pull/3169
X Closing a few unclosed BufferedReaders and InputStreams
X https://github.com/processing/processing/pull/2961
manindra
X Fix for "Probably a ++ should go here" messages
X https://github.com/processing/processing/issues/2956
X Missing opening curly bracket error
X https://github.com/processing/processing/issues/3104
X missing parenthesis error message
X https://github.com/processing/processing/issues/3103
pulls
X add mnemonics for menus (alt-f to open 'file')
X http://code.google.com/p/processing/issues/detail?id=12
X https://github.com/processing/processing/issues/51
X https://github.com/processing/processing/pull/2382
X getCaretLocation() bug in syntax.im package
X https://github.com/processing/processing/issues/2934
X finish up debian package support (see the processing.mess folder)
X http://code.google.com/p/processing/issues/detail?id=75
X these bits need to be checked to ensure that they work on other distros
X https://github.com/processing/processing/issues/114
X https://github.com/processing/processing/pull/2972
X https://github.com/processing/processing/issues/2973
X https://github.com/processing/processing/pull/2974
X Replace ColorChooser PApplets with custom Swing components
X https://github.com/processing/processing/pull/2975
X fix encodings, line endings, and mime types in the repo
X https://github.com/processing/processing/issues/2955
X https://github.com/processing/processing/pull/2978
X https://github.com/processing/processing/pull/2977
X add control for dependencies (i.e. svg needs xml), needed for export
X http://code.google.com/p/processing/issues/detail?id=70
X https://github.com/processing/processing/issues/109
X https://github.com/processing/processing/pull/3010
X lots of Auto Format fixes
X https://github.com/processing/processing/pull/3002
X https://github.com/processing/processing/issues/2540
X https://github.com/processing/processing/issues/1041
X update name of sketch in the "Recent" menu
X https://github.com/processing/processing/issues/2984
X https://github.com/processing/processing/pull/3046
X File change detection rewrite
X https://github.com/processing/processing/pull/3048
X another file change detection rewrite
X https://github.com/processing/processing/pull/3070
X broken Windows build due to launch4j .jar not updated
X https://github.com/processing/processing/issues/3062
X https://github.com/processing/processing/pull/3066
X exported Linux sketches must be run from the sketch folder
X https://github.com/processing/processing/issues/1046
X https://github.com/processing/processing/pull/3083
X rectMode() broken for createShape with JAVA2D
X https://github.com/processing/processing/issues/3024
X https://github.com/processing/processing/pull/3102
X IllegalArgumentException when clicking between editor windows
X https://github.com/processing/processing/issues/2530
X https://github.com/processing/processing/pull/3101
X processing.net.Server only cleans up internal Clients when trying to write
X https://github.com/processing/processing/issues/3089
X https://github.com/processing/processing/pull/3097
X issues with cut/copy shortcuts not working
X https://github.com/processing/processing/pull/3138
X https://github.com/processing/processing/issues/3136
X https://github.com/processing/processing/issues/3107
X Display download percentage when fetching contrib info
X https://github.com/processing/processing/pull/3161
X Recreating Client instance will cause an out-of-memory error
X https://github.com/processing/processing/issues/1400
X https://github.com/processing/processing/pull/3088
X Greek translation and new fonts
X https://github.com/processing/processing/pull/3025
X Show tooltip when hovering over errors
X https://github.com/processing/processing/pull/3119
X Fix multi-touch horizontal scrolling on OS X
X https://github.com/processing/processing/pull/3170
X https://github.com/processing/processing/issues/180
X textAlign(RIGHT) adds extra space to the right
X https://github.com/processing/processing/pull/3078
X https://github.com/processing/processing/issues/3028
X Refactor examples manager window
X https://github.com/processing/processing/issues/3133
X https://github.com/processing/processing/pull/3177
X Fix ColorChooser cursor
X https://github.com/processing/processing/pull/3186
X Improve Spanish localization
X https://github.com/processing/processing/pull/3185
3.0a7
_ finish adding 'examples' contribs
_ https://github.com/processing/processing/issues/2953
_ don't return here, allow contrib types to fail:
_ https://github.com/processing/processing/blob/master/app/src/processing/app/contrib/ContributionListing.java#L509
_ Linux throwing IllegalStateException: Buffers have not been created
_ in render() (called from blit) PSurfaceAWT:301
X Ubuntu Unity prevents full screen from working properly
X http://stackoverflow.com/questions/8837719/java-in-full-screen-on-linux-how-to-cover-task-bar
X https://github.com/processing/processing/issues/3158
_ add notes to the Wiki about this (also to Linux)
_ https://github.com/processing/processing/wiki/Window-Size-and-Full-Screen
pdex
_ fix hasJavaTabs() function
_ almost always used as a negative, or tied to a 'return' from fxn
_ name isn't tied to its function, but the symptom
_ only checked once (when the editor is created)
_ crashed on startup w/ JavaScript mode as default b/c PdeKeyListener not found
_ because it's in the other ClassLoader, can no longer rely on it
_ remove JavaMode.errorLogsEnabled and JavaEditor.writeErrorsToFile()
_ disable the debug toggle menu while running
_ otherwise could run in one mode, then try to stop in another
_ show debug window when running, hide when stopped
_ can we animate the show/hide for the debug box?
breakage
_ break out a gui package (get class count down in .app)
_ remove deprecated methods
_ do the right thing on passing around List vs ArrayList and others
gui
_ finish the gui
_ https://github.com/processing/processing/issues/3072
_ fonts are still really ugly
_ may need to drop use of Source Sans
_ what do these do, and are we doing it already?
_ System.setProperty("awt.useSystemAAFontSettings","on");
_ System.setProperty("swing.aatext", "true");
_ large window places the debugger window offscreen
_ https://github.com/processing/processing/issues/3091
_ need 'actively pressed' version of 'play' and 'stop'
_ could do rollover as well, but do other apps use them?
_ iTunes has no rollover state but has a 'down' state
_ swaps to stop after release
_ need unavailable/deactivate state for debug toolbar items
_ or hide the tray when not debugging? Debug just a menu checkbox?
_ using svg images for res-indep icons/gui
_ http://stackoverflow.com/questions/2495501/swing-batik-create-an-imageicon-from-an-svg-file
pde
_ add build.xml prompt for OS X developers to download the JDK update
_ how are we going to handle fonts for other languages?
_ two new fonts have been added, other languages will need more
_ need a decent sans with with Unicode coverage
_ i.e. https://github.com/processing/processing/pull/3025
_ fix file change detection on OS X
_ https://github.com/processing/processing/issues/2852
_ make examples pull/build automatic during dist
_ add span screens pref (near the display pref)
_ add checkbox for spans to export dialog
_ remove "save before running" message
_ auto-insert after antlr @SuppressWarnings({ "unused", "unchecked", "cast" })
from the todo list
_ reas: comments go nasty when auto-formatted
_ reas: code coloring sometimes disappears
_ me: undo not in the correct location
_ implement the new gui
_ drop XP support (but improve Windows 8 support? ouch)
_ improve error message when creating a tab with the same name
_ right now it's generic, based on "a file exists"
_ don't allow users to create 'blah.java' when 'blah.pde' already in sketch
high
_ dist needs to do a git pull on processing-docs
_ "Your sketch has been modified externally" appear without reason
_ https://github.com/processing/processing/issues/2852
_ export application ubuntu -> windows not working (2.2.1)
_ https://github.com/processing/processing/issues/2698
_ might be something with libraries (native or otherwise)
_ move the language stuff to the settings folder
_ that way people can modify and test w/o recompiling
_ https://github.com/processing/processing/issues/2938
_ sketchbook window doesn't update when sketches are added, renamed, etc
_ https://github.com/processing/processing/issues/2944
pending
_ look at the sound library https://github.com/wirsing/ProcessingSound
_ sound is not yet supported on Windows
_ make reference build process part of dist
_ https://github.com/processing/processing-docs/issues/85
_ separate ant target, but only require them for dist
_ as separate targets, folks can build explicitly if they'd like
_ processing-docs/java_generate/ReferenceGenerator/processingrefBuild.sh
_ remove reference.zip from main repo
_ clean out the repo
_ https://github.com/processing/processing/issues/1898
help me
_ "String index out of range" error
_ https://github.com/processing/processing/issues/1940
_ closing the color selector makes things freeze (only Linux and Windows?)
_ https://github.com/processing/processing/issues/2381
_ SOCKS proxy not working:
_ https://github.com/processing/processing/issues/2643
_ the current code that gets/sets the pref is in Preferences
_ instead of current implementation, can we auto-detect proxy settings?
_ old issue: https://github.com/processing/processing/issues/1476
_ http://docs.oracle.com/javase/7/docs/technotes/guides/net/proxies.html
_ http://docs.oracle.com/javase/1.5.0/docs/guide/net/proxies.html
_ http://stackoverflow.com/questions/4933677/detecting-windows-ie-proxy-setting-using-java
_ http://www.java2s.com/Code/Java/Network-Protocol/DetectProxySettingsforInternetConnection.htm
_ problems with non-US keyboards and some shortcuts
_ https://github.com/processing/processing/issues/2199
_ improve start time by populating sketchbook/libraries on threads
_ https://github.com/processing/processing/issues/2945
_ clean up 'ant doc' target to remove warnings
_ https://github.com/processing/processing/issues/1492
_ fix encodings, line endings, and mime types in the repo
_ https://github.com/processing/processing/issues/2955
_ Add support for localizing contributions
_ https://github.com/processing/processing/pull/2833
_ https://github.com/processing/processing/issues/3154
medium
_ Determine shortcut for Export vs Use Selection for Find
_ https://github.com/processing/processing/issues/2985
_ remove toolbar menu references and code to rebuild
_ fix single instance server on OS X to load double-clicked files
_ when run from Eclipse, the single instance thing punts
_ 'recent' menu needs to recognize the p5 app folder
_ also should recognize the user's home dir
_ possibility of libraries folder inside a particular sketch?
_ display "1" is not correct in 2.1.2
_ https://github.com/processing/processing/issues/2502
_ re/move things from Google Code downloads
_ https://code.google.com/p/support/wiki/DownloadsFAQ
_ add font fixes to the rest of the API
_ https://github.com/processing/processing/commit/eaff673d173b2d27f276cf5c59e3abf6c0fab86b
_ g2.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS,
_ RenderingHints.VALUE_FRACTIONALMETRICS_ON);
_ should default to the local Java on Windows and Linux
_ have export apps default to the local JRE
_ Linux is probably using the system JRE if available
_ launch4j may be all set, but double-check
_ um, no--we should use the embedded version, b/c who knows what happens
_ use platformDelete() to remove untitled sketches?
_ would allow us to use the /tmp folder
_ change to using platformDelete() instead of Base.removeDir() where possible
_ verify that the OS X version uses the real call
_ and doesn't just look for .Trash
_ getCoreLibrary() is breaking OpenGL
_ "new Library()" constructor needs to go back to private
_ add .bat file to lib on windows so that we can get better debugging info
_ changing modes brings the PDE back on the second screen
_ the Find window (also the save windows) also have the same problem
_ move old Google Code SVN back to processing.org
_ then cull out the old branches/tags from the Github repo
_ and/or start bundling separate source downloads
_ look through all isPopupTrigger() code
_ make sure both press/release are implemented
_ emacs style errors in commander aren't quite right
_ https://github.com/processing/processing/issues/2158
_ add documentation for how to run mode development from Eclipse
_ implementation/changes from JDF
_ modes are being loaded multiple times, which can cause trouble
_ add minimum version required (or max version?) to libraries/modes/etc
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DOC / Misc
_ find in reference for copy() (on image) tries to open PVector.copy()
_ might need disambiguation pages?
_ if a reference page is missing, throws a bunch of exceptions
_ i.e. PVector.copy() not in the reference
_ local web server to run reference from .zip?
_ no more gazillion file nastiness
_ yahoo search example is out of date (included in the examples? the book?)
_ stop() to shut down a sketch (but not quit/close window)
_ actually pause/resume
_ MIN_FLOAT, MAX_FLOAT, also the difference from the Java functions
_ also MIN_INT and MAX_INT, even though those are more similar
_ update the reference to cover parseXxxx() stuff
_ also add notes about parseInt/Float(blah, otherwise)
_ also parseInt and parseFloat, how they can return another number or NaN
_ should the default be NaN or 0?
_ get/set are faster way draw screen space images, but no tint, no translations
_ make sure the docs include "beginShape() cannot be nested"
_ also add error messages to the renderers
_ also note that ellipse() et al use beginShape()
_ and that java2d should complain if people try it
_ method to go from function name to the included examples where used?
_ encourage use of set() instead of point() in the drawing api
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1114204116
_ other projects on which p5 is built
_ no longer oro matcher and jikes
_ add: quaqua, jna, registry stuff, .. ?
_ noLoop() isn't the same as "finished", though it's sometimes used that way
_ to finish, use exit() (though that will make the window close)
_ add this to ref once halt() is finished
_ errors in pdf/index.html examples
_ probably remove these, move the useful ones to the examples folder
_ that way people will read the reference
_ 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
_ explanation of how we see libraries in the PDE
_ We're making an assumption that the idea of a "library" refers to a block of Java-based code. The reasoning is that from within the PDE, we anticipate that it will be Java-compatible versions of other languages (such as Jython, JRuby, or Scala) as opposed to more generic languages. In the future we could open this up, but we'd rather not complicate things for the moment.
_ add to troubleshooting
_ problem with big floats: http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1061302380
_ problem with small floats: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Programs;action=display;num=1115500448
_ console stored in prefs location
_ console may be useful for debugging
_ untitled folders are stored in temp folder
DOC / Text
_ how to use textMode(SHAPE) with opengl
_ things will be extremely slow (fix later)
_ things will also be very ugly on-screen
_ text being nicer in java2d
_ use createFont() to load the font or use a font from your machine
_ note that createFont() is no good for applets/export to web
_ textMode(SCREEN) for P2D and P3D for nice fast text in screen space
_ currently slow in JAVA2D and OPENGL, but this will improve
_ what is the vlw font file format?
_ shapes from 3D type
_ the way to do it (will improve later) is to use some undocumented features
_ 1) you have to use the OPENGL renderer
_ 2) use textMode(SHAPE);
_ 3) use createFont() (which you already are)
_ this will convert all the shape data from the fonts for writing.
_ it will be *extremely* slow, which is part of why it's not documented yet.
_ but it will work with beginRaw().
_ improve documentation of the pdf stuff
_ be clearer about the font setup stuff
_ fonts by default not working that well?
DOC / Other
_ why adding .0001 to a float doesn't work
_ and how they're imprecise in general (use nf)
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1130877990
_ why strong typing? (link also to language thing on main page)
_ we cannot commit to any sort of timeframe on releases
_ under the hood - basic
_ it's all java
_ don't use awt
_ most things are imported by default
_ under the hood - complex
_ how to get started with coding
_ everything subclasses PApplet
_ if you need a particular name, add it with "extends PApplet"
_ all code from tabs is joined to one sketch
_ if you want it separate, then you have to make .java files
_ in doing so, you'll lose access to 'g'
_ add main() to your app to make it run on its own
_ preproc stuff.. have to make setup() into public void setup()
_ (same for key events and all that)
_ performance
_ video stinks.. java2d stinks.. macs stink
_ note in the 'drawing in 2d' section of faq
_ fastest machine possible
_ turn off hyperthreading in the bios
_ nice gfx card only helps opengl
_ dual processor not particularly useful, unless you make more threads
_ but making more threads is often more work than is useful
_ is there a way to do xxx?
_ advanced users who are outgrowing the basic reference:
_ be sure to check the "complete" reference
_ change bugs.html to issues.html
_ and add a redirect in httpd.conf
_ need to document how subclass of pgraphics works
_ what are the necessary bits that need to be subclassed
_ simple handling of colors, what fields are available
_ how to get the matrices
_ simple endshape handler
_ also mention in keyPressed docs that ASCII key codes will not be coded
_ it's just how java is (maybe this is already in there?)
_ add note about adding libraries to the sketchbook to the reference
_ add note in environment reference about how to add something to the sketch
_ (code, .java files, etc)
_ make sure that psound has been removed (from docs, ref, mentions)
DOC / Examples
_ add to key reference a pointer to an example that tracks all keys
_ write simple example that tracks all keys
_ making things fast with pixel operations
_ write a threading example
_ show an example of how to handle callback into the app
X or handle this some more intelligent way, super.stop() is needed.
X registerDispose() does the trick
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1083574943
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1067383998
_ scripts: how to make a long setup() sleep so that things don't lock way up
_ write an example that uses HashMap (or Hashtable)
_ write an example that uses ArrayList properly
_ get xml library example in there
_ simple method for having a clickable region or sprite with rollover
_ post to web example
_ particularly for uploading image data
_ along with php script to handle receive
_ this is in hacks, but
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1117194066#7
DOC / Hacks
_ write a timer class/example library
_ how do i add gui to a sketch?
_ don't use awt components
_ how to use swing and embed components inside p5
_ explain how to integrate code with swing
_ use a separate environment, call init(), use noLoop(), redraw()
_ use JPopupMenu.setDefaultLightWeightPopupEnabled(false); for zorder
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1147670059
_ write documentation on general use of processing.core
_ note that applet is itself a Component
_ eclipse
_ document how to properly integrate with eclipse
_ add runtime args to opengl library so that it sets path properly
_ add explanation for using subclipse to get p5
_ make a src folder, data folder location
_ export to eclipse
_ how to do this with subclipse instructions?
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
PDE - Processing Development Environment
PDE / Dialogs
_ dialog box icon is fuzzy on OS X retina machines
_ https://github.com/processing/processing/issues/2117
_ solution might be our own dialog boxes
_ two-tiered dialogs for everything - use big font/little font style throughout
_ http://javagraphics.blogspot.com/2008/06/joptionpane-making-alternative.html
_ option to suppress warning dialogs
_ starting with the one about modifying the sketch name for spaces
_ http://code.google.com/p/processing/issues/detail?id=7
_ add "don't warn me about this" for sketch renaming
_ make sure renamed version doesn't exist already
_ prompt user before nuking applet or application folders
_ along with a "don't ask me later"
_ use macosx dialogs for all of the editor stuff
_ see about doing the same on windows, linux?
_ the others seem to respond ok to the lucida grande since they use defaults
_ vista style dialogs
_ http://msdn.microsoft.com/en-us/library/bb328626.aspx
_ confirmation dialogs (save and don't save.. who'd a thunk it)
_ http://msdn.microsoft.com/en-us/library/aa511273.aspx
_ http://i.msdn.microsoft.com/Aa511273.Confirmations03(en-us,MSDN.10).png
_ scrollable stack trace
_ http://www.javalobby.org/java/forums/t19012.html
PDE / Compiler & Preprocessor
medium (bugs/features)
_ incorporate new preproc
_ https://github.com/fjenett/processing-preprocessor-antlr4
_ https://github.com/processing/processing/issues/3055
_ update grammar for ANTLR
_ https://github.com/processing/processing/issues/3054
_ modify build to insert these after antlr run:
_ @SuppressWarnings({"unused", "cast"})
_ or get the updated ANTLR, which likely would support it
_ omitting a semicolon shows the error on the line after it
_ npe if library is removed before compile
_ always check library folders to make sure they're still valid
_ mismatched square brackets generate bizarre and/or misleading error messages
_ http://code.google.com/p/processing/issues/detail?id=355
_ with additional .pde files, don't allow static mode in front tab
_ e.g. no setup()/draw() block
_ don't allow "for (blah; blah; blah) ;"
_ or if (blah blah blah) ;
_ it's never useful. students can use { } if they want an empty block
low (features)
_ copy running code from /tmp/buildXXxxx on crash of p5
_ should probably make a way to save/recover code
_ make the buildXxxx folders relate to time/date?
_ link out to further documentation (e.g. AIOOBE, NPE)
low (common errors around reserved names/class naming)
_ Saving sketch with the same name as a class or primitive breaks sketch
_ http://code.google.com/p/processing/issues/detail?id=157
_ don't allow people to override methods like paint()
_ make them final? just improve the error messages?
_ http://code.google.com/p/processing/issues/detail?id=1020
_ https://github.com/processing/processing/issues/1058
_ Processing chokes if a sketch defines a class with same name as the sketch
_ https://github.com/processing/processing/issues/196
_ don't allow goofy case versions of reserved words
_ keypressed should maybe throw an error
_ http://code.google.com/p/processing/issues/detail?id=5
_ using a keyword as a variable name gives unhelpful error message
_ http://code.google.com/p/processing/issues/detail?id=54
_ "unexpected token" on anonymous instance of parameterized Comparator
_ http://code.google.com/p/processing/issues/detail?id=494
PDE / Editor
_ [help] Undo does not move to the correct location in the editor window
_ https://github.com/processing/processing/issues/707
_ clean up /tmp folders used during build
_ https://github.com/processing/processing/issues/1896
_ 'recent' menu doesn't respect examples folder of other p5 versions
_ could write that into the file, that it's an example
_ or write the path as shown in the PDE to the file as simpler
_ 'recent' menu paths can get enormous
_ don't let people into the /tmp folder for sketches
o don't use tmp folder for sketches?
_ restrict more things like "show sketch folder"
_ don't allow adding files w/o saving
_ others?
_ when creating a sketch within non-Java mode, should write the settings file
_ so that it re-loads in the proper environment
_ remove sketch.properties when moving back to the default?
_ or can we not do this, because it's used to set the 'next' mode
_ add means to import .zip files from file/url into sketchbook, library, etc.
_ super easy given current code implementation, might help usability
_ active editor not being set null
_ in Base.nextEditorLocation(), changed to "editors.size() == 0"
_ instead of (activeEditor == null), but that's papering over a problem
_ where the active editor is not being set null
_ renaming RGB (.pde) to Rgb.java says "a file named RGB.pde already exists"
_ improve update check message "a new release (1.0.1) is available"
_ be more descriptive, use a second line in latest.txt
_ maybe just include the full text of the update message there?
_ go through other sketch-opening menus to check for disappearing sketches
_ deal with isManagingFocus() warning in the editor src
_ strange NullPointerException problem prevents launch
_ some kind of NPE in handleOpenInternal and friends
_ appears to be a synchronization problem with the loading
_ blank sketch opened even if another opened by double-click
_ add a 150 ms or more lag before opening the untitled window
_ https://github.com/processing/processing/issues/218
_ editors opening up at the same time on load?
_ either synchronize the open (at a minimum)
_ or wait for mac handlers to register an open event
_ can also cause problems with opening multiple copies of same sketch
_ after fixing name of sketch, ensure sketch of that name does not exist
_ add auto-save to the editor
_ http://code.google.com/p/processing/issues/detail?id=92
_ option to just print all code in project
_ http://code.google.com/p/processing/issues/detail?id=11
_ https://github.com/processing/processing/issues/50
_ or option to export all the code as colored html?
_ dim edit menus as appropriate during selection/no selection/etc
_ http://code.google.com/p/processing/issues/detail?id=14
_ implement better method of showing curly brace closure
_ http://code.google.com/p/processing/issues/detail?id=55
_ sketches should only write to the console of their editor window
_ http://code.google.com/p/processing/issues/detail?id=114
_ problems with file/print
_ http://code.google.com/p/processing/issues/detail?id=174
_ remove PdeKeyListener, roll it into the Java InputHandler for JEditTextArea
_ move Java-specific InputHandler to its own subclass
_ setModified() getting called on Windows (probably Linux) for key cmds
PDE / Editor Toolbar (Buttons)
_ run button issues (unconfirmed)
_ does it unhighlight after compile or runtime errors?
_ also when using draw() instead of loop()
_ applet needs to notify runner that it has terminated
_ check 'finished' via objectreference?
_ show compiling/startup animation after clicking run
_ or maybe show an animation for starting up
_ rather than post-compile
_ http://code.google.com/p/processing/issues/detail?id=97
_ EditorToolbar has two TODO items for open menu handling
PDE / Editor Header
_ key command for prev/next tab works, but not menu
_ menu options are actually disabled because of inconsistency
_ http://code.google.com/p/processing/issues/detail?id=140
_ ctrl/ctrl-shift-n sometimes stops working
_ http://code.google.com/p/processing/issues/detail?id=149
PDE / Editor Status
_ make standard editor input prompt available to other tools/modes
_ http://code.google.com/p/processing/issues/detail?id=746
PDE / Export
_ if the lib folder goes missing from export, give an error
_ also any .jar files that are missing, give an error
_ showing more debug messages (command line?)
_ when exporting to application (or applet) don't copy .java files from folder
_ (they'll be copied as source files later)
_ make .java files and friends go to correct locations on export (app)
_ warn on export when people call their sketches things like Server
_ warn if someone extends PApplet but mis-names the sketch
_ or don't allow it to be exported
_ add bug reference to the faq once added to the db
X or at least add a note about this to the faq
_ show error when no main() is included but class extends PApplet
_ error can happen or be checked
_ exporting application copies .java files
_ .java files are copied to the root folder as well as the source folder
PDE / Find & Replace
PDE / Examples
_ "Standard Examples" dialog box off screen if Processing IDE maximised
_ http://code.google.com/p/processing/issues/detail?id=928
_ keep examples.zip in a zip file? (5000 files @ 30 MB instead of 15 MB zip)
_ mark examples as untitled (rather than read-only)
_ maybe even pull these directly from the zip file?
_ load examples from zip files
_ http://code.google.com/p/processing/issues/detail?id=143
_ don't make examples read-only
_ just do them from psk filess
_ disallow add file to sketch, export, export application
_ pretty much anything inside the sketch?
_ but don't do this with untitled, cuz it kinda stinks
_ this is too weird--just put examples into individual zip files
_ mark example files as untitled
_ though will that require the sketch to be saved before export?
_ https://github.com/processing/processing/issues/2459
_ examples window sketches should load in proper environment
_ write build.xml file to automatically update the examples
_ sketch.isReadOnly returns false for examples coming from multiple modes
_ http://code.google.com/p/processing/issues/detail?id=734
_ see how library installation goes, then possibly do same w/ examples
PDE / Libraries
_ Add a means to specify packages to import in library.properties
_ https://github.com/processing/processing/issues/2134
_ need to deal with classpath conflicts
_ avoid garbage that people have installed on their machines
_ antlr.jar in the classpath will cause trouble..
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1138652326
_ jogl jar files, or jogl install will cause trouble
_ /System/Library/Java/Extensions or /Library/Java/Extensions
_ the /System one contains qtjava
_ the /Library one is empty (by default), maybe skip it?
_ classpath conflicts also problem with PDE itself
_ catch antlr conflicts, and put up an error message
_ http://dev.processing.org/bugs/show_bug.cgi?id=1225 (no Google issue)
_ when a conflicting library (bad link w/ core) is found, need to report it
_ altho prolly only when it's actually different (md5hash it?)
_ this seems to be causing a lot of trouble with recent releases
_ (opengl changes and whatnot)
_ jar files like the bad aiexport plugin will cause serious problems
_ need to ignore processing.core classes showing up in other jar files
_ tougher than it looks, because it all depends on what java wants to use
_ i.e. even if not specified, the stuff will be in the classpath
_ need to make classpath code be less promiscuous
_ the order of adding libraries to classpath should be opposite
_ the important local libraries should be first in cp, user contrib later
_ http://code.google.com/p/processing/issues/detail?id=56
_ changing the sketchbook folder will make libraries show up
_ but it won't reload the library mapping table
_ make sure there aren't library jar files named the same thing
_ i.e. if one library has db.jar, then that's gonna kill another db.jar
_ when the files are copied over
_ libraries in java tabs (separate .java files) are reported missing
_ need to scan the .java files for imports that need to be included
_ http://code.google.com/p/processing/issues/detail?id=459
_ library.properties and tool.properties should reflect supported modes
_ http://code.google.com/p/processing/issues/detail?id=1050
_ versioning info
_ http://java.sun.com/j2se/1.5.0/docs/guide/extensions/versioning.html
_ java.ext.dirs for /System/Library/Java/Extensions
_ http://java.sun.com/j2se/1.5.0/docs/guide/extensions/spec.html
_ can set java.ext.dirs to something else
_ on osx, just ignore anything in /Library/Java/Extensions (but not others)?
_ native lib stuff, use native.txt in lib folder, then:
_ String osName = System.getProperty("os.name");
_ String osArch = System.getProperty("os.arch");
_ http://stackoverflow.com/questions/1611357/how-to-make-a-jar-file-that-include-dll-files
_ need better platform designation setup for libs
_ library installation should use the sketchbook folder, not the p5 folder
_ actually enforce this, give users a warning about other libs
_ set DYLD_LIBRARY_PATH to include .dylib and other framework stuff
_ java.library.path will only handle .jnilib stuff
_ need better error messages for broken api / library troubles
_ e.g. ocd is broken in 0125 because of method signature changes
_ could have library developers update compatability note
_ so they would need to test library and say "compatible with 0110"
_ before it would automatically update or show as an update
_ need an "install library" option to deal with urls..
PDE / Manager
_ something to set min/max versions that are supported by a library
_ ability to cancel a download/install
_ we shouldn't use .properties extension for modes, et al
_ because a .properties file is iso8859-1
_ make note that .properties file *must* be utf-8
_ if not it'll make things gross (andre sier flob library)
_ why wasn't Library moved to LibraryContribution?
_ or that LibraryContribution needs to be a wrapper around it?
_ send info on 'check for updates' so we know about libs/modes/etc?
_ how to disclose to users?
_ only send for items that are part of the public list
_ otherwise we're sending private libraries/installs
_ although this won't pick up old libraries not on the new system
_ classpath conflicts..
_ getPackageList.. from Library... maybe others?
_ really need to make sure that a weird core.jar isn't being imported
_ coffeescript was doing this and breaking the pde
_ contrib library examples are not read-only
_ another point for doing .zip files to prevent overwriting
_ add BookContribution?
_ will offer to open the contrib manager even though it's already open
_ though this was looking at libraries, and there may have been modes
_ is there an "all" view for the mgr that shows libs, modes, etc?
_ update button only showing up when item is selected feels awkward
_ "update all" would be useful
_ "Update 4 items" as a button name
_ new libraries not picked up when changing sketchbook location
_ make sure contrib manager can run w/o a network connection
_ or if a bad document comes through, it can recover
_ gracefully recover from proxy problems
_ https://github.com/processing/processing/issues/1601
_ alternating blue/white backgrounds aren't updated after changing filter
_ just need to call a repaint() after a filter change?
_ check with Casey about coloring for error messages
_ test on Windows and Linux
_ font size for "Downloading" on progress bar is too large
_ but changing the size breaks the vertical centering
_ highlight color seems to be incorrect?
_ after installing, the item in the manager list doesn't change color
_ scrolls to bottom of window after updating the list
_ wheel mouse is super jumpy
_ something about unit increment in ContributionListPanel
_ arrow keys up/down move scroll bar, not selection
_ excessive CPU usage of PDE after using library manager
_ confirmed to still be a problem with b5/6
_ https://github.com/processing/processing/issues/1074
X http://code.google.com/p/processing/issues/detail?id=1036
_ fonts/etc need to be set in one place where they can be edited
_ move styling to separate constants that are more accessible
PDE / Preferences
_ the .macosx, .linux, etc prefs should be stripped
_ only use them on first load, and merge into preferences.txt
_ Editor.applyFrame() may not have a valid 'editor' object to work with
_ if windows closed, and prefs altered, NPE thrown
_ make sure editor isn't trying to apply prefs when no editor is open
_ (on mac os x, due to the change for no windows open)
_ clear up prefs so that multiple editors don't trash each other's prefs
_ when are prefs saved? could instead save whenever changes are made
_ and then if the file gets modified, it'll put up an error message
_ also, this may be part of why other sketches aren't reloading properly
_ simple prefs implementation to set key/value pairs using a JTable
_ prefs window doesn't swap ok/cancel properly for mac vs. windows/linux
_ don't bother having a "cancel" for the prefs window
_ rewrite preferences window to use proper layout
_ https://github.com/processing/processing/issues/67
_ https://github.com/processing/processing/issues/2708
_ https://github.com/processing/processing/issues/2986
_ make prefs dialog modal?
PDE / Runner
_ if RuntimeException thrown, needs to check if it's a wrapped exception
_ for instance, if there's a crash inside makeGraphics()
_ this inside the handling that comes from the JVM, which makes it tricky
_ draw mode apps do not shut off the run button when finished
_ need to talk to VM and read when 'finished' var is set
_ does closing the window call stop()?
_ need to make sure hitting stop button and closing window explicitly call
_ set finished to true, then join() the animation thread
_ need to set dock icon title on osx
PDE / Sketch & Sketchbook
_ Large number of files in sketchbook folder can cause slow startup
_ and/or errors with launch4j
_ http://code.google.com/p/processing/issues/detail?id=1152
_ error that sketch is read-only can't be canceled
_ hitting cancel (or ESC?) still brings up the save dialog
_ ArticulatePrint-070103a.pde from ArticulatePrint-070103a loads ok
_ but when opening the sketch, it leaves out the file
_ because there's a dash in the name
_ and instead only loads StemCell.pde
_ show progress dialog during export and save
_ hitting ESC on "create this, move file, continue" opened anyway
_ some type of sketch archive format for posting examples (.psk?)
_ would be nice to open a sketch directly from a zip file
_ http://code.google.com/p/processing/issues/detail?id=34
_ maybe just open from a zip file, since psk doesn't help anything
_ also have a means of importing sketches
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
TOOLS / General
_ create default tools folder (just like libraries)
_ for tools, maybe don't run on event thread? (makes the gui hang)
_ but instead, things that affect gui need to be called w/ invokeLater?
_ need a proper means to handle command keys for tools (?)
_ http://code.google.com/p/processing/issues/detail?id=44
_ handle native code for tools menu (?)
_ http://code.google.com/p/processing/issues/detail?id=109
TOOLS / Ideas
_ eclipse import/export
_ simple mechanism to export to eclipse
_ don't worry about subversion stuff, just export with libraries
_ something clever to import back from eclipse
_ could keep the .svn files in with the libs and all
_ then when exporting for eclipse, people can update as necessary
_ -> dan et al say better to do fixed versions and have it work simply
_ import sketch from url (takes a zip from archive sketch)
_ archive sketch direct to bug report
_ shared code
_ Integrator / FloatThing / CameraStuff -- Update
_ to pull code from a local folder
_ update will update classes from shared in the current folder
TOOLS / Auto Format
_ Switch block cases not indented
_ https://github.com/processing/processing/issues/1042
_ do a better job of maintaining cursor
_ only auto-format a particular section of code
_ set the 'tabs' var based on how many spaces on previous line
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_Software;action=display;num=1087227217
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
LIBRARIES / General
_ need to unpack InvocationTargetException in xxxxxxEvent calls
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1116850328#3
LIBRARIES / Net
_ modernize Client/Server code to use synchronized lists
_ do we let people use the public vars in Server and Client?
_ are they documented?
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
DIST
How the environment gets packed up, downloaded, and installed.