Patches item #2848888, was opened at 2009-09-02 01:29
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848888&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: Windows/Cygwin build fixes
Initial Comment:
In order to build on Cygwin and MinGW cleanly and with a simple build system, the macro 'MSW' should be replaced with the automatic macro '_WIN32' (the preceeding underscore is important). It should be replaced in all .c and .h files, and can be done using a simple replace, like "sed -i 's|MSW|_WIN32|' *.[ch]". Then the patch attached fixes a couple of minor Cygwin-specific macro tests. Also, once MSW is replaced with _WIN32, then this chunk of code can also be removed from m_pd.h:
/* 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 */
#if defined(NT) && !defined(MSW)
#define MSW
#endif
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848888&group_…
Patches item #1561814, was opened at 2006-09-20 00:06
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1561814&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: MinGW fixes for the "pd/extra" folder
Initial Comment:
This patch is two key parts:
- minor fixes in the source code for properly
supporting MinGW
- a new unified makefile for the "pd/extra" section
which handles Mac OS X, GNU/Linux, and Windows/MinGW.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-02 03:57
Message:
how about moving the MSVC nmake Makefile to makefile.nt, like the main MSVC
makefile?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-30 21:42
Message:
I took the patches -- the makefile looks like it will break my MSVC build
(nmake, anyone?)
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2007-10-28 02:37
Message:
Logged In: YES
user_id=27104
Originator: YES
The makefile included here needs to be updated for Mac OS X Universal
builds, basically, this needs to be added to the CFLAGS:
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
And this needs to be added to the LDFLAGS:
-arch i386 -arch ppc
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2006-09-20 00:14
Message:
Logged In: YES
user_id=27104
I forgot to mention, this is called differently from
pd/src/makefile. The "extern" target should look like this
to use this makefile:
externs:
make -C ../extra
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1561814&group_…
Patches item #1775023, was opened at 2007-08-15 22:35
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1775023&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: use Tcl's normalize to clean up pd_guidir on OSX and Win32
Initial Comment:
A minor cleanup to simplify pd_guidir using Tcl's [file normalize] on Mac OS X and Win32.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-02 03:56
Message:
[file normalize] was introduced in 8.4...
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2007-12-17 17:01
Message:
Logged In: YES
user_id=313747
Originator: NO
"file normalize" seems to be newer than at least one Tk I'm running.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1775023&group_…
In g_editor.c there are canvas_cut(), canvas_copy(), and
canvas_paste(). They do the obvious actions of cut/copy/paste on
whole Pd chunks on Pd patches, but also they handle cut/copy/paste of
the text that is inside of the msg, obj boxes and comments. That's a
different mechanism, that uses Tk's clipboard.
I was wondering if there was any reason why doing a copy when editing
text needs to be sent to 'pd' at all. Just a tk_textCopy should do
it, no need to send a message to 'pd' to have it reply to tell Tcl to
do something. There is also tk_textCut and tk_textPaste which could
be used, but they would then have to send a message to 'pd' to
announce the change.
.hc
----------------------------------------------------------------------------
http://at.or.at/hans/
Patches item #2848720, was opened at 2009-09-01 17:14
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848720&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: remove GNU/Linux specific copy/paste code
Initial Comment:
>From my tests, the GNU/Linux specific copy/paste code in g_editor.c is not needed at all as long as the Tk "clipboard' command is being used. This patch removes the GNU/Linux specific C code so that the code is the same on all platforms.
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=121…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848720&group_…
Hey Miller,
So now that I have the C side synced up with your trunk 0.43, I plan
on making some changes to the C code. Those changes I'll submit as
patches to the patch tracker, unless you don't think that's useful.
Here are the C-side changes that I think are important to make for
this release:
- use Tk tags on all core elements to allow for easy way to make
dynamic GUI behaviors
https://sourceforge.net/tracker/index.php?func=detail&aid=2848128&group_id=…
- fix $/# escaping in dialogs
- fix { } escaping in general communications
.hc
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
Patches item #2848128, was opened at 2009-08-31 21:09
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848128&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: feature
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: use Tk tags for canvas elements
Initial Comment:
Use Tk tags to mark the various things drawn onto a canvas, currently its: text, obj, msg, atom, cord, inlet, outlet. I suppose it would be possible
to also tag graph and array, but I didn't here. This will make it much easier to dynamically change the look of things using pure Tcl. It basically only touches the sys_vgui() calls, except for the new rtext_gettype() function for tagging text widgets as text/msg/obj/atom.
Here's the commit in the pd-gui-rewrite/0.43 branch:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=121…
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-09-01 12:20
Message:
I forgot to tag one cord drawing command in g_editor, plus I added 'array'
and 'graph' tags. The patch is attached, here's the commit:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&sortby=date&…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848128&group_…
Patches item #1939017, was opened at 2008-04-09 19:47
Message generated for change (Settings changed) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1939017&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Dan Wilcox (danomatika)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unix: hidden files/folders in tk open/save dialogs
Initial Comment:
Howdy,
After some discussion on the pd list, I'd like to submit a patch to pd.tk that sets the tk variables for hiding hidden (.filename) files/folders in the Open/Save/Save As dialog boxes. It also adds a button to show said hidden files.
In Windows and Mac, this behavior is inherited from the OS, so the associated code is only called for Unix environments.
I have tested this on my installation of pd-extended 0.39.3 and I believe this is a easy and useful addition to pd-vanilla. I will submit this patch to pd-extended as well.
I haven't submitted a patch before, so forgive me if I somehow screw up the file.
--
Dan Wilcox
robotcowboy.com
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-08-31 23:09
Message:
accepted by Miller in the first 0.43 SVN commit, the code comes from the
GUI rewrite:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=119…
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-15 17:52
Message:
Logged In: YES
user_id=27104
Originator: NO
I see now, this is a 'recommended' kludge :)
http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/month/2006-03/…
I checked it into branches/pd-extended/0.40/.
----------------------------------------------------------------------
Comment By: Dan Wilcox (danomatika)
Date: 2008-04-15 17:48
Message:
Logged In: YES
user_id=2032867
Originator: YES
Yeah as for the catch part, it doesn't actually open the panel, at least
in a noticeable way. I'm not a tk/tcl expert at all, but from what I've
read, the panel needs to be called before changing the variables will hold.
It's a sort of "soft" open.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-15 17:38
Message:
Logged In: YES
user_id=27104
Originator: NO
Does the "catch {tk_getOpenFile -with-invalid-argument}" part open the
panel? Is seems like a kludge. I suspect there is probably a cleaner way
to make those settings stick.
As for submitting a patch, this is find. I think that making the changes
to the SVN-controlled sources, then using 'svn diff -x -w' makes the
cleanest patches in the easiest way.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1939017&group_…
Patches item #2848121, was opened at 2009-08-31 20:49
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848121&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Daniel Roviriego (deedos)
>Assigned to: Hans-Christoph Steiner (eighthave)
Summary: pt_br translation - missing some key words
Initial Comment:
I just started the work. Due to lack of experience, I cannot translate some key words.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-08-31 22:54
Message:
checked into the pd-gui-rewrite/0.43 branch:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=121…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848121&group_…
Patches item #1072765, was opened at 2004-11-24 15:35
Message generated for change (Settings changed) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1072765&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
>Status: Closed
Resolution: Fixed
Priority: 2
Private: No
Submitted By: B. Bogart (bbogart)
Assigned to: Miller Puckette (millerpuckette)
Summary: .printout.text: no such object in console for pd.38-test10
Initial Comment:
When Copying in console widget: (Apple-C)
error: .printout.text: no such object
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2009-08-31 22:40
Message:
This should be fixed in 0.43 in the GUI rewrite, since the Pd window has
been rewritten.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2009-06-22 13:32
Message:
still available in Pd-0.42
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-29 11:36
Message:
Logged In: YES
user_id=27104
Originator: NO
Here's the crux of it:
pdtk_standardkeybindings .
bind . <$ctrl_key-Key-a> {.printout.text tag add sel 1.0 end}
bind . <$ctrl_key-Key-x> {tk_textCut .printout.text}
bind . <$ctrl_key-Key-c> {tk_textCopy .printout.text}
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-05-29 11:34
Message:
Logged In: YES
user_id=27104
Originator: NO
should be fixed in Pd-extended with this commit:
http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=9942
----------------------------------------------------------------------
Comment By: stffn (stffn)
Date: 2007-10-16 09:39
Message:
Logged In: YES
user_id=1658640
Originator: NO
This is still the case in Pd-0.40-2.
Note that the selected text from the console window does get copied --
ready for pasting (apple-v).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1072765&group_…