[PD-cvs] packages/patches fix_crash_on_sending_obj-g_text-0.39.2.patch, NONE, 1.1 TODO, 1.3, 1.4
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Tue Sep 19 23:06:11 CEST 2006
Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12552
Modified Files:
TODO
Added Files:
fix_crash_on_sending_obj-g_text-0.39.2.patch
Log Message:
trying out IOhannes' bugfix 1549377 in Pd-extended
--- NEW FILE: fix_crash_on_sending_obj-g_text-0.39.2.patch ---
Index: g_text.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/g_text.c,v
retrieving revision 1.13
diff -u -r1.13 g_text.c
--- g_text.c 11 Aug 2006 20:09:07 -0000 1.13
+++ g_text.c 30 Aug 2006 15:33:53 -0000
@@ -145,8 +145,11 @@
canvas_objtext(gl, atom_getintarg(0, argc, argv),
atom_getintarg(1, argc, argv), 0, b);
}
- else
- {
+ else if(!glist_isvisible(gl)){
+ /* JMZ: not a good idea to go into interactive mode in a closed canvas... */
+ post("unable to create stub object in closed canvas!");
+ return;
+ } else {
t_binbuf *b = binbuf_new();
int xpix, ypix;
pd_vmess(&gl->gl_pd, gensym("editmode"), "i", 1);
@@ -413,6 +416,11 @@
else
{
int xpix, ypix;
+ /* JMZ: not a good idea to go into interactive mode in a closed canvas... */
+ if(!glist_isvisible(gl)){
+ post("unable to create stub message in closed canvas!");
+ return;
+ }
pd_vmess(&gl->gl_pd, gensym("editmode"), "i", 1);
glist_noselect(gl);
glist_getnextxy(gl, &xpix, &ypix);
Index: TODO
===================================================================
RCS file: /cvsroot/pure-data/packages/patches/TODO,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TODO 16 Sep 2006 17:25:20 -0000 1.3
--- TODO 19 Sep 2006 21:06:09 -0000 1.4
***************
*** 7,10 ****
--- 7,11 ----
-----------------------------------
+ - array_overflow_fix-0.39.2.patch
- bang_method_for_clip-0.40.pre.patch
- complete_version_defines-0.39.2.patch
More information about the Pd-cvs
mailing list