From d0f6986345970955d6390a6953c35babf587c262 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 19 Feb 2004 22:23:18 +0000 Subject: many small improvements in toxy, plustot added svn path=/trunk/externals/miXed/; revision=1321 --- Makefile.common | 5 +- Makefile.dirs | 4 +- cyclone/build_counter | 2 +- cyclone/hammer/coll.c | 1 + cyclone/hammer/comment.c | 2 + cyclone/hammer/grab.c | 5 +- cyclone/hammer/sustain.c | 1 + cyclone/sickle/rand.c | 5 +- doc/src/Makefile | 8 + doc/src/Makefile.dirs | 2 + doc/src/externs/keepme | 1 + quoteinitializer | 13 + shared/getridof.baddeps | 2 + shared/toxy/Makefile.sources | 3 +- shared/toxy/plusbob.c | 371 ++++++++ shared/toxy/plusbob.h | 71 ++ shared/toxy/scriptlet.c | 223 +++-- shared/toxy/scriptlet.h | 12 +- shared/unstable/fragile.c | 56 ++ shared/unstable/fragile.h | 5 + test/toxy/button-test.pd | 6 +- test/toxy/default.wid | 264 +++--- test/toxy/kb.wid | 63 ++ test/toxy/scale-test.pd | 25 +- test/toxy/test.wid | 6 + test/toxy/txt-test.pd | 25 + test/toxy/txt.wid | 9 + toxy/Makefile | 4 + toxy/Makefile.objects | 20 + toxy/Makefile.sources | 3 +- toxy/build_counter | 2 +- toxy/plustot.c | 2020 ++++++++++++++++++++++++++++++++++++++++++ toxy/plustot.env.c | 150 ++++ toxy/plustot.h | 81 ++ toxy/plustot.in.c | 126 +++ toxy/plustot.out.c | 71 ++ toxy/plustot.print.c | 90 ++ toxy/plustot.qlist.c | 212 +++++ toxy/plustot.var.c | 130 +++ toxy/tot.c | 8 +- toxy/toxy-shared.include | 4 + toxy/widget.c | 225 +++-- toxy/widgettype.c | 147 +-- toxy/widgettype.h | 5 +- 44 files changed, 4141 insertions(+), 347 deletions(-) create mode 100644 doc/src/Makefile create mode 100644 doc/src/Makefile.dirs create mode 100644 doc/src/externs/keepme create mode 100755 quoteinitializer create mode 100644 shared/toxy/plusbob.c create mode 100644 shared/toxy/plusbob.h create mode 100644 test/toxy/kb.wid create mode 100644 test/toxy/test.wid create mode 100644 test/toxy/txt-test.pd create mode 100644 test/toxy/txt.wid create mode 100644 toxy/plustot.c create mode 100644 toxy/plustot.env.c create mode 100644 toxy/plustot.h create mode 100644 toxy/plustot.in.c create mode 100644 toxy/plustot.out.c create mode 100644 toxy/plustot.print.c create mode 100644 toxy/plustot.qlist.c create mode 100644 toxy/plustot.var.c diff --git a/Makefile.common b/Makefile.common index fcdfbed..46bdc38 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,6 +1,9 @@ # next line has to be edited manually PD_DIR = $(ROOT_DIR)/../../pd/src +# FIXME +TCL_LIB = -l`grep -osm1 'tcl8\.[345]' $(PD_DIR)/makefile` + OS_NAME = $(shell uname -s) ifneq ($(OS_NAME),Linux) ifneq ($(OS_NAME),Darwin) @@ -86,7 +89,7 @@ TYPES_RULE = $(foreach fn,$(call TYPES_EXTERNS,$1),$(OUT_DIR)/$(fn)): \ $(OUT_DIR)/%$($1_TILDE).$(X_SUFFIX) \ : $(call TYPES_DIR,$1)%.o $($1_PRIVATEOBJECTS) \ $(foreach obj,$($1_OBJECTS),$(SHARED_DIR)/$(obj)) \ - ; $(CC) -o $$@ $(CFLAGS) $(LFLAGS) $$+ + ; $(CC) -o $$@ $(CFLAGS) $(LFLAGS) $($1_LIBS) $$+ # LATER find a better way... $(if $(word 1,$(TYPES)),$(call TYPES_RULE,$(word 1,$(TYPES)))) diff --git a/Makefile.dirs b/Makefile.dirs index 55e7d03..d47abdd 100644 --- a/Makefile.dirs +++ b/Makefile.dirs @@ -1,7 +1,9 @@ MIXED_DIRS = \ shared \ cyclone \ - toxy + toxy \ + xeq \ + vexing RELEASE_DIRS = \ cyclone \ diff --git a/cyclone/build_counter b/cyclone/build_counter index 778edc3..6178b17 100644 --- a/cyclone/build_counter +++ b/cyclone/build_counter @@ -1,3 +1,3 @@ #define CYCLONE_VERSION "0.1" #define CYCLONE_RELEASE "alpha" -#define CYCLONE_BUILD 47 +#define CYCLONE_BUILD 48 diff --git a/cyclone/hammer/coll.c b/cyclone/hammer/coll.c index 3d9aa68..5308341 100644 --- a/cyclone/hammer/coll.c +++ b/cyclone/hammer/coll.c @@ -9,6 +9,7 @@ #include "common/loud.h" #include "hammer/file.h" +/* FIXME sort -1 -1, sort 1 crashes in pd large */ /* FIXME sort crashes after (corrupt?) transfers from the editor */ /* LATER make sure that ``reentrancy protection hack'' is really working... */ /* CHECKME default fname for 'write' -- c_filename, x_name, nothing? */ diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c index 3fe6ec6..72e8a57 100644 --- a/cyclone/hammer/comment.c +++ b/cyclone/hammer/comment.c @@ -5,6 +5,8 @@ /* FIXME creation lag (X-specific) */ /* LATER think about pushing text to the text editor (ctrl-t) -- not easy, because we are not 'textedfor' */ +/* LATER think about making the