diff --git a/pd/nw/todo.txt b/pd/nw/todo.txt index d783356aa6db05e7ed8cdebce5973bb16493d463..cdafcca8f91db2ec47365895074dd665355b6b4e 100644 --- a/pd/nw/todo.txt +++ b/pd/nw/todo.txt @@ -42,7 +42,7 @@ Node-webkit stuff: Everything else: (A [x] means we've fixed it) [x] set svg bounds to whatever the window size happens to be -[ ] trigger a canvas_getscroll when the nw.js window is resized +[x] trigger a canvas_getscroll when the nw.js window is resized [ ] packaging as app, setting correct appname, etc [ ] get -unique to work (relied on tcl [send] command) [ ] check if patch windows with screenposition (0,0) get stuck underneath @@ -54,10 +54,11 @@ Everything else: (A [x] means we've fixed it) [x] "Save As" on an overwrite doesn't seem to clear the dirty flag [x] figure out why there is a "pd_opendir" global var [x] pass k12 mode arg -[ ] implement recent files (using Pd's prefs loading mechanism instead of - reimplementing gui prefs) +[x] implement recent files (using Pd's prefs loading mechanism instead of + reimplementing gui prefs). (Note: not needed-- native file dialogs + have their own.) [x] implement verifyquit -[ ] save and saveas dialogs aren't defaulting to the present working directory +[x] save and saveas dialogs aren't defaulting to the present working directory [x] implement automatic scrollbars and svg canvas resizing [x] add 'x' type to gui_vmess for saving canvas names, etc., as hex values [x] destroy (or, more likely, hide) selection rectangle when not needed @@ -69,11 +70,12 @@ Everything else: (A [x] means we've fixed it) [ ] abstract away appendChild [ ] font-size should be set as css property for a class of text, rather than per each gobj in svg -[ ] remove the "fudge_factor" kludge in g_rtext.c, and handle fonts in a sane +[x] remove the "fudge_factor" kludge in g_rtext.c, and handle fonts in a sane manner. In doing so we must decide whether or not we want to be able to fetch the bounding box of objects from within a Pd patch. (Currently [canvasinfo] and [objectinfo] are the only objects that can - do this, though there might also be some externals) + do this, though there might also be some externals). Note: we just + moved the kludge to the GUI. [x] replace things like gui_select_color with css [ ] find a better approach to escaping characters for the gui than escape_double_quotes kludge (and handle any other problematic chars) @@ -94,8 +96,8 @@ Everything else: (A [x] means we've fixed it) [ ] in draw_vis, remove all the coords logic and let svg_togui do that work. In svg_new, leverage the "d", "points", etc. methods to do the same. [ ] remove the draw_vis warning/code about needing 2 points to draw -[ ] need to clean up dead windows inside patchwin object (on close) -[ ] make gui_menu_close filename less hacky (currently includes patch args in +[x] need to clean up dead windows inside patchwin object (on close) +[ ] make gui_menu_close message less hacky (currently includes patch args in the middle) [ ] figure out why -nrt flag causes Pd to bail on the GUI (it wasn't doing this on the amd_64 virtual Jessie machine, nor on my 32-bit machine). @@ -104,12 +106,13 @@ Everything else: (A [x] means we've fixed it) (similar to sys_gui) (not necessary) [ ] make sure we're breaking down the socket properly from the GUI side on quit [ ] looks like nwworkingdir isn't working for open/save dialogs atm -[ ] nwworkingdir only works on the second file open -[ ] implement the stuff at the end of saveas_callback (recentfiles et al) -[ ] make an "export" menu command for max patch saving. That way we can accept +[x] nwworkingdir only works on the second file open +[x] implement the stuff at the end of saveas_callback (recentfiles et al) +[x] make an "export" menu command for max patch saving. That way we can accept a single extension for saving (.pd), and the native save dialog will warn us on potential file overwrites (even when the user neglects to type an - extension). + extension). (Note: this was solved by putting a ".pd" extension in the + saveas name by default.) [ ] draw graph inside gobj group [ ] merge gui_text_select and gui_text_deselect [ ] in function gui_cord_inspector_update, use parameter "moved" to flash text