/bin/sh: -c: line 1: syntax error: unexpected end of file
filmGMERLIN.cpp:43: error: expected `{' before 'm_lastFrame'
filmGMERLIN.cpp:43: error: expected constructor, destructor, or type conversion before '(' token
the full logfile - if it has been succesfully uploaded - can be viewed at:
http://autobuild.puredata.info/auto-build/2009-01-25/logs/2009-01-25_01.51.…
/bin/sh: -c: line 1: syntax error: unexpected end of file
ERROR: module is write only
rsync error: syntax or usage error (code 1) at main.c(641) [sender=2.6.9]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [receiver=2.6.9]
the full logfile - if it has been succesfully uploaded - can be viewed at:
http://autobuild.puredata.info/auto-build/2009-01-25/logs/2009-01-25_01.51.…
Revision: 10633
http://pure-data.svn.sourceforge.net/pure-data/?rev=10633&view=rev
Author: eighthave
Date: 2009-01-25 06:43:15 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
updated with lots of ideas from dev work
Modified Paths:
--------------
branches/pd-devel/0.41.4/devel_doc/TODO
Added Paths:
-----------
branches/pd-devel/0.41.4/devel_doc/ChangeLog.txt
Added: branches/pd-devel/0.41.4/devel_doc/ChangeLog.txt
===================================================================
--- branches/pd-devel/0.41.4/devel_doc/ChangeLog.txt (rev 0)
+++ branches/pd-devel/0.41.4/devel_doc/ChangeLog.txt 2009-01-25 06:43:15 UTC (rev 10633)
@@ -0,0 +1,14 @@
+
+- pure Tcl GUI. The C build system now has zero Tcl dependencies.
+
+- Pd can now handle filenames that include ,;" characters in them. The
+ only caveat is that SaveAs doesn't work with names with " in it.
+
+- unlike the earlier 'pd' command in Tcl, 'pdsend' handles the semi-colon
+
+- exception handling on commands being sent from pd->pd-gui, so we should see
+ fewer Tcl exception windows
+
+- The File->Open panel can open multiple files at once
+
+- arbitary fonts now fit into the fixed box sizes
Modified: branches/pd-devel/0.41.4/devel_doc/TODO
===================================================================
--- branches/pd-devel/0.41.4/devel_doc/TODO 2009-01-25 06:42:32 UTC (rev 10632)
+++ branches/pd-devel/0.41.4/devel_doc/TODO 2009-01-25 06:43:15 UTC (rev 10633)
@@ -12,14 +12,56 @@
[ ] figure out parent window/window list for Window menu
[ ] canvas scrollbar logic
[ ] flash menu when accelerator hits (i.e. flash Edit when Ctrl-E)
+[ ] make File->New default dir the dir of the current top window (pdsend_map)
+[ ] use gnocl for GNOME feel
-
panels
------
[ ] find panel
[ ] send message panel
[ ] restructure Pd window for cleaner UI and code
+[ ] font panel
[ ] unified preference panel with tabs (like standard on GNOME, Mac OS X, Win)
[ ] help browser
[ ] wm attributes -topmost for panels like Find, message
[ ] MacWindowStyle for panels: http://wiki.tcl.tk/13428
+[ ] Open/Save panel dirs with separate dirs for openpanel and savepanel
+ http://lists.puredata.info/pipermail/pd-list/2008-05/062630.html
+
+
+
+post-GUI rewrite
+================
+
+These are things to address once the initial Tcl-only GUI rewrite is complete.
+
+[ ] streamline pdsend_key and the C side of things, using %N
+[ ] implement [wm attributes -titlepath] on Mac OS X and change pdsend_map
+[ ] move sys_font setting from 'pd' to 'pd-gui', probably in pdtk_pd_startup
+
+- switch to using toplevel classes instead of creating the bindings each time
+ bind MyCanvas
+ bind MyToplevel
+
+
+[2:07pm] ijchain: <patthoyts> If you bind to the classname of the toplevel you;ll only get the Map event from that toplevel.
+[2:07pm] ijchain: <patthoyts> eg: bind Dialog <Map> {puts "map %W"} ; toplevel .t -class Dialog; pack [canvas .t.c]; wm withdraw .t; wm deiconify .t
+[2:08pm] ijchain: <patthoyts> will only show a Map from .t
+[2:09pm] hans_: patthoyts: hmm, I am getting two messages, one from the toplevel, one from the canvas
+[2:09pm] hans_: here's the code where the bind happens:
+[2:09pm] hans_: http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-devel/0.4…
+[2:09pm] hans_: line 155
+[2:09pm] ijchain: <patthoyts> yes. Because you bound to the window name.
+[2:09pm] ijchain: <patthoyts> read what I wrote. bind to the classname of the toplevel.
+[2:10pm] hans_: ok, let me try that
+[2:10pm] hans_: thanks
+[2:10pm] ijchain: <patthoyts> If you dont want to change the bindings, in the function itself you could test the class using [winfo class %W]
+[2:10pm] hans_: is there a preferred approach?
+[2:10pm] hans_: I could do either
+[2:11pm] ijchain: <patthoyts> I'd bind to the class if I was writing it from scratch.
+[2:11pm] hans_: ok, sounds good, I am rewriting an app from scratch, so I am trying to use the cleanest Tcl style
+[2:12pm] ijchain: <patthoyts> For instance, looking at your code, you have to run through the bindings each time you make a toplevel.
+[2:12pm] ijchain: <patthoyts> Instead you can do the binding to the class name once in the initialization for the application.
+[2:13pm] ijchain: <patthoyts> Then any toplevel created with that class will automatically get the correct bindings.
+[2:14pm] ijchain: <patthoyts> If you look at the code in tk/library/*.tcl where the widget bindings are all setup you can see thats how its done for Tk's own stuff. Mostly anyway.
+[2:15pm] hans_: thanks, very helpfuil!
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10631
http://pure-data.svn.sourceforge.net/pure-data/?rev=10631&view=rev
Author: lluisbigorda
Date: 2009-01-25 02:06:22 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
added BUGS file
Added Paths:
-----------
trunk/externals/pdvjtools/pix_preview/BUGS
Added: trunk/externals/pdvjtools/pix_preview/BUGS
===================================================================
--- trunk/externals/pdvjtools/pix_preview/BUGS (rev 0)
+++ trunk/externals/pdvjtools/pix_preview/BUGS 2009-01-25 02:06:22 UTC (rev 10631)
@@ -0,0 +1,3 @@
+if you open a patch with two pix_preview objects pd crashes
+if you click in the 0,0 coordinate of a pix_preview pd crashes
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10630
http://pure-data.svn.sourceforge.net/pure-data/?rev=10630&view=rev
Author: mescalinum
Date: 2009-01-25 01:57:16 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
Fix font size issues, by determining the best pixelsize for each pointsize that fits into our hardcoded font metrics.
This would fix for example text wider than object boxes et similar.
Modified Paths:
--------------
branches/pd-devel/0.41.4/src/pd.tk
branches/pd-devel/0.41.4/src/pdtk_text.tcl
Modified: branches/pd-devel/0.41.4/src/pd.tk
===================================================================
--- branches/pd-devel/0.41.4/src/pd.tk 2009-01-25 01:30:08 UTC (rev 10629)
+++ branches/pd-devel/0.41.4/src/pd.tk 2009-01-25 01:57:16 UTC (rev 10630)
@@ -25,6 +25,14 @@
# for testing which platform we are running on ("aqua", "win32", or "x11")
set windowingsystem ""
+# FONT STUFF:
+# default font family/weight, changed later in 'init' (if needed)
+set font_family {Bitstream Vera Sans Mono}
+set font_weight {normal}
+# this contains the font metric that Pd expects (we have to respect those
+# when creating fonts in proc pdtk_init_fonts)
+set font_fixed_metrics {8 5 10 9 6 11 10 6 13 12 7 15 14 8 17 16 10 20 18 11 22 24 14 30 30 18 37 36 22 45}
+
set pd_opendir [pwd]
set pd_untitleddir [pwd]
@@ -107,6 +115,7 @@
{{Max Patch Files (.pat)} {.pat} }
{{Max Text Files (.mxt)} {.mxt} }
}
+ set ::font_family {Monaco}
}
"win32" {
font create menufont -family Tahoma -size -11
@@ -120,13 +129,32 @@
}
}
+# this proc gets the internal font name associated with each size
+proc pdtk_font_name {size} {
+ # TODO: return an error if size is not in $::font_fixed_metrics
+ return "pd_font_${size}"
+}
+# this proc creates all the needed fonts so that they fit
+# into the metrics given by $::font_fixed_metrics
+proc pdtk_init_fonts {} {
+ foreach {size width height} $::font_fixed_metrics {
+ set fnt [pdtk_font_name $size]
+ font create $fnt -family $::font_family -weight $::font_weight \
+ -size [expr {-$height}]
+ while {[font measure $fnt M] > $width} {
+ incr height -1
+ font configure $fnt -size [expr {-$height}]
+ }
+ }
+}
+
proc pdtk_pd_startup {version {args ""}} {
pdtk_post "version: $version"
pdtk_post "args: $args"
set oldtclversion 0
- set fontlist "8 5 10 9 6 11 10 6 13 12 7 15 14 8 17 16 10 20 18 11 22 24 14 30 30 18 37 36 22 45"
- pdsend "pd init [enquote_filename [pwd]] $oldtclversion $fontlist"
+ pdtk_init_fonts
+ pdsend "pd init [enquote_filename [pwd]] $oldtclversion $::font_fixed_metrics"
# TODO what else is needed from the original?
}
Modified: branches/pd-devel/0.41.4/src/pdtk_text.tcl
===================================================================
--- branches/pd-devel/0.41.4/src/pdtk_text.tcl 2009-01-25 01:30:08 UTC (rev 10629)
+++ branches/pd-devel/0.41.4/src/pdtk_text.tcl 2009-01-25 01:57:16 UTC (rev 10630)
@@ -1,16 +1,10 @@
package provide pdtk_text 0.1
-set font_family "Monaco"
-set font_weight "normal"
-#set default_font_family "Bitstream Vera Sans Mono"
-
-# TODO use a Tk 'font' as the main font
-
############ pdtk_text_new -- create a new text object #2###########
proc pdtk_text_new {mycanvas canvasitem x y text font_size color} {
$mycanvas create text $x $y -tags $canvasitem -text $text -fill $color \
- -anchor nw -font "$::font_family $font_size $::font_weight"
+ -anchor nw -font [pdtk_font_name $font_size]
$mycanvas bind $canvasitem <Home> "$mycanvas icursor $canvasitem 0"
$mycanvas bind $canvasitem <End> "$mycanvas icursor $canvasitem end"
if {$::windowingsystem eq "aqua"} { # emacs bindings for Mac OS X
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 10628
http://pure-data.svn.sourceforge.net/pure-data/?rev=10628&view=rev
Author: lluisbigorda
Date: 2009-01-25 01:16:22 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
new tcl-socket way to get frame-data and paint it into the canvas
Modified Paths:
--------------
trunk/externals/pdvjtools/pix_preview/pix_preview.h
Modified: trunk/externals/pdvjtools/pix_preview/pix_preview.h
===================================================================
--- trunk/externals/pdvjtools/pix_preview/pix_preview.h 2009-01-25 01:14:06 UTC (rev 10627)
+++ trunk/externals/pdvjtools/pix_preview/pix_preview.h 2009-01-25 01:16:22 UTC (rev 10628)
@@ -1,24 +1,7 @@
-/*-----------------------------------------------------------------
-LOG
-GEM - Graphics Environment for Multimedia
-Get pixel information
-
-Copyright (c) 1997-1998 Mark Danks. mark(a)danks.org
-Copyright (c) G\xFCnther Geiger. geiger(a)epy.co.at
-Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::f\xFCr::uml\xE4ute. IEM. zmoelnig(a)iem.kug.ac.at
-Copyright (c) 2002 James Tittle & Chris Clepper
-For information on usage and redistribution, and for a DISCLAIMER OF ALL
-WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
-
------------------------------------------------------------------*/
-
/*-----------------------------------------------------------------
pix_preview
- 0409:forum::f\xFCr::uml\xE4ute:2000
- IOhannes m zmoelnig
- mailto:zmoelnig@iem.kug.ac.at
-----------------------------------------------------------------*/
#ifndef INCLUDE_PIX_DUMP_H_
@@ -28,14 +11,15 @@
/*needed for base64 conversion*/
#include <string>
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <sys/socket.h>
+#include <arpa/inet.h>
+#include <netdb.h>
std::string base64_encode(unsigned char const* , unsigned int len);
-
-
-
-
/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
@@ -62,6 +46,7 @@
// Constructor
pix_preview(t_floatarg fx, t_floatarg fy);
int x_width, x_height;
+ static int counter;
protected:
@@ -80,6 +65,7 @@
void trigger();
int getx();
int gety();
+ void connectMess();
//////////
// The color outlet
@@ -95,6 +81,8 @@
int oldimagex;
int oldimagey;
+ int widgetwidth;
+ int widgetheight;
//////////
// navigation
@@ -111,9 +99,13 @@
t_widgetbehavior image_widgetbehavior;
+ int s;
+ int connected;
+ struct addrinfo *res;
+ struct addrinfo hints;
+ int whoami;
-
private:
//////////
@@ -122,6 +114,7 @@
static void GREYMessCallback(void *dump);
static void RGBAMessCallback(void *dump);
static void RGBMessCallback(void *dump);
+ static void connectMessCallback(void *dump);
static void image_drawme(pix_preview *x, t_glist *glist, int firsttime, int m_xsize, int m_ysize);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
ERROR: module is write only
rsync error: syntax or usage error (code 1) at main.c(641) [sender=2.6.9]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-35.2/rsync/io.c(452) [receiver=2.6.9]
the full logfile - if it has been succesfully uploaded - can be viewed at:
http://autobuild.puredata.info/auto-build/2009-01-24/logs/2009-01-24_19.04.…