Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17503/pd/src
Modified Files: g_scalar.c g_template.c makefile makefile.dependencies notes.txt Log Message: Fixed scalar_redraw to check if glist is visible; moved 'data' doc and updated it somewhat.
Index: notes.txt =================================================================== RCS file: /cvsroot/pure-data/pd/src/notes.txt,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** notes.txt 21 Aug 2005 14:46:18 -0000 1.20 --- notes.txt 21 Aug 2005 17:46:52 -0000 1.21 *************** *** 76,79 **** --- 76,80 ----
data: + fix blue selection rectangle to update if selected datum is redrawn data copy/paste doesn't check templates aren't changed arrays of non-existent templates crash *************** *** 86,89 **** --- 87,91 ---- scalar hook to catch the mouse protect against "plots" going away while you drag on them + append doesn't do symbols yet.
more features:
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/pd/src/makefile,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** makefile 19 Aug 2005 23:28:03 -0000 1.18 --- makefile 21 Aug 2005 17:46:52 -0000 1.19 *************** *** 20,24 **** LIB = -ldl -lpthread -lasound
! OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer WARN_CFLAGS = -Wall -W -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch --- 20,24 ---- LIB = -ldl -lpthread -lasound
! OPT_CFLAGS = -g WARN_CFLAGS = -Wall -W -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch
Index: makefile.dependencies =================================================================== RCS file: /cvsroot/pure-data/pd/src/makefile.dependencies,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** makefile.dependencies 16 Aug 2005 04:06:28 -0000 1.9 --- makefile.dependencies 21 Aug 2005 17:46:52 -0000 1.10 *************** *** 1,1073 **** - g_canvas.o: g_canvas.c /usr/include/stdlib.h /usr/include/features.h \ - /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h \ - /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h \ - /usr/include/sys/types.h /usr/include/bits/types.h \ - /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \ - /usr/include/time.h /usr/include/endian.h /usr/include/bits/endian.h \ - /usr/include/sys/select.h /usr/include/bits/select.h \ - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/bits/sched.h /usr/include/alloca.h /usr/include/stdio.h \ [...1044 lines suppressed...] - /usr/include/bits/sigset.h /usr/include/bits/time.h \ - /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ - /usr/include/bits/sched.h /usr/include/alloca.h /usr/include/sys/stat.h \ - /usr/include/bits/stat.h /usr/include/fcntl.h /usr/include/bits/fcntl.h \ - /usr/include/errno.h /usr/include/bits/errno.h \ - /usr/include/linux/errno.h /usr/include/asm/errno.h \ - /usr/include/alsa/asoundlib.h /usr/include/string.h \ - /usr/include/bits/string.h /usr/include/bits/string2.h \ - /usr/include/assert.h /usr/include/sys/poll.h /usr/include/bits/poll.h \ - /usr/include/alsa/asoundef.h /usr/include/alsa/version.h \ - /usr/include/alsa/global.h /usr/include/alsa/input.h \ - /usr/include/alsa/output.h /usr/include/alsa/error.h \ - /usr/include/alsa/conf.h /usr/include/alsa/pcm.h \ - /usr/include/alsa/rawmidi.h /usr/include/alsa/timer.h \ - /usr/include/alsa/hwdep.h /usr/include/alsa/control.h \ - /usr/include/alsa/mixer.h /usr/include/alsa/seq_event.h \ - /usr/include/alsa/seq.h /usr/include/alsa/seqmid.h \ - /usr/include/alsa/seq_midi_event.h /usr/include/alsa/conv.h \ - /usr/include/alsa/instr.h m_pd.h s_stuff.h --- 0 ----
Index: g_template.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_template.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** g_template.c 19 Aug 2005 23:28:03 -0000 1.12 --- g_template.c 21 Aug 2005 17:46:52 -0000 1.13 *************** *** 2029,2035 **** } xloc = glist_xtopixels(glist, ! basex + fielddesc_getfloat(&x->x_xloc, template, data, 0)); yloc = glist_ytopixels(glist, ! basey + fielddesc_getfloat(&x->x_yloc, template, data, 0)); font = glist_getfont(glist); fontwidth = sys_fontwidth(font); --- 2029,2035 ---- } xloc = glist_xtopixels(glist, ! basex + fielddesc_getcoord(&x->x_xloc, template, data, 0)); yloc = glist_ytopixels(glist, ! basey + fielddesc_getcoord(&x->x_yloc, template, data, 0)); font = glist_getfont(glist); fontwidth = sys_fontwidth(font); *************** *** 2079,2085 **** t_atom at; int xloc = glist_xtopixels(glist, ! basex + fielddesc_getfloat(&x->x_xloc, template, data, 0)); int yloc = glist_ytopixels(glist, ! basey + fielddesc_getfloat(&x->x_yloc, template, data, 0)); char colorstring[20], buf[DRAWNUMBER_BUFSIZE]; numbertocolor(fielddesc_getfloat(&x->x_color, template, data, 1), --- 2079,2085 ---- t_atom at; int xloc = glist_xtopixels(glist, ! basex + fielddesc_getcoord(&x->x_xloc, template, data, 0)); int yloc = glist_ytopixels(glist, ! basey + fielddesc_getcoord(&x->x_yloc, template, data, 0)); char colorstring[20], buf[DRAWNUMBER_BUFSIZE]; numbertocolor(fielddesc_getfloat(&x->x_color, template, data, 1),
Index: g_scalar.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_scalar.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** g_scalar.c 16 Aug 2005 04:06:28 -0000 1.7 --- g_scalar.c 21 Aug 2005 17:46:52 -0000 1.8 *************** *** 311,315 **** void scalar_redraw(t_scalar *x, t_glist *glist) { ! sys_queuegui(x, glist, scalar_doredraw); }
--- 311,316 ---- void scalar_redraw(t_scalar *x, t_glist *glist) { ! if (glist_isvisible(glist)) ! sys_queuegui(x, glist, scalar_doredraw); }