The Following User Says Thank You to Sash For This Useful Post: | ||
|
2010-05-27
, 14:58
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#192
|
Uhm ... no easy way to preserve backward compatibility if I implement this feature with Hildon-Extras extensions.
Especially if exported instances, with extended-fonts functionalities, need to be read by older releases.
Same happens if I change Color (both foreground and background) dialog with extended and more cosmetic one.
Unless it is polite to ask users to check and change fonts/color after import.
BTW, is it possible that HeColorButton is a bit buggy with PR1.2 SDK?
In scratchbox, if I click on black button frame then color dialogs opens, if I click on orange rectangle nothing happens...
Ciao.
UPDATE:
Also if I compile this:
Everything goes fine ... if I move the he_font_button before the old font selectors and scales ... H-H dumpsCode:GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1 GtkWidget *cmdFontSz; if (!g_strcmp0(self->priv->cmdExtFont,"")) { GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1 for(i=0;p_fonts[i]!=NULL;i++) {//AP1 int j; for (j=0;j<4;j++) {//AP1 gchar fs[256];//AP1 g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1 hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1 }//AP1 }//AP1 hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1 GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1 hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1 hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1 hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1 gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1 cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1 gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1 gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1 } GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont); gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0); gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
Code:GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1 GtkWidget *cmdFontSz; GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont); gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0); if (!g_strcmp0(self->priv->cmdExtFont,"")) { GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1 for(i=0;p_fonts[i]!=NULL;i++) {//AP1 int j; for (j=0;j<4;j++) {//AP1 gchar fs[256];//AP1 g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1 hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1 }//AP1 }//AP1 hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1 GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1 hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1 hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1 hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1 gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1 cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1 gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1 gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1 } gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
|
2010-05-27
, 17:20
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#193
|
|
2010-05-28
, 22:49
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#194
|
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.
|
2010-05-28
, 23:54
|
Posts: 1,729 |
Thanked: 388 times |
Joined on Jan 2010
@ Canada
|
#195
|
|
2010-05-29
, 00:32
|
Posts: 67 |
Thanked: 36 times |
Joined on May 2010
@ Claremont (LA), California
|
#196
|
|
2010-05-29
, 06:21
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#197
|
so do my saved instances (commands) will still work if i import it to the 1.9 QBW? right?
The Following User Says Thank You to No!No!No!Yes! For This Useful Post: | ||
|
2010-05-29
, 07:56
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#198
|
Does this mean that if I upgrade QBW, it's now safe to also upgrade to PR1.2?
[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -l queen-beecon Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=================================-=================================-================================================================================== ii queen-beecon 0.1.5 Customizable and flexible widget-based multi-instance monitoring and alerting tool [sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -i queen-beecon_0.1.9.1_i386.deb (Reading database ... 32547 files and directories currently installed.) Preparing to replace queen-beecon 0.1.5 (using queen-beecon_0.1.9.1_i386.deb) ... Unpacking replacement queen-beecon ... dpkg: dependency problems prevent configuration of queen-beecon: queen-beecon depends on libhildon1 (>= 2.2.10); however: Version of libhildon1 on system is 2.2.3-1+0m5. dpkg: error processing queen-beecon (--install): dependency problems - leaving unconfigured Errors were encountered while processing: queen-beecon [sbox-FREMANTLE_X86: ~/workspace/queen-beecon] >
|
2010-05-29
, 10:47
|
Posts: 150 |
Thanked: 80 times |
Joined on Dec 2009
|
#199
|
The Following User Says Thank You to Sash For This Useful Post: | ||
|
2010-05-29
, 23:40
|
Posts: 1,729 |
Thanked: 388 times |
Joined on Jan 2010
@ Canada
|
#200
|
I dedicated a major effort in trying to guarantee backward compatibility and transparent upgrade of already created instances.
Only limitation, apart from possible lurking bugs, is the one reported in the change log and relevant to ability for older releases to deal with new font parameters for instances exported by >=0.1.9 QBW.
http://talk.maemo.org/showpost.php?p...postcount=3947
The "snippet_ideal.txt" script will change the kernel to ideal settings.
To have a 1Ghz snippet, you have to follow these instructions first: