Here is another status update of gladevcp.
This time i'm starting new thread since there is very neat feature inside :)
Todays merge consists of three large changes and one small fix for HAL Bar
requested by Rick G.
First to be mentioned is Gremlin widget. Gremlin was written by Jeff Epler more
then a year ago but have not received much interest. It's plot preview
implemented in Gtk. And now it's also available as GladeVCP widget. Example
screenshot of touchy with 4 gremlins with different views may be found at [1].
It lacks some important features like clearing / forced reloading so feel free
to ask about them :)
Another one is gladevcp cleanup patch. I hope it won't be noticed by end users
but may introduce bugs if something is written wrong. It's most 'noisy' part of
this merge. GladeVCP program now uses OptionParser instead of getopt and all
global vars were killed.
Third big change is work by Michael Haberler on implementing custom user
handlers.
With this patch you may hook arbitrary python function to any Gtk widget in your
interface without writing your own UI loading. Just in gladevcp. Create signal
handler in Glade, add function with corresponding name in python file and pass
it with -u switch to gladevcp. For me it's quite important feature since it
allows you to add nontrivial behaviour in ways other then connecting MDI command
to halui pin and triggering it with HAL Button.
Also there are two small fixes -- one for arbitrary labels in HAL Bar and other
is patch for HAL LED so it's now working on Ubuntu 8.04 (hardy). HAL Bars are
incompatible with hardy though.
As usual there is exceprt of git request-pull in the end of the message.
Pavel
[1] http://psha.org.ru/tmp/touchy-gremlin.png
The following changes since commit 0b8514fe9b44f869f98b01d8b6ad278e1ea1e20c:
Dewey Garrett (1):
interp: add EXISTS unary function
are available in the git repository at:
git://psha.org.ru/psha/emc2.git gladevcp
Michael Haberler (1):
gladevcp: Add get_handlers function in userfuncs
Pavel Shramov (11):
gladevcp: Added template string to bar
gladevcp: Backport HAL Led to work on Hardy
Merge remote branch 'origin/master' into gladevcp
gremlin: Add make rules for gremlin
gremlin: Remove sleeps from idle functions and...
Merge branch 'gremlin-fix' into gladevcp-gremlin3
gladevcp: Add Gremlin widget
gladevcp: Added icon for Gremlin widget
gladevcp: Switch from getopt to optarse
gladevcp: Remove global variables and buildertype
Merge branches 'gladevcp-gremlin' and 'gladevcp-cleanup' into gladevcp
lib/python/gladevcp/hal_bar.py | 25 ++-
lib/python/gladevcp/hal_gremlin.py | 77 ++++++
lib/python/gladevcp/hal_python.xml | 2 +
lib/python/gladevcp/hal_pythonplugin.py | 1 +
lib/python/gladevcp/led.py | 12 +-
.../gladevcp/widget-gladevcp-hal_gremlin.png | Bin 0 -> 405 bytes
src/Makefile | 1 +
src/emc/usr_intf/gremlin/Submakefile | 14 ++
src/emc/usr_intf/gremlin/gremlin-run | 38 +++
src/emc/usr_intf/gremlin/gremlin.py | 60 ++---
src/hal/user_comps/gladevcp.py | 248 +++++++++++---------
11 files changed, 310 insertions(+), 168 deletions(-)
create mode 100644 lib/python/gladevcp/hal_gremlin.py
create mode 100644 lib/python/gladevcp/widget-gladevcp-hal_gremlin.png
create mode 100644 src/emc/usr_intf/gremlin/Submakefile
create mode 100755 src/emc/usr_intf/gremlin/gremlin-run
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers