-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
1263 lines (1099 loc) · 57 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
0135 pde
o opening a file from right-click in osx
o opens the new thing directly behind an untitled document
X improve how fonts are parsed from the preferences file
X this was causing strange errors as prefs files became corrupted
earlier
X made changes to keywords.txt, but this is broken--it's autogenerated
X keywords/reference
X map is going to null reference, not colored properly
X add beginRaw, endRaw, map to keywords.txt
X find in reference problems
X ? doesn't work with find in reference (actually came up as 'null')
X "find in ref" on XMLElement brings up ref for null (ha)
o should we use if() or if in the reference
X include docs for moviemaker
X also changed finishMovie() to stop() (for consistency)
X only inside size() should gray bg and white fill get called (defaults)
X defaults() is separate from beginDraw/endDraw init/end stuff
o add to sketchbook menu:
o "recent sketches" option (only for things that still exist)
o turn this off by default
o "reload sketchbook" option
o "show sketchbook folder"
X start removing pre-1.4 support
X multiple windows
o what happens when p5 is launched without all its pieces?
o both on windows and mac... is there a way put up useful message
o if everything moved into the .app file, how do you add applet.html?
o can we use useragent to determine whether java 1.4 is in use?
o for mac, could see if it's an old safari (1.3) or firefox (also 1.3)
o for windows, the classid will take care of it all (firefox too?)
o for linux, everyone's using 1.4/1.5 anyway
X rewrite section on versions of java
X we're dropping support for anything before 1.4
X and don't recommend anything before 1.4.2
X we'll support 1.5 a little more now, but only libraries, not syntax
X no support for java 1.6 anytime soon
X to use 1.5+ syntax, use p5 embedded in eclipse
X what's with this fill() bug?
X http://dev.processing.org/bugs/show_bug.cgi?id=468
X background() also not making it through to raw recorder
X this should be fixed, just double-check
X add option to prefs to override memory settings
X it's a checkbox, when used it will force external runtime
X include a fill-in box with the default and various other settings
X values are in megabytes
o reload sketchbook option w/o restarting p5
o students want to manipulate the sketchbook itself
X update javadoc on web site to include xml ref
X probably need to traverse into xml and candy folders.. others?
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?
_ classpath fixes (disable aiexport and built-in tools that include core.jar)
_ more recent versions of the PDE lock up during setup() (no window shown)
_ http://dev.processing.org/bugs/show_bug.cgi?id=687
_ if too many errors come through during setup, app will terminate
_ printStackTrace() throttles on osx and poops out
_ "Fatal exception occurred. Program will exit." on startup
_ seems to be font related, deleting prefs will fix it
_ http://dev.processing.org/bugs/show_bug.cgi?id=688
_ "missing a /* from the end of a comment" message
_ enter a bug for this, it's bound to be found
_ "multipart/*" produces the error
_ even though things are inside a quoted txt block
_ after fixing name of sketch, ensure sketch of that name does not exist
_ quicktime problems (when no QTJAVA is set?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=669
_ fix syntax highlighting of focusGained and others
_ http://dev.processing.org/bugs/show_bug.cgi?id=659
_ verify (and document) public access members of PApplet
_ http://dev.processing.org/bugs/show_bug.cgi?id=660
_ some docs missing (therefore not syntax highlighting)
_ http://dev.processing.org/bugs/show_bug.cgi?id=661
_ constants that are not highlighting (WINDOWS the only one?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=662
_ pdf examples are shot (?)
_ remove patch designation from bugzilla
with casey
_ find in reference issues
_ if() and for() don't work, they look for for_.html instead of for.html
_ XMLElement is not linked for find in ref
_ the ? operator is not in find in ref (no ref page either?)
_ update keywords generator script on the site
_ perhaps move this closer to the dev process?
_ move reference folder around so that it matches site organization
_ otherwise several links break on the main faq page
_ discuss i18n issues and proper system
_ mark examples as untitled (rather than read-only)
_ put the "had to rename sketch" message in the msg bar
_ it's ugly/annoying/intrusive
_ inside sketch.java, don't hardwire the file extension types
_ arduino uses .c, .cpp, .h instead of .java
_ huge jar files from 0124 export
_ http://dev.processing.org/bugs/show_bug.cgi?id=541
_ if someone has monaco disabled in font book, the app won't start
_ http://dev.processing.org/bugs/show_bug.cgi?id=562
_ color selector not drawing properly
_ http://dev.processing.org/bugs/show_bug.cgi?id=656
_ color selector broken on vista (no colors at all)
_ http://dev.processing.org/bugs/show_bug.cgi?id=584
_ can't get documents/prefs folder on vista
_ http://dev.processing.org/bugs/show_bug.cgi?id=585
_ ocd is broken in 0125 - do a better error message for this
_ disallow .java tabs with same name as the sketch
_ a .java tab with same name as the sketch is allowed (oog!)
_ particularly look at "save as" scenario
_ http://dev.processing.org/bugs/show_bug.cgi?id=543
_ bug report:
_ create a new sketch, write something in it
_ create a new tab, name it "something.java", write something into it
_ rename main tab (sketch) to "something" (without ".java")
_ the contents in the files are not the same, but the main-tab is
_ showing the contents of the .java tab, so if you press save
_ you will overwrite your original code from the main-tab.
_ add present mode bgcolor to prefs
_ add basic guidelines for posting to the board
_ 0. be polite. going on about how much something "sucks" or is "stupid" will make you look like an eight-year-old.
_ 1. don't double (or triple) post
_ 2. if you're having trouble, first see the troubleshooting page
_ 3. if you have a bug, first search the bugs database
_ 4. first check the FAQ
_ 5. use the search bar at the top of every page
_ 6. read revisions.txt
charset changes
_ change pde files to use utf8
_ 1) if file contains binary data and
_ 2) its mod date is earlier than when p5 0125 was installed
_ offer to convert it, or ignore
_ then re-save the file to update the mod date
_ ...or, when first running p5 0125, offer to update sketches
_ need to set a default charset for use in files (utf8)
_ add option to change charset or specify as part of loading
_ need to specify the default encoding
_ xml element needs to be readable from other charsets
_ same with the other methods like loadStrings()
_ could also be a way to handle gzip too?
_ tho charset + gzip would be a problem
_ hint(ENABLE_AUTO_GUNZIP) or rather hint(DISABLE_AUTO_GUNZIP)
_ switching into present mode in info.plist
<key>LSUIPresentationMode</key>
<integer>4</integer>
_ dynamic tools menu (requires moving files around)
_ this means can integrate the autoformat stuff
_ processing.mess/tools has chandler's template stuff
_ finish up debian package support (see the processing.mess folder)
_ the first time someone hides a tab, put up a msg explaining what it does
_ "don't warn me about this anymore"
_ add "don't warn me about this" for sketch renaming
_ make sure renamed version doesn't exist already
_ add to mac reference for present mode
_ can make full screen work via Info.plist key
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1135921427;start=7#7
_ 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
_ with additional .pde files, don't allow static mode in front tab
libraries and classpaths [1.0]
X see how platform is determined by jogl / use for lib import
_ add control for dependencies (i.e. svg needs xml), needed for export
_ http://dev.processing.org/bugs/show_bug.cgi?id=518
_ add "pretty menu name" to the export.txt file
_ more export.txt to xml? (nah, it's only flat information)
_ 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
_ 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/Extensions or /Library/Extensions
_ when a conflicting library 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://dev.processing.org/bugs/show_bug.cgi?id=321
_ java.extension.dirs has the library/extn stuff
_ can probably set this blank
_ the jar from which a class file has been loaded
_ getClass().getProtectionDomain().getCodeSource().getLocation().getFile()
_ example from jsyn
JSyn Installer build 011
java.vm.version = 1.5.0_07-87
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.ext.dirs = /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
Installing Native library JSynV142
Copy: http://www.softsynth.com/jsyn/plugins/archives/libJSynV142.jnilib
to: /Users/fry/Library/Java/Extensions/libJSynV142.jnilib
Native component JSynV142 downloaded successfully.
---
Installing JAR file JSynClasses.jar
Copy: http://www.softsynth.com/jsyn/plugins/archives/JSynClasses.jar
to: /Users/fry/Library/Java/Extensions/JSynClasses.jar
JAR file JSynClasses.jar downloaded successfully.
Note: you must restart your browser before running any JSyn Applets!
Installation completed.
_ stop button needs to update itself and work properly [1.0]
_ also editor buttons to light up and clear properly
_ http://dev.processing.org/bugs/show_bug.cgi?id=396
_ on osx, System.err isn't writing in things like createGraphics()
_ but doing a printStackTrace(System.out) works
_ something weird happening with one of the streams shutting down?
_ probably, need to fix this by using the remote launcher/debug api
_ use proper external launcher via debugger api
_ http://java.sun.com/javase/technologies/core/toolsapis/jpda/
_ don't reload sketch on "save as"
_ this can result in loss of data (undo is lost)
_ http://dev.processing.org/bugs/show_bug.cgi?id=433
_ 'code' folder being ignored on export to application
_ http://dev.processing.org/bugs/show_bug.cgi?id=469
_ PApplet.this doesn't work
_ doesn't work in javac either--needs to be ClassName.this
_ sketchname.this also doesn't work, because Temporary_NNNN used for name
_ but since it's another tab/class, will run externally
_ so should make the external version use the actual sketch name not temp
_ can't use PApplet.this, doesn't seem to like that
_ instead, must pass variable to inner class
_ install astyle formatter
_ build on each platform, then "lipo -create astyle.* -output astyle"
LIBRARIES / svg
_ when using get(), reset the bounds for the objects
_ otherwise it's always relative to the original document
_ save/restore more of the p5 graphics drawing state
_ not setting colorMode(), strokeCap, etc.
_ support for text (shouldn't be too bad, use createFont)
_ implement text spans for svg output
_ get entity tags working in xml library
_ try enabling blending modes
_ add better support for attributes buried in styles (support ai9/10/11)
_ test what happens when transparency is used with gradient fill
_ look into transformation issues... guessing this is probably wrong
_ this may be what's throwing off the radial radius transform
_ implement A and a (arcs)
_ check for any other pieces of missing path api
_ multiple sets of coordinates after a command not supported
_ i.e. M with several coords means moveto followed by many linetos
_ also curveto with multiple sets of points is ignored
_ document somehow.. svg viewer will be discontinued
_ http://www.adobe.com/svg/eol.html
LIBRARIES / xml
_ need to handle how save() works inside xml lib
_ need to handle <!ENTITY tags for svg documents
_ vectors shouldn't be exposed, need to expose attr lists as arrays
_ or also add a method for getting the vectors?
_ when running externally, set window frame title to the sketch name
_ is this only a problem on macosx?
processing wish list
_ TRIANGLE_STRIP not highlighted for "find in reference"
_ nor is it listed on the reference page
_ so students can't find the ref for it
_ needs to link TRIANGLE_STRIP to the beginShape() reference
_ stop button not stopping anything
_ copy running code from /tmp/buildXXxxx on crash of p5
_ should probably make a way to save/recover code
_ code as columns (screen is wide, code is not)
_ lots of runtime exceptions still being lost on osx
_ particularly with multi-threaded applications
_ macosx dropping exceptions all the time.. grr
_ solution is to export, and then see how it runs
_ this is particularly bad with threaded applications
Exception in thread "Thread-2" java.lang.NoClassDefFoundError:
processing/core/PApplet
at processing.serial.Serial.<init>(Serial.java:156)
generally, that error means that something is missing from the
CLASSPATH. the NoClassDefError gives erroneous feedback about *what*
class is actually missing, as of java 1.3+ (yay!)
so perhaps conflicting versions of a library in the sketchbook (solve
this by setting to an empty sketchbook temporarily) or files might be
installed in the CLASSPATH variable or something conflicting in
/System/Library/Extensions.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DOC / Bugzilla
_ explanation of P1 through P5
_ goes to bugs page
_ longer description of "i found a bug"
_ what was the unfinished bullet item?
_ also something i forgot to add to the opengl faq stuff
_ move the bugs section of the troubleshooting page to dev.processing.org/bugs
_ search for ALL in the bugs db turns up:
http://dev.processing.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED
http://dev.processing.org/bugs/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
_ http://dev.processing.org/bugs/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&query_format=advanced&order=bugs.priority,bugs.priority%2Cbugs.resolution%2Cbugs.bug_id&query_based_on=
_ add note to bugs db asking to please use archive sketch and attach
_ make a web page that describes how to use the bugs db
_ don't change the bug subject/summary text
_ don't mess with priorities (i will)
_ need to change what people can edit in the bug report
_ do something about the bug summary field to not make it editable
_ maybe just move it away from its current location?
_ call it "bug title" instead of "summary"?
_ http://dev.processing.org/bugs/show_bug.cgi?id=253
_ layout problems with attachments page
_ http://dev.processing.org/bugs/show_bug.cgi?id=254
_ layout problems with logout page
_ http://dev.processing.org/bugs/show_bug.cgi?id=255
_ bug duplicate text field doesn't retain focus
_ http://dev.processing.org/bugs/show_bug.cgi?id=256
_ finish putting all the bugs into bugzilla
_ add a notation to the bugs site re: reading the faq and searching first
X move p5 site bug reporting to bugzilla
_ do the same for suggestions
_ and detail the suggestions policy on the dev site: diy
_ post a page explaining the bug reporting system
DOC / Frequent
_ arrays
_ using arraylist (avoid vector)
_ cannot use generics
_ using mod to avoid shifting an array
_ append is slow, arraycopy is fast
_ whether arraycopy works to copy array to itself
_ using expand and arrays to move quickly
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().
DOC / Integration
_ move stuff about getting gl object and java2d stuff here
_ how do i add gui to a sketch?
_ don't use awt components
_ how to use swing and embed components inside p5
_ using beginGL().. also import javax.media.opengl.*;
_ lighting will not work
_ 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
DOC / Discourse Board
_ someone wrote up an initial version of this
_ how to put [code] around blocks of code
_ also mention contributed plugin for formatting
_ also the reference page on the bb commands
_ i don't answer to instant messages
_ i don't answer email
_ use the bugs db instead of the bugs board
_ use the search box (not the forum search)
_ read the faq, read the faq
_ read the reference.. right-click on a word and choose "find in ref"
_ non-processing posts will be deleted (not a java discussion board)
_ no duplicate posts - find an area and post to
_ explanation of what the areas are
_ be sure to look at the reference, especially the extended reference
_ questions like 'how do i do x' are often solved by looking at the api
_ for instance, to get the framerate, use framerate()
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
DOC / Site
_ 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)
_ make source link on p5 site go direct to the source
_ or at least explain how to navigate
_ post releases on sourceforge so that international mirrors are better?
_ start creating source tarball for each release?
_ roll over the discourse board for 1.0?
_ should we add processinghacks to main site? hacks.processing.org?
_ this would enable site search across this as well?
_ board stuff
_ only allow moderators to delete posts
_ set "no smileys" as the default (better for posting code)
_ add stuff about the history into the people section
_ descended from dbn, but not dbn, etc..
_ remove the 'search' item from yabb.cgi
DOC / Examples or Hacks
_ add to key reference a pointer to an example that tracks all keys
_ write simple example that tracks all keys
_ 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?)
_ how to grab the java2d object from PGraphics2D
_ How do I move the mouse cursor to another location? (advanced.html)
_ post a hack for this or a simple example
_ making things fast with pixel operations
_ jai handles setting image size
_ PNGEncodeParam png = PNGEncodeParam.getDefaultEncodeParam(bufImage);
_ png.setPhysicalDimension(round(dpi*39.370079), round(dpi*39.370079), 1);
_ JAI.create("filestore", bufImage, filename+".png", "PNG");
_ also an example of setting the jpeg compression (included in bug report)
_ add something about getting a bufferedimage from a PGraphics
_ maybe this should be a method?
_ how to upload an image to a server
_ 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
_ write a timer class/example library
_ write an example that uses Hashtable
_ write an example that uses Vector
_ get an xml library and example in there
_ xquery and xpath (latter in particular) for dealing with xml
_ jeff uses saxon for switchboard.. saxon also part of nux
_ nanoxml problems with manifest
_ appears to use 1.6.8 version since it's just two classes
_ post to web example
_ particularly for uploading image data
_ along with php script to handle receive
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1117194066#7
_ simple method for having a clickable region or sprite with rollover
_ scripts: how to make a long setup() sleep so that things don't lock way up
_ example for using mediatracker to load images
_ simple example for threaded image loading "load several"
_ (rather than blocking on each)
o maybe add a loadImages(String files[]) function?
_ use a MediaTracker that's shared, so that while an image is still
_ loading, other calls to loadImage might be able to add things to the
_ queue. or maybe beginImage() and endImage()? or a mode that lets
_ you wait for the images to download (size is zero until they're ready)
_ MediaTracker blocking is prolly making jar download really slow
_ http://processing.org/discourse/yabb/YaBB.cgi?board=Proce55ing_software_bugs;action=display;num=1089914280
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
PDE - Processing Development Environment
PDE / Base
_ properly handle non-ascii chars in p5 folder name
_ use javac?
_ the eclipse jdt compiler may be even better
X ask japanese students about whether jikes is working ok
_ http://dev.processing.org/bugs/show_bug.cgi?id=49
_ or at least warn the user to install somehwere else
_ perhaps the get around this by building into sketch folder
_ when non-ascii chars in use, just launch everything externally
_ also fails with export-to-application
_ http://dev.processing.org/bugs/show_bug.cgi?id=252
_ command line support
_ http://dev.processing.org/bugs/show_bug.cgi?id=219
_ would still require awt, but would take a sketch on cmd line
_ build it and then exit
_ also an option to launch p5, load a sketch and run it
_ notations have been added to the bug report that cover the plw changes
_ settings.path.fallback not being used
_ need to check the mkdirs() to make sure it's not going too deep
_ really important for intl versions that are having trouble
_ or ask for the sketch folder name.. why isn't it?
_ http://processing.org/bugs/show_bug.cgi?id=1
_ option to suppress warning dialogs
_ starting with the one about modifying the sketch name for spaces
_ http://processing.org/bugs/show_bug.cgi?id=3
PDE / Compiler & Preprocessor
_ 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
_ Update ANTLR grammar to support 1.5 syntax
_ http://dev.processing.org/bugs/show_bug.cgi?id=598
_ preproc cant handle labels to break/continue nested loops
_ http://dev.processing.org/bugs/show_bug.cgi?id=631
_ imports inside comments are being included
_ toInt() needs to go away in time for the book.. fix parser bugs
_ using a processing keyword as a variable name gives unhelpful error message
_ http://dev.processing.org/bugs/show_bug.cgi?id=213
_ web colors < 6 chars produce bizarre error:
_ http://dev.processing.org/bugs/show_bug.cgi?id=196
_ http://dev.processing.org/bugs/show_bug.cgi?id=228
_ synchronized (something) { } is horking up the preproc
_ http://dev.processing.org/bugs/show_bug.cgi?id=136
_ casting problems in the parser
_ straighten out int() -> toInt() conversions
_ float u = float(x)/width; works.
_ float u = (float(x)/width); doesn't work: "unexpected token: float".
_ float u = (x/float(width)); works!
_ http://dev.processing.org/bugs/show_bug.cgi?id=4
_ return (int(5.5)) causes an error
_ random, single slash in the code doesn't throw an error
_ (just gets removed by the preprocessor)
_ http://processing.org/bugs/show_bug.cgi?id=6
_ allow doubles in preproc
_ (for casting, etc) particularly for Math.cos() et al
_ http://processing.org/bugs/show_bug.cgi?id=7
_ jikes bugs mean some code just won't compile:
_ include javac? would this be a good solution for linux?
_ http://dev.processing.org/bugs/show_bug.cgi?id=8
_ don't allow goofy case versions of reserved words
_ keypressed should maybe throw an error
_ http://dev.processing.org/bugs/show_bug.cgi?id=9
_ an empty .java tab will throw an error
_ http://dev.processing.org/bugs/show_bug.cgi?id=10
_ warn about writing non-1.1 code.
_ http://dev.processing.org/bugs/show_bug.cgi?id=11
_ missing semicolons - better error message
_ http://dev.processing.org/bugs/show_bug.cgi?id=12
_ missing brackets, unmatched brackets
_ http://dev.processing.org/bugs/show_bug.cgi?id=13
_ "unexpected token void" -> "You're mixing dynamic and static mode"
_ http://dev.processing.org/bugs/show_bug.cgi?id=14
_ expecting RPAREN messages are ugly
_ http://dev.processing.org/bugs/show_bug.cgi?id=15
_ not enough args for triangle (or args in general)
_ throws out bizarre message
_ http://dev.processing.org/bugs/show_bug.cgi?id=17
_ if 'void' left out before loop or setup, cryptic message about
_ 'constructor loop must be named Temporary_23498_2343'
_ add a better handler for this specific thing?
_ http://dev.processing.org/bugs/show_bug.cgi?id=18
_ using a keyword as a variable name gives unhelpful error message
_ http://dev.processing.org/bugs/show_bug.cgi?id=212
_ unspecified return type creates compile error
_ or maybe not? followup said maybe not
_ http://dev.processing.org/bugs/show_bug.cgi?id=379
_ Blah.class will confuse the preproc
_ http://dev.processing.org/bugs/show_bug.cgi?id=481
_ non-matching curly brackets sometimes don't cause an error
_ http://dev.processing.org/bugs/show_bug.cgi?id=507
_ syntax highlighting error with // and /*
_ http://dev.processing.org/bugs/show_bug.cgi?id=609
hacked for fix, needs real fix
_ NullPointerException on unterminated comment at end of code
_ and OutOfMemoryError and weird lockup
_ http://dev.processing.org/bugs/show_bug.cgi?id=16
_ also OutOfMemoryError if a quote is not terminated
_
_ preprocessor error if last line of code is a comment with no CR after it,
_ an OutOfMemoryError wants to happen,
_ but right now there's a hack to add a CR in PdePreprocessor
_ http://dev.processing.org/bugs/show_bug.cgi?id=5
PDE / Editor
_ sketch marked as modified too aggressively
_ http://dev.processing.org/bugs/show_bug.cgi?id=328
_ dragging title bar while sketch running causes strange selection behavior
_ http://dev.processing.org/bugs/show_bug.cgi?id=504
_ should really be doing the 'right' thing with sketch file handling
_ create temporary file when saving
_ once done writing, use remove the original and rename the old
_ some basic stuff like this..
_ shortcuts not working after rename? (osx only?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=505
_ convert tabs to spaces when pasting text
_ http://dev.processing.org/bugs/show_bug.cgi?id=506
_ add "recent files" list to open menu?
_ unchecking 'use external editor' sketch should not set modified
_ dangerous if a version that hasn't been re-loaded has possibility
_ to overwrite. i.e. make a change and save in external editor,
_ don't actually
_ run/stop button highlight is almost completely broken
_ http://dev.processing.org/bugs/show_bug.cgi?id=396
_ when running with external editor, hide the editor text area
_ http://dev.processing.org/bugs/show_bug.cgi?id=20
_ horizontal scroller gets weird sometimes
_ http://dev.processing.org/bugs/show_bug.cgi?id=23
_ mouse wheel broken in the text editor? (windows jdk 1.5?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=24
_ lock the minimum size for the main processing editor frame
_ if it's made too small, stuff from the bottom disappears
_ http://dev.processing.org/bugs/show_bug.cgi?id=25
_ add mnemonics for menus (alt-f to open 'file')
_ http://dev.processing.org/bugs/show_bug.cgi?id=26
_ option to just print all code in project
_ option to export all the code as colored html
_ http://dev.processing.org/bugs/show_bug.cgi?id=28
_ "page setup" sucks in java
_ http://dev.processing.org/bugs/show_bug.cgi?id=435
_ rename/saveas doesn't properly have its focus set
_ under windows, immediately typing after rename doesn't select
_ the whole thing is selected, but not directly editable
_ http://dev.processing.org/bugs/show_bug.cgi?id=31
_ dim edit menus as appropriate during selection/no selection/etc
_ http://dev.processing.org/bugs/show_bug.cgi?id=33
_ Ctrl-Z will undo, but not scroll to where the undo happens.
_ so user thinks nothing is happening and overundo.
_ http://dev.processing.org/bugs/show_bug.cgi?id=35
_ undo has become sluggish
_ http://processing.org/bugs/show_bug.cgi?id=36
_ fonts smaller than 10 cause problems in the editor
_ generally causes trouble on osx
_ on windows and linux, changing the size throws things off
_ http://processing.org/bugs/show_bug.cgi?id=51
_ code coloring is imperfect because it's not based on a parser
_ i.e. mousePressed() is red but mouseMoved() is brown
_ http://dev.processing.org/bugs/show_bug.cgi?id=113
_ clicking i-- ) between -- and ) will select "-- )"
_ in eclipse, it looks to see which is closest and selects that
_ need to check behavior for word and bbedit
_ http://dev.processing.org/bugs/show_bug.cgi?id=348
_ implement emacs keybindings (list is at the bug report)
_ http://dev.processing.org/bugs/show_bug.cgi?id=401
_ implement better method of showing curly brace closure
_ http://dev.processing.org/bugs/show_bug.cgi?id=295
PDE / Editor Buttons
_ when holding down shift, show the alternate behavior for EditorHeader
_ http://dev.processing.org/bugs/show_bug.cgi?id=37
_ run button not properly unhighlighting
_ does it unhighlight after compile or runtime errors?
_ also when using draw() instead of loop()
_ applet needs to notify runner that it has terminated
_ http://dev.processing.org/bugs/show_bug.cgi?id=38
_ if export fails (compile error) need to un-highlight the export button
_ http://dev.processing.org/bugs/show_bug.cgi?id=39
PDE / Editor Header
_ make some fancy extendo things because the tabs get too big
_ either condense or popdown menu thingy
_ http://dev.processing.org/bugs/show_bug.cgi?id=54
_ not always updating on rename (maybe a mac problem?)
_ http://dev.processing.org/bugs/show_bug.cgi?id=56
PDE / Editor Status
_ error messages run off the edge and go invisible
_ http://dev.processing.org/bugs/show_bug.cgi?id=57
_ multiple errors a mess in jikes
_ actual error may be 4th of 5
_ maybe a dropdown list thing, with the first just shown?
_ http://dev.processing.org/bugs/show_bug.cgi?id=58
_ move all prompts to modal dialog showError/Message/Warning/Prompt
_ nicely design dialog boxes to go with visual of p5
_ maybe something that shows stack trace?
_ with an 'email this' button? (include source code too?)
_ also need a "prompt" dialog for asking filenames, etc
_ implement and remove PdeEditorStatus stuff
_ http://dev.processing.org/bugs/show_bug.cgi?id=59
PDE / Export
_ 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
_ errors during export don't show up properly (no red status bar)
_ http://dev.processing.org/bugs/show_bug.cgi?id=194
_ include a note that 'applet' folder will get emptied/rewritten
_ or rename the old applet folder to something else? (too messy)
_ http://dev.processing.org/bugs/show_bug.cgi?id=61
_ need to decide how to handle "stop" button in present mode
_ http://dev.processing.org/bugs/show_bug.cgi?id=63
_ when running externally, people need to write their own stop function
_ just get export to application working so this can be supported
_ for now, they're stuck w/ running in the env and getting the ugliness
_ if size() not found in export/compile, ask the user
_ have size(myWidth, myHeight) set a static var in PGraphics
_ for the last size that was used, use as default for fill-in field
_ http://dev.processing.org/bugs/show_bug.cgi?id=64
_ make export put a timestamp in the html code (hidden or visible)
_ http://dev.processing.org/bugs/show_bug.cgi?id=66
_ exporting application copies .java files
_ .java files are copied to the root folder as well as the source folder
PDE / Find & Replace
_ all around very ugly, fix it up
_ http://dev.processing.org/bugs/show_bug.cgi?id=67
_ several tweaks
_ http://dev.processing.org/bugs/show_bug.cgi?id=68
_ only enable "find next" in menu after a find has happened
_ allowing to find & replace over multiple tabs
_ http://dev.processing.org/bugs/show_bug.cgi?id=69
PDE / History
_ implement new version of history
_ http://dev.processing.org/bugs/show_bug.cgi?id=71
_ make history folder, and a zip (not gz) file for each entry
_ history causing trouble - super slow with a huge sketch
_ could instead be gzipped and appended to history.dat
_ along with another file that is actually a table of offsets
_ no need to make the thing a gzip stream
_ checkbox on menu for 'record history' ?
_ history converter option?
_ only first 20 entries visible?
_ shortcut to walk through history, ala photoshop (ctrl-alt-z)
_ zlib file becoming corrupt (not flushed after close?)
_ make hooks to history api so others can write tools around it
PDE / Preferences
_ prefs window not visible on windows taskbar
_ http://dev.processing.org/bugs/show_bug.cgi?id=438
_ saved window positions.. if displays has changed, becomes a problem
_ record the display that it was on?
_ GraphicsDevice gd = frame.getGraphicsConfiguration().getDevice();
_ make sure that the application is within the bounds of the current display?
_ (from 0, 0 to width, height)
_ messy since some displays have negative coords
_ http://dev.processing.org/bugs/show_bug.cgi?id=72
_ split Preferences and PreferencesFrame?
_ http://dev.processing.org/bugs/show_bug.cgi?id=74
_ preferences window has been hit with the ugly stick
_ redo panel to use proper Box layout etc
_ also needs to look good across all platforms
_ http://dev.processing.org/bugs/show_bug.cgi?id=73
_ make available the background colors for present mode, stop button color
_ http://dev.processing.org/bugs/show_bug.cgi?id=75
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1130781367;start=2#2
_ add ability to set the display where present mode makes things start
_ option in preferences to set the jvm used to run? (osx only?)
_ this would take care of nasty macosx 1.4 vs 1.5 issues
_ /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Commands/java
_ /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java
_ /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java
_ canonical path for
_ /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
_ will return 1.5.0 (or maybe 1.6 for others?)
PDE / Runner
_ make the p5 icon show up for the window (and in the dock)
_ when launching a new sketch
_ can embed icon.gif as byte array in PApplet, and use Toolkit.createImage
_ does closing the window call stop()?
_ need to make sure hitting stop button and closing window explicitly call
_ stop() not working very well
_ as a result, dispose() methods aren't being called on libraries
_ http://dev.processing.org/bugs/show_bug.cgi?id=77
_ NullPointerException inside setup() comes up weird
_ because NullPointerException is a RuntimeException
_ maybe the renderer exception is something different? newrendex?
_ http://dev.processing.org/bugs/show_bug.cgi?id=78
_ exception in setup() on external app doesn't kill run button
_ also doesn't kill external vm
_ http://dev.processing.org/bugs/show_bug.cgi?id=79
_ quitting from present mode doesn't kill run button
_ http://dev.processing.org/bugs/show_bug.cgi?id=80
_ exceptions in draw() apps aren't caught
_ the program resize(200, 200); just does nothing (doesn't complain)
_ http://dev.processing.org/bugs/show_bug.cgi?id=81
_ weird exception in the run button watcher
_ http://processing.org/bugs/show_bug.cgi?id=42
PDE / Sketch & Sketchbook
_ 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
_ slow save/new because of large sketchbook
_ this is a total cluster, the rebuild is being called incessantly
_ startup is very slow on g4
_ show progress bar while rebuilding sketch menu?
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1162801212
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1141126582
_ even more of a problem becase set modified set true all the time
_ in 0125, only rebuilding on rename or save as, but still a problem
_ don't re-scan all jar files whenever rebuilding sketch menu (cache)
_ http://dev.processing.org/bugs/show_bug.cgi?id=579
_ in rebuild sketch menu - disable subfolders working as libraries
_ if a sketch, don't allow subfolders
o or maybe just that libraries must be in the root?
o nah, cuz that would mean can't make subfolder called "libraries"
_ write prefs when opening/saving/etc a file
_ when p5 crashes, want to re-open file easily
_ is the 'hide' option for code dumb? i've never used it
_ should it just hide the code, not actually remove it?
_ do we finish the tabs thing for 1.0? yes
_ could probably be done in a reasonable simple way.. ala eclipse
_ show additional tabs in the dropdown list? show all?
_ robert's tunnel example, why does tunnel not show up as leftmost tab?
_ hitting ESC on "create this, move file, continue" opened anyway
_ may need a progress bar for "save as"
_ or just the file copy function in general
_ since it may take a long time (i.e. 1000s of screen grabs)
_ http://processing.org/bugs/show_bug.cgi?id=82
_ "save as" shouldn't always show save as dialog
_ unless that's the current mode that's being used
_ http://processing.org/bugs/show_bug.cgi?id=83
_ handle renaming with case changes (currently ignores case change)
_ see notes/bitching in Sketch.nameCode()
_ http://processing.org/bugs/show_bug.cgi?id=85
_ setting sketchbook to a folder on a network mounted drive
_ does this work? test on both on mac and pc..
_ or if not, should recommend people against it
_ (i.e. folders disappearing if net has trouble)
_ http://processing.org/bugs/show_bug.cgi?id=87
_ some type of sketch archive format for posting examples (.psk?)
_ would be nice to open a sketch directly from a zip file
_ http://dev.processing.org/bugs/show_bug.cgi?id=88
_ maybe just open from a zip file, since psk doesn't help anything
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
TOOLS / General
_ make the export to the board just copy to clipboard
_ also make it insert for extra spaces
_ need to write converter that will handle syntax changes
_ basically find & replace with regexps
_ framerate() -> frameRate()
_ convert from alpha to 1.0 syntax
_ acts just like find/replace.. go through and do by hand
_ 3 column input file
_ regexp to find, to replace, human readable description
_ (void\s+)loop(\s+{) -> $1draw$2 (maintain all whitespace stuff)
_ "The loop() method is now called draw() as of beta"
_ "angleMode no longer exists, use radians() around your angles"
_ (comment out the line)
_ tools -> shared code
_ Integrator / FloatThing / CameraStuff -- Update
_ to pull code from a local folder
_ update will update classes from shared in the current folder
_ tools api
_ need to support the basic set of functions that are expected
_ to be used, otherwise it's gonna be total hell when we make a real api
_ getEditor()
_ get/setSelStart/End
_ get/setSelText
_ get/setText
_ setCurrentTab(int index or String filename)
_ getTabs() ? maybe these are interface to the code class
_ need method for showing prefs for the tools
_ add pref to handle date vs. increment on archive sketch
_ make dynamically loaded plugins and "tools" menu
_ http://dev.processing.org/bugs/show_bug.cgi?id=124
_ break out beautify as its own plugin
_ tools api:
_ init() -> run when p5 is first launched
_ isAvailable() -> true/false whether the option should be dimmed
_ skip this for now, not sending events to tools all the time
_ show() -> open the window or run the tool
_ is there a better name than show() since not all will be visible?
_ maybe it's just a run() method launched via invokeLater()?
_ hide() -> hide the tool's frame
_ getDefaultShortcut() -> returns the default shortcut this tools wants
_ store this in the data file instead
_ needs to be able to get current sketch code
_ look at the pretty-formatting code to see what else needs to be in api
o getMenu() -> return non-null the tool is a submenu
o no, bad idea.. don't want a zillion submenus on things
_ need a proper means to handle command keys for tools
_ http://dev.processing.org/bugs/show_bug.cgi?id=140
_ external editor -> add a command to launch
_ http://dev.processing.org/bugs/show_bug.cgi?id=141
_ add tool for running in jview
_ http://dev.processing.org/bugs/show_bug.cgi?id=142
_ calls export, or only available after export (or when an applet dir exists)
_ warn user that applet html will be over-written
_ add tool to "Add custom html to sketch"
_ that copies applet.html,
_ opens sketch folder,
_ and gives info about what to do next (how to edit)
_ http://dev.processing.org/bugs/show_bug.cgi?id=143
_ tool to run in appletviewer? sun.applet.Main is appletviewer
_ import sketch from url (takes a zip from archive sketch)