Hey all,
I just checked in code to make the Pdpedia link in the Help menu try
to find the object name if you are looking at a help patch. If the
help patch is the topmost window, it'll use that object name when it
opens the pdpedia and take you directly to that page. Should be in
tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup
menu that currently has Help, Properties, and Open in it...
.hc
"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away to benefit those who profit from
scarcity." -John Gilmore
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers Luke
On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I see your solution didn't require changes to Pd : ) that's good, it's thus better than mine anyways.
On Thu, Apr 24, 2008 at 5:24 PM, Luke Iannini (pd) lukexipd@gmail.com wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers Luke
On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Oops, sorry, I didn't realize that you were working on it. You still
get credit for the idea :). I think the pdpedia context menu link is
still worth doing.
What are proxy icons?
.hc
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers Luke
On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner
hans@eds.org wrote:Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the
popup menu that currently has Help, Properties, and Open in it....hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
The arc of history bends towards justice. - Dr. Martin Luther
King, Jr.
I mentioned them a week or two ago in another thread; documents in OS X usually have a little icon in the titlebar that represents the file being edited; you can drag it to get a reference to the file (for copying or opening in another application; for Pd files that's awesome for dragging to your text editor for editing), or you can right click it to get a context menu with the parent folders up to the root (great as a "reveal in finder" function).
I attached a patch that should theoretically add support for them as well as properly showing the "modified" state consistently with the rest of OS X apps (which dims the proxy icon and adds a dot in the close button). But I haven't been able to get it to work with Pd Vanilla.
I added this to pdtk_canvas_new in my Pd-extended pdtk with static arguments and the feature does work, so maybe you can try the patch (my build environment still isn't working): wm attributes $name -modified 0 -titlepath {/Users/LukeIannini/PureData/sft/sft.structhausen.pd} (replace the path with an actual file on your machine of course)
Cheers Luke
On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner hans@eds.org wrote:
Oops, sorry, I didn't realize that you were working on it. You still get credit for the idea :). I think the pdpedia context menu link is still worth doing.
What are proxy icons?
.hc
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers Luke
On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
That sounds very useful, I have always missed that, but I don't see
the patch attached. I think the patch tracker would be a good place
for it. I just got Cmd-M working to minimize, but it is a hack. I
think that Cmd-M and Cmd-` (to switch between windows) should work
with a Tk app, but somehow Pd has disabled that. I can't find where
tho.
Now that I think about the pdpedia help menu item more, my
implementation is just a first attempt. I am not sure whether it is
the best way to handle it. Does it do the same thing that you were
thinking?
Also, any interest in taking on the pdpedia context menu item? I
think that will require edits to both u_main.tk and g_editor.c, but
it should be relatively straightforward.
.hc
On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:
I mentioned them a week or two ago in another thread; documents in OS X usually have a little icon in the titlebar that represents the file being edited; you can drag it to get a reference to the file (for copying or opening in another application; for Pd files that's awesome for dragging to your text editor for editing), or you can right click it to get a context menu with the parent folders up to the root (great as a "reveal in finder" function).
I attached a patch that should theoretically add support for them as well as properly showing the "modified" state consistently with the rest of OS X apps (which dims the proxy icon and adds a dot in the close button). But I haven't been able to get it to work with Pd Vanilla.
I added this to pdtk_canvas_new in my Pd-extended pdtk with static arguments and the feature does work, so maybe you can try the patch (my build environment still isn't working): wm attributes $name -modified 0 -titlepath {/Users/LukeIannini/PureData/sft/sft.structhausen.pd} (replace the path with an actual file on your machine of course)
Cheers Luke
On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner
hans@eds.org wrote:Oops, sorry, I didn't realize that you were working on it. You
still get credit for the idea :). I think the pdpedia context menu
link is still worth doing.What are proxy icons?
.hc
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working
in the process, so I'll still have something to contribute Cheers LukeOn Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help
menu try to find the object name if you are looking at a help patch. If
the help patch is the topmost window, it'll use that object name
when it opens the pdpedia and take you directly to that page. Should
be in tomorrow's builds.This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
--
"[W]e have invented the technology to eliminate scarcity, but
we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the problem.
On Fri, Apr 25, 2008 at 12:30 PM, Hans-Christoph Steiner hans@eds.org wrote:
That sounds very useful, I have always missed that, but I don't see the patch attached. I think the patch tracker would be a good place for it. I just got Cmd-M working to minimize, but it is a hack. I think that Cmd-M and Cmd-` (to switch between windows) should work with a Tk app, but somehow Pd has disabled that. I can't find where tho.
Great that you got minimize working! I've tried to find the Cmd-` blocker before as well, but I couldn't find any references to it on Tk mailing lists etc. so I wasn't sure if it just wasn't supported by Tk. It could be emulated with Tk commands, anyways, yea?
Now that I think about the pdpedia help menu item more, my implementation is just a first attempt. I am not sure whether it is the best way to handle it. Does it do the same thing that you were thinking?
The only advantage my method would have conferred was that the menu item would say "Pdpedia for switch~" or what-have-you (to make it clearer that that is where it would take you), not that big a deal. What else were you thinking about?
Also, any interest in taking on the pdpedia context menu item? I think that will require edits to both u_main.tk and g_editor.c, but it should be relatively straightforward.
Sure, I don't mind taking it on. But maybe someone else could chime in; I don't know if I'd be visiting the Pdpedia entry of patches often enough to be worth having in the context menu all the time, it will sort of clutter things and reduce the "muscle-memorability" of the menu so that has to be taken into account. Anyone else have an opinion on that?
Yea, thinking about it more, I don't know if a link taking you out of Pd and into a web-browser is the best thing for a context menu where it could be accidentally clicked (that would drive me nuts after a couple times I think).
O, and I put the patch for proxy icons in the tracker.
Cheers Luke
.hc
On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:
I mentioned them a week or two ago in another thread; documents in OS X usually have a little icon in the titlebar that represents the file being edited; you can drag it to get a reference to the file (for copying or opening in another application; for Pd files that's awesome for dragging to your text editor for editing), or you can right click it to get a context menu with the parent folders up to the root (great as a "reveal in finder" function).
I attached a patch that should theoretically add support for them as well as properly showing the "modified" state consistently with the rest of OS X apps (which dims the proxy icon and adds a dot in the close button). But I haven't been able to get it to work with Pd Vanilla.
I added this to pdtk_canvas_new in my Pd-extended pdtk with static arguments and the feature does work, so maybe you can try the patch (my build environment still isn't working): wm attributes $name -modified 0 -titlepath {/Users/LukeIannini/PureData/sft/sft.structhausen.pd} (replace the path with an actual file on your machine of course)
Cheers Luke
On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner hans@eds.org wrote:
Oops, sorry, I didn't realize that you were working on it. You still get credit for the idea :). I think the pdpedia context menu link is still worth doing.
What are proxy icons?
.hc
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers Luke
On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
--
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the problem.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Am 26.04.2008 um 19:16 schrieb Luke Iannini (pd):
Great that you got minimize working! I've tried to find the Cmd-` blocker before as well, but I couldn't find any references to it on Tk mailing lists etc.
just keep in mind that it's a keyboard layout specific shortcut
(switching between windows of the same application)
with a german keyboard layout for example it's Cmd-< and Cmd->
because the <> is the key right from the left shift key.
m
On Apr 26, 2008, at 5:16 AM, Luke Iannini (pd) wrote:
On Fri, Apr 25, 2008 at 12:30 PM, Hans-Christoph Steiner
hans@eds.org wrote:That sounds very useful, I have always missed that, but I don't see the patch attached. I think the patch tracker would be a good place for it. I just got Cmd-M working to minimize, but it is a hack. I think that Cmd-M and Cmd-` (to switch between windows) should work with a Tk app, but somehow Pd has disabled that. I can't find where tho.
Great that you got minimize working! I've tried to find the Cmd-` blocker before as well, but I couldn't find any references to it on Tk mailing lists etc. so I wasn't sure if it just wasn't supported by Tk. It could be emulated with Tk commands, anyways, yea?
Yes, I think it would not be too hard. Basically you just cycle thru
the window list given from [wm stackorder .] using [raise
$nextWindow]. Or maybe something like this (in rough Tcl):
bind <Cmd-`> menu_nextwindow
proc menu_nextwindow {} { global current_window $current_window = $current_window + 1 % $window_count [raise [lindex [wm stackorder .] $current_window] }
I don't know how to bind to Cmd-` tho or how to get the total window
count.
Now that I think about the pdpedia help menu item more, my implementation is just a first attempt. I am not sure whether it is the best way to handle it. Does it do the same thing that you were thinking?
The only advantage my method would have conferred was that the menu item would say "Pdpedia for switch~" or what-have-you (to make it clearer that that is where it would take you), not that big a deal. What else were you thinking about?
That does sound much better. I think you could add that without
having to edit anything outside of u_main.tk.
Also, any interest in taking on the pdpedia context menu item? I think that will require edits to both u_main.tk and g_editor.c, but it should be relatively straightforward.
Sure, I don't mind taking it on. But maybe someone else could chime in; I don't know if I'd be visiting the Pdpedia entry of patches often enough to be worth having in the context menu all the time, it will sort of clutter things and reduce the "muscle-memorability" of the menu so that has to be taken into account. Anyone else have an opinion on that?
Yea, thinking about it more, I don't know if a link taking you out of Pd and into a web-browser is the best thing for a context menu where it could be accidentally clicked (that would drive me nuts after a couple times I think).
Well, one way to find out is to try it :). But yeah, it might not
work out, so perhaps there are better things to do.
O, and I put the patch for proxy icons in the tracker.
I saw that, I'll check it out when I get a moment.
.hc
Cheers Luke
.hc
On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:
I mentioned them a week or two ago in another thread; documents
in OS X usually have a little icon in the titlebar that represents the
file being edited; you can drag it to get a reference to the file (for copying or opening in another application; for Pd files that's
awesome for dragging to your text editor for editing), or you can right
click it to get a context menu with the parent folders up to the root
(great as a "reveal in finder" function).I attached a patch that should theoretically add support for them as well as properly showing the "modified" state consistently with the rest of OS X apps (which dims the proxy icon and adds a dot in the close button). But I haven't been able to get it to work with Pd Vanilla.
I added this to pdtk_canvas_new in my Pd-extended pdtk with static arguments and the feature does work, so maybe you can try the patch (my build environment still isn't working): wm attributes $name -modified 0 -titlepath {/Users/LukeIannini/PureData/sft/sft.structhausen.pd} (replace the path with an actual file on your machine of course)
Cheers Luke
On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner hans@eds.org wrote:
Oops, sorry, I didn't realize that you were working on it. You still get credit for the idea :). I think the pdpedia context menu link is still worth doing.
What are proxy icons?
.hc
On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
Arr, I finished this two days ago and got caught up with troubles recompiling Pd. Ah well, glad it is done : ). Thanks for
doing it. On the upside, I discovered how to get OS X proxy icons working in the process, so I'll still have something to contribute Cheers LukeOn Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner hans@eds.org wrote:
Hey all,
I just checked in code to make the Pdpedia link in the Help menu try to find the object name if you are looking at a help patch. If the help patch is the topmost window, it'll use that object name when it opens the pdpedia and take you directly to that page. Should be in tomorrow's builds.
This got me thinking that there should be a Pdpedia link in the popup menu that currently has Help, Properties, and Open in it...
.hc
--
"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http:// lists.puredata.info/ listinfo/pd-list
--
The arc of history bends towards justice. - Dr. Martin Luther King, Jr.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the problem.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli