maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread (https://talk.maemo.org/showthread.php?t=45388)

Sash 2010-07-05 19:31

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Your initial command looks wrong:

Code:

mupen64plus Mydocs/n64\ roms/super-Mario-64.z64
Seems like it should be a / instead of \ and with no space:

Code:

osso-xterm -e "mupen64plus MyDocs/n64/roms/super-Mario-64.z64" &

slartibartfass 2010-07-05 19:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
No, the folder's name is "n64 roms" with a space.

Sash 2010-07-05 19:45

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Then it should be
Code:

osso-xterm -e "mupen64plus MyDocs/n64 roms/super-Mario-64.z64" &

slartibartfass 2010-07-05 19:49

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
thought the terminal uses "\ " as space? I got the command from the xterm with tab, and if i use it in the xterm it works. it just doesn't work with the qbw.

slartibartfass 2010-07-05 19:53

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
It works now. There was a little misspelling. "Mydocks" instead of MyDocks"
lol dumb one :p

Thanks for your help.

No!No!No!Yes! 2010-07-06 14:18

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Here's an advanced version of the Queen Beecon Flickr Widget which takes advantage of several of new features in versions >=0.1.9.x

In particular:
  1. The capability of QBW to sense the position where the widget has been clicked in the 3x3 grid on its surface
  2. The parameter substitution $QBW_HOTSPOT_PRESS
  3. The parameter substitution $QBW_CURRENT_RESULTS_TEXT

http://i48.tinypic.com/34oezj9.jpg

More specifically:
  • When the Flickr Widget gets loaded, on phone startup, it just updates itself by fetching a random image
  • Every time the desktop, where the Flickr Widget is on, gets active, the widget just updates itself by fetching a random image
  • Every 30 minutes the Flickr Widget just updates itself by fetching a random image
  • When the Flickr Widget is clicked in sector idx=9 it opens the browser and fetches the specific page where the image is located thus allowing to experience more details about it
http://i46.tinypic.com/9zmz69.jpg

Here's the Beecon Exported Instance Data:
Code:

[queen-beecon-header]
version=1,000000
checksum=4422022
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#ffffffffffff
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=1
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=/tmp/qbwflickr0.jpg
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffffffff0000
beecon_eq1_ImgFilename=-queen-beecon-appwrn.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ExtBgRGB=#ffff00000000
beecon_ge2_ImgFilename=queen-beecon-apperr.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ExtBgRGB=#0000ffffffff
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=490
widHeight=330
instanceTitle=FlickrImages
instanceCmd=if [ "_$QBW_HOTSPOT_PRESS" == "_9" ] ; then run-standalone.sh dbus-send --system --print-reply --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"$QBW_CURRENT_RESULTS_TEXT"; else a=`dd if=/dev/urandom bs=1 count=1 | od -i | head -n 1 | cut -f2- -d' '`;x=`expr $a % 24`;wget -t 1 -T 10 -q -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900" -O - "http://m.flickr.com/explore/interesting/"|awk -v i=$x 'BEGIN{FS="[\\"]+";n=0}/^\\t\\t<a href=.+>/{u[n]=$2;}/<img src=.+class="pc_img">/{gsub(/_s\\.jpg/,"_m.jpg",$4);s[n]=$4;n++;}END{r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \\""s[i]"\\"");print "http://m.flickr.com"u[i];exit r;}';fi
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdExtFont=Nokia Sans Italic Bold 12
cmdFontName=3
cmdFontSize=12
resImgFilename=;/tmp/qbwflickr0.jpg
resImgZoom=1
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans Bold 12
resFontName=2
resFontSize=12
updOnStartup=true
updOnClick=true
updOnDesktop=true
delayIndex=4
customIntervalSecs=10
updNeworkPolicy=1
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=
rememberMe=

Let's focus on the script in a much readable format:
Code:

if [ "_$QBW_HOTSPOT_PRESS" == "_9" ] ; then
$QBW_HOTSPOT_PRESS variable gets substituted at run-time with the index of the position where the widget was clicked
Code:

        run-standalone.sh dbus-send
                --system
                --print-reply
                --type=method_call
                --dest=com.nokia.osso_browser
                /com/nokia/osso_browser/request
                com.nokia.osso_browser.load_url

In this case we just issue the dbus command which spawn the browser and loads the URL specified by next parameter
Code:

                string:"$QBW_CURRENT_RESULTS_TEXT";
$QBW_CURRENT_RESULTS_TEXT variable gets substituted at run-time with the content of the results text of the widget itself (which in this case is hidden but still present) that contains the url of the image details page
Code:

else
If the widget update occurred due to other update policies (startup, timer, click on sectors other then 9, desktop switch...)
Code:

        a=`dd if=/dev/urandom bs=1 count=1 | od -i | head -n 1 | cut -f2- -d' '`;x=`expr $a % 24`;
We compute a random value between 0 and 24
Code:

        wget
                -t 1
                -T 10
                -q
                -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900"
                -O -
                "http://m.flickr.com/explore/interesting/"

We try once (-t 1), with a timeout of 10 seconds (-T 10), very silently :D (-q), setting our identity as if we were MicroB browser to retreive the lightest possible page (-U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900"), sending the "http://m.flickr.com/explore/interesting/" page source to standard out (-O -) ready to be piped to next command
Code:

        | awk
                -v i=$x

awk will take care of parsing our page, variable "i", in our awk script, will hold the random number we generated a bit earlier
Code:

                        'BEGIN {
                                FS="[\"]+"
                                ;n=0
                        }

Beginning part of awk script will set the field separator to ' " ' character and initialize our counter "n"
Code:

                        /^\t\t<a href=.+>/ {
                                u[n]=$2;
                        }

We will then iterate through all pictures and retrieve the details page URL which we store in array u[]
Code:

                        /<img src=.+class="pc_img">/ {
                                gsub(/_s\.jpg/,"_m.jpg",$4);
                                s[n]=$4;
                                n++;
                        }

We will then iterate through images, adjust URL for a more suitable image size (medium), store image URL in array s[] and increment our counter for next URL/image tuple
Code:

                        END {
                                r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \""s[i]"\"");
                                print "http://m.flickr.com"u[i];
                                exit r;
                        }';

After having parsed all URLs/images tuples in our html source, we will then spawn the last image fetch with URL from random position in array s[] and save it to /tmp/qbwflickr0.jpg file which we will display if wget succeeds and return 0 exit status.
We then construct and print the URL of the image details page in array u[] and print it to our widget (Remember that it will not be shown on the widget because Results text is set as hidden)
This URL will be fetched, if necessary, next time sector 9 is clicked to open image details page URL.
Code:

fi
And we are done now!!!

janreiviardo 2010-07-07 02:16

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hi, I am new and I am using beacon for switching between my Overclock profiles. I have snippets for loading profiles and a snippet to show the minimum and maximum frequency. I would like to update the command of my loading profile snippet that when it is clicked, It will also click or update my snippet that shows min/max freq. Can anyone please help me on this?

I have an idea already but do not have enough knowledge on how to do it on code.

Overclock Snippet Command:
sudo /usr/sbin/kernel-config load MyConf

I would like to change it to something like

sudo /usr/sbin/kernel-config load MyConf

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"<MY BEACON OVERCLOCK SNIPPET ID NAME???>"

I do not know if this idea of mine is right but the code I am trying to add is the code I found to launch desktop applications. Please help. Thanks

No!No!No!Yes! 2010-07-07 06:10

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by janreiviardo (Post 743214)
Hi, I am new and I am using beacon for switching between my Overclock profiles. I have snippets for loading profiles and a snippet to show the minimum and maximum frequency. I would like to update the command of my loading profile snippet that when it is clicked, It will also click or update my snippet that shows min/max freq. Can anyone please help me on this?

I have an idea already but do not have enough knowledge on how to do it on code.

Overclock Snippet Command:
sudo /usr/sbin/kernel-config load MyConf

I would like to change it to something like

sudo /usr/sbin/kernel-config load MyConf

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"<MY BEACON OVERCLOCK SNIPPET ID NAME???>"

I do not know if this idea of mine is right but the code I am trying to add is the code I found to launch desktop applications. Please help. Thanks

  1. Retrieve the QBW Instance ID of your snippet that shows min/max freq as per HERE
  2. Open the command of your loading profile snippet and append this statement to your command

    <your command> ; run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw<idX> oh.no.more.qbw.update_content

    Replace <idX> with QBW Instance ID you got in step 1

See HERE for technical details and examples.

xyberx 2010-07-07 07:58

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hi all,

I have setup queen beecon to activate my overclock profile when it is clicked.

I want to know how to set it to trigger after I "end call"?

Thanks to all in advance..

xyberx 2010-07-07 10:01

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hi all,

I have setup queen beecon to activate my general profile when it is clicked.

I want to know how to set it to trigger at a specified time so that it switches profile at certain time.

Thanks all in advance..

No!No!No!Yes! 2010-07-07 10:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by xyberx (Post 743512)
Hi all,

I have setup queen beecon to activate my general profile when it is clicked.

I want to know how to set it to trigger at a specified time so that it switches profile at certain time.

Thanks all in advance..

You can't trigger scripts at specific time.
What you can do is setup QBW to run periodically (say 15/30 mins for your specific scenario, but depends on your need for precision) and check in your script if right time has come to perform action.

No!No!No!Yes! 2010-07-07 13:38

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by xyberx (Post 743512)
Hi all,

I have setup queen beecon to activate my general profile when it is clicked.

I want to know how to set it to trigger at a specified time so that it switches profile at certain time.

Thanks all in advance..

Open xterm
Fire:
Code:

dbus-monitor --system
and see what signals get issued by the system when call is terminated, rejected, dropped ...

Try and study a DBUS rule to feed QBW's DBUS Event Monitor with.

http://i48.tinypic.com/24xnpys.jpg

That will then be the trigger for your command execution

TNiga 2010-07-07 14:00

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Is there a way to shut down the device using dbus or something else since "shutdown -P now" (as root) command doesn't work? I'd like to have a shutdown QB widget on my desktop.

No!No!No!Yes! 2010-07-07 14:18

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by TNiga (Post 743734)
Is there a way to shut down the device using dbus or something else since "shutdown -P now" (as root) command doesn't work? I'd like to have a shutdown QB widget on my desktop.

maybe http://wiki.maemo.org/Phone_control#Shutdown

slartibartfass 2010-07-07 16:06

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hello, I have a little question:
What do I need to type in command, if I want the xterm to do something.
For example Overclocking:
Code:

sudo gainroot
echo 1000000 > /sys/ etc...

Or renaming a file:
Code:

cd .mupen64plus/
mv blight_input.conf blight_input.conf3
mv blight_input.conf2 blight_input.conf

Is it the same "osoo-xterm -e" thing, and does it wotk with more than 1 line (like sudo gainroot or cd first)?

Thanks

No!No!No!Yes! 2010-07-07 22:57

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by slartibartfass (Post 743858)
Hello, I have a little question:
What do I need to type in command, if I want the xterm to do something.
For example Overclocking:
Code:

sudo gainroot
echo 1000000 > /sys/ etc...

Or renaming a file:
Code:

cd .mupen64plus/
mv blight_input.conf blight_input.conf3
mv blight_input.conf2 blight_input.conf

Is it the same "osoo-xterm -e" thing, and does it wotk with more than 1 line (like sudo gainroot or cd first)?

Thanks

From QBW you can ran them without spawning an osso-xterm

Just put the sequence of commands like this:

Code:

command1 parm; command2 parm; command3 parm ...
For gaining root access please search this forum with keywords:
Code:

sudo gainroot rootsh
to find the best combination to use

janreiviardo 2010-07-08 00:24

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Thanks No!No!No!Yes!


It is working now. =). I wonder why my min frequency drops from 500 to 125. I am not even modifying min_freq.

No!No!No!Yes! 2010-07-08 14:41

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
OK ... Queen BeeCon Widget release 0.1.9.8 is now in extras-devel
Partial Change Log since 0.1.4
Code:

queen-beecon (0.1.9.8)

  * New: Implemented per-instance progress animation with customizable number of frames, timer, position and possibility to have it shown or hidden (Now every instance can have its own progress animation) + Settings for Hide/Show, frames #, timer, position and basename.
  * Changed: Extended error message text to all DBUS methods
  * Changed: Now when command or script do not return any output no more "No Output" text gets printed inside the widget
  * Bugfixing: Added error message if non existing parameter is supplied to all DBUS methods "set_param_*"
  * Bugfixing: Under certain conditions HotSpot Index was not properly reset in case update policies prevented execution of script from happening. Fixed.

queen-beecon (0.1.9.7)

  * New: -
  * Changed: Line width for widget contours FX when widget pressed set to 1px   
  * Bugfixing: Reentrancy issues for DBUS Monitor. Fixed
  * Bugfixing: "If you enter a long name for the title, the right part of the prefs gui isn't visible anymore and you can't scroll to the now hidden gadgets!". Fixed. Area is now scrollable also horizontally.
  * Bugfixing: Issues with positioning of small widgets with respect to bottom and right margins. Fixed.

queen-beecon (0.1.9.6)

  * New: REVOLUTION!!! :) Implementation of multiple (9 = grid 3x3) Hot Spots to click on the widget. Clicked Hot Spot Index Position can then be passed to the executed script via Parameter Variables Substitution $QBW_HOTSPOT_PRESS (0=Not Pressed or other update policy,1=Top Left,2=Top Center,3=Top Right,4=Center Left,5=Center,6=Center Right,7=Bottom Left,8=Bottom Center,9=Bottom Right)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_HTTP_PROXY, $QBW_HTTPS_PROXY, $QBW_FTP_PROXY, $QBW_SOCKS_PROXY, $QBW_RTSP_PROXY (In the format <host:port>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_IGNORE_HOSTS_PROXY (In the format <host1;host2;host...>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_AUTO_CONFIG_PROXY_URL
  * New: Parameter Variables substitution for using with scripts which hold status or persistency information stored in configuration via DBUS method call set_param_string string:"rememberMe" string:<rememberthis> : $QBW_REMEMBER_ME. Useful, for example, for remembering values like counters across subsequent command executions.
  * Changed: Logic to purge configuration settings of non-existent QBW instances from configuration file. (Check/Purge performed at every entrance in Settings dialog)   
  * Bugfixing: Reentrancy problem with Settings dialog box. At times, in case of laggy interface, 2 or more instances of dialog were opening. Fixed.
  * Bugfixing: Incomplete unreferentiation of DBUS resources. Fixed.
  * Bugfixing: Incomplete unreferentiation of callback functions for async command execution and timers. Fixed.
  * Bugfixing: Incorrect logic for updating when widget desktop was active/on. It was updating also when active widget's desktop was swept off. Now updates content only if "Update on Desktop" is TRUE and Widget's Desktop is being swept on. Fixed.

queen-beecon (0.1.9.5)

  * New: Added supplementary progress images/icons (cycle is "queen-beecon-progress[0-3].png") searching logic in directory storage in this order 1) "~/Mydocs/.images/queen_beecon_dir" 2) "~/.queen_beecon_dir" 
  * New: Added button in Command Edit dialog to add instance only commands to the list of stored commands 
  * New: Implementation of following DBUS methods: get_current_results_text (Get current content of results text)
  * New: Parameter Variables substitution for using with scripts which holds the current content of results text ($QBW_CURRENT_RESULTS_TEXT=Current content of results text)
  * Changed: Default shape for Beecons is now rectangle. Hexagonal cell will be only shown when pressed 
  * Changed: Shadow/Light effects on widget surface, either when pressed or not, are now fixed in size (~4px) 
  * Changed: Changed some logic in simple Command Edit dialog box 
  * Changed: After instance imported, now advanced dialog box closes and reverts back to settings with all parameters reloaded
  * Changed: Changed Warning and Information notification in Advanced Settings to display hildon_banner* 
  * Changed: Changed DBUS connection acquisition for DBUS Monitor. 
  * Bugfixing: Refined and fixed logic for DBUS Monitor initialization and deinitialization 
  * Bugfixing: Changed and fixed logic for handling/displaying Exit Code if error spawning asynchronous command 
  * Bugfixing: New asynchronous execution logic was not releasing file handles. Fixed

queen-beecon (0.1.9.4)

  * New: Ability to execute scripts by intercepting specific DBUS broadcasted signals/methods/errors issued by the system or other applications + Relevant configuration parameters (Ex.keyboard lock, slide open/close, ecc.) 
  * New: Parameter Variables substitution for using with scripts triggered by intercepted DBUS broadcasted signals/methods ($QBW_EXEC_REASON=QBW_DBUS_MONITOR, $QBW_DBUS_VERBOSE_OUTPUT=Verbose Output see wiki)
  * Changed: Changed icons for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * Changed: Package installation now performs an automatic restart of hildon-home process
  * Changed: Synchronization in asynchronous script execution logic for Exit Status and Output 
  * Bugfixing: Memory reallocation bugs fixed in new async command execution logic 

queen-beecon (0.1.9.3)

  * New: Added icon for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * New: Implementation of Asynchronous Non Hildon-Home blocking command execution (Test Drive is still Synchronous for command timing evaluation purposes) 
  * Changed: - 
  * Bugfixing: Memory reallocation bugs fixed for all string values management in settigs dialog box 

queen-beecon (0.1.9.2)

  * New: Added custom timeout in seconds for periodic update, not just predefined list of values
  * Changed: Restyle in settings configuration for Update Policies, Fonts & Colors Buttons 
  * Bugfixing: 

queen-beecon (0.1.9.1)

  * New: Parameter Variables substitution usable by script (Ex. Own Instance ID, Reason for updating content)
  * New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
  * New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
  * Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance 
  * Changed: Removed Help hints from settings dialog box (refer to the WIKI)! 
  * Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent 
  * Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
  * Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed

queen-beecon (0.1.9)

    * New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
    * Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
    * Bugfixing: Some fixing and cleanup in package install/uninstall

queen-beecon (0.1.8-testonly-PR1.2)

    * WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
    * New: Implementation of DBUS methods: reset_rearm_timer
    * New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
    * Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
    * Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
    * Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on

queen-beecon (0.1.7-PR1.1.1)

    * NOTE: Special Build for PR1.1.1
    * New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
    * New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
    * New: Implementation of following DBUS signals: sig_content_updated
    * Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
    * Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation

queen-beecon (0.1.6)

    * New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * New: Added Widget Instance ID in Settings Dialog Title
    * Changed: Compiled Vs. PR1.2

queen-beecon (0.1.5)

    * Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields

queen-beecon (0.1.4)

    * New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
    * New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
    * Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.

See complete Change Log in the WIKI

Usual WARNINGS apply to extras-devel material


A major new feature in this release:
Implemented per-instance progress animation with customizable number of frames, timer, position and possibility to have it shown or hidden (Now every instance can have its own progress animation) + Settings for Hide/Show, frames #, timer, position and basename.
Several fixes here and there ... hope I haven't broken anything!!!
WARNING, this is one of the latest intermediate release to extras-devel!


Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.

QBW shouldn't crash any more if upgraded from >=0.1.9.6 to 0.1.9.8!!! Please, report any problem or crash during installation/upgrade if they still persist

Have fun

slartibartfass 2010-07-08 17:10

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hello, I really love this application, its very usefull.

I have a little request:
In the settings, to change the Icon size, the slider is really annoying. It takes hours to get the right size, and for example its impossible to set Width to 200 (only 199 and 201 is possible). Also the slider gets in the way, if you want to scroll down.

Wouldn't it be easier to replace the sliders with a field, where you can type the width and the hight in?

It's just a suggestion, if you think it's good as it is now, Its ok for me too.

No!No!No!Yes! 2010-07-08 21:50

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by slartibartfass (Post 745106)
Hello, I really love this application, its very usefull.

I have a little request:
In the settings, to change the Icon size, the slider is really annoying. It takes hours to get the right size, and for example its impossible to set Width to 200 (only 199 and 201 is possible). Also the slider gets in the way, if you want to scroll down.

Wouldn't it be easier to replace the sliders with a field, where you can type the width and the hight in?

It's just a suggestion, if you think it's good as it is now, Its ok for me too.

You are right ...

new width/height controls:

http://i28.tinypic.com/6qfpc0.jpg

Minor issue ... At time, if you increase or decrease the value with the buttons, the slider appears not to be updated even if actually the value changes. If you save and re-enter or simply click forth and back one more time the value displays correctly ... it seems an intrinsic defect of sliders with very wide span of values ... hope you can bear with it! :D
Unless someone has got any solution...

No!No!No!Yes! 2010-07-08 22:03

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
2 Attachment(s)
POKER DICE, HERE!!!

http://i25.tinypic.com/5tsaao.jpg
  1. Create 5 QBW instances
  2. Import 5 dices with "PokerDice.qbw.txt" and take a note of each dice's QBW Instance ID
  3. Create 1 more QBW instance
  4. Import "PokerDeck.qbw.txt"
  5. "Edit Cmd" in PokerDeck settings and replace noted QBW IDs in each dbus-send command respectively
    run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid4 oh.no.more.qbw.update_content;run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid5 oh.no.more.qbw.update_content;run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid6 oh.no.more.qbw.update_content;run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid7 oh.no.more.qbw.update_content;run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid8 oh.no.more.qbw.update_content
  6. Deck has got also a cute "dice-rolling" progress animation

techie 2010-07-09 05:46

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@No!No!No!Yes!
I have setup widgets on my desktop to update at specific intervals of time.The problem is, that I noticed they are updating even when the phone is locked!
I do not want widgets to be updating their content while the device is locked & its obvious I am not looking at them;)
This ought to be having some impact on battery life right?
This is probably exhibited by all types of widgets so it may be a requirement (or a feature?) of hildon so i will not claim this to be a bug, but can you please consider this as a feature request and provide an option to toggle content updating when device is locked.

If this is not possible can somebody please give me the code for checking if device is locked.I will put this at the start of my script and have it exit accordingly.

No!No!No!Yes! 2010-07-09 06:19

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 745720)
@No!No!No!Yes!
I have setup widgets on my desktop to update at specific intervals of time.The problem is, that I noticed they are updating even when the phone is locked!
I do not want widgets to be updating their content while the device is locked & its obvious I am not looking at them;)
This ought to be having some impact on battery life right?
This is probably exhibited by all types of widgets so it may be a requirement (or a feature?) of hildon so i will not claim this to be a bug, but can you please consider this as a feature request and provide an option to toggle content updating when device is locked.

If this is not possible can somebody please give me the code for checking if device is locked.I will put this at the start of my script and have it exit accordingly.

Thanks for feedback.
Choice to have QBW update even if phone is locked was deliberate as QBW is also a monitoring tool and a background program frontend which can maintain/hold some persistency with collected info over time and which may require update even if not in sight.
However you are right about the fact that an option should be present here ... and choice to disable update if out of sight left to the user.
I'll give it a thought. :)

techie 2010-07-09 06:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 745744)
Thanks for feedback.
Choice to have QBW update even if phone is locked was deliberate as QBW is also a monitoring tool and a background program frontend which can maintain/hold some persistency with collected info over time and which may require update even if not in sight.
However you are right about the fact that an option should be present here ... and choice to disable update if out of sight left to the user.
I'll give it a thought. :)

Thanks!
Actually I have setup the dbus script to underclock device when locked (no need for a fast cpu if its just gonna be sitting idle ;)) and I also have a widget that monitors temp at intervals and sets max overclock speed (don't want it to get too hot).
As you can imagine, after i lock the device it underclocks as intended but again overclocks due to the widget:D
And from what you posted, if i understood right, are you also going to provide option to disable update when that desktop is not in view (some other desktop/homescreen is)?.That would be very helpful thank you:)

No!No!No!Yes! 2010-07-09 11:07

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 745753)
Thanks!
Actually I have setup the dbus script to underclock device when locked (no need for a fast cpu if its just gonna be sitting idle ;)) and I also have a widget that monitors temp at intervals and sets max overclock speed (don't want it to get too hot).
As you can imagine, after i lock the device it underclocks as intended but again overclocks due to the widget:D
And from what you posted, if i understood right, are you also going to provide option to disable update when that desktop is not in view (some other desktop/homescreen is)?.That would be very helpful thank you:)

:D Testing...

Added also DBUS method_call "is_on_sight" and Parameter Variables substitution for using with scripts, in case user wants to handle with it, which holds "On Sight" or "Out Of Sight" status: $QBW_ON_SIGHT (true=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by. false=QBW Instance is not on current desktop and visible or display is off or on stand by)

No!No!No!Yes! 2010-07-09 11:15

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 745403)
You are right ...

new width/height controls:

http://i28.tinypic.com/6qfpc0.jpg

Changed again a little bit and fixed this issue:

Quote:

Minor issue ... At time, if you increase or decrease the value with the buttons, the slider appears not to be updated even if actually the value changes. If you save and re-enter or simply click forth and back one more time the value displays correctly ... it seems an intrinsic defect of sliders with very wide span of values ... hope you can bear with it! :D
Unless someone has got any solution...
http://i31.tinypic.com/250hw1l.jpg

Cuboid 2010-07-09 13:49

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hi,

I have a quick question, I am wanting to make a small change to one of jakimans scripts, however I get a bad checksum when I try to import from buffer to Beecon. Can I calculate a new checksum so i can use the script and if so how?

Thanks in advance

No!No!No!Yes! 2010-07-09 14:06

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by Cuboid (Post 746079)
Hi,

I have a quick question, I am wanting to make a small change to one of jakimans scripts, however I get a bad checksum when I try to import from buffer to Beecon. Can I calculate a new checksum so i can use the script and if so how?

Thanks in advance

Sorry ... Instance Data in Import buffer is not pure text but "meta-text". At times it contains in fact some escape characters which do not belong to pure configuration data.

Best procedure for changing a QBW is importing the widget and using the "A" area in Advanced Settings & Tools Dialog (click on image to see the wiki)

http://wiki.maemo.org/images/thumb/1...Qbwasathsl.jpg

xabaras 2010-07-09 14:33

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 743713)
Open xterm
Fire:
Code:

dbus-monitor --system
and see what signals get issued by the system when call is terminated, rejected, dropped ...

Try and study a DBUS rule to feed QBW's DBUS Event Monitor with.

http://i48.tinypic.com/24xnpys.jpg

That will then be the trigger for your command execution

Hi guys, new here...

Thanks for your effort on providing us such a great app!

Actually with dbus monitoring i managed to bring backlight to max when connected to power supply, and dim it back when disconected. It was something i was looking for since day one with my n900, as the ability to controll back light level from desktop.

you are my man XD

Xaba

No!No!No!Yes! 2010-07-09 14:41

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by xabaras (Post 746113)
Hi guys, new here...

Thanks for your effort on providing us such a great app!

Actually with dbus monitoring i managed to bring backlight to max when connected to power supply, and dim it back when disconected. It was something i was looking for since day one with my n900, as the ability to controll back light level from desktop.

you are my man XD

Xaba

Very good ... why dont you post QBW export for your Beecon so anybody can benefit ... I'll record it into the relevant WIKI section if you agree...

fw190 2010-07-09 14:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I have updated QBW but there are no scaling buttons for the size. When I try to edit the widget a message like this pops out:

Warning!!!
QBW Instance [gueen-beecon.desktop-1]
is not currently active in th system!

Purge configuration file from obsolete settings?

I've uninstalled the QBW and installed it again but this didn't solve the problem. What to do?

No!No!No!Yes! 2010-07-09 15:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by fw190 (Post 746137)
I have updated QBW but there are no scaling buttons for the size. When I try to edit the widget a message like this pops out:

Warning!!!
QBW Instance [gueen-beecon.desktop-1]
is not currently active in th system!

Purge configuration file from obsolete settings?

I've uninstalled the QBW and installed it again but this didn't solve the problem. What to do?

It means that your configuration file ~/.queen_beecon still holds configuration data from a previous QBW Instance ID number 1 which is not active any more in the system.

This is useful in case you want to restore QBW instances after a crash or after a system backup/restore.

If you answer Yes, this obsolete configuration data will be removed from your configuration file ... if you answer No, it will still be kept inside configuration file and next time you'll open settings same question will come up.

Ciao.

techie 2010-07-09 15:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by fw190 (Post 746137)
I have updated QBW but there are no scaling buttons for the size. When I try to edit the widget a message like this pops out:

Warning!!!
QBW Instance [gueen-beecon.desktop-1]
is not currently active in th system!

Purge configuration file from obsolete settings?

I've uninstalled the QBW and installed it again but this didn't solve the problem. What to do?

What did you answer to that warning.
Select yes to purge the file it won't remove your settings.Then add a new widget with the desired command and see if it works.

Edit: Oops bit late:)

No!No!No!Yes! 2010-07-09 15:28

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
OK ... Queen BeeCon Widget release 0.1.9.9 is now in extras-devel
Partial Change Log since 0.1.4
Code:

queen-beecon (0.1.9.9)

  * New: Added "On Sight" Update Policy (If flagged, content is not updated if widget is out of sight (on other desktop) or if display is locked or in stand-by) 
  * New: Parameter Variables substitution for using with scripts which holds "On Sight" or "Out Of Sight" status: $QBW_ON_SIGHT (true=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by. false=QBW Instance is not on current desktop and visible or display is off or on stand by)
  * New: DBUS method "is_on_sight" which returns true (QBW Instance is "ON SIGHT", that is, widget is on current desktop and display is not locked or on stand by) or false (QBW Instance is not on current desktop and visible or display is off or on stand by)
  * Changed: Optimized usability of settings for Widget Width and Height
  * Changed: Optimized progress animation logic for visibility when instance not On Sight
  * Bugfixing: -

queen-beecon (0.1.9.8)

  * New: Implemented per-instance progress animation with customizable number of frames, timer, position and possibility to have it shown or hidden (Now every instance can have its own progress animation) + Settings for Hide/Show, frames #, timer, position and basename.
  * Changed: Extended error message text to all DBUS methods
  * Changed: Now when command or script do not return any output no more "No Output" text gets printed inside the widget
  * Bugfixing: Added error message if non existing parameter is supplied to all DBUS methods "set_param_*"
  * Bugfixing: Under certain conditions HotSpot Index was not properly reset in case update policies prevented execution of script from happening. Fixed.

queen-beecon (0.1.9.7)

  * New: -
  * Changed: Line width for widget contours FX when widget pressed set to 1px   
  * Bugfixing: Reentrancy issues for DBUS Monitor. Fixed
  * Bugfixing: "If you enter a long name for the title, the right part of the prefs gui isn't visible anymore and you can't scroll to the now hidden gadgets!". Fixed. Area is now scrollable also horizontally.
  * Bugfixing: Issues with positioning of small widgets with respect to bottom and right margins. Fixed.

queen-beecon (0.1.9.6)

  * New: REVOLUTION!!! :) Implementation of multiple (9 = grid 3x3) Hot Spots to click on the widget. Clicked Hot Spot Index Position can then be passed to the executed script via Parameter Variables Substitution $QBW_HOTSPOT_PRESS (0=Not Pressed or other update policy,1=Top Left,2=Top Center,3=Top Right,4=Center Left,5=Center,6=Center Right,7=Bottom Left,8=Bottom Center,9=Bottom Right)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_HTTP_PROXY, $QBW_HTTPS_PROXY, $QBW_FTP_PROXY, $QBW_SOCKS_PROXY, $QBW_RTSP_PROXY (In the format <host:port>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_IGNORE_HOSTS_PROXY (In the format <host1;host2;host...>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_AUTO_CONFIG_PROXY_URL
  * New: Parameter Variables substitution for using with scripts which hold status or persistency information stored in configuration via DBUS method call set_param_string string:"rememberMe" string:<rememberthis> : $QBW_REMEMBER_ME. Useful, for example, for remembering values like counters across subsequent command executions.
  * Changed: Logic to purge configuration settings of non-existent QBW instances from configuration file. (Check/Purge performed at every entrance in Settings dialog)   
  * Bugfixing: Reentrancy problem with Settings dialog box. At times, in case of laggy interface, 2 or more instances of dialog were opening. Fixed.
  * Bugfixing: Incomplete unreferentiation of DBUS resources. Fixed.
  * Bugfixing: Incomplete unreferentiation of callback functions for async command execution and timers. Fixed.
  * Bugfixing: Incorrect logic for updating when widget desktop was active/on. It was updating also when active widget's desktop was swept off. Now updates content only if "Update on Desktop" is TRUE and Widget's Desktop is being swept on. Fixed.

queen-beecon (0.1.9.5)

  * New: Added supplementary progress images/icons (cycle is "queen-beecon-progress[0-3].png") searching logic in directory storage in this order 1) "~/Mydocs/.images/queen_beecon_dir" 2) "~/.queen_beecon_dir" 
  * New: Added button in Command Edit dialog to add instance only commands to the list of stored commands 
  * New: Implementation of following DBUS methods: get_current_results_text (Get current content of results text)
  * New: Parameter Variables substitution for using with scripts which holds the current content of results text ($QBW_CURRENT_RESULTS_TEXT=Current content of results text)
  * Changed: Default shape for Beecons is now rectangle. Hexagonal cell will be only shown when pressed 
  * Changed: Shadow/Light effects on widget surface, either when pressed or not, are now fixed in size (~4px) 
  * Changed: Changed some logic in simple Command Edit dialog box 
  * Changed: After instance imported, now advanced dialog box closes and reverts back to settings with all parameters reloaded
  * Changed: Changed Warning and Information notification in Advanced Settings to display hildon_banner* 
  * Changed: Changed DBUS connection acquisition for DBUS Monitor. 
  * Bugfixing: Refined and fixed logic for DBUS Monitor initialization and deinitialization 
  * Bugfixing: Changed and fixed logic for handling/displaying Exit Code if error spawning asynchronous command 
  * Bugfixing: New asynchronous execution logic was not releasing file handles. Fixed

queen-beecon (0.1.9.4)

  * New: Ability to execute scripts by intercepting specific DBUS broadcasted signals/methods/errors issued by the system or other applications + Relevant configuration parameters (Ex.keyboard lock, slide open/close, ecc.) 
  * New: Parameter Variables substitution for using with scripts triggered by intercepted DBUS broadcasted signals/methods ($QBW_EXEC_REASON=QBW_DBUS_MONITOR, $QBW_DBUS_VERBOSE_OUTPUT=Verbose Output see wiki)
  * Changed: Changed icons for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * Changed: Package installation now performs an automatic restart of hildon-home process
  * Changed: Synchronization in asynchronous script execution logic for Exit Status and Output 
  * Bugfixing: Memory reallocation bugs fixed in new async command execution logic 

queen-beecon (0.1.9.3)

  * New: Added icon for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * New: Implementation of Asynchronous Non Hildon-Home blocking command execution (Test Drive is still Synchronous for command timing evaluation purposes) 
  * Changed: - 
  * Bugfixing: Memory reallocation bugs fixed for all string values management in settigs dialog box 

queen-beecon (0.1.9.2)

  * New: Added custom timeout in seconds for periodic update, not just predefined list of values
  * Changed: Restyle in settings configuration for Update Policies, Fonts & Colors Buttons 
  * Bugfixing: 

queen-beecon (0.1.9.1)

  * New: Parameter Variables substitution usable by script (Ex. Own Instance ID, Reason for updating content)
  * New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
  * New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
  * Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance 
  * Changed: Removed Help hints from settings dialog box (refer to the WIKI)! 
  * Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent 
  * Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
  * Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed

queen-beecon (0.1.9)

    * New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
    * Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
    * Bugfixing: Some fixing and cleanup in package install/uninstall

queen-beecon (0.1.8-testonly-PR1.2)

    * WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
    * New: Implementation of DBUS methods: reset_rearm_timer
    * New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
    * Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
    * Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
    * Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on

queen-beecon (0.1.7-PR1.1.1)

    * NOTE: Special Build for PR1.1.1
    * New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
    * New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
    * New: Implementation of following DBUS signals: sig_content_updated
    * Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
    * Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation

queen-beecon (0.1.6)

    * New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * New: Added Widget Instance ID in Settings Dialog Title
    * Changed: Compiled Vs. PR1.2

queen-beecon (0.1.5)

    * Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields

queen-beecon (0.1.4)

    * New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
    * New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
    * Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.

See complete Change Log in the WIKI

Usual WARNINGS apply to extras-devel material


Almost time to go to Extras-Testing

Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.

QBW shouldn't crash any more if upgraded from >=0.1.9.6 to 0.1.9.9!!! Please, report any problem or crash during installation/upgrade if they still persist

Have fun

Kevstacey 2010-07-09 16:05

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
is there an easy way to add an image for the background of the widget and remove that annoying flashing bee?

cheers

xabaras 2010-07-09 16:07

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
3 Attachment(s)
Quote:

Originally Posted by No!No!No!Yes! (Post 746121)
Very good ... why dont you post QBW export for your Beecon so anybody can benefit ... I'll record it into the relevant WIKI section if you agree...

what to say... thanks xD

here they goes.
pwr_on_bklght_max.txt will max up the backlight to lvl 255 (range 0 - 255) when dc supply or usb supply is connected
pwr_off_bklght_dim.txt will dim the backlight down to lvl 51 (range 0 - 255) when dc supply or usb supply is disconnected

Both snippets are invisible and update only with this two signals

Edit: i've uploaded also the 5 buffers for controlling the backlight from desktop, in the attached .zip

Xaba

No!No!No!Yes! 2010-07-12 14:44

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
OK ... Queen BeeCon Widget release 1.0.0.1 is now in extras-testing queue and candidate to reach EXTRAS
Partial Change Log since 0.1.4
Code:


queen-beecon (1.0.0.1)

  * New: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)   
  * Changed: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)
  * Bugfixing: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)

queen-beecon (1.0.0)

  * New: -
  * Changed: -
  * Bugfixing: -

queen-beecon (0.1.9.9)

  * New: Added "On Sight" Update Policy (If flagged, content is not updated if widget is out of sight (on other desktop) or if display is locked or in stand-by) 
  * New: Parameter Variables substitution for using with scripts which holds "On Sight" or "Out Of Sight" status: $QBW_ON_SIGHT (true=QBW Instance is "ON SIGHT", that is widget is on current desktop and display is not locked or on stand by. false=QBW Instance is not on current desktop and visible or display is off or on stand by)
  * New: DBUS method "is_on_sight" which returns true (QBW Instance is "ON SIGHT", that is, widget is on current desktop and display is not locked or on stand by) or false (QBW Instance is not on current desktop and visible or display is off or on stand by)
  * Changed: Optimized usability of settings for Widget Width and Height
  * Changed: Optimized progress animation logic for visibility when instance not On Sight
  * Bugfixing: -

queen-beecon (0.1.9.8)

  * New: Implemented per-instance progress animation with customizable number of frames, timer, position and possibility to have it shown or hidden (Now every instance can have its own progress animation) + Settings for Hide/Show, frames #, timer, position and basename.
  * Changed: Extended error message text to all DBUS methods
  * Changed: Now when command or script do not return any output no more "No Output" text gets printed inside the widget
  * Bugfixing: Added error message if non existing parameter is supplied to all DBUS methods "set_param_*"
  * Bugfixing: Under certain conditions HotSpot Index was not properly reset in case update policies prevented execution of script from happening. Fixed.

queen-beecon (0.1.9.7)

  * New: -
  * Changed: Line width for widget contours FX when widget pressed set to 1px   
  * Bugfixing: Reentrancy issues for DBUS Monitor. Fixed
  * Bugfixing: "If you enter a long name for the title, the right part of the prefs gui isn't visible anymore and you can't scroll to the now hidden gadgets!". Fixed. Area is now scrollable also horizontally.
  * Bugfixing: Issues with positioning of small widgets with respect to bottom and right margins. Fixed.

queen-beecon (0.1.9.6)

  * New: REVOLUTION!!! :) Implementation of multiple (9 = grid 3x3) Hot Spots to click on the widget. Clicked Hot Spot Index Position can then be passed to the executed script via Parameter Variables Substitution $QBW_HOTSPOT_PRESS (0=Not Pressed or other update policy,1=Top Left,2=Top Center,3=Top Right,4=Center Left,5=Center,6=Center Right,7=Bottom Left,8=Bottom Center,9=Bottom Right)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_HTTP_PROXY, $QBW_HTTPS_PROXY, $QBW_FTP_PROXY, $QBW_SOCKS_PROXY, $QBW_RTSP_PROXY (In the format <host:port>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_IGNORE_HOSTS_PROXY (In the format <host1;host2;host...>)
  * New: Parameter Variables substitution for using with scripts which hold Proxy related information: $QBW_AUTO_CONFIG_PROXY_URL
  * New: Parameter Variables substitution for using with scripts which hold status or persistency information stored in configuration via DBUS method call set_param_string string:"rememberMe" string:<rememberthis> : $QBW_REMEMBER_ME. Useful, for example, for remembering values like counters across subsequent command executions.
  * Changed: Logic to purge configuration settings of non-existent QBW instances from configuration file. (Check/Purge performed at every entrance in Settings dialog)   
  * Bugfixing: Reentrancy problem with Settings dialog box. At times, in case of laggy interface, 2 or more instances of dialog were opening. Fixed.
  * Bugfixing: Incomplete unreferentiation of DBUS resources. Fixed.
  * Bugfixing: Incomplete unreferentiation of callback functions for async command execution and timers. Fixed.
  * Bugfixing: Incorrect logic for updating when widget desktop was active/on. It was updating also when active widget's desktop was swept off. Now updates content only if "Update on Desktop" is TRUE and Widget's Desktop is being swept on. Fixed.

queen-beecon (0.1.9.5)

  * New: Added supplementary progress images/icons (cycle is "queen-beecon-progress[0-3].png") searching logic in directory storage in this order 1) "~/Mydocs/.images/queen_beecon_dir" 2) "~/.queen_beecon_dir" 
  * New: Added button in Command Edit dialog to add instance only commands to the list of stored commands 
  * New: Implementation of following DBUS methods: get_current_results_text (Get current content of results text)
  * New: Parameter Variables substitution for using with scripts which holds the current content of results text ($QBW_CURRENT_RESULTS_TEXT=Current content of results text)
  * Changed: Default shape for Beecons is now rectangle. Hexagonal cell will be only shown when pressed 
  * Changed: Shadow/Light effects on widget surface, either when pressed or not, are now fixed in size (~4px) 
  * Changed: Changed some logic in simple Command Edit dialog box 
  * Changed: After instance imported, now advanced dialog box closes and reverts back to settings with all parameters reloaded
  * Changed: Changed Warning and Information notification in Advanced Settings to display hildon_banner* 
  * Changed: Changed DBUS connection acquisition for DBUS Monitor. 
  * Bugfixing: Refined and fixed logic for DBUS Monitor initialization and deinitialization 
  * Bugfixing: Changed and fixed logic for handling/displaying Exit Code if error spawning asynchronous command 
  * Bugfixing: New asynchronous execution logic was not releasing file handles. Fixed

queen-beecon (0.1.9.4)

  * New: Ability to execute scripts by intercepting specific DBUS broadcasted signals/methods/errors issued by the system or other applications + Relevant configuration parameters (Ex.keyboard lock, slide open/close, ecc.) 
  * New: Parameter Variables substitution for using with scripts triggered by intercepted DBUS broadcasted signals/methods ($QBW_EXEC_REASON=QBW_DBUS_MONITOR, $QBW_DBUS_VERBOSE_OUTPUT=Verbose Output see wiki)
  * Changed: Changed icons for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * Changed: Package installation now performs an automatic restart of hildon-home process
  * Changed: Synchronization in asynchronous script execution logic for Exit Status and Output 
  * Bugfixing: Memory reallocation bugs fixed in new async command execution logic 

queen-beecon (0.1.9.3)

  * New: Added icon for displaying command execution in progress (shown when script in progress and hidden on execution completion)
  * New: Implementation of Asynchronous Non Hildon-Home blocking command execution (Test Drive is still Synchronous for command timing evaluation purposes) 
  * Changed: - 
  * Bugfixing: Memory reallocation bugs fixed for all string values management in settigs dialog box 

queen-beecon (0.1.9.2)

  * New: Added custom timeout in seconds for periodic update, not just predefined list of values
  * Changed: Restyle in settings configuration for Update Policies, Fonts & Colors Buttons 
  * Bugfixing: 

queen-beecon (0.1.9.1)

  * New: Parameter Variables substitution usable by script (Ex. Own Instance ID, Reason for updating content)
  * New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
  * New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
  * Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance 
  * Changed: Removed Help hints from settings dialog box (refer to the WIKI)! 
  * Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent 
  * Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
  * Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed

queen-beecon (0.1.9)

    * New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
    * Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
    * Bugfixing: Some fixing and cleanup in package install/uninstall

queen-beecon (0.1.8-testonly-PR1.2)

    * WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
    * New: Implementation of DBUS methods: reset_rearm_timer
    * New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
    * Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
    * Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
    * Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on

queen-beecon (0.1.7-PR1.1.1)

    * NOTE: Special Build for PR1.1.1
    * New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
    * New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
    * New: Implementation of following DBUS signals: sig_content_updated
    * Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
    * Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation

queen-beecon (0.1.6)

    * New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
    * New: Added Widget Instance ID in Settings Dialog Title
    * Changed: Compiled Vs. PR1.2

queen-beecon (0.1.5)

    * Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields

queen-beecon (0.1.4)

    * New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
    * New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
    * Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.

See complete Change Log in the WIKI

Time for v1.0.0.1 to go to Extras-Testing
Please go to this link, test and thumb-up QBW so that it can be promoted and reach EXTRAs ASAP

techie 2010-07-13 19:38

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Probable bug in ver. 0.1.9.9 if someone else can test and reproduce also.
QBW widget won't monitor DBUS if @Sight is checked.

IMO @Sight should only disable updating during locked or offscreen but still keep the widget ready to intercept any dbus commands that are matched by pattern.Having the dbus monitoring off as well is equivalent to having the widget "disabled".
Correct me if I am wrong.

No!No!No!Yes! 2010-07-13 19:54

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 750703)
Probable bug in ver. 0.1.9.9 if someone else can test and reproduce also.
QBW widget won't monitor DBUS if @Sight is checked.

IMO @Sight should only disable updating during locked or offscreen but still keep the widget ready to intercept any dbus commands that are matched by pattern.Having the dbus monitoring off as well is equivalent to having the widget "disabled".
Correct me if I am wrong.

@Sight is an overall restriction by design ... not a bug.

There are plenty of ways to programmatically handle DBUS and other specific conditions ... just a matter of basic shell script programming and use of Parameter Substitution at Command Runtime

techie 2010-07-13 20:04

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
So is the dbus still monitored or not when this option is enabled? What I am trying to do is set @sight to false during dbus action using parameter substitution like you showed, but what is happening is if @sight is checked the command to disable @sight never gets run presumably because the widget is not active maybe.Any workaround to get this done please.
Thanks

Edit : Sorry I am probably not being clear why I need it to continue monitoring dbus, I can send you my code.
ps this is the last piece of puzzle to solving the problem I told you about;)


All times are GMT. The time now is 11:50.

vBulletin® Version 3.8.8