Revision: 9739
http://pure-data.svn.sourceforge.net/pure-data/?rev=9739&view=rev
Author: matju
Date: 2008-04-28 11:10:15 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
this is an old gridflow, and there's already a svn repository at http://gridflow.ca/svn/trunk
Removed Paths:
-------------
trunk/externals/gridflow/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9736
http://pure-data.svn.sourceforge.net/pure-data/?rev=9736&view=rev
Author: eighthave
Date: 2008-04-28 09:53:23 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
made file type definitions set per platform so that the formatting matches the native style
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/u_main.tk
Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 15:28:47 UTC (rev 9735)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 16:53:23 UTC (rev 9736)
@@ -25,6 +25,11 @@
set cursor_editmode_nothing "hand2"
set cursor_editmode_connect "circle"
set cursor_editmode_disconnect "X_cursor"
+ # set file types that open/save recognize
+ set filetypes {
+ {{Pd Files} {.pd} }
+ {{Max Text Files} {.pat} }
+ }
} elseif { $tcl_platform(os) == "Darwin" } {
set pd_nt 2
# fonts
@@ -37,6 +42,11 @@
set cursor_editmode_nothing "hand2"
set cursor_editmode_connect "circle"
set cursor_editmode_disconnect "X_cursor"
+ # set file types that open/save recognize
+ set filetypes {
+ {{Pd Files} {.pd} }
+ {{Max Text Files (.pat)} {.pat} }
+ }
} else {
set pd_nt 0
# fonts
@@ -49,6 +59,11 @@
set cursor_editmode_nothing "hand2"
set cursor_editmode_connect "circle"
set cursor_editmode_disconnect "X_cursor"
+ # set file types that open/save recognize
+ set filetypes {
+ {{pd files} {.pd} }
+ {{max text files} {.pat} }
+ }
}
# start Pd-extended font hacks -----------------------------
@@ -79,13 +94,6 @@
}
# end hidden files/folder hack ------------------
-# set file types that open/save recognize
-set filetypes {
- {{Pd Files (.pd)} {.pd} }
- {{Max Text Files (.pat)} {.pat} }
- {{All Files} * }
-}
-
# Tearoff is set to true by default:
set pd_tearoff 1
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9734
http://pure-data.svn.sourceforge.net/pure-data/?rev=9734&view=rev
Author: eighthave
Date: 2008-04-28 08:26:52 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
Sets dirty flag for all canvas-related properties panels (i.e. NOT the audio/midi/path/startup pref panels). This should work for properties panels: canvas, arrays, iemguis, and atom boxes.
The only downside is that with the properties panels, there is no checking whether there has actually be any change. I just sets the dirty flag if the user clicks on OK or Apply.
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/g_all_guis.c
branches/pd-extended/v0-40/pd/src/g_array.c
branches/pd-extended/v0-40/pd/src/g_editor.c
branches/pd-extended/v0-40/pd/src/g_text.c
Modified: branches/pd-extended/v0-40/pd/src/g_all_guis.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_all_guis.c 2008-04-28 14:24:49 UTC (rev 9733)
+++ branches/pd-extended/v0-40/pd/src/g_all_guis.c 2008-04-28 15:26:52 UTC (rev 9734)
@@ -633,6 +633,7 @@
fs = 4;
iemgui->x_fontsize = fs;
iemgui_verify_snd_ne_rcv(iemgui);
+ canvas_dirty(iemgui->x_glist, 1);
return(oldsndrcvable);
}
Modified: branches/pd-extended/v0-40/pd/src/g_array.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_array.c 2008-04-28 14:24:49 UTC (rev 9733)
+++ branches/pd-extended/v0-40/pd/src/g_array.c 2008-04-28 15:26:52 UTC (rev 9734)
@@ -385,6 +385,7 @@
gl = glist_addglist(parent, &s_, 0, 1,
(size > 1 ? size-1 : size), -1, 0, 0, 0, 0);
a = graph_array(gl, sharptodollar(name), &s_float, size, flags);
+ canvas_dirty(parent, 1);
}
/* this is called from the properties dialog window for an existing array */
@@ -453,6 +454,7 @@
garray_setsaveit(x, (saveit != 0));
garray_redraw(x);
+ canvas_dirty(x->x_glist, 1);
}
}
Modified: branches/pd-extended/v0-40/pd/src/g_editor.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_editor.c 2008-04-28 14:24:49 UTC (rev 9733)
+++ branches/pd-extended/v0-40/pd/src/g_editor.c 2008-04-28 15:26:52 UTC (rev 9734)
@@ -963,6 +963,7 @@
}
/* LATER avoid doing 2 redraws here (possibly one inside setgraph) */
canvas_setgraph(x, graphme, 0);
+ canvas_dirty(x, 1);
if (x->gl_havewindow)
canvas_redraw(x);
else if (glist_isvisible(x->gl_owner))
Modified: branches/pd-extended/v0-40/pd/src/g_text.c
===================================================================
--- branches/pd-extended/v0-40/pd/src/g_text.c 2008-04-28 14:24:49 UTC (rev 9733)
+++ branches/pd-extended/v0-40/pd/src/g_text.c 2008-04-28 15:26:52 UTC (rev 9734)
@@ -760,6 +760,7 @@
x->a_symto = symto;
x->a_expanded_to = canvas_realizedollar(x->a_glist, x->a_symto);
gobj_vis(&x->a_text.te_g, x->a_glist, 1);
+ canvas_dirty(x->a_glist, 1);
/* glist_retext(x->a_glist, &x->a_text); */
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9731
http://pure-data.svn.sourceforge.net/pure-data/?rev=9731&view=rev
Author: eighthave
Date: 2008-04-27 21:51:17 -0700 (Sun, 27 Apr 2008)
Log Message:
-----------
fixed bug #1939380, there was a typo in "right_ptr", but also switched
pointers to make Pd use the default pointer normally, then a special pointer
when something is clickable.
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/u_main.tk
Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 04:48:44 UTC (rev 9730)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 04:51:17 UTC (rev 9731)
@@ -18,8 +18,8 @@
set defaultFontFamily {Bitstream Vera Sans Mono}
font create menuFont -family Tahoma -size 11
# mouse cursors
- set cursor_runmode_nothing "rigth_ptr"
- set cursor_runmode_clickme "arrow"
+ set cursor_runmode_nothing "arrow"
+ set cursor_runmode_clickme "right_ptr"
set cursor_runmode_thicken "sb_v_double_arrow"
set cursor_runmode_addpoint "plus"
set cursor_editmode_nothing "hand2"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 9730
http://pure-data.svn.sourceforge.net/pure-data/?rev=9730&view=rev
Author: eighthave
Date: 2008-04-27 21:48:44 -0700 (Sun, 27 Apr 2008)
Log Message:
-----------
- first attempt at fixing bug #1927425, and cleaned up filetypes a bit in the
process. no luck, so I posted on tcl-mac
- set default directory for new patches to be the home folder instead of pwd
- fixed bug in previous pdtk_pd_ctrlkey addition for Cmd-M minimizing
Modified Paths:
--------------
branches/pd-extended/v0-40/pd/src/u_main.tk
Modified: branches/pd-extended/v0-40/pd/src/u_main.tk
===================================================================
--- branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 04:14:00 UTC (rev 9729)
+++ branches/pd-extended/v0-40/pd/src/u_main.tk 2008-04-28 04:48:44 UTC (rev 9730)
@@ -79,6 +79,13 @@
}
# end hidden files/folder hack ------------------
+# set file types that open/save recognize
+set filetypes {
+ {{Pd Files (.pd)} {.pd} }
+ {{Max Text Files (.pat)} {.pat} }
+ {{All Files} * }
+}
+
# Tearoff is set to true by default:
set pd_tearoff 1
@@ -319,8 +326,11 @@
############### set up global variables ################################
set untitled_number 1
-set untitled_directory [pwd]
-set saveas_client doggy
+if {$pd_nt == 1} {
+ set untitled_directory [regsub -all \\\\ $::env(USERPROFILE) /]
+} else {
+ set untitled_directory $::env(HOME)
+}
set pd_opendir $untitled_directory
set pd_undoaction no
set pd_redoaction no
@@ -414,10 +424,9 @@
################## the "Open" menu command #########################
proc menu_open {} {
- global pd_opendir
+ global pd_opendir filetypes
set filename [tk_getOpenFile -defaultextension .pd \
- -filetypes { {{pd files} {.pd}} {{max files} {.pat}}} \
- -initialdir $pd_opendir]
+ -filetypes $filetypes -initialdir $pd_opendir]
if {$filename != ""} {open_file $filename}
}
@@ -2005,10 +2014,9 @@
############ pdtk_canvas_saveas -- run a saveas dialog ##############
proc pdtk_canvas_saveas {name initfile initdir} {
- global pd_nt
- set filename [tk_getSaveFile -initialfile $initfile \
- -initialdir $initdir -defaultextension .pd \
- -filetypes { {{pd files} {.pd}} {{max files} {.pat}} }]
+ global pd_nt filetypes
+ set filename [tk_getSaveFile -initialfile $initfile -initialdir $initdir \
+ -defaultextension .pd -filetypes $filetypes]
if {$filename != ""} {
# yes, we need the extent even if we're on a mac.
@@ -3636,6 +3644,7 @@
############### event binding procedures for Pd window ################
proc pdtk_pd_ctrlkey {name key shift} {
+ global pd_nt
# puts stderr [concat key $key shift $shift]
# .dummy itemconfig goo -text [concat ---> control-key event $key];
if {$key == "n" || $key == "N"} {menu_new}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.