1 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
3 * hildon-widgets/hildon-app.c (hildon_app_key_snooper): Add code
4 to control if there is a combobox activated when the menu key is
5 pressed and stop the menu drawing, this is a new case that happens
6 when the application is avoiding the focus can go to the combobox.
11 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
13 * hildon-widgets/hildon-time-editor.c
14 (hildon_time_editor_validate): removed the assinment of the
15 error_widget, now just the highlight_callback can do it when it
16 finished with it. Control that if we are already managing an error
17 we don't start working in other.
19 (hildon_time_editor_inserted_text): added a control to stop insert
20 handle if we are already managing an error, we have also blocked
21 the focusout event before que grab focus to avoid another
22 validation of the field.
26 * hildon-widgets/hildon-time-editor.c
27 (highlight_callback): Removed the return in the middle of the
28 function, now that situation is imposible. It was causing the
32 2006-05-31 Luc Pionchon <luc.pionchon@nokia.com>
34 * hildon-widgets/hildon-banner.c
35 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase even more 320 -> 375
36 to satisfy NB#31099. (actually info and anim banners should have
37 375 px width and only progress banners should have 265 px)
41 2006-05-30 Luc Pionchon <luc.pionchon@nokia.com>
43 * hildon-libs.pc.in (Description): updated description
45 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
47 * configure.ac: 0.12.18
49 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
51 * hildon-widgets/hildon-app.c
52 (hildon_app_key_snooper): Add code to control if there is a
53 combobox activated when the menu key is pressed and prevent the
59 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
61 * hildon-widgets/hildon-banner.c
62 (hildon_banner_set_property): Set max_width hint to -1 instead of
63 HILDON_BANNER_LABEL_MAX_TIMED when banner is timed to avoid. This
64 has been done to ensure that the size of the banner will be the
65 requisition size and avoid the size problem when reusing the
66 banner window. See NB#24339.
68 (hildon_banner_set_text): Removed useless gtk_window_resize after
69 changing the label text. The size requisition of the banner is
70 updated when the label text is modified, so there is no need to do
71 a resize of the window to the requisition size.
72 (hildon_banner_set_markup): Likewise.
74 (hildon_banner_check_position): Added cast to widget argument in
75 call to force_to_wrap_truncated in order to avoid a compilation
79 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
81 Added time-error signal - NB#22155
83 * hildon-widgets/hildon-time-editor.c:
84 (hildon_time_editor_class_init): added time-error signal
85 (validated_conversion): added 'error_code' output parameter.
86 (hildon_time_editor_real_validate): use 'error_code' and trigger
87 'time-error' signal when apprpriate.
88 (highlight_callback): avoid revalidation
90 * hildon-widgets/hildon-time-editor.h (HildonTimeEditorErrorType):
91 new enumerative type for error types
92 (_HildonTimeEditorClass): added time_error signal
94 * hildon-widgets/Makefile.am (hildon-libs-enum-types.c): added time-editor.h
97 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
99 * configure.ac: 0.12.17
101 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
103 * hildon-widgets/gtk-infoprint.c
104 (gtk_confirmation_banner_with_icon_name): wooops, use _with_markup
105 variant to process markup string. NB#28370 (ter)
107 2006-05-22 Luc Pionchon <luc.pionchon@nokia.com>
109 * configure.ac: 0.12.16
111 2006-05-22 Johan Bilien <johan.bilien@nokia.com>
113 * hildon-widgets/hildon-window.c
114 (hildon_window_vbox_expose_event): This function has been
115 removed, now the window has the responsability of painting the
116 toolbar, because it has that space allocated.
117 (hildon_window_init): we do not have to connect the
118 hildon_window_vbox_expose_event function to the expose event of
119 the toolbar vbox anymore.
120 (hildon_window_expose): Added the call to paint_toolbar, as we can
121 see in the allocation function the toolbar decorators are
122 responsability of the window, and gdk was not sending the proper
123 events to the vbox because that space is not its responsability.
124 (hildon_window_remove_toolbar): We don't need a queue_draw here
125 because we have another call in the expose function when the size
126 of the container has been changed.
130 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
132 Removed hildon-insert-object-dialog NB#8015
134 * hildon-widgets/hildon-insert-object-dialog.[ch]: removed
135 * doc/tmpl/hildon-insert-object-dialog.sgml: removed
136 * ut/hildon-widgets_tests.c (test27a, test27b, test27c): removed
138 * hildon-widgets/Makefile.am (hildonwidgetsincludeinst_DATA)
139 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES)
140 * doc/hildon-libs-docs.sgml:
141 * po/POTFILES.in: : removed reference
143 * configure.ac: removed check for gnome-vfs
144 * hildon-widgets/Makefile.am: removed gnome-vfs flags
145 * doc/Makefile.am: likewise
146 * ut/Makefile.am: likewise
149 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
151 * hildon-widgets/gtk-infoprint.c
152 (gtk_confirmation_banner_with_icon_name):
153 added bold markup for backward compatibility. NB#28370 (bis)
156 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
158 * hildon-widgets/hildon-grid.c (get_child_index_by_coord): returns
159 if empty grid. NB#29883
162 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
164 * hildon-widgets/gtk-intoprint.c (find_banner_for_parent): Added
165 check for "is-timed" property. NB#26546
168 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
170 * hildon-widgets/hildon-window.c
171 (hildon_window_remove_toolbar)
172 (hildon_window_size_expose): Removed the
173 gtk_widget_queue_draw_area call from this functions, because
174 sometimes the event is not managed in the proper order.
176 (hildon_window_size_allocate): Added the
177 gtk_widget_queue_draw_area call in case the number of the toolbars
178 has changed, this way we insure an expose event for the proper
179 region will come after the change of the toolbars.
183 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
185 * hildon-widgets/hildon-window.c:
186 (hildon_window_size_allocate): Now the window uses all the space
187 when its state is fullscreen, we avoid to subtract the top and
188 bottom borders if the window state is fullscreen.
192 2006-05-18 Tapani Palli <tapani.palli@nokia.com>
194 * hildon-widgets/hildon-time-editor.c: block signal handler for
195 hildon_time_editor_inserted_text, null check for entry widget in
196 highlight_callback. Fixes NB#28679
198 2006-05-16 Luc Pionchon <luc.pionchon@nokia.com>
200 * hildon-widgets/gtk-infoprint.c (gtk_confirmation_banner): added
201 bold markup for backward compatibility. NB#28370
204 2006-05-15 Luc Pionchon <luc.pionchon@nokia.com>
206 * configure.ac: 0.12.15
209 2006-05-15 Johan Bilien <johan.bilien@nokia.com>
211 * hildon-widgets/hildon-window.[ch]:
212 - Added clipboad_operation signal used by osso-browser to receive
213 clipborad operations from hildon-input-method
214 - Trigger this signal when we receive an clipboard X message
215 from HIM. related to NB#25502
217 2006-05-11 Luc Pionchon <luc.pionchon@nokia.com>
219 * hildon-widgets/hildon-caption.c
220 (hildon_caption_set_label_alignment)
221 (hildon_caption_get_label_alignment): added gtk-doc "Since" marker
223 * doc/hildon-libs-docs.sgml: added index for 0.12.0 new symbols
226 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
228 * hildon-widgets/hildon-time-editor.c:
229 (hildon_time_editor_set_ticks) removed block signal handler for
230 hildon_time_editor_inserted_text. Added block and unblock signal
231 handler for hildon_time_editor_entry_focusout.
235 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
237 * hildon-widgets/hildon-caption.c:
238 (hildon_caption_size_allocate): add a margin to the start position
239 of the caption_area (HILDON_CAPTION_SPACING), leaving this way the
240 space required to the left of the caption.
242 (hildon_caption_expose): allocation, subtract the left margin
243 which we have added to the children widgets when we paint the
248 3006-05-10 Tapani Palli <tapani.palli@nokia.com>
250 * hildon-widgets/hildon-time-editor.c:
251 block signal handler for hildon_time_editor_inserted_text
255 2006-05-09 Luc Pionchon <luc.pionchon@nokia.com>
257 * hildon-widgets/hildon-time-editor.c:
258 (_hildon_time_editor_get_time_separators) renamed from
259 _get_time_separator(). Refactored to return h-m and m-s
260 separators. Now it is independent of the time editor priv
261 structure and receives two labels that can be NULL.
263 (_HildonTimeEditorPrivate): removed hm_sep_symbol and ms_sep_symbol
264 members: not used anymore.
265 (hildon_time_editor_init): removed ref to above members.
266 (hildon_time_editor_finalize): likewise
268 (hildon_time_editor_check_locale): use
269 _hildon_time_editor_get_time_separators()
271 * hildon-widgets/hildon-private.h: new file. To be used to use
272 private functions from other widgets inside the library.
273 (_hildon_time_editor_get_time_separators): added.
275 * hildon-widgets/Makefile.am:
276 added hildon-private.h to the source list.
279 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
280 Use _hildon_time_editor_get_time_separators() to get the h-m
281 separator from the locale (and not from a .po file)
286 2006-05-09 Marius Vollmer <marius.vollmer@nokia.com>
288 * hildon-widgets/hildon-find-toolbar.c
289 (hildon_find_toolbar_class_init): Reverted change from 2006-04-15:
290 The "search", "close", "invalid_input", "history_append" signals
291 have always been correctly registered: you don't include the last
292 'user data' parameter in the list of argument types passed to
293 g_signal_new et al. Thanks to Jorn from OpenedHand!
297 2006-05-08 Luc Pionchon <luc.pionchon@nokia.com>
299 * configure.ac: 0.12.14
301 2006-05-04 Luc Pionchon <luc.pionchon@nokia.com>
303 gtk-doc config bits...
304 * autogen.sh: call aclocal first
305 * configure.ac: enable GTK_DOC_CHECK
306 * doc/Makefile.am: really "include". "-include" is not followed by
307 automake, as a result gtk-doc.make would not be processed.
310 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
312 N#27000 (additional fixes to patch from 2006-05-01)
314 * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not
315 hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead
316 which deals with rounding (and uses the right factor: 1024).
317 Thanks Michael Natterer <mitch@imendio.com>
319 Force label size also when width_text == width_max.
322 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
324 * configure.ac: 0.12.13
327 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
329 * hildon-widgets/hildon-font-selection-dialog.c:
330 (is_internal_font): new function. Tells if a font family is internal.
331 (filter_out_internal_fonts): new function. Filters out inernal fonts.
332 (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts
336 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
338 * hildon-libs/hildon-widgets/hildon-time-editor.c
339 * hildon-libs/hildon-widgets/hildon-time-picker.c
340 * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
341 added comments to anonymous enums
344 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
346 Hildon banner truncations,
347 * hildon-widgets/hildon-banner.c
348 (force_to_wrap_truncated): new function. Force to wrap truncated
349 label by setting explicit size request. See N#27000 and G#329646
350 (hildon_banner_check_position): call force_to_wrap_truncated()
351 fixes N#27000, N#25305, N#26203
353 * hildon-widgets/hildon-banner.c
354 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
355 satisfy N#26624, N#26161, N#27875
357 * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
360 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
362 * hildon-widgets/hildon-banner.[ch]: code cleanup.
365 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
367 * hildon-widgets/hildon-window.c:
368 - removed connection to self, replaced with overridding virtual
370 - removed gtk_widget_set_event in init, legacy from HildonApp
371 - use gtk_widget_get_child_requisition() instead of
372 gtk_widget_size_request() in _allocation
373 - don't allocate space for the child if it is not visible
375 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
377 * hildon-widgets/hildon-window.c:
378 - forgot to reinitialize convenience pointers to borders after they
380 - replaced a g_return_if_fail with a g_return_val_if_fail now
381 that toggle_menu returns a g_boolean
383 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
386 * hildon-widgets/hildon-window.c: Free the borders structure
387 when the window is destroyed.
389 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
391 * hildon-widgets/hildon-caption.c : check if ancestor
392 (still) exists in set-focus handler, fixes N#25501
394 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
396 * hildon-widgets/hildon-time-editor.c
397 (hildon_time_editor_check_locale): do not force lower case for
398 AM/PM symbols. Use the string as it is given by the locale. Makes
399 it coherent with hildon time picker. Fixes N#27963
402 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
404 * hildon-widgets/hildon-set-password-dialog.c
405 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
406 (hildon_set_password_response_set): use c_ for common strings
407 (hildon_set_password_response_change): likewise.
410 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
413 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
415 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
416 "hildon-fm" as textual domain. Fixes N#27702
418 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
420 * configure.ac: 0.12.12
422 * Makefile.am (clean-all): brutal target to cleanup the
423 folder. Will do this properly later.
425 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
427 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
428 included Makefile if missing).
430 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
431 integration environement)
433 * configure.ac: print configuration summary after processing
435 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
437 From Murray Cumming <murrayc@murrayc.com>, M#183.
439 * hildon-widgets/hildon-calendar-popup.c:
440 (hildon_calendar_popup_new): Use only g_object_new(), passing
441 it properties, so that language bindings can do the same.
442 (hildon_calendar_popup_set_date): Veryify the date here,
443 instead of only in the _new() function.
444 (hildon_calendar_popup_set_property): Use get/set_date() to
445 verify the new date and to select it.
446 (hildon_calendar_popup_get_property): Remove unused variables.
447 * ut/hildon-widgets_tests.c (test45): New.
449 * hildon-widgets/hildon-add-home-dialog.c:
450 (hildon_add_home_dialog_new): Move code into
451 hildon_add_home_dialog_init(),
452 hildon_add_home_dialog_set_old_name(), and
453 hildon_add_home_dialog_set_new_name(). Supply parameters as
454 properties values to g_object_new() instead, so that language
455 bindings can do the same.
456 (hildon_add_home_dialog_class_init): Added name and new_name
458 (hildon_add_home_dialog_init): Create always-needed widgets.
459 (hildon_add_home_dialog_get_property),
460 (hildon_add_home_dialog_set_property): Get/Set the name and
461 new_name properties, recreating widgets if necessary, using new
462 static helper function.
463 * ut/hildon-widgets_tests.c (test46): New.
465 * hildon-widgets/hildon-grid-item.c
466 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
467 (hildon_grid_item_class_init): Add icon-basename property.
468 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
469 from here to hildon_grid_item_init(), so we can just call
471 (hildon_grid_item_set_label): Convert NULL label to empty string.
472 Bug fix: don't cast the label widget to a string and compare it
473 against the new label text, use gtk_label_get_label instead.
474 Expect priv->label to always be non-NULL.
475 (update_icon): Don't pass NULL icon name to
476 gtk_icon_theme_load_icon, use default icon instead in that case.
477 * hildon-widgets/hildon-grid-item.h: Make
478 _hildon_grid_item_set_label into public
479 hildon_grid_item_set_label(), so that language bindings can use
481 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
482 (test33a2, test33b4, test33b4): Expect them to succeed now that a
483 HildonGridItem can handle NULL icons.
485 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
487 * configure.ac: 0.12.11
490 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
492 * thread safety (N#24348), fixed timeout and idle callbacks :
493 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
494 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
495 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
496 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
497 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
498 hildon-widgets/hildon-time-editor.c : highlight_callback()
499 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
501 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
503 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
504 correct state for fullscreen, fixes N#26611
506 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
509 * hildon-widgets/hildon-window.c:
510 - hildon_window_toggle_menu now returns whether or not something was
512 - hildon_window_key_press_event(): when handling the menu hard key,
513 return TRUE if we actually handled it
514 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
515 now returns if something was done
516 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
517 if we actually handled the menu hard key.
519 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
521 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
524 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
526 * configure.ac: 0.12.10
529 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
531 * doc/hildon-libs-docs.sgml: added index for new symbols.
534 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
536 * doc/Makefile.am (version.xml): generates version.xml
537 * doc/hildon-libs-docs.sgml: added &version; entity, and display
538 the version number in the doc title.
541 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
543 Minor changes for gtk-doc
545 * hildon-weekday-picker.h
546 * hildon-name-password-dialog.c
547 * hildon-calendar-popup.h
548 * hildon-range-editor.h
549 * hildon-volumebar-range.h
552 * hildon-time-editor.c
554 * hildon-date-editor.h
557 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
559 * hildon-widgets/hildon-time-editor.c
560 (hildon_time_editor_set_show_hours)
561 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
564 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
567 * hildon-widgets/hildon-time-editor.c
568 (hildon_time_editor_entry_keypress): use
569 hildon_gtk_button_set_depressed, provided by osso-GTK, since
570 2.6.10-1.osso4, instead of GTK private symbol
571 _gtk_button_set_depressed
574 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
576 From Murray Cummings (M#185 M#283), with slight changes:
578 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
579 can disable the regeneration of hildon-libs-enum-types.[h|c], also
580 based on the gnome-vfs build.
582 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
583 hildon-libs-enum-types.[h|c], and build them, based on the
584 gnome-vfs build. This adds GTypes for the enums, needed for
585 accurate signal registration, needed by bindings.
587 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
588 default signal handler to range_error, so it has the same name as
589 the signal, as expected by bindings.
591 * hildon-widgets/hildon-marshalers.list: Change to the now-used
594 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
595 since hildon_note_type_get_type is defined manually and
596 glib-mkenums should ignore this enum.
598 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
599 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
601 Correct the signal registration for:
603 * hildon-widgets/hildon-app.c
604 (hildon_app_class_init):
610 * hildon-widgets/hildon-date-editor.c
611 (hildon_date_editor_class_init):
614 * hildon-widgets/hildon-find-toolbar.c
615 (hildon_find_toolbar_class_init):
619 "history_append signals"
621 * hildon-widgets/hildon-grid.c
622 (hildon_grid_class_init):
625 * hildon-widgets/hildon-number-editor.c
626 (hildon_number_editor_class_init):
630 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
632 M#90 - Use standard GLib macro names.
633 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
635 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
636 * hildon-widgets/hildon-calendar-popup.h:
637 * hildon-widgets/hildon-date-editor.h:
638 * hildon-widgets/hildon-range-editor.h:
639 * hildon-widgets/hildon-weekday-picker.h:
640 * hildon-widgets/hildon-volumebar-range.h:
643 * hildon-widgets/hildon-calendar-popup.c:
644 * hildon-widgets/hildon-date-editor.c:
645 * hildon-widgets/hildon-range-editor.c:
646 * hildon-widgets/hildon-volumebar-range.c:
647 * hildon-widgets/hildon-weekday-picker.c:
650 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
652 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
653 for Ok and Cancel buttons.
655 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
657 * configure.ac: 0.12.9
659 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
661 * hildon-widgets/hildon-color-button.c
662 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
666 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
668 * hildon-widgets/hildon-time-editor.c
669 (convert_to_12h): removed m and s paramters (useless)
670 (convert_to_24h): likewise.
673 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
675 Automatic focus movement for HildonTimeEditor (IMP-13)
677 * hildon-widgets/hildon-time-editor.c
678 (hildon_time_editor_init): connect after signal "insert_text"
679 (hildon_time_editor_inserted_text): new function.
680 On inserted text, if entry has two digits, jumps to the next field.
683 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
685 Pops up the color selector on 'select' hardkey (IMP-15)
687 * hildon-widgets/hildon-color-button.c
688 (hildon_color_button_init): connect "key-release-event"
689 (hildon_color_button_key_released): new function.
690 Pops up the color selector on 'select' hardkey release
693 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
695 Hildon grid, set items to be focus-and-activate instead of single
696 tap activation (IMP-14)
698 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
699 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
702 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
704 Fetch hours/minutes/seconds separators from current locale (IMP-8)
707 * hildon-widgets/hildon-time-editor.c
708 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
709 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
710 (hildon_time_editor_finalize): free separator symbols
711 (get_time_separators): new function. Get time separators from locale.
712 (hildon_time_editor_check_locale): call get_time_separators.
714 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
716 Removed icon for mandatory fields (IMP-3).
717 Note: the logic and API to specify mandatory fields is preserved.
719 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
720 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
721 (hildon_caption_set_property): case PROP_STATUS, removed related code.
722 (hildon_caption_set_label_alignment): removed related code.
725 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
727 * configure.ac: 0.12.8
729 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
731 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
734 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
736 - Added support for Pango markup
737 Added hildon_banner_show_information_with_markup
738 - Removed hildon_banner_show_confirmation
739 - Re-position the banner when its content changes
740 - Banner now doesn't truncate strings nor insert linebreaks
741 - fixes N#24339 - Information banners do not resize
743 * hildon-widgets/hildon-banner.[ch]
744 (hildon_banner_show_information_with_markup): new function. Adds
745 pango markup support for information banners.
747 (hildon_banner_show_confirmation): removed. 'confirmation' was
748 used only for the taask navigator (at most). It should use
749 _show_information_with_markup with appropriate markup.
751 (hildon_banner_set_markup): new function.
753 (hildon_banner_check_position): new function. Factor code from
754 hildon_banner_realize(), and update position calculation.
756 (struct _HildonBannerPrivate): removed max_lines.
757 Uses as much lines as needed.
759 (hildon_banner_init): set banner label to wrap lines.
761 (hildon_banner_set_text): do not truncate. Update banner's position.
763 (hildon_banner_set_markup): new function.
764 Set banner's text with Pango markup.
766 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
769 * hildon-widgets/gtk-infoprint.c
770 (gtk_confirmation_banner): use hildon_banner_show_information
771 instead of _show_confirmation.
772 (gtk_confirmation_banner_with_icon_name): likewise.
775 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
777 * hildon-widgets/hildon-color-button.c
778 (hildon_color_field_expose_event): correct parameter order.
781 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
783 * hildon-widgets/hildon-window.c:
784 - Fixed a potential infinite loop when detaching the menus
785 from the window widget (Closes N#26033)
787 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
789 * hildon-widgets/hildon-window.c:
790 - Fixed a bug that made window fullscreen state tracking fail
791 - Apply correct theming to menus so that they get placed
792 correctly (Fixes N#24325)
793 - Redraw the window borders if the size of the toolbar vbox changes
794 - Reset the program to NULL in hildon_window_destroy
795 - Stop the ESC key-press timeout when the window loses the focus
797 * hildon-widgets/hildon-program.c:
798 - Reset the common toolbar to NULL when the program is finalised
800 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
802 * hildon-widgets/hildon-get-password-dialog.h,
803 hildon-widgets/hildon-get-password-dialog.c
804 (hildon_get_password_dialog_new,
805 hildon_get_password_dialog_new_with_default): Renamed
806 get_old_password_title parameter to "get_old" to correspond with
807 the property name. This helps the C++ bindings.
808 * ut/hildon-widgets_tests.c (test43, test44): New.
810 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
812 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
813 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
818 * hildon-libs/hildon-caption.c:
819 (hildon_caption_init): Do the hildon_caption_set_child_expand()
821 (hildon_caption_new): Use the child property from GtkContainer
822 instead of calling gtk_container_add(), because _new() functions
823 should just use g_object_new(), so that language-bindings can do
826 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
828 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
830 * configure.ac: 0.12.7
832 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
835 * hildon-widgets/hildon-font-selection-dialog.c
836 (REFERENCE_LINE): removed
837 (hildon_font_selection_dialog_show_preview): added l10n support
838 for the reference string (use to differentiate sub/super script in
840 (hildon_font_selection_dialog_show_preview): likewise
843 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
845 * po/en_GB.po: update
847 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
849 * hildon-widgets/hildon-add-home-dialog.c
850 (hildon_add_home_dialog_init): removed i18n support (deprecated
851 widget. Hinder logical ID processing)
852 (hildon_add_home_dialog_new): likewise.
854 * hildon-widgets/hildon-insert-object-dialog.c
855 (hildon_insert_object_dialog_init): likewise.
858 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
860 * hildon-widgets/hildon-font-selection-dialog.c
861 (hildon_font_selection_dialog_construct_notebook): logical ID typo
864 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
866 * hildon-widgets/hildon-window.[ch]:
867 - update the title when the window is realized
868 - added support for long press on the ESC key. Fixes N#24620
870 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
872 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
874 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
876 * hildon-widgets/hildon-seekbar.c
877 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
879 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
881 * configure.ac: 0.12.6
883 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
885 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
886 fixed typo GKD_Left -> GDK_Left, N#24042
889 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
895 Updated logical id to lower case: Ckct_ -> ckct_
896 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
897 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
898 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
899 (hildon_range_editor_init, hildon_range_editor_entry_validate)
900 (hildon_range_editor_entry_validate):
901 * hildon-widgets/hildon-time-editor.c (validated_conversion)
902 (validated_conversion, hildon_time_editor_real_validate):
903 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
907 Updated logical id to lower case: Ecdg_ -> ecdg_
908 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
909 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
910 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
911 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
912 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
913 (hildon_wizard_dialog_create_title):
914 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
915 (hildon_find_toolbar_init):
916 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
917 (hildon_note_rebuild, hildon_note_set_button_text):
920 Removed i18n support for property description,
921 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
924 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
926 * configure.ac: 0.12.5
928 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
930 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
931 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
934 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
936 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
939 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
941 Cleanup wizard dialog,
943 * hildon-widgets/hildon-wizard-dialog.c
944 (struct HildonWizardDialogPrivate): removed 'previous_button'
945 and 'next_button' (obsolete)
947 (hildon_wizard_dialog_response): new private function. Handles the
948 'response' signal and replaces direction_button_clicked() in
949 taking care of notebook page changes and button dimming.
951 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
952 added to the dialog as response buttons. This enables the usage of
953 GtkDialog API for setting their sensitiveness.
955 (dimming/undimming): Connected hildon_wizard_dialog_response to
956 "resonse" signal. Removed useless title creation because it
957 depends on the notebook which is not yet created.
959 (hildon_wizard_dialog_set_property): minor code cleanup
961 (hildon_wizard_dialog_create_title): removed useless else-if
964 * hildon-widgets/hildon-wizard-dialog.h
965 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
968 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
969 adding the page_change signal, as the application can now track
970 the response signal instead.
973 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
975 * configure.ac: 0.12.4
978 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
982 moved widget descriptions to respective source file (*.c)
986 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
990 * hildon-widgets/hildon-color-button.c:
991 - removed unused #include
992 - removed unused gettext macro
994 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
995 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
996 + value updated to match specifications
998 (struct _HildonColorButtonPrivate):
999 removed 'drawing_area' and 'pixbuf' members (unused)
1001 (hildon_color_button_init):
1002 use drawing_area directly, update COLOR_FILLED_ macro names
1004 (hildon_color_button_unrealize): new function.
1005 (hildon_color_button_class_init): register unrealize function
1006 (hildon_color_button_finalize): free allocated GC in unrealize
1007 handler instead of in finalize.
1009 (hildon_color_button_recolor_pixbuf): removed. (use
1010 gdk_draw_rectangle() instead)
1011 (hildon_color_button_draw_pixbuf_borders): likewise
1013 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
1015 (hildon_color_button_set_property): queue the drawing - instead of
1016 calling recolor_pixbuf
1018 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
1021 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1023 More cleanup for range editor,
1025 * hildon-widgets/hildon-range-editor.[ch]
1026 - removed useless includes
1027 (hildon_range_editor_new_with_separator): set char parameter 'const'
1029 * hildon-widgets/hildon-range-editor.c
1030 - removed useless includes
1031 - rewritten a lot of functions because code was inefficient.
1032 - removed useless g_return_if_fail calls from various functions.
1034 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
1035 (hildon_range_editor_entry_keypress): rewritten
1036 (hildon_range_editor_entry_focus_out): rewritten
1037 (hildon_range_editor_refresh_widths): New function
1038 (hildon_range_editor_set_range): Make sure that the values are in
1040 (hildon_range_editor_set_lower): rewritten.
1041 (hildon_range_editor_set_higher): rewritten.
1042 (hildon_range_editor_set_min): rewritten.
1043 (hildon_range_editor_set_max): rewritten.
1045 (hildon_range_editor_entry_validate): New validator function
1046 (hildon_range_editor_entry_changed): New signal handler for
1047 "changed" for entries, this will now validate whenever entry changes.
1049 (hildon_range_editor_entry_focus_out): Added g_assert for
1050 editor. Removed call to hildon_range_editor_apply_current_range().
1051 Added call to the new function hildon_range_editor_entry_validate()
1054 (hildon_range_editor_init): connected
1055 hildon_range_editor_entry_changed to "changed" for entries.
1058 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1060 Major cleanup for time editor
1062 * hildon-widgets/hildon-time-editor.c
1063 - removed unused #includes.
1064 - Removed useless g_return_if_fail(editor) calls
1065 (HILDON_IS_TIME_EDITOR does this check as well for us).
1067 (hildon_time_editor_add_style): removed, obsolete.
1068 (hildon_time_editor_mnemonic_activate): removed, obsolete
1069 (hildon_time_editor_get_max_values): removed, obsolete.
1071 (validated_conversion): New helper function
1073 (hildon_time_editor_entry_changed): New function, now the widget
1074 interactively validates the inputted contents (not requiring focus
1077 (ticks_to_time): rewritten, using less arithmetic operations.
1078 (hildon_time_editor_validate): rewritten
1079 (hildon_time_editor_set_ticks): rewritten
1080 (hildon_time_editor_set_duration_mode): rewritten
1081 (hildon_time_editor_entry_keypress): rewritten
1083 * hildon-widgets/hildon-time-editor.[ch]
1084 (hildon_time_editor_set_show_hours)
1085 (hildon_time_editor_get_show_hours) new functions to show/hide hours
1088 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1090 Cleanup number editor
1092 * hildon-widgets/hildon-number-editor.c:
1093 (SPACE_BORDER): removed
1095 (hildon_number_editor_size_request):
1096 (hildon_number_editor_size_allocate): updated to use hildondefines
1098 (hildon_number_editor_mnemonic_activate): function removed,
1099 mnemonic are not used
1101 (hildon_number_editor_stop_repeat_timer): new function, to avoid
1103 (hildon_number_editor_button_release):
1104 (hildon_number_editor_finalize): updated to use new function
1106 (hildon_number_editor_entry_keypress): completely rewritten
1107 (change_numbers): likewise
1108 (do_mouse_timeout): likewise
1109 (hildon_number_editor_set_range): likewise
1111 (hildon_number_editor_validate_value): new function, used for all
1113 (hildon_number_editor_focus_out):
1114 (hildon_number_editor_entry_changed): updated to use previous.
1116 (hildon_number_editor_real_set_value): new function that formats
1117 given int to field. Used by change_numbers and set_value
1119 (integer_to_string): removed, we now have one place that
1120 converts numbers and that uses buffer from stack.
1121 (hildon_number_editor_set_value): changed to use new format function.
1124 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1126 * hildon-widgets/hildon-time-picker.c:
1127 reorganized how the widgets are stored to reduce code
1128 (HildonTimePickerWidgetGroup): new struct
1129 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
1130 (hildon_time_picker_init)
1131 (hildon_time_picker_arrow_press)
1132 (hildon_time_picker_event_box_key_press)
1133 (hildon_time_picker_change_time)
1134 (hildon_time_picker_map)
1135 (hildon_time_picker_event_box_key_release): use new widget organization
1138 (hildon_time_picker_init): return value from nl_timeinfo() is
1139 valid only until it's called again, so g_strdup() the value when
1142 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
1143 (HILDON_TIME_PICKER_LABEL_X_PADDING)
1144 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
1145 (hildon_time_picker_set_time):
1146 (hildon_time_picker_get_time):
1147 (hildon_time_picker_ampm_release): used the new defines
1149 (struct _HildonTimePickerPrivate)
1150 (hildon_time_picker_init)
1151 (hildon_time_picker_event_box_key_press)
1152 (hildon_time_picker_change_time):
1153 - c12h renamed to show_ampm,
1154 - ampo_pos renamed to ampm_left.
1156 (hildon_time_picker_timeout): renamed to
1157 hildon_time_picker_key_repeat_timeout(),
1158 and renamed parameter to 'hildon_time_picker'
1160 (hildon_time_picker_event_box_press): renamed to
1161 hildon_time_picker_event_box_button_press()
1163 (hildon_time_picker_finalize): Added finalizer to make sure the
1164 key repeat timeout handler gets removed.
1166 (hildon_time_picker_arrow_press): Placed multipliers into
1167 button_multipliers[] array to avoid multiple if/then/else
1171 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1173 * hildon-libs/hildon-find-toolbar.c (hildon_find_toolbar_filter):
1174 calculates correctly which items will be visible. Fixes N#16991.
1177 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1179 * hildon-widgets/hildon-find-toolbar.c
1180 (hildon_find_toolbar_history_append): set "column" property only
1181 after model has been set.
1184 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1186 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
1187 the parameter more descriptively
1190 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1194 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
1196 * hildon-widgets/hildon-app.[ch]
1197 (hildon_zoom_level_get_type): removed G_CONST_RETURN
1199 * hildon-widgets/hildon-app.c:
1200 - removed HILDON_DISABLE_DEPRECATED flags
1201 - added g_assert'ions to internal functions
1202 - more code comments
1204 (hildon_app_button): Move the fixed define to the function itself,
1205 add simple autodetection, clean up comments.
1207 (hildon_app_key_release): Remove bogus argument to signal emission
1208 (not needed), emit the "fullscreen_state_change" directly instead
1209 of calling set_fullscreen.
1211 (hildon_app_construct_title): removed dead code
1213 (hildon_app_register_view_with_id): do not call g_slist_nth() to
1214 get the first element...
1217 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1219 * hildon-widgets/hildon-appview.c:
1220 (hildon_appview_init): indented comments properly
1221 (paint_toolbar): indented comments properly
1222 (hildon_appview_expose): indented code properly
1223 (hildon_appview_toolbar_toggle_request): removed dead code
1226 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1228 * hildon-widgets/hildon-caption.c
1229 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
1230 (hildon_caption_size_allocate): likewise.
1231 (hildon_caption_forall): likewise.
1234 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1236 Cleanup Find toolbar,
1238 * hildon-widgets/hildon-find-toolbar.[ch]
1239 (hildon_find_toolbar_new): set 'label' parameter const.
1240 (hildon_find_toolbar_new_with_model): likewise.
1242 * hildon-widgets/hildon-find-toolbar.c
1243 (struct _HildonFindToolbarPrivate):
1244 changed entry_combo_box type to GtkComboBoxEntry*
1246 (hildon_find_toolbar_get_list_model): new function, to factor
1247 member access and casting
1248 (hildon_find_toolbar_get_entry): likewise.
1249 (hildon_find_toolbar_apply_filter): removed set_column parameter
1250 since it was used by only one caller, and made the caller do it
1251 instead. Removed unnecessary casts.
1253 (hildon_find_toolbar_find_string): new function.
1254 (hildon_find_toolbar_history_append): code cleanup. use
1255 hildon_find_toolbar_find_string.
1257 (hildon_find_toolbar_get_property)
1258 (hildon_find_toolbar_get_entry)
1259 (hildon_find_toolbar_init)
1260 (hildon_find_toolbar_new)
1261 (hildon_find_toolbar_new_with_model)
1262 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
1263 and changed some of them to use the new convenience functions
1266 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
1267 instead of if-check to validate parameter.
1270 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1272 Cleanup hildon-defines,
1274 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
1275 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
1277 (hildon_logical_data_free): new function. Free logical data.
1278 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
1279 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
1281 * hildon-widgets/hildon-defines.[ch]
1282 (hildon_gtk_widget_set_logical_font): use const gchar*
1283 (hildon_gtk_widget_set_logical_color): likewise.
1285 * hildon-widgets/hildon-defines.c:
1286 (hildoniconsizes): set const
1287 (hildoninternaliconsizes): set static, renamed 'iis'
1290 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1292 Cleanup Caption widget,
1294 * hildon-libs/hildon-caption.[ch]
1295 (hildon_caption_status_get_type, hildon_caption_get_type):
1296 G_CONST_RETURN removed, G_GNUC_CONST added
1298 * hildon-widgets/hildon-caption.c
1300 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
1302 (hildon_caption_set_property): removed useless code.
1303 (hildon_caption_button_press): simplified greatly by removing the
1304 unnecessary recursion to locate the first focusable child of a
1305 container - simple gtk_widget_grab_focus achieves the same
1306 (get_first_focusable_child): removed (not used anymore)
1308 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
1310 (hildon_caption_set_focus_child): removed (not used anymore)
1311 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
1313 (hildon_caption_hierarchy_changed): type check added
1314 (hildon_caption_forall): callback null check added
1315 (hildon_caption_set_status): type check added
1316 (hildon_caption_set_icon_image): type check added
1317 (hildon_caption_activate): activate_block kludge removed as outdated
1318 (hildon_caption_get_child_expand): argument declared const
1319 (hildon_caption_set_label_text): g_return_if_fail changed to
1320 g_assert since this is not a public function;
1321 Duplicate separator check now uses correct localized separator
1322 instead of assuming ':'
1325 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1329 * hildon-libs/hildon-appview-c:
1330 (hildon_app_view_init): Fixed a problem that prevented to set an
1331 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
1332 between toolbars). This fix involves a change in the default gtkrc
1333 file, ie. the modification of the 'border' value of the
1334 "toolbar-frame-middle" image in the osso-appview-background style.
1336 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
1337 widget supporting adjustements, not only viewports.
1339 (visible_toolbar): use proper parameter names
1340 (find_findtoolbar_index): likewise.
1341 (find_findtoolbar): likewise.
1343 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
1344 (hildon_appview_finalize): likewise.
1345 (hildon_appview_signal_marshal): likewise.
1346 (hildon_appview_forall): likewise.
1347 (hildon_appview_switched_to): likewise.
1348 (hildon_appview_real_fullscreen_state_change): likewise.
1351 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1353 * hildon-widgets/hildon-date-editor.c
1354 (hildon_date_editor_entry_validate): Now, if an invalid date is
1355 entered, date-editor reverts to previous date, instead of setting
1356 the maximum allowed days.
1359 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1361 * hildon-widgets/hildon-date-editor.h
1362 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1364 * hildon-widgets/hildon-date-editor.c
1365 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1366 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1369 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1371 * hildon-widgets/hildon-get-password-dialog.c:
1372 (hildon_get_password_dialog_set_title): Removed the deprecation
1373 #ifdefs from the .c file.
1375 * hildon-widgets/hildon-file-handling-note.c: likewise.
1379 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1381 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1383 * hildon-widgets/hildon-color-selector.c
1384 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1385 (hildon_color_selector_expose)
1386 (hildon_color_selector_get_color)
1387 (hildon_color_selector_set_color)
1390 (modify_focused): Separate selected color and focused color.
1391 Focused color now draws a different colored border around it.
1392 Renamed modify_selected() to modify_focused().
1394 * hildon-widgets/hildon-color-selector.c
1395 (hildon_color_selector_expose)
1396 (select_color): Changed the logic in how the box positions are
1397 calculated. The old logic was wrong, but just happened to work
1398 with those specific values.
1400 * hildon-widgets/hildon-color-selector.c
1401 (hildon_color_selector_expose): Draw the selected-border using
1402 ImageBorderColor color instead of hardcoded black.
1405 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1407 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1408 removed current_color; use initial_color directly.
1409 Disabled select-hardkey from activating to OK-button by default.
1412 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1414 * hildon-widgets/hildon-date-editor.c
1415 (hildon_date_editor_keypress): removed the unnecessary check for
1416 the position of the cursor in the text-field which was hindering
1417 the Left key from working as expected.
1420 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1422 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1423 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1425 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1427 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1430 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1432 * hildon-widgets/hildon-font-selection-dialog.c
1433 (hildon_font_selection_dialog_show_preview): set line wrap for
1437 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1439 * hildon-widgets/hildon-date-editor.c
1440 (hildon_child_forall): cast 'container'
1441 (hildon_date_editor_size_allocate): adjusted height allocation.
1444 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1446 Cleanup calendar popup,
1448 * hildon-widgets/hildon-calendar-popup.c:
1449 - updated 'longdesc' comment.
1450 - removed gtk-infoprint.h from included headers (unused).
1452 (struct HildonCalendarPopupPrivate): removed member
1453 'can_exit' (useless).
1454 (hildon_calendar_day_selected): removed (useless).
1455 (hildon_calendar_allow_exit): likewise.
1456 (hildon_calendar_deny_exit): likewise.
1458 (hildon_calendar_selected_date): new function. replaces
1459 hildon_calendar_allow_exit()
1461 (hildon_calendar_popup_init):
1462 - Removed initialization for 'can_exit'.
1463 - Removed connection to removed useless functions.
1464 - Connect "selected_date" to hildon_calendar_selected_date().
1465 - Do not grab the focus (useless)
1467 (hildon_key_pressed): just handle ESC and Return keys.
1469 (hildon_calendar_popup_get_property): removed unused variables.
1472 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1474 * hildon-widgets/hildon-caption.c
1475 * hildon-widgets/hildon-composite-widget.h
1476 * hildon-widgets/hildon-get-password-dialog.c
1477 * hildon-widgets/hildon-grid.h
1478 * hildon-widgets/hildon-grid-item.h
1479 * hildon-widgets/hildon-volumebar-range.c
1480 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1482 (hildon_controlbar_get_type): likewise.
1484 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1486 * doc/hildon-libs.types: Add missing types
1487 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1488 * doc/tmpl/*: Regenerate and add new files
1490 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1493 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1495 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1497 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1498 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1500 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1504 * doc/Makefile.am: Update gtk-doc framework bits
1505 * gtk-doc.make (commit generated file)
1506 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1508 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1509 * hildon-widgets/hildon-code-dialog.c:
1513 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1515 * hildon-widgets/hildon-window.c: propagate key-press event to the
1516 parent class (Closes N#23400)
1517 * configure.ac: 0.12.3
1519 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1521 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1523 * configure.ac: 0.12.2
1526 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1528 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1529 g_assert instead of g_return_val_if_fail
1534 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1536 * hildon-widgets/hildon-get-password-dialog.[ch]:
1537 (hildon_get_password_dialog_set_title) marked deprecated.
1539 + cleanup header coding style
1542 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1544 Cleanup font selection dialog
1546 * hildon-widgets/hildon-font-selection-dialog.c
1548 (hildon_font_selection_dialog_construct_notebook): removed dummy
1551 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1553 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1554 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1556 (toggle_clicked): renamed argument 'data' to 'unused'
1558 (hildon_font_selection_dialog_set_preview_text): added proper
1562 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1564 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1565 removed console messages.
1568 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1570 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1571 (struct _HildonSortDialogPrivate):
1572 - removed okButton, cancelButton
1573 - removed sort_by_value, sort_order_type
1574 - removed index_first
1575 - renamed combo1 to combo_key
1576 - renamed caption1 to caption_key
1577 - renamed combo2 to combo_order
1578 - renamed caption2 to cpation_order
1580 (hildon_sort_dialog_init): removed init of unused fields.
1581 use new field names.
1582 (hildon_sort_dialog_get_sort_key): likewise.
1583 (hildon_sort_dialog_get_sort_order): likewise.
1584 (hildon_sort_dialog_set_sort_key): likewise.
1585 (hildon_sort_dialog_set_sort_order): likewise.
1586 (hildon_sort_dialog_add_sort_key): likewise.
1588 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1590 * hildon-widgets/hildon-date-editor.c
1591 (hildon_child_forall): use g_assert instead of g_return_if_fail
1592 (hildon_date_editor_entry_validate): likewise.
1595 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1597 * hildon-widgets/hildon-controlbar.c
1598 (hildon_controlbar_change_value): commented function.
1600 * hildon-widgets/hildon-wizard-dialog.c
1601 (hildon_wizard_dialog_get_property): likewise.
1604 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1606 Cleanup weekday picker,
1608 * hildon-widgets/hildon-weekday-picker.c
1609 (_): removed unused gettext macro
1610 (button_toggle): use meaningful parameter name
1611 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1612 (hildon_weekday_picker_size_allocate): likewise.
1613 (button_toggle): likewise.
1616 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1618 Cleanup time editor,
1620 * hildon-widgets/hildon-time-editor.c
1621 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1622 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1623 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1624 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1626 (struct _HildonTimeEditorPrivate):
1627 - h_entry, m_entry, s_entry replaced by entries[],
1628 allows to remove a lot of code.
1629 - label renamed to hm_label
1630 - label2 renamed to sec_label
1631 - ampm renamed to ampm_label
1632 - show_s renamed to show_seconds
1633 - removed fields: icon, valid_value, validated
1635 + moved up in the file.
1637 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1639 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1641 (set_widget_allocation): removed
1642 (hildon_time_editor_entry_changed): removed
1644 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1646 (hildon_time_editor_forall): removed unnecessary code
1647 (hildon_time_editor_destroy): likewise.
1649 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1651 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1653 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1654 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1655 use new variable names,
1656 use hildon_time_editor_set_to_current_time
1658 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1659 (hildon_time_editor_set_ticks): use g_assert instead of
1660 g_return_if_fails, use
1661 'entries[]', removed dead code
1663 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1664 (hildon_time_editor_validate): use 'entries[]', removed dead code
1665 (hildon_time_editor_get_max_values): use 'entries[]'
1668 (hildon_time_editor_get_show_seconds): use new variable names
1669 (hildon_time_editor_set_duration_mode): likewise.
1671 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1673 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1675 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1677 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1679 (set_widget_allocation): removed (unused)
1680 (hildon_time_editor_entry_changed): removed (unused)
1682 (IS_VALID_KEYPRESS): new macro
1683 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1684 deleate dead/unnecessary code
1686 use IS_VALID_KEYPRESS
1688 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1690 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1692 (hildon_time_editor_size_allocate): cleanup
1693 (convert_to_12h): cleanup code style
1695 (hildon_time_editor_show_seconds): removed deprecation flag
1696 (hildon_time_editor_enable_duration_mode): likewise.
1699 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1701 Cleanup volume bars,
1703 * hildon-widgets/hildon-volumebar.h: removed unused #include
1704 + coding style cleanup
1706 * hildon-widgets/hildon-volumebar.c
1707 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1709 (hildon_child_forall): use g_assert instead of g_return_if_fail
1711 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1712 + coding style cleanup
1714 * hildon-widgets/hildon-volumebar-private.h:
1715 added missing #include.
1716 added _hildon_volumebar_mute_toggled.
1717 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1721 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1722 + coding style cleanup
1724 * hildon-widgets/hildon-vvolumebar.c
1725 (hildon_vvolumebar_size_request)
1726 (hildon_vvolumebar_size_allocate)
1727 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1729 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1731 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1732 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1733 (vvolumebar_init): renamed to hildon_vvolumebar_init
1734 (hildon_vvolumebar_init): removed unused 'orientation'
1735 initialisation. Use _hildon_volumebar_mute_toggled instead of
1736 removed hildon_vvolumebar_mute.
1740 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1742 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1743 renamed to hildon_hvolumebar_class_init
1745 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1746 hildon_hvolumebar_init
1748 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1751 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1752 removed unused 'orientation' initialisation.
1754 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1755 _hildon_volumebar_mute_toggled instead of removed
1756 hildon_hvolumebar_mute.
1759 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1763 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1764 coding style cleanup
1766 * hildon-widgets/hildon-color-popup.h: likewise.
1768 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1771 * hildon-widgets/hildon-color-selector.c
1772 (hildon_color_selector_new): use g_return_val_if_fail instead of
1774 (select_color): use g_assert instead of g_return_if_fail
1776 * hildon-widgets/hildon-calendar-popup.c
1777 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1781 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1783 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1784 added HildonCodeDialog widget
1787 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1789 * hildon-widgets/hildon-window.c:
1790 - set the toolbar height explicitely
1791 - use show instead of show_all on the common_toolbar
1792 - add the toolbars bottom-up instead of top-down
1793 * hildon-widgets/hildon-program.c:
1794 - don't assume that a window was realized when added to
1798 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1800 Cleanup font selection dialog,
1802 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1803 + coding style cleanup
1805 * hildon-widgets/hildon-font-selection-dialog.c
1806 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1807 instead of g_assert.
1809 * hildon-widgets/hildon-font-selection-dialog.c
1810 (hildon_font_selection_dialog_get_text_tag)
1811 (hildon_font_selection_dialog_set_buffer)
1812 (hildon_font_selection_dialog_get_font)
1813 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1816 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1818 Cleanup range editor,
1820 * hildon-widgets/hildon-range-editor.c
1821 (hildon_range_editor_calss_init):Removed
1822 widget_calss->mnemonic_activate init
1824 * hildon-widgets/hildon-range-editor.c
1825 (hildon_range_editor_mnemonic_activate): Removed static function
1826 hildon_range_mnemonic_activate and FIXME. It is useless even
1827 through it is overriding function for
1828 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1829 focus will be realized based on different applications.
1831 * hildon-widgets/hildon-range-editor.c
1832 (is_valid_keyvalue_for_entry_keypress): new function.
1834 * hildon-widgets/hildon-range-editor.c
1835 (hildon_range_editor_entry_keypress): uses
1836 is_valid_keyvalue_for_entry_keypress
1838 * hildon-widgets/hildon-range-editor.c
1839 (hildon_range_editor_forall): use g_return_if_fail instead of
1842 * hildon-widgets/hildon-range-editor.cvn
1843 (hildon_range_editor_mnemonic_activate): removed. (unused)
1846 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1848 Cleanup hildon-note,
1850 * hildon-widgets/hildon-note.[ch]
1852 (hildon_note_five_line_truncate): removed.
1853 (hildon_note_one_line_truncate): removed.
1855 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1856 instead of _{one|five}_line_truncate() functions.
1859 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1860 into wrapper of "hildon_note_new_information_with_icon_name".
1862 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1863 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1865 - removed some unnessecary includes.
1867 - Merged hildon_note_create & hildon_note_create_form and rewrote
1868 the combination as hildon_note_rebuild
1870 - Added missing g_return_* into public functions.
1872 - Acquire real references to children which are packed/unpacked,
1873 so we do not need to bother about refcounting while changing the
1877 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1881 * hildon-widgets/hildon-number-editor.c
1883 (set_widget_allocation): use const parameter.
1885 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1887 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1888 (hildon_number_editor_set_range): removed 'negative'
1891 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1892 use g_assert instead of g_return_if_fail
1895 * hildon-widgets/hildon-time-picker.c:
1896 - in several places, replace 1440 by 24*60
1897 (PROP_AMPM): removed, unused.
1898 (hildon_time_picker_timeout): use significant parameter name,
1900 (hildon_time_picker_init): removed useless call to _change_time()
1903 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1907 * hildon-widgets/hildon-seekbar.c
1909 (_): Removed dgettext macro definition.
1911 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1913 (hildon_seekbar_finalize): removed. not needed.
1914 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1916 (hildon_seekbar_size_request): indent cleanup.
1918 (hildon_seekbar_size_allocate): simplified function.
1920 (hildon_seekbar_button_press_event): Removed unused variables.
1921 (hildon_seekbar_button_release_event): likewise.
1924 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1926 Cleanup date editor,
1928 * hildon-widgets/hildon-date-editor.c
1930 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1931 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1933 (hildon_date_editor_get_font_width): removed (legacy static
1934 function), use gtk_entry_set_width_chars instead.
1936 (hildon_date_editor_mnemonic_activate): removed mnemonic
1937 activation handler, since it's no more used by HildonCaption.
1940 - Removed some meaningless code (if (somewidget != NULL)) from
1943 - HEAVILY modified key_press, completely removed if/grab_focus
1944 spaghetti by gtk_widget_child_focus
1946 - Removed input validation from keypress (that would not work
1947 anyway, since our input method do not generate presses). => This
1948 allows to change default return value to FALSE and remove all cases
1949 that just returned FALSE for some keys.
1951 - Merged all *_entry_changed callbacks to use the same
1952 function. Again using gtk_widget_child_focus, but now with return
1953 value as well to detect last field.
1955 - Changed that calendar button is no more implemented through
1956 changing widget hierarchy (old implementation caused critical
1957 issues when you used both stylus and hardkeys at the same time to
1958 popup. => finalize method no longer contained anything => removed
1960 - Locale type is no longer needed after initial setup.
1962 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1963 hack from the days of background dimming (it was important to
1964 process background updates before the dimming was done).
1966 - Changed the field order/delimeters to be correcly derived form
1969 - Rewrote validation function, combined it with validation done in
1970 focus_out (since both are now called at the same time).
1972 - Changed set_date function to set all components at one go
1973 without doing any validation there between (before setting each
1978 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1980 Cleanup set-password dialog
1982 * hildon-widgets/hildon-set-password-dialog.[ch]
1983 (hildon_set_password_dialog_set_domain): gchar * param is const
1984 (hildon_set_password_dialog_new_with_default): likewise.
1986 * hildon-widgets/hildon-set-password-dialog.c
1988 (hildon_set_password_set_property): setting 'modify-protection'
1991 (hildon_set_password_get_property): fixed broken 'domain' (missing
1992 break statement!) and 'modify-protection' (was a null operation)
1993 properties; code simplified.
1995 (hildon_set_password_dialog_constructor),
1997 (hildon_set_password_dialog_class_init),
1998 (hildon_set_password_dialog_init):
1999 hildon_set_password_dialog_constructor removed as weird and
2000 obsolete and replaced with new function create_contents; fixed
2001 leaking group variable; removed some unused, outdated code that
2002 was already commented out.
2004 (hildon_set_password_response_change),
2005 (hildon_set_password_response_set): GtkWindow *parent arguments
2006 changed to gpointer unused; cleaned up unnecessary strcmp's
2008 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
2009 checkbox). gpointer renamed to be more descriptive; Code simplified
2011 (hildon_set_password_dialog_get_type): empty function argument
2012 list replaced with void keyword.
2014 (hildon_set_password_dialog_new),
2015 (hildon_set_password_dialow_new_with_default): simplified by
2016 having the simpler constructor call the more complex one, not vice
2017 versa; moved callback connects to create_contents since they
2018 depend on the status of 'modify-protection' property
2020 (hildon_set_password_dialog_get_password): type check added
2021 (hildon_set_password_dialog_get_protected): likewise
2022 (hildon_set_password_dialog_set_domain): likewise
2025 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2027 Cleanup name-password dialog:
2029 * hildon-widgets/hildon-name-password-dialog.[ch]
2031 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
2032 types changed from *HildonCaption to *GtkEntry
2034 (hildon_name_password_dialog_set_property): layout fixes;
2035 duplicated code replaced with calls to relevant public functions
2037 (hildon_name_password_dialog_get_property): layout fixes;
2038 duplicated code replaced with calls to relevant public functions
2040 (hildon_name_password_dialog_init): fixed leaking group variable;
2041 reworked to have captions as local variables and captioned entries
2042 in the private struct
2044 (hildon_name_password_dialog_new_with_default): name and password
2045 arguments declared const
2047 (hildon_name_password_dialog_get_name): type check added + cleanup
2048 (hildon_name_password_dialog_get_password): likewise.
2050 (hildon_name_password_dialog_set_domain): domain argument declared
2051 const; type check added + cleanup
2054 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2056 Cleanup get-password dialog:
2058 * hildon-widgets/hildon-get-password-dialog.[ch]
2060 (HildonGetPasswordDialogPrivate): gboolean get_old added
2062 (hildon_get_password_set_property): fixed broken 'numbers-only'
2063 and 'max-characters' cases; 'get-old' property added
2065 (hildon_get_password_get_property): added support for reading
2066 'numbers-only' properties; added missing break to 'domain' case.
2067 added 'get-old' property
2069 (hildon_get_password_dialog_class_init): 'domain' and
2070 'numbers-only' properties are now readable; 'get-old' property
2073 (hildon_get_password_dialog_init, create_contents): everything
2074 that depends on the type of the dialog (i.e. 'get-old' property)
2075 is now done in create_contents after properties are initialized;
2076 fixed leaking group variable
2078 (hildon_get_password_dialog_get_type): empty function argument
2079 list replaced with void keyword
2081 (hildon_get_password_dialog_new): moved setting the labels of the
2082 get password dialog to init where it should be done; 'get-old'
2083 property set upon construction to achieve this
2085 (hildon_get_password_dialog_new_with_default): password argument
2088 (hildon_get_password_dialog_get_password): type check added
2089 (hildon_get_password_dialog_set_domain): type check added; domain
2090 argument declared const; duplicate function declaration removed
2092 (hildon_get_password_dialog_set_title): type check added;
2093 new_title argument declared const
2095 (hildon_get_password_dialog_set_caption): type check added;
2096 new_caption argument declared const
2098 (hildon_get_password_dialog_set_max_characters): broken type check fixed
2099 (_invalid_input): gpointer data argument renamed unused
2102 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2104 (*_get_type): declared G_GNUC_CONST
2106 * hildon-widgets/hildon-app.h:
2107 * hildon-widgets/hildon-appview.h:
2108 * hildon-widgets/hildon-calendar-popup.h:
2109 * hildon-widgets/hildon-color-selector.h:
2110 * hildon-widgets/hildon-date-editor.h:
2111 * hildon-widgets/hildon-find-toolbar.h:
2112 * hildon-widgets/hildon-get-password-dialog.h:
2113 * hildon-widgets/hildon-name-password-dialog.h:
2114 * hildon-widgets/hildon-number-editor.h:
2115 * hildon-widgets/hildon-seekbar.h:
2116 * hildon-widgets/hildon-set-password-dialog.h:
2117 * hildon-widgets/hildon-sort-dialog.h:
2118 * hildon-widgets/hildon-time-editor.h:
2119 * hildon-widgets/hildon-weekday-picker.h:
2120 * hildon-widgets/hildon-wizard-dialog.h:
2122 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2126 * hildon-widgets/hildon-volumebar.c
2127 (hildon_volumebar_class_init): object class casts cleaned up
2128 (hildon_child_forall): removed unnecessary variable vbar; type check added
2129 (hildon_volumebar_set_property): removed unnecessary variable vbar
2130 (hildon_volumebar_set_level): type check added
2131 (hildon_volumebar_get_level): type check added
2132 (hildon_volumebar_set_mute): type check added
2133 (hildon_volumebar_get_mute): type check added
2134 (hildon_volumebar_get_adjustment): type check added
2135 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
2137 * hildon-widgets/hildon-volumebar.h
2138 (hildon_volumebar_get_type): declared G_GNUC_CONST
2140 * hildon-widgets/hildon-volumebar-private.h:
2141 - G_BEGIN_DECLS/G_END_DECLS added
2142 - ownorientation removed from private struct
2144 * hildon-widgets/hildon-volumebar-range.c
2145 (hildon_volumebar_range_init): vacuous return statement removed
2147 (hildon_volumebar_range_set_level): removed unnecessary clamping
2148 kludge that violated object oriented principles only to provide an
2149 extremely minor, unnecessary optimization; type check added
2151 (hildon_volumebar_range_get_level): now accesses adjustment value
2152 with appropriate functions instead of reading it directly from the
2153 struct, which is bad OOP; type check added
2155 (hildon_volumebar_range_button_press_event): Added more descriptive comments
2156 (hildon_volumebar_range_button_release_event): Added more descriptive comments
2158 * hildon-widgets/hildon-volumebar-range.h
2159 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
2161 * hildon-widgets/hildon-hvolumebar.c
2162 (hvolumebar_init): priv->ownorientation and v_ptr removed;
2163 completely removed the gtk_widget_show() call that was already
2166 (hildon_hvolumebar_new): empty function parameter list replaced
2169 (hildon_hvolumebar_map): vbar variable removed; type check added
2170 (hildon_hvolumebar_expose): type check added
2171 (hildon_hvolumebar_size_request): type check added
2172 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
2174 * hildon-widgets/hildon-hvolumebar.h
2175 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
2177 * hildon-widgets/hildon-vvolumebar.c
2178 (vvolumebar_init): priv->ownorientation and v_ptr removed
2179 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
2181 (hildon_vvolumebar_expose): type check added
2182 (hildon_vvolumebar_size_request): type check added
2183 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
2185 * hildon-widgets/hildon-vvolumebar.h
2186 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
2189 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2191 * hildon-widgets/hildon-weekday-picker.c
2192 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
2193 last_index; added day_order_buttons
2195 (hildon_weekday_picker_mnemonic_activate): removed.
2196 mnemonics are no longer used.
2198 (hildon_weekday_picker_class_init): Removed mnemonic_activate
2199 function. Rewritten creation of buttons. Unref'ed size group.
2201 (button_toggle): Removed bit mask checking, simplified function
2203 (hildon_weekday_picker_set_day):
2204 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
2205 adjustment, unecessary for loop
2207 (hildon_weekday_picker_toggle_day): Removed date adjustment and
2208 unecessary for loop. Simplified button toggling
2210 (hildon_weekday_picker_set_all):
2211 (hildon_weekday_picker_unset_all): Removed bit mask checking and
2214 (hildon_weekday_picker_isset_day): Removed date adjustment and
2215 unecessary for loop;
2217 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2219 Added hildon-banner, as a clean replacement for gtk-infoprint
2220 * hildon-widgets/hildon-banner.[ch]: implementation and header
2221 * hildon-widgets/Makefile.am: reference new files
2222 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
2223 a compatibility wrapper to hildon-banner
2225 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2227 * hildon-widgets/hildon-color-button.c: added comments
2228 * hildon-widgets/hildon-controlbar.c: Likewise.
2229 * hildon-widgets/hildon-composite-widget.c: Likewise.
2230 * hildon-widgets/hildon-calendar-popup.c: Likewise.
2232 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2234 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
2237 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2239 * configure.ac: 0.12.1
2241 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
2243 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
2244 * doc/tmpl/hildon-window.sgml: likewise.
2245 * hildon-widgets/hildon-program.[ch]: likewise.
2246 * hildon-widgets/hildon-window.[ch]: likewise.
2247 * hildon-widgets/hildon-window-private.h: likewise.
2248 * hildon-widgets/Makefile.am: Added these new files to the build
2251 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
2253 * configure.ac: 0.12.0
2255 Merged hildon-lgpl into hildon-libs (and hildon-fm)
2257 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
2258 * doc/tmpl/hildon-appview.sgml: likewise.
2259 * doc/tmpl/hildon-color-popup.sgml: likewise.
2260 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
2261 * doc/tmpl/hildon-app.sgml: likewise.
2262 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
2263 * doc/tmpl/hildon-caption.sgml: likewise.
2264 * doc/tmpl/hildon-marshalers.sgml: likewise.
2265 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
2266 * doc/tmpl/hildon-defines.sgml: likewise.
2267 * doc/tmpl/gtk-infoprint.sgml: likewise.
2268 * doc/tmpl/hildon-composite-widget.sgml: likewise.
2270 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
2271 * hildon-widgets/hildon-app.[ch]:likewise.
2272 * hildon-widgets/hildon-app-private.h:likewise.
2273 * hildon-widgets/hildon-appview.[ch]:likewise.
2274 * hildon-widgets/hildon-caption.[ch]:likewise.
2275 * hildon-widgets/hildon-defines.[ch]:likewise.
2276 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
2277 * hildon-widgets/hildon-input-mode-hint.h:likewise.
2279 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
2280 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
2284 hildon-app-private.h
2288 hildon-find-toolbar.[ch]
2289 hildon-input-mode-hint.h
2291 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
2292 path for gtk-infoprint.h and hildon-input-mode-hint.h
2294 * po/en_GB.po: merged msgstr from hildon-lgpl
2296 * timer/*: added from hildon-lgpl
2300 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
2302 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
2305 * ut/hildon-widgets_tests.c (test41a): removed test case for
2306 hildon_file_details_dialog
2308 * doc/hildon-libs.types: likewise.
2309 * doc/hildon-libs-docs.xml: likewise.
2315 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
2318 * Makefile.am (SUBDIRS): added timer/
2320 * configure.ac: do not depend anymore on hildon-lgpl nor
2321 hildon-fm, check for libmb, added Makefile output for timer/
2325 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2327 * configure.ac: 0.10.2
2329 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2331 N#22240 CP: Tapping outside the scroll bar invoke the applet.
2332 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
2333 hildon-apps scroll-control property is now handled.
2334 (get_child_index_by_coord): ignores events not matching a grid
2337 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2339 * configure.ac: 0.10.1
2341 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2343 Missing/Buggy documentation from,
2344 N#11566 make password dialog customizable (messages)
2345 * hildon-widgets/hildon-get-password-dialog.c
2346 (hildon_get_password_dialog_set_title): typo in gtkdoc function
2348 * doc/tmpl/xxx.sgml: updated.
2350 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2352 N#19369 TRUE Scketch does not show colour change when using white color
2354 Color button needs inner border white, and outer border black.
2355 * hildon-widgets/hildon-color-button.c
2356 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
2358 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2359 (hildon_color_button_realize): call the above function
2361 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2363 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2364 * hildon-widgets/hildon-note.c:
2365 (hildon_note_new_confirmation_add_buttons): updated doc
2366 (hildon_note_set_button_texts): likewise.
2368 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2370 N#21884 Cannot select read-only by using the center of the scroll key
2371 * hildon-widgets/hildon-file-details-dialog.c
2372 (hildon_file_details_dialog_init): Removed dialog default response.
2374 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2376 N#8094 5-bit color selector: wrong margins and pixel measurements
2377 M#59 HildonColorSelector needs more space
2378 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2379 (hildon_color_popup_new): add space between the control bars and
2380 the color preview area.
2382 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2384 * hildon-widgets/hildon-calendar-popup.c
2385 * hildon-widgets/hildon-color-button.c
2386 * hildon-widgets/hildon-color-popup.c
2387 * hildon-widgets/hildon-color-selector.c
2388 * hildon-widgets/hildon-composite-widget.c
2389 * hildon-widgets/hildon-controlbar.c
2390 * hildon-widgets/hildon-date-editor.c
2391 * hildon-widgets/hildon-dialoghelp.c
2392 * hildon-widgets/hildon-file-details-dialog.c
2393 * hildon-widgets/hildon-font-selection-dialog.c
2394 * hildon-widgets/hildon-get-password-dialog.c
2395 * hildon-widgets/hildon-grid-item.c
2396 * hildon-widgets/hildon-grid.c
2397 * hildon-widgets/hildon-hvolumebar.c
2398 * hildon-widgets/hildon-name-password-dialog.c
2399 * hildon-widgets/hildon-note.c
2400 * hildon-widgets/hildon-number-editor.c
2401 * hildon-widgets/hildon-range-editor.c
2402 * hildon-widgets/hildon-scroll-area.c
2403 * hildon-widgets/hildon-seekbar.c
2404 * hildon-widgets/hildon-set-password-dialog.c
2405 * hildon-widgets/hildon-sort-dialog.c
2406 * hildon-widgets/hildon-time-editor.c
2407 * hildon-widgets/hildon-time-picker.c
2408 * hildon-widgets/hildon-volumebar-private.h
2409 * hildon-widgets/hildon-volumebar-range.c
2410 * hildon-widgets/hildon-volumebar.c
2411 * hildon-widgets/hildon-vvolumebar.c
2412 * hildon-widgets/hildon-weekday-picker.c
2413 * hildon-widgets/hildon-wizard-dialog.c
2416 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2418 * configure.ac: 0.10.0
2420 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2422 Some more properties for Gazpacho support,
2424 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2425 * hildon-widgets/hildon-color-selector.c: "color"
2428 * hildon-widgets/hildon-color-selector.[ch]
2429 (hildon_color_selector_get_color): return const pointer to the
2432 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2435 Gazpacho support, added the following properties:
2437 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2438 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2439 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2440 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2441 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2442 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2443 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2444 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2445 * hildon-widgets/hildon-number-editor.c: "value"
2447 * hildon-widgets/hildon-color-button.c: minor cleanup
2450 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2452 Started new development
2453 (branche for maintenance continues with versions 0.9.x)
2455 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2457 * configure.ac: 0.9.53
2459 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2462 N#19283 Control panel - The values entered are not saved.
2463 N#19648 Hildon Date Editor widget detects values too high
2464 (note: complete fix include also fixes in GTk+)
2466 * hildon-widgets/hildon-calendar-popup.c
2467 (hildon_calendar_popup_set_property),
2468 (hildon_calendar_popup_class_init),
2469 (init_dmy): Added 'min-year', 'max-year' properties for passing
2470 the information through from HildonDateEditor to GtkCalendar
2472 * hildon-widgets/hildon-date-editor.c:
2473 (hildon_date_editor_class_init),
2474 (hildon_date_editor_init),
2475 (hildon_date_editor_set_property),
2476 (hildon_date_editor_get_property),
2478 (hildon_date_editor_entry_validate),
2479 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2480 properties and replaced hardcoded constants with them
2482 * hildon-widgets/hildon-date-editor.c
2483 (hildon_date_editor_d_entry_changed),
2484 (hildon_date_editor_m_entry_changed),
2485 (hildon_date_editor_d_entry_changed): new functions to ensure that
2486 the fields are validated and the focus is moved when maximum
2487 number of characters has been entered.
2489 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2491 * configure.ac: 0.9.52
2493 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2495 N#19140 System alerts still audible despite being turned off
2497 * hildon-widgets/hildon-note.c (sound_handling):
2499 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2501 * hildon-note.c (sound_handling): Changed to use new
2502 hildon_play_system_sound.
2503 (hildon_note_init): Signal handler id is changed to be in private
2504 structure, not in global variable.
2506 * hildon-note.c: Removed unused defines etc.
2508 * Makefile.am: Appended new files to build rules.
2510 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2512 * configure.ac: 0.9.51
2514 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2516 N#20027 PDF Reader crashes on selecting read only option in the
2519 * hildon-widgets/hildon-file-details-dialog.c:
2520 (change_state): Fixed assertion that was causing problems
2521 (check_validity): New function: We now automatically close the
2522 dialog if the displayed file is removed.
2523 (handle_focus): Callback removed:
2524 (init): Now using correct gtk way to bind container and adjustment
2525 together. Not the previous callback.
2526 (set_property): Connecting/disconnecting new handlers (for
2528 (finalize): disconnecting new handler.
2530 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2532 N#17918 Volumebar widget background image doesn't change when
2533 widget goes into mute state,
2535 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2538 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2539 using the state of the internal volumebar, not the whole container
2541 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2542 using the state of the internal volumebar, not the whole container
2544 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2546 * hildon-widgets/hildon-dialoghelp.[ch]: added
2547 gtk_dialog_help_disable and fixed bug N#19468
2549 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2551 * configure.ac: Release 0.9.50
2553 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2557 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2559 * hildon-widgets/hildon-grid.c
2560 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2561 label by logical name "Ckct_wi_grid_no_items"
2564 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2566 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2568 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2570 * configure.ac: Release 0.9.49
2572 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2574 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2575 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2576 Save the id of the idle callback and remove it when the widget is
2577 destroyed to avoid crashing. N#18096
2579 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2581 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2582 id's are unsigned and undefined at zero (instead of signed and -1)
2584 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2586 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2587 that was not working. N#16805
2589 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2591 * configure.ac: Release 0.9.48
2593 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2595 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2596 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2597 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2599 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2601 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2602 Do not override the week-start property of GtkCalendar according to
2603 the hildon-libs PO file, it is automatically determined from locale
2606 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2608 * configure.ac: Release 0.9.47
2610 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2612 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2613 property for setting the password entry accept only numeric values.
2616 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2618 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2619 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2620 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2621 Use defines rather than magic numbers in the code.
2623 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2625 Update to new l10n packaging style. po-files (inside this package)
2626 are not used for now, the message catalogs come from separate packages
2627 and including them here would conflict.
2629 * Makefile.am (SUBDIRS): stop including po-files
2630 * Makefile.am (EXTRA_DIST):
2631 * debian/hildon-libs-l10n-engb.install:
2632 * debian/hildon-libs-l10n-src.install:
2633 * po/debian/*: Removed
2635 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2637 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2638 checks to cover gateway content as well.
2640 * hildon-widgets/hildon-time-editor.c:
2641 (hildon_time_editor_validate): Replace solid numbers with defined
2643 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2646 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2648 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2649 invalid cast from `GdkWindow' to `GtkWindow'
2651 * hildon-widgets/hildon-color-popup.c
2652 (hildon_popup_palette_expose): removed debug printing
2654 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2656 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2659 * hildon-widgets/hildon-scroll-area.c
2660 (hildon_scroll_area_destroy): one-instruction function:
2661 removed. Call g_free directly.
2663 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2664 right edge of window, size of the child is also shrinked. 'fixed'
2665 does not automatically update this data -> Doing it manually.
2667 * hildon-widgets/hildon-date-editor.h: added
2668 HildonDateEditorErrorType error enumeration type, removed signal
2669 "validate-date" virtual function, added signal "date-error"
2672 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2673 added custom info prints.
2674 (hildon_date_editor_validate_date): removed
2675 (hildon_date_editor_entry_validate): validate maximum and minimum
2676 limits on each field.
2677 (hildon_date_editor_entry_focus_out): check the date validation
2678 in simpler manner, don't put content if field is empty (spec
2679 doesn't say if there should be anything placed in the entry if
2681 (hildon_date_editor_get_date),
2682 (hildon_date_editor_get_month),
2683 (hildon_date_editor_get_year),
2684 (hildon_date_editor_get_day): use direct entry content, so that 0
2685 indicates empty entry, and information is more accurate.
2687 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2689 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2691 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2692 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2694 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2696 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2698 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2700 * hildon-widgets/hildon-number-editor.c:
2701 (hildon_number_editor_select_all): new function, selects all
2702 the text in the entry.
2703 * hildon-widgets/hildon-number-editor.c: added several calls to
2704 hildon_number_editor_select_all with g_idle_add.
2706 * hildon-controlbar.c : add signal when end reached
2708 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2710 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2712 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2714 Fixed incorrect values in <Filetype> Details Dialog
2716 Fixed help button usage in dialogs
2718 * hildon-dialoghelp.c: Added more documentation about the
2721 * hildon-file-details-dialog.c: Updated to match
2722 'File Management in OSSO' version 3.0
2724 * Fixed application hang after calling gtk_main_quit
2726 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2727 ESC presses needlessly
2729 * hildon-time-editor.c: Fixed memory corruption