diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2007-01-20 04:06:07 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2007-01-20 04:06:07 +0000 |
commit | 9303c7e113a5527d58b814c7bb11db5dbdfba5a4 (patch) | |
tree | 68b35be6c79d927fd0ec2d1a7e14b877489cb3f0 /pd/src | |
parent | c234ece0a90103013734b32193dbf558615bede9 (diff) |
improve error reporting for lists to inlets, and replace __BYTE_ORDER by
BYTE_ORDER to fix compile failure on Mac.
svn path=/trunk/; revision=7367
Diffstat (limited to 'pd/src')
-rw-r--r-- | pd/src/d_array.c | 4 | ||||
-rw-r--r-- | pd/src/d_osc.c | 4 | ||||
-rw-r--r-- | pd/src/m_obj.c | 5 | ||||
-rw-r--r-- | pd/src/m_pd.h | 2 | ||||
-rw-r--r-- | pd/src/notes.txt | 11 | ||||
-rw-r--r-- | pd/src/s_main.c | 1 |
6 files changed, 17 insertions, 10 deletions
diff --git a/pd/src/d_array.c b/pd/src/d_array.c index e8c034fe..d78c26ae 100644 --- a/pd/src/d_array.c +++ b/pd/src/d_array.c @@ -521,11 +521,11 @@ static void tabread4_tilde_setup(void) #endif #if defined(__unix__) || defined(__APPLE__) -#if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) +#if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN) #error No byte order defined #endif -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if BYTE_ORDER == LITTLE_ENDIAN #define HIOFFSET 1 #define LOWOFFSET 0 #else diff --git a/pd/src/d_osc.c b/pd/src/d_osc.c index 0f2eb3e9..b0becdba 100644 --- a/pd/src/d_osc.c +++ b/pd/src/d_osc.c @@ -35,11 +35,11 @@ #endif #if defined(__unix__) || defined(__APPLE__) -#if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) +#if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN) #error No byte order defined #endif -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if BYTE_ORDER == LITTLE_ENDIAN #define HIOFFSET 1 #define LOWOFFSET 0 #else diff --git a/pd/src/m_obj.c b/pd/src/m_obj.c index ff2ff249..f5c91cdf 100644 --- a/pd/src/m_obj.c +++ b/pd/src/m_obj.c @@ -250,14 +250,17 @@ void obj_init(void) pointerinlet_class = class_new(gensym("inlet"), 0, 0, sizeof(t_inlet), CLASS_PD, 0); class_addpointer(pointerinlet_class, pointerinlet_pointer); - + class_addanything(pointerinlet_class, inlet_wrong); + floatinlet_class = class_new(gensym("inlet"), 0, 0, sizeof(t_inlet), CLASS_PD, 0); class_addfloat(floatinlet_class, (t_method)floatinlet_float); + class_addanything(floatinlet_class, inlet_wrong); symbolinlet_class = class_new(gensym("inlet"), 0, 0, sizeof(t_inlet), CLASS_PD, 0); class_addsymbol(symbolinlet_class, symbolinlet_symbol); + class_addanything(symbolinlet_class, inlet_wrong); } diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h index 19795414..d3a1a9d8 100644 --- a/pd/src/m_pd.h +++ b/pd/src/m_pd.h @@ -11,7 +11,7 @@ extern "C" { #define PD_MAJOR_VERSION 0 #define PD_MINOR_VERSION 41 #define PD_BUGFIX_VERSION 0 -#define PD_TEST_VERSION "test03" +#define PD_TEST_VERSION "test04" /* old name for "MSW" flag -- we have to take it for the sake of many old "nmakefiles" for externs, which will define NT and not MSW */ diff --git a/pd/src/notes.txt b/pd/src/notes.txt index 1aa5f8c5..266b2939 100644 --- a/pd/src/notes.txt +++ b/pd/src/notes.txt @@ -1,6 +1,4 @@ ---------------- dolist -------------------- -0.40-1: - help browser broke on Panurge binbuf_read_via_canvas in x_qlist.c PC device counting problem (first device invoked by -audiodev 0) @@ -19,7 +17,10 @@ turn on paMacCore_ChangeDeviceParameters for mac (pa_mac_core.h) Gnome: why don't windows pop up when clicked on? problems: -help browser (offer both versions?) +TK menu on Windows says "wish" +activating windows in Gnome? +help browser broke on Panurge +offer both new and old help browser style look again at array vis/invis conundrum, g_template.c TK commands to nonexistent windows? (occasionally still happens) still can't detect when a window is moved or resized @@ -47,8 +48,12 @@ detect adc~ and dac~ reblocking more demonstration patches: vibrato using variable delay real-time spectrum grapher +document ||, |, etc, better features: +messages to suppress menus&accelerators, and invisibilize Pd window +machine-independent fonts +callback scheduling on Mac sigmund~: sort by pitch; one-shot add -x flag to drawnumbers.... grab new ALSA midi code from devel diff --git a/pd/src/s_main.c b/pd/src/s_main.c index a7156c20..ebaa661b 100644 --- a/pd/src/s_main.c +++ b/pd/src/s_main.c @@ -47,7 +47,6 @@ int sys_guisetportnumber; /* if started from the GUI, this is the port # */ char *sys_guicmd; t_symbol *sys_libdir; static t_symbol *sys_guidir; -t_namelist *sys_externlist; static t_namelist *sys_openlist; static t_namelist *sys_messagelist; static int sys_version; |