- Jul 11, 2020
-
-
Jonathan Wilkes authored
* b_sym field to t_textbuf * 2nd inlet and "send" method for text define * text insert class * improve a stray evalfile error * show the [text] name (if it exists) in the title for the window * updates help doc accordingly
-
- Jul 07, 2020
-
-
-
-
Albert Gräf authored
-
Albert Gräf authored
-
-
Fixed regression from the plot fixes that broke non-plot scalars. TODO: check if non-plot scalar matrix needs to be tweaked...
-
-
Albert Gräf authored
-
- Jul 03, 2020
-
-
Albert Gräf authored
-
- Jun 26, 2020
-
-
Ivica Bukvic authored
-
- Jun 23, 2020
-
-
Jonathan Wilkes authored
-
- Jun 19, 2020
-
-
Ivica Bukvic authored
-
- Jun 17, 2020
-
-
Ivica Bukvic authored
Fixed centering of the closing prompt, removed shadow and increased opacity of the background dimming.
-
Ivica Bukvic authored
Cosmetic fixes to respond to changes to nw 0.46.2 behavior. Namely, fixed main purr-data window starting location and size and windows now restore where they are supposed to. Also disabled debugging output.
-
Ivica Bukvic authored
First checkpoint in implementing custom scrollbars and improving the scrollbar behavior. This is a WIP that requires nw.js 0.46.2. Finished second stage of the scrollbar implementation and added scrolling with middle click. All scrollbars are now operational and to the best of my knowledge accurate. The only things remaining are: getscroll needs to be called on deselect to recalculate when the handles are erased on objects that have them (we should get rid of these and focus on bboxes instead), responding to maximizing and restoring, and addressing a weird bug where in 0.46.2 patches are saved with larger window sizes under certain conditions. Reverted scrolling by grabbing due to problematic relationship between scrollBy and the zoom factor Continuing work on the scrollbars. The only known thing now remaining is ensuring that the patch window is properly recorded when saving it (under certain conditions it spits out completely wrong values Removed debug printouts Finished the scrollbars. The only thing remaining is for someone who has a better understanding of the pd_canvas.js and how the events are captured, to refactor my registration of events that ensure scrollbars are clickable and the onresize event. Currently, they are embedded inside the pd_canvas.js under the body tag where you will find both onscroll and onresize events. Overhaul of the new scrollbars to further improve their behavior, enable as perfect of a fit of the plots both in gop and on toplevel, and dynamic updating of the plots in toplevel when resized. Reworked dynamic event adding/removal for the scrollbars and removed onscroll from the html document and moved it into the pd_canvas.js. Still need to add a delay for the backend callback to update the scrollbars on the toplevel plot/array and thereby remove scrollbar flicker. Finished implementing the scrollbar callback and addressed popup not appearing in the right place (likely due to upgrade to 0.46.2) Added names of arrays to their toplevel subpatch window title. Multiple arrays are listed in the order they have been added. Another reworking of scrollbars to and array sizing to capture all possible scenarios. Some refactoring to make use of the canvas_hasarray. Remaining known issues pertaining to the plots are: *array toplevel windows are not restored in position they were saved *last element on the plots is not clickable *make bezier plot look like bezier (may need to leverage curve_path)
-
* give new cord the same color as selected line (except for vanilla/ext presets) * make broken object stand out more * make comment dash sizes match l2ork 1.0 * change xlet hover animation to match new xlet style
-
- Jun 11, 2020
-
-
Albert Gräf authored
-
- Jun 10, 2020
-
-
Albert Gräf authored
-
Albert Gräf authored
-
Ivica Bukvic authored
Disabled moving canvas with arrows in non-edit mode since we may want to use those keys through the [key] object. Later we can expose scroll ability to use key object to drive scrolling...
-
Ivica Bukvic authored
Various cosmetic improvements that deal primarily with proper highlighting of object borders, with particular focus on comments. See comments in the code for more info.
-
- Jun 09, 2020
-
-
Ivica Bukvic authored
Proper fix for the nlet highlighting. Now allows for loose aiming and always starts the patch cord at the center of the outlet. Inlets from which we currently cannot connect from are grey when highlighted, while ones you can initiate connection from are orange (both colors are themeable inside the css). Also, if trying to connect an impossible connection (signal to non-signal), when hovering over the non-signal inlet during the connection cycle, such an inlet will be also highlighted gray (grey? whatever...). Lastly, updated the highlighting animation--I am really not particularly interested in animation as it tends to slow down the interaction with the patch, so the animation is much shorter and more minimal. Potential value is leaving it as this to provide visibility of the nlet being highlighted when we are already over it with the cursor, which will otherwise occlude the nlet altogether. Another consideration with the currently committed highlight is that it is hollow inside which looks IMO distracting. Curved edges is also distracting since no other aspect of the UI (save for the customized data structures created by the user) is not curved.
-
Ivica Bukvic authored
Long and painful journey to make all plots fit into a GOP graph is (hopefully) complete. One thing I did not test is having multiple plots in a single GOP, even though it should work ok as long as each scalar group is treated as separate. Improved variable wording and removed extraneous printouts.
-
- Jun 08, 2020
-
-
Jonathan Wilkes authored
* give new cord the same color as selected line (except for vanilla/ext presets) * make broken object stand out more * make comment dash sizes match l2ork 1.0 * change xlet hover animation to match new xlet style
-
Ivica Bukvic authored
Improved consistent drawing of box sizes between edit and display modes, adjusted positioning of text both in text and graph objects, provided consistent spacing on the left and right sides. TODO: work on auto-updating GOP gray rectangle when its size is adjusted through the sub-patch, as is the case with the 1.x branch.
-
- May 21, 2020
-
-
Jonathan Wilkes authored
-
- Mar 01, 2020
-
-
Jonathan Wilkes authored
-
- Feb 27, 2020
-
-
Jonathan Wilkes authored
-
- Aug 12, 2019
-
-
Albert Gräf authored
-
- Jul 31, 2019
-
-
Albert Gräf authored
This reworks the file button in the help browser so that it opens the file browser on whatever directory we visited last (as given by the current_dir variable), or the doc directory by default.
-
- Apr 14, 2019
-
-
Jonathan Wilkes authored
-
- Mar 25, 2019
-
-
Aayush authored
-
- Mar 15, 2019
-
-
Jonathan Wilkes authored
-
- Mar 12, 2019
-
-
Jonathan Wilkes authored
-
- Feb 26, 2019
-
-
Albert Gräf authored
-
- Feb 22, 2019
-
-
Jonathan Wilkes authored
This reverts commit ac536d2f.
-
- Feb 21, 2019
-
-
Jonathan Wilkes authored
-
Jonathan Wilkes authored
-
- Feb 07, 2019
-
-
Jonathan Wilkes authored
-