Do no redefine content_files in doc/Makefile.am
[hildon] / ChangeLog
1 2009-04-30  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * doc/Makefile.am: Do not redefine content_files.
4
5 2009-04-30  Alberto Garcia  <agarcia@igalia.com>
6
7         * src/
8         * Makefile.am
9         * configure.ac
10         * doc/Makefile.am
11         * doc/hildon.types
12         * po/POTFILES.in:
13         Renamed src/ to hildon/
14
15         * examples/*.c
16         * debian/changelog
17         * debian/rules:
18         Include <hildon/hildon.h> directly in all examples.
19
20 2009-04-29  Alejandro Pinheiro  <apinheiro@igalia.com>
21
22         * src/hildon-sort-dialog.c
23         (hildon_sort_dialog_add_sort_key_with_sorting)
24         (sort_key_changed)
25         Add safety checks
26
27 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
28
29         * src/Makefile.am: Move generated sources to CLEANFILES, so that
30         make distcheck passes.
31
32 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
33
34         * Makefile.am: Enable gtk-doc during distcheck.
35
36 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
37
38         * Makefile.am: Do not distribute the debian/ directory.
39
40 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
41
42         * doc/Makefile.am: Add the extra SGML files to content_files,
43         so that they are distributed properly.
44
45 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
46
47         * tests/Makefile.am: Add missing test_suites.h and check_utils.h
48         to the SOURCES.
49
50 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
51
52         * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
53         (hildon_note_new_information_with_icon_name): Set the "icon" property
54         to preserve soundness.
55
56 2009-04-29  Claudio Saavedra  <csaavedra@igalia.com>
57
58         * src/hildon-font-selection-dialog.c
59         (hildon_font_selection_dialog_set_property): Fail when the "family"
60         property is set to NULL.
61
62 2009-04-28  Claudio Saavedra  <csaavedra@igalia.com>
63
64         * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
65         safety checks.
66
67 2009-04-28  Alejandro Pinheiro  <apinheiro@igalia.com>
68
69         * src/hildon-time-selector.h:
70         Added HildonTimeSelectorFormatPolicy
71         * src/hildon-time-selector.c:
72         Added PROP_TIME_FORMAT_POLICY
73         (_check_ampm_format): renamed to check_automatic_ampm_format
74         (update_format_policy), (update_format_dependant_columns): new functions
75         (hildon_time_selector_class_init)
76         (hildon_time_selector_contructor)
77         (hildon_time_selector_init)
78         (hildon_time_selector_get_property)
79         (hildon_time_selector_set_property)
80         (hildon_time_selector_get_time)
81         (hildon_time_selector_set_time)
82         * src/hildon-touch-selector.h: new file
83         * src/hildon-touch-selector.c
84         (hildon_touch_selector_emit_changed)
85         (hildon_touch_selector_block_changed)
86         (hildon_touch_selector_unblock_changed)
87         Added functions to allow to block the emission of the "changed" signal
88         * src/hildon-picker-dialog.c
89         (hildon_picker_dialog_show): call the parent show before the custom code
90         * examples/hildon-time-button-example.c
91         Modified, so now you can configure the time format using the new property
92
93         Added a new property "time-format-policy" that allow to choose the time
94         format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
95         case it uses gconf in order to check if the time selector must use
96         AM/PM or 24H.
97
98         Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
99         mode)
100
101 2009-04-28  Alberto Garcia  <agarcia@igalia.com>
102
103         * src/hildon-note.c (hildon_note_init):
104         Label in HildonNote must be left aligned, not centered. This
105         reverts the last commit in HildonNote.
106
107         Fixes: NB#112933 (text is not left aligned in confirmation dialog
108         is connectivity dialog)
109
110 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
111
112         * src/hildon-gtk.c:
113         Minor style fixes
114
115         * doc/hildon-sections.txt:
116         Added hildon_gtk_window_set_do_not_disturb()
117
118 2009-04-27  Alberto Garcia  <agarcia@igalia.com>
119
120         * src/hildon-note.c (hildon_note_init): Center label.
121
122         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
123         properly)
124
125 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
126
127         [Release 2.1.68]
128
129         * NEWS: Updates.
130         * configure.ac: Bump version.
131         * debian/changelog: Updates.
132
133 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
134
135         * src/hildon-note-private.h: Add button-width to the private data.
136         * src/hildon-note.c (+resize_button),
137         (+hildon_note_orientation_update): methods to repack widgets on orientation
138         changes.
139         (screen_size_changed): Call above method for confirmation notes.
140         (hildon_note_realize): Always connect to the "screen-size" changed signal.
141         (hildon_note_rebuild): Store the original width request from buttons.
142
143         Fixes: NB#109635 (Confirmation notes do not support portrait)
144
145 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
146
147         * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
148         when it is a progress note.
149
150 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
151
152         * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
153         in the note, since there are no horizontally arranged contents.
154
155 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
156
157         * src/hildon-gtk.c (+set_flag): new generic method to
158         set/delay a flag setting in a window.
159         (hildon_gtk_window_set_progress_indicator):
160         (hildon_gtk_window_set_do_not_disturb),
161         (hildon_gtk_window_set_portrait_flags): use set_flag() to
162         avoid code redundance.
163
164 2009-04-24  Claudio Saavedra  <csaavedra@igalia.com>
165
166         Based on a patch by Alberto Garcia (agarcia@igalia.com)
167
168         * src/hildon-gtk.c (set_clear_window_flag),
169         (do_set_progress_indicator), (do_set_do_not_disturb),
170         (do_set_portrait_flags),
171         (hildon_gtk_window_set_progress_indicator),
172         (hildon_gtk_window_set_do_not_disturb),
173         (hildon_gtk_window_set_portrait_flags):
174         Allow setting dnd-flag, progress indicator, and portrait flags
175         when the window is not realized.
176
177 2009-04-24  Alejandro G. Castro  <alex@igalia.com>
178
179         * src/hildon-pannable-area.c,
180         * src/hildon-pannable-area.h: Add the hildon deprecated define to
181         the size request policy function and defines.
182
183 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
184
185         * doc/hildon-sections.txt: Add the new API.
186         * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
187         method to set the portrait flags.
188         * src/hildon-gtk.h: Add HildonPortraitFlags enum.
189
190         Fixes: NB#112328 (Adding helpers for setting portrait properties)
191
192 2009-04-23  Claudio Saavedra  <csaavedra@igalia.com>
193
194         * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
195         to allow using this method with other flags.
196         (hildon_gtk_window_set_progress_indicator): Update accordingly.
197         (hildon_gtk_window_set_do_not_disturb): Update accordingly.
198
199 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
200
201         * src/hildon-touch-selector.c
202         (hildon_touch_selector_append_text_column):
203         Make the cell renderer use the smallest width possible.
204
205         Fixes: NB#108470 (Selected items in multiple selection are either
206         having a tick that is cut or not visible at all.)
207
208 2009-04-22  Alberto Garcia  <agarcia@igalia.com>
209
210         * src/hildon-touch-selector.c
211         (hildon_touch_selector_append_text_column):
212         Code cleanups
213
214 2009-04-22  Claudio Saavedra  <csaavedra@igalia.com>
215
216         * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
217         Use g_strdup_printf() instead of a fixed size buffer.
218
219 2009-04-21  Alberto Garcia  <agarcia@igalia.com>
220
221         * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
222         Close banners when a HildonAppMenu is popped up.
223
224         Fixes: NB#111027 (Title menu closed immediately if activated when
225         "Invalid e-mail address" banner is shown)
226
227 2009-04-21  Claudio Saavedra  <csaavedra@igalia.com>
228
229         [Release 2.1.66]
230
231         * NEWS: Updates.
232         * configure.ac: Bump version.
233         * debian/changelog: Updates.
234
235 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
236
237         * src/hildon-banner.c (hildon_banner_realize):
238         Mark HildonBanner as supporting portrait mode.
239         Use GDK to set window properties insetad of direct Xlib calls.
240
241         Fixes: NB#111830 (HildonBanner should be marked as supporting
242         portrait)
243
244 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
245
246         * src/hildon-note.c (hildon_note_rebuild):
247         Hide action area in information notes. Prevents text from being
248         slightly aligned to the left.
249
250         Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
251         properly)
252
253 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
254
255         Patch by Mox Soini (ext-mox.soini@nokia.com)
256
257         * src/hildon-banner.c (hildon_banner_create_animation):
258         Use stylus-sized icons in animation banner.
259
260         Fixes: NB#111206 (stylus sized icon for animation banner)
261
262 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
263
264         * src/hildon-gtk.h
265         * src/hildon-gtk.c
266         (+hildon_gtk_window_set_do_not_disturb):
267         New API to set the do-not-disturb flag.
268
269         Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
270
271 2009-04-20  Alberto Garcia  <agarcia@igalia.com>
272
273         * examples/hildon-progress-indicator-example.c: Fix example
274
275         * src/hildon-gtk.c (set_clear_window_flag)
276         (hildon_gtk_window_set_progress_indicator):
277         Create a generic function for setting flags to a window.
278         Use GDK instead of direct Xlib calls.
279
280 2009-04-14  Alberto Garcia  <agarcia@igalia.com>
281
282         * src/hildon-button.c (hildon_button_set_arrangement):
283         Due to NB#88126, if one of the labels is too long it will be
284         painted outside the button. The 'value' label is more likely to be
285         the longest one, so we change its packing options in order to
286         truncate it if necessary. As a side effect, the 'title' label will
287         no longer be truncated.
288
289         Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
290
291 2009-04-14  Claudio Saavedra  <csaavedra@igalia.com>
292
293         [Release 2.1.64]
294
295         * NEWS: Updates.
296         * configure.ac: Bump version.
297         * debian/changelog: Updates.
298
299 2009-04-13  Alejandro G. Castro  <alex@igalia.com>
300
301         Deprecation of the hildon_pannable_area_set_size_request_policy
302         API, the only policy properly supported in gtk+ nowadays is the
303         minimum size.
304
305         * src/hildon-pannable-area.c,
306         (hildon_pannable_area_size_request): Added a workaround for the
307         size_request to avoid the problems of huge pixmaps in case someone
308         is still using the function.
309         * src/hildon-pannable-area.h: Deprecated the enum with the
310         policies.
311
312         Fixes: NB#110244 (Problems with the
313         hildon_pannable_area_set_size_request_policy API)
314
315 2009-04-08  Alejandro G. Castro  <alex@igalia.com>
316
317         * src/hildon-pannable-area.c,
318         (hildon_pannable_area_init),
319         (hildon_pannable_area_size_request),
320         (hildon_pannable_area_style_set),
321         (hildon_pannable_draw_vscroll),
322         (hildon_pannable_draw_hscroll),
323         (hildon_pannable_area_check_scrollbars): Replaced area_width with
324         indicator_width to clarify the use of the attribute.
325
326 2009-04-08  Claudio Saavedra  <csaavedra@igalia.com>
327
328         [Release 2.1.62]
329
330         * NEWS: Updates.
331         * configure.ac: Bump version.
332         * debian/changelog: Updates.
333
334 2009-04-07  Alejandro Pinheiro <apinheiro@igalia.com>
335
336         * src/hildon-picker-dialog.c
337         * src/hildon-touch-selector.c
338         Reverting the change that tried to avoid the hardcoded height on
339         the picker dialog, as causes problems on the hildon-touch-selector
340         initial-hint
341
342         Fixes: NB#110029 (selectors not scrolling to selected value)
343
344 2009-04-07  Alberto Garcia  <agarcia@igalia.com>
345
346         * src/hildon-touch-selector.c: Fix typos
347
348 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
349
350         * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
351         Use the event coordinates instead of gdk_window_get_pointer(). Also,
352         request more motions after using it.
353
354 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
355
356         * src/hildon-calendar.c (hildon_calendar_expose),
357         (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
358         Remove unused variables.
359
360 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
361
362         * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
363         variable assignment.
364
365 2009-04-07  Claudio Saavedra  <csaavedra@igalia.com>
366
367         * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
368         Check the return value of gtk_tree_selection_get_selected()
369         for safety.
370
371 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
372
373         * src/hildon-animation-actor.c
374         * src/hildon-button.c
375         * src/hildon-main.c
376         * src/hildon-pannable-area.c
377         * src/hildon-picker-button.c
378         * src/hildon-program.c
379         * src/hildon-remote-texture.c
380         * src/hildon-text-view.c
381         * src/hildon-touch-selector.c
382         * src/hildon-window-stack.c
383         * src/hildon-window.c:
384         Add missing 'Since: 2.2' tags.
385
386         * doc/hildon-sections.txt:
387         Add some missing symbols.
388
389         * doc/hildon-docs.sgml:
390         New 'Other' section for HildonAnimationActor and
391         HildonRemoteTexture
392
393 2009-04-06  Alberto Garcia  <agarcia@igalia.com>
394
395         Patch by Iván Gómez (igomez@igalia.com)
396
397         * doc/building.sgml
398         * doc/compiling.sgml
399         * doc/hildon-docs.sgml
400         * doc/hildon-sections.txt
401         * doc/migration.sgml
402         * doc/resources.sgml
403         * doc/running.sgml:
404         New chapters on using the Hildon library.
405         Updated the general structure of the reference manual.
406         Other minor documentation fixes.
407
408         * src/hildon-calendar-popup.c
409         * src/hildon-calendar.c
410         * src/hildon-controlbar.c
411         * src/hildon-date-editor.c
412         * src/hildon-dialog.c
413         * src/hildon-hvolumebar.c
414         * src/hildon-number-editor.c
415         * src/hildon-range-editor.c
416         * src/hildon-sort-dialog.c
417         * src/hildon-time-editor.c
418         * src/hildon-time-picker.c
419         * src/hildon-volumebar-range.c
420         * src/hildon-volumebar.c
421         * src/hildon-vvolumebar.c
422         * src/hildon-weekday-picker.c:
423         Add deprecation notes
424
425         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
426         Document 'horizontal-movement' and 'vertical-movement' signals.
427
428 2009-04-06  Claudio Saavedra  <csaavedra@igalia.com>
429
430         [Release 2.1.60]
431
432         * NEWS: Updates.
433         * configure.ac: Bump version.
434         * debian/changelog: Updates.
435
436 2009-04-06  Alejandro G. Castro  <alex@igalia.com>
437
438         * src/hildon-pannable-area.c,
439         (hildon_pannable_area_class_init): increased the minimum velocity.
440         (hildon_pannable_area_button_release_cb): Updated the
441         CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
442         setup. Review the code to control that last event.
443
444         Fixes: NB#109790 (Releasing finger in pannable area easily causes
445         unwanted scrolling)
446
447 2009-04-03  Claudio Saavedra  <csaavedra@igalia.com>
448
449         Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
450
451         * src/hildon-get-password-dialog.c
452         (hildon_get_password_set_property),
453         (hildon_get_password_get_property), (create_contents):
454         * src/hildon-login-dialog-private.h:
455         * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
456         (hildon_login_dialog_init), (hildon_login_dialog_get_username),
457         (hildon_login_dialog_get_password):
458         * src/hildon-set-password-dialog-private.h:
459         * src/hildon-set-password-dialog.c
460         (hildon_set_password_set_property),
461         (hildon_set_password_get_property), (create_contents),
462         (hildon_set_password_response_change),
463         (hildon_set_password_response_set), (hildon_checkbox_toggled):
464
465         Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
466         instead and look more Fremantle style.
467
468         Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
469
470 2009-04-03  Alberto Garcia  <agarcia@igalia.com>
471
472         * doc/hildon-sections.txt
473         * src/hildon-window-stack.h
474         * src/hildon-window-stack.c
475         (+hildon_window_stack_get_windows):
476         New API to obtain the list of windows on a stack.
477
478 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
479
480         * src/hildon-app-menu.c (hildon_app_menu_popup)
481         (hildon_app_menu_class_init, -hildon_app_menu_show):
482         Remove hildon_app_menu_show() and move all its checks to
483         hildon_app_menu_popup()
484
485 2009-04-02  Alejandro Pinheiro  <apinheiro@igalia.com>
486
487         * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
488         (_hildon_picker_dialog_set_selector): removed call to
489         gtk_widget_set_size_request
490         * src/hildon-touch-selector.c
491         (_create_new_column): change the pannable size request policy
492
493         Avoid to use a hardcoded height for the hildon picker dialog. In order
494         to get that, we needed to change the hildon pannable size request
495         policy
496         Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
497
498 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
499
500         * src/hildon-window.c (hildon_window_map): Check for vbox to be
501         not NULL.  Avoids a (very unlikely) crasher. See related NB#103301
502         browser crash.
503
504 2009-04-02  Claudio Saavedra  <csaavedra@igalia.com>
505
506         * debian/control: Depend on osso-system-lock localization package.
507         * src/hildon-code-dialog.c: Obtain the secu_application_title
508         translation from osso-system-lock.
509         * src/hildon-get-password-dialog.c (create_contents): Do not mark
510         for translation the atk related strings, that's not necessary.
511         * src/hildon-set-password-dialog.c (create_contents): Ditto.
512         * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
513         cancel button, it is not required.
514
515 2009-04-02  Alejandro G. Castro  <alex@igalia.com>
516
517         * src/hildon-pannable-area.c,
518         (hildon_pannable_area_class_init): Modified the default value of
519         the overshooting max speed, we have reduced it.
520
521 2009-04-02  Alberto Garcia  <agarcia@igalia.com>
522
523         * doc/hildon-sections.txt
524         * src/hildon-window-private.h
525         * src/hildon-window.h
526         * src/hildon-window.c (hildon_window_class_init)
527         (hildon_window_init, hildon_window_finalize)
528         (hildon_window_realize, hildon_window_get_property)
529         (hildon_window_set_property, hildon_window_update_markup)
530         (hildon_window_get_markup, hildon_window_set_markup):
531         New "markup" property and hildon_window_{get,set}_markup() methods.
532
533         * examples/hildon-stackable-window-example.c (new_window):
534         Update example to use hildon_window_set_markup()
535
536         Fixes: NB#106375 (Need API to retitle a window with a title
537         including markup)
538
539 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
540
541         * src/hildon-pannable-area.c,
542         (hildon_pannable_area_class_init): Changed the default value of
543         the initial_hint to TRUE.
544         (hildon_pannable_area_initial_effect): Changed the initial effect,
545         not the effect is just the fade-out of the scrollbars.
546
547         Fixes: NB#107775 (No scrollbars can be seen when several items are
548         available in a dialog)
549
550 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
551
552         * src/hildon-program.c (hildon_program_update_top_most):
553         Fix memory leak.
554
555         Fixes: NB#109179 (Memory leak in Hildon program)
556
557 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
558
559         * src/hildon-banner.c (-get_current_app_window):
560         Remove unused function.
561
562 2009-04-01  Alejandro G. Castro  <alex@igalia.com>
563
564         * src/hildon-pannable-area.c: Modified the documentation of the
565         get adjustments functions to explain the problem of using the
566         adjustment directly.
567         (hildon_pannable_area_class_init): Improved the explanation about
568         the velocity.
569
570 2009-04-01  Alberto Garcia  <agarcia@igalia.com>
571
572         * src/hildon-app-menu-private.h
573         * src/hildon-app-menu.c
574         (hildon_app_menu_class_init):
575         Bring back the 'external-border' style property
576         (hildon_app_menu_class_init, hildon_app_menu_init)
577         (hildon_app_menu_apply_style, hildon_app_menu_size_request):
578         Set a fixed width-request for the menu, independent of the number
579         of items.
580
581         Fixes: NB#94957 (Smoothly opened application menu)
582
583 2009-03-30  Alberto Garcia  <agarcia@igalia.com>
584
585         * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
586
587         * src/hildon-banner.c
588         Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
589         (hildon_banner_map)
590         Make sure that the banner is correctly placed the first time it's
591         shown.
592         (hildon_banner_check_position, -check_fullscreen_state):
593         Show the banner in the same place no matter if the window is in
594         fullscreen mode or not.
595
596         Fixes: NB#107386 (Odd stacking behaviour for information banners)
597
598 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
599
600         * src/hildon-touch-selector.c (_default_print_func): reorder
601         concatenation for clarity.
602
603 2009-04-01  Claudio Saavedra  <csaavedra@igalia.com>
604
605         * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
606         for multicolumn selectors.
607
608         Fixes: NB#109099 (Memory leak in Hildon touch selector)
609
610 2009-03-30  Claudio Saavedra  <csaavedra@igalia.com>
611
612         [Release 2.1.58]
613
614         * NEWS: Updates.
615         * configure.ac: Bump version.
616         * debian/changelog: Updates.
617
618 2009-03-27  Claudio Saavedra  <csaavedra@igalia.com>
619
620         * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
621         coding style fixes.
622
623 2009-03-26  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
624
625         * configure.ac: removed libcangerra-gtk dependency
626         * debian/control: removed libcanberra-gtk dependency
627         * src/Makefile.am: removed libcanberra gtk related flags
628         * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
629         context, and manage a global canberra context instead
630
631         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
632
633 2009-03-26  Alberto Garcia  <agarcia@igalia.com>
634
635         Patch by Daniel Borgmann (danielb@openismus.com)
636
637         * src/hildon-edit-toolbar.c:
638         Adjust the left padding.
639         (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
640         Paint background of the edit toolbar.
641
642         Fixes: NB#107897 (Patch to make editmodetoolbar background
643         themeable and adjust margin)
644
645 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
646
647         Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
648
649         * src/hildon-program.c (hildon_program_update_top_most):
650         Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
651
652         Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
653         change when the user tasks in/out of an application)
654
655 2009-03-25  Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
656
657         * configure.ac: added libcangerra-gtk dependency
658         * debian/control: added libcanberra-gtk dependency
659         * src/Makefile.am: added libcanberra gtk related flags
660         * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
661         instead of use it.
662
663         Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
664
665 2009-03-25  Alberto Garcia  <agarcia@igalia.com>
666
667         * src/hildon-program.c (hildon_program_remove_window)
668         (hildon_program_add_window): Add checks for the window
669         parameter. Don't decrease the window counter if the window is not
670         registered.
671
672 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
673
674         * src/hildon-pannable-area.c,
675         (hildon_pannable_area_realize): Fixed position of the event_window
676         in the realize method.
677
678 2009-03-24  Alberto Garcia  <agarcia@igalia.com>
679
680         * src/hildon-app-menu-private.h
681         * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
682         (hildon_app_menu_map, hildon_app_menu_hide_idle)
683         (hildon_app_menu_key_press, hildon_app_menu_init)
684         (hildon_app_menu_finalize):
685         Make sure that all idle functions are removed when the widget is
686         destroyed.
687
688         Fixes: NB#107583 (Hildon app menu crashes in various applications)
689
690 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
691
692         [Release 2.1.56]
693
694         * NEWS: Updates.
695         * configure.ac: Bump version.
696         * debian/changelog: Updates.
697
698 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
699
700         * src/hildon-entry.c
701         (+hildon_entry_show_placeholder),
702         (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
703         that replace hildon_entry_update_contents().
704         (hildon_entry_set_text),
705         (hildon_entry_set_placeholder),
706         (hildon_entry_focus_in_event),
707         (hildon_entry_focus_out_event): Determine when it is needed
708         either to show or hide the placeholder and call the above methods.
709
710         Fixes: NB#107471 (hildon_entry_set_text() not setting the text
711         when the placeholder text is already set)
712
713 2009-03-24  Claudio Saavedra  <csaavedra@igalia.com>
714
715         * src/hildon-banner.c (+hildon_banner_create_animation): Build a
716         simple GdkPixbufAnim using the new icons for the banner.
717         (hildon_banner_show_animation): Use the above mentioned method to
718         create the animation widget.
719
720         Fixes: NB#103564 (Make hildon animation banner use individual
721         image files as the animation)
722
723 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
724
725         * src/hildon-pannable-area.c,
726         (hildon_pannable_leave_notify_event): Check if the child is NULL
727         to avoid sending the leave.
728
729 2009-03-24  Alejandro G. Castro  <alex@igalia.com>
730
731         * src/hildon-pannable-area.c,
732         (hildon_pannable_area_class_init),
733         (hildon_pannable_leave_notify_event): Added a handler of the
734         leave-notify-signal to consider when no motion notify before
735         leaving.
736
737         Fixes: NB#107494 (Items stay selected when clicking and moving
738         away when inside pannable area)
739
740 2009-03-23  Claudio Saavedra  <csaavedra@igalia.com>
741
742         [Release 2.1.54]
743
744         * NEWS: Updates.
745         * configure.ac: Bump version.
746         * debian/changelog: Updates.
747
748 2009-03-19  Alejandro G. Castro  <alex@igalia.com>
749
750         Patch by Alberto Garcia (agarcia@igalia.com)
751
752         * src/hildon-date-button.c,
753         (hildon_date_button_class_init),
754         (hildon_date_button_init): Removed the construct property handling
755         and created a default selector in the init method.
756         * src/hildon-picker-button.c,
757         (hildon_picker_button_class_init): Removed the construct flag of the
758         selector property.
759
760 2009-03-18  Alberto Garcia  <agarcia@igalia.com>
761
762         * src/hildon-main.c (hildon_init):
763         Don't allow hildon_init() to be called more than once.
764
765         Fixes: NB#106607 (hildon_init should issue error message upon
766         successive calls)
767
768 2009-03-17  Alejandro Pinheiro  <apinheiro@igalia.com>
769
770         * examples/hildon-pannable-area-touch-list-example.c
771         * examples/hildon-pannagle-area-touch-grid-example.c
772         * examples/hildon-edit-toolbar-example.c
773         * examples/hildon-touch-selector-multi-cells-example.c
774         Removed the call to gtk_rc_parse_string, as it is not required since
775         some time ago.
776
777 2009-03-17  Alejandro G. Castro  <alex@igalia.com>
778
779         * src/hildon-pannable-area.c,
780         (hildon_pannable_area_class_init): Modified the default panning
781         threshold of the widget to 6px.
782
783         Fixes: NB#105427 (Clicking and dragging ( for pixel values more
784         than the threshold value ) within the button is not sending the
785         event to the clild)
786
787 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
788
789         * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
790         for the treeview in the new column. This way, the touch list will never
791         grab the focus.
792
793         Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
794         be selected manually for the HW keys to work)
795
796 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
797
798         * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
799         comparison instead of using strcmp(). Fixes a compiler warning as well.
800
801 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
802
803         * doc/hildon-docs.sgml: Do not set the library version in the
804         document title, use the releaseinfo tag for that purpose instead.
805
806 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
807
808         * src/hildon-touch-selector-entry.c (entry_on_text_changed):
809         Do not jump to the first item if the text in the entry is removed.
810
811 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
812
813         [Release 2.1.52]
814
815         * NEWS: Updates.
816         * configure.ac: Bump version.
817         * debian/changelog: Updates.
818
819 2009-03-16  Claudio Saavedra  <csaavedra@igalia.com>
820
821         * src/hildon-entry.c (hildon_entry_refresh_contents):
822         * src/hildon-text-view.c (hildon_text_view_refresh_contents):
823         Use "ReversedSecondaryTextColor" for the placeholder text.
824
825 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
826
827         * src/hildon-text-view.c: Fix compilation warning.
828
829 2009-03-12  Alberto Garcia  <agarcia@igalia.com>
830
831         * src/hildon-button.c (hildon_button_class_init): Don't make
832         "title" and "value" construction properties, to prevent them from
833         overwriting labels set from derived classes.
834
835         * src/hildon-picker-button.c
836         (hildon_picker_button_set_selector): Allow setting a NULL selector.
837         (hildon_picker_button_class_init): Make touch-selector a
838         construction property.
839
840         * src/hildon-date-button.c (hildon_date_button_class_init)
841         (+hildon_date_button_constructed): Add a default date selector if
842         none is provided.
843
844 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
845
846         * src/hildon-touch-selector.c: Small documentation fixes.
847
848 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
849
850         Based on a patch by Daniel Borgmann (danielb@openismus.com)
851
852         * src/hildon-entry.c (hildon_entry_refresh_contents),
853         (hildon_entry_get_text), (hildon_entry_init): Do not use the
854         widget name, set the logical color directly instead and a boolean
855         showing_placeholder instead.
856         * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
857         use the widget name here either.
858
859         Fixes: NB#105678 (HildonTextView should use logical colours
860         instead of setting widget name)
861
862 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
863
864         Patch by Daniel Elster (danielk@openismus.com)
865
866         * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
867         Add user_data parameter.
868         (hildon_touch_selector_set_print_func_full): New function akin
869         hildon_touch_selector_set_print_func() but with support for user
870         data and a destroy callback.
871         (hildon_touch_selector_dispose): Implement GObjectClass::dispose
872         to clean up the print function user data.
873         (hildon_touch_selector_class_init): Install dispose function.
874         (HildonTouchSelectorPrivate::print_user_data),
875         (HildonTouchSelectorPrivate::print_destroy_func): New private
876         member data.
877         (hildon_touch_selector_init): Initialize new private members.
878         (hildon_touch_selector_get_current_text): Pass along user data
879         to the print function.
880         (_default_print_func): Add dummy user_data to parameter list.
881         * hildon-date-selector.c (_custom_print_func): ditto,
882         * hildon-time-selector.c (_custom_print_func): ditto,
883         * hildon-touch-selector-entry.c
884         (hildon_touch_selector_entry_print_func): ditto.
885
886         Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
887
888 2009-03-12  Claudio Saavedra  <csaavedra@igalia.com>
889
890         * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
891
892 2009-03-12  Alejandro G. Castro  <alex@igalia.com>
893
894         * src/hildon-pannable-area.c,
895         (hildon_pannable_area_init),
896         (hildon_pannable_area_button_press_cb),
897         (hildon_pannable_area_motion_notify_cb): We have added code to
898         handle the leave and enter events when using the motion events.
899
900         Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
901
902 2009-03-11  Alberto Garcia  <agarcia@igalia.com>
903
904         * src/hildon-date-button.c (hildon_date_button_get_date)
905         (hildon_date_button_set_date): Make sure that the button has a
906         selector.
907
908         Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
909
910 2009-03-11  Alejandro G. Castro  <alex@igalia.com>
911
912         * src/hildon-pannable-area.c,
913         (hildon_pannable_area_class_init),
914         (hildon_pannable_area_calculate_velocity): Modify the use of the
915         force and adapt the value.
916
917 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
918
919         * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
920         (hildon_app_menu_class_init): Hide the menu if it receives a
921         delete-event, but don't destroy it
922
923         Fixes: NB#104485 (Not able to address the call when application
924         menu is opened at background)
925
926 2009-03-10  Alberto Garcia  <agarcia@igalia.com>
927
928         * src/hildon-app-menu.c
929         (hildon_app_menu_apply_style, hildon_app_menu_class_init):
930         Remove the "external-border" style property, let the menu take its
931         natural size (or the one set by the window manager)
932         (hildon_app_menu_repack_items):
933         Don't reshow the menu, avoid flickers.
934
935         Partially fixes NB#94957 (Smoothly opened application menu)
936
937 2009-03-10  Claudio Saavedra  <csaavedra@igalia.com>
938
939         [Release 2.1.50]
940
941         * NEWS: Updates.
942         * configure.ac: Bump version.
943         * debian/changelog: Updates.
944
945 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
946
947         * src/hildon-pannable-area.c,
948         (hildon_pannable_area_motion_notify_cb): We control that the
949         direction error margin is used just in case the movement is
950         allowed in the other direction.
951
952         Fixes: NB#105012 (buttons inside a pannable area not getting
953         release event when dragging/releasing)
954
955 2009-03-10  Alejandro G. Castro  <alex@igalia.com>
956
957         * src/hildon-pannable-area.c,
958         (hildon_pannable_area_class_init),
959         (hildon_pannable_area_get_property),
960         (hildon_pannable_area_set_property),
961         (hildon_pannable_area_initial_effect),
962         (hildon_pannable_axis_scroll),
963         (hildon_pannable_area_button_release_cb): Reviewed the
964         overshooting effect, now it has its own max
965         speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
966         speed when bouncing.
967
968 2009-03-09  Claudio Saavedra  <csaavedra@igalia.com>
969
970         [Release 2.1.48]
971
972         * NEWS: Updates.
973         * configure.ac: Bump version.
974         * debian/changelog: Updates.
975
976 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
977
978         * src/hildon-pannable-area.c,
979         (hildon_pannable_area_class_init): Changed the max speed, now
980         users can launch the widget very fast. Reduced the default force,
981         that way it is easier to control the launch speed.
982
983 2009-03-09  Alejandro G. Castro  <alex@igalia.com>
984
985         * src/hildon-pannable-area.c,
986         (hildon_pannable_area_button_release_cb): Removed this check
987         because it causes problems when the device is overloaded.
988
989 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
990
991         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
992         add a current_text field to store the text entered in the
993         touch selector entry.
994         (_clean_current_selection): clean up the current text as well.
995         (_save_current_selection), (_restore_current_selection):
996         Save/restore the text in the entry if the selector is a
997         HildonTouchSelectorEntry.
998
999         Fixes: NB#102541 (value entered in the touch selector entry is not
1000         shown when opened for second time)
1001
1002 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
1003
1004         * doc/hildon-sections.txt:
1005         * src/hildon-touch-selector-entry.c
1006         (+hildon_touch_selector_entry_get_entry):
1007         * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
1008
1009         Fixes: NB#104815 (I need accessor to the entry inside
1010         HildonTouchSelectorEntry)
1011
1012 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1013
1014         * src/hildon-app-menu.c (hildon_app_menu_apply_style)
1015         (hildon_app_menu_class_init):
1016         New "filter-vertical-spacing" style property.
1017
1018 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1019
1020         * src/hildon-find-toolbar.c
1021         (hildon_find_toolbar_emit_close)
1022         (hildon_find_toolbar_emit_invalid_input)
1023         (hildon_find_toolbar_entry_activate):
1024         Use g_signal_emit() instead of g_signal_emit_by_name()
1025
1026 2009-03-06  Alberto Garcia  <agarcia@igalia.com>
1027
1028         Patch by Mox Soini (ext-mox.soini@nokia.com)
1029
1030         * tests/TEST-CASES.txt
1031         * tests/check-hildon-banner.c
1032         * tests/check-hildon-note.c
1033         * src/hildon-banner.c
1034         * src/hildon-code-dialog.c
1035         * src/hildon-date-editor.c (real_set_calendar_icon_state)
1036         * src/hildon-time-editor.c
1037         * examples/hildon-lookup-example.c (main):
1038         Replace obsolete icon names with new ones.
1039
1040         * src/hildon-find-toolbar-private.h:
1041         * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
1042         (-hildon_find_toolbar_emit_search):
1043         Remove find button and change icon of close button.
1044
1045         Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
1046
1047 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
1048
1049         * src/hildon-time-button.c (hildon_time_button_new_step):
1050         Use the "touch-selector" property to set the selector directly
1051         when creating the object.
1052
1053 2009-03-05  Alejandro G. Castro  <alex@igalia.com>
1054
1055         Added a new example application that allows tuning the pannable
1056         area and replaced defines with properties in order to simplify the
1057         tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
1058         PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
1059         PROP_DIRECTION_ERROR_MARGIN.
1060
1061         * examples/hildon-pannable-area-tuning-example.c: New example
1062         application.
1063         * src/hildon-pannable-area.c,
1064         (hildon_pannable_area_class_init),
1065         (hildon_pannable_area_init),
1066         (hildon_pannable_area_get_property),
1067         (hildon_pannable_area_set_property),
1068         (hildon_pannable_area_launch_fade_timeout),
1069         (hildon_pannable_area_adjust_value_changed),
1070         (hildon_pannable_axis_scroll),
1071         (hildon_pannable_area_motion_notify_cb),
1072         (hildon_pannable_area_scroll_cb),
1073         (hildon_pannable_area_button_release_cb): We have converted some
1074         of the defines that control the widget to properties to simplify
1075         the tuning.
1076
1077 2009-03-05  Alberto Garcia  <agarcia@igalia.com>
1078
1079         * src/hildon-app-menu.c (hildon_app_menu_map)
1080         (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1081         so it's closed if a new window appears.
1082
1083         Fixes: NB#104485 (Not able to address the call when application
1084         menu is opened at background)
1085
1086 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1087
1088         * src/hildon-color-button.c (hildon_color_button_get_property):Add
1089         missing 'break' statement in in 'case' construct to avoid
1090         incorrect warnings.
1091
1092 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1093
1094         * src/hildon-touch-selector-entry.c
1095         (hildon_touch_selector_entry_get_property),
1096         (hildon_touch_selector_entry_set_property): Add missing 'break'
1097         statements in in 'case' constructs to avoid incorrect warnings.
1098
1099 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1100
1101         * src/hildon-time-editor.c
1102         (hildon_time_editor_get_time_separators): Do not crash if
1103         the first label is NULL.
1104
1105 2009-03-05  Claudio Saavedra  <csaavedra@igalia.com>
1106
1107         * src/hildon-date-selector.c (_month_days): Check for month to be
1108         strictly less than 12, since otherwise we may overrun the array.
1109
1110 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1111
1112         * src/hildon-date-button.c (+hildon_date_button_new_full)
1113         (hildon_date_button_new, hildon_date_button_new_with_year_range)
1114         (hildon_date_button_init): Set the date selector using a
1115         construction property, to make it happen after HildonButton's
1116         "value" property is set.
1117
1118         Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1119         current date by default)
1120
1121 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1122
1123         * doc/hildon-sections.txt
1124         * src/hildon-program.c
1125         * src/hildon-stackable-window.c
1126         * src/hildon-window.c:
1127         Documentation updates
1128
1129 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1130
1131         * src/hildon-window-stack.c (hildon_window_stack_get_default)
1132         (hildon_window_stack_new, +hildon_window_stack_set_property)
1133         (+hildon_window_stack_get_property)
1134         (hildon_window_stack_class_init)
1135         (+hildon_window_stack_set_window_group)
1136         (+hildon_window_stack_get_window_group):
1137         Make the window group a construction property.
1138
1139 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1140
1141         * doc/hildon-sections.txt
1142         * src/hildon-stackable-window-private.h
1143         * src/hildon-stackable-window.h
1144         * src/hildon-stackable-window.c
1145         (-hildon_stackable_window_set_app_menu)
1146         (-hildon_stackable_window_get_app_menu)
1147         (-hildon_stackable_window_toggle_menu)
1148         (-hildon_stackable_window_finalize)
1149         (hildon_stackable_window_class_init)
1150         (hildon_stackable_window_init)
1151         * src/hildon-window-private.h
1152         * src/hildon-window.h
1153         * src/hildon-window.c (hildon_window_init)
1154         (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1155         (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1156         (hildon_window_get_main_menu, hildon_window_set_main_menu)
1157         (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1158         Moved all HildonAppMenu code to HildonWindow. The menu does not
1159         require a HildonStackableWindow anymore.
1160
1161         * src/hildon-app-menu.c
1162         * src/hildon-program.c
1163         * examples/hildon-app-menu-example.c (main):
1164         Update examples and documentation to reflect HildonAppMenu
1165         changes.
1166
1167 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1168
1169         * src/hildon-remote-texture.c
1170         * src/hildon-animation-actor.c:
1171         Don't include unused private headers.
1172
1173 2009-03-04  Alberto Garcia  <agarcia@igalia.com>
1174
1175         * src/hildon-program-private.h
1176         * src/hildon-program.c
1177         (hildon_program_set_common_menu)
1178         (hildon_program_get_common_menu)
1179         (hildon_program_set_common_app_menu)
1180         (hildon_program_get_common_app_menu):
1181         Change common menu pointers from GtkWidget* to GtkMenu* and
1182         HildonAppMenu* to avoid unnecessary casts.
1183
1184 2009-03-03  Alberto Garcia  <agarcia@igalia.com>
1185
1186         * src/hildon-window.c (hildon_window_set_main_menu):
1187         Removed incorrect 'Since:' tag
1188
1189 2009-03-03  Alejandro G. Castro  <alex@igalia.com>
1190
1191         * src/hildon-pannable-area.c,
1192         (hildon_pannable_area_calculate_velocity): We use now the
1193         RATIO_TOLERANCE here to check the distance, fixed typo in the
1194         algorithm.
1195         (hildon_pannable_area_motion_notify_cb): We have to set the type
1196         and time even if we are not sending the motion.
1197
1198 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1199
1200         * doc/hildon-sections.txt
1201         * src/hildon-app-menu.h
1202         * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1203         (+hildon_app_menu_get_filters): New methods to get the contents of
1204         a HildonAppMenu.
1205
1206         Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1207         children)
1208
1209 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1210
1211         * src/hildon-app-menu.c (hildon_app_menu_popup):
1212         Add "Since" tag.
1213
1214 2009-03-02  Alberto Garcia  <agarcia@igalia.com>
1215
1216         * src/hildon-window.h
1217         * src/hildon-window.c (+hildon_window_get_main_menu)
1218         (hildon_window_get_menu): Created hildon_window_get_main_menu()
1219         and deprecated hildon_window_get_menu().
1220
1221         * src/hildon-stackable-window.h
1222         * src/hildon-stackable-window.c
1223         (+hildon_stackable_window_set_app_menu)
1224         (+hildon_stackable_window_get_app_menu)
1225         (hildon_stackable_window_set_main_menu): Created
1226         hildon_stackable_window_{get,set}_app_menu() and deprecated
1227         hildon_stackable_window_set_main_menu().
1228
1229         * doc/hildon-sections.txt
1230         * examples/hildon-app-menu-example.c (main)
1231         * src/hildon-app-menu.c
1232         * src/hildon-program.c:
1233         Updated examples and documentation.
1234
1235         Fixes: NB#103758 (No way to obtain a menu from a
1236         HildonStackableWindow)
1237
1238 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
1239
1240         [Release 2.1.46]
1241
1242         * NEWS: Updates.
1243         * configure.ac: Bump version.
1244         * debian/changelog: Updates.
1245
1246 2009-03-02  Claudio Saavedra  <csaavedra@igalia.com>
1247
1248         * examples/hildon-remote-texture-example.c: Include
1249         hildon-remote-texture.h explicitely.
1250         * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1251         applications not defining _XOPEN_SOURCE which don't require this header.
1252
1253 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1254
1255         * doc/hildon-sections.txt
1256         * src/hildon-app-menu.h
1257         * src/hildon-app-menu.c (+hildon_app_menu_popup):
1258         New function to pop up a HildonAppMenu
1259
1260         * src/hildon-stackable-window.c
1261         (hildon_stackable_window_toggle_menu):
1262         Use hildon_app_menu_popup() to show the menu.
1263
1264 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1265
1266         * src/hildon-app-menu.c (hildon_app_menu_show)
1267         (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1268         menu if there's another window between it and its parent window.
1269
1270         Fixes: NB#100468 (Application menu window is launched even when a
1271         new secondary-window/dialog is pending to be shown/realized)
1272
1273 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1274
1275         * src/hildon-window-stack.c (hildon_window_stack_push)
1276         (hildon_window_stack_pop_and_push):
1277         Don't forget to push/pop the first window.
1278         Reverse the window list before calling _push_list()
1279
1280 2009-02-27  Alberto Garcia  <agarcia@igalia.com>
1281
1282         * src/hildon-picker-button.h
1283         * src/hildon-picker-button.c (hildon_picker_button_class_init):
1284         Remove "value_changed" slot to avoid ABI breakage
1285
1286 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
1287
1288         * src/hildon-pannable-area.c,
1289         (hildon_pannable_area_realize),
1290         (hildon_pannable_area_unrealize),
1291         (hildon_pannable_draw_vscroll),
1292         (hildon_pannable_draw_hscroll): Changed the method to handle the
1293         GC used to draw the transparent scrollbar, this way we avoid
1294         creating the GC all the time when drawing the scrollbars.
1295
1296 2009-02-26  Alejandro G. Castro  <alex@igalia.com>
1297
1298         * src/hildon-pannable-area.c,
1299         (hildon_pannable_area_init),
1300         (hildon_pannable_area_remove): Removed some unnecessary casts.
1301         (hildon_pannable_area_dispose): Disconnected some signals before
1302         releasing the adjustments.
1303
1304 2009-02-26  Alberto Garcia  <agarcia@igalia.com>
1305
1306         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1307         Make sure that all widgets contained in the toolbar are shown.
1308
1309 2009-02-25  Alberto Garcia  <agarcia@igalia.com>
1310
1311         * doc/hildon-sections.txt
1312         * src/hildon-picker-button.h
1313         * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1314         (_selection_changed, hildon_picker_button_on_dialog_response)
1315         (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1316         New hildon_picker_button_value_changed() method.
1317
1318         * src/Makefile.am
1319         * src/hildon-picker-button-private.h
1320         * src/hildon-picker-button.c (hildon_picker_button_init)
1321         (+hildon_picker_button_disable_value_changed): Add protected
1322         function for disabling the "value-changed" signal.
1323
1324         * src/hildon-date-button.c (hildon_date_button_set_date):
1325         Don't emit "value-changed" for each one of the three columns.
1326
1327         Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1328         before actual change of values)
1329
1330 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
1331
1332         * src/hildon-pannable-area.c,
1333         (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1334         for the treeview overshooting.
1335
1336 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
1337
1338         * src/hildon-banner.c (+hildon_banner_bind_style):
1339         Renamed from hildon_banner_bind_label_style(), now naming the
1340         banner itself as well.
1341         (hildon_banner_show_information),
1342         (hildon_banner_show_information_with_markup),
1343         (hildon_banner_show_animation), (hildon_banner_show_progress):
1344         Name the widgets and labels, based on their type.
1345
1346         See NB#98597 (Hildon Note and Hildon Banner should use themeable
1347         background image)
1348
1349 2009-02-24  Claudio Saavedra  <csaavedra@igalia.com>
1350
1351         * src/hildon-note.c (hildon_note_set_property): call
1352         hildon_note_rename() on HildonNote:note-type set.
1353         (hildon_note_rename): Name the note and its label, based on the
1354         HildonNote:note-type property.
1355
1356         See NB#98597 (Hildon Note and Hildon Banner should use themeable
1357         background image)
1358
1359 2009-02-24  Alejandro G. Castro  <alex@igalia.com>
1360
1361         * src/hildon-pannable-area.c,
1362         (hildon_pannable_area_class_init),
1363         (hildon_pannable_area_motion_notify_cb): Reviewed the default
1364         panning parameters, increased SPS and deceleration factor. Added
1365         also a margin to control fake directions.
1366
1367 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1368
1369         Patch by Sven Herzberg (sven@imendio.com)
1370
1371         * configure.ac: Add missing AM_PROG_CC_C_0
1372         * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1373
1374         See NB#101420 (Update unit tests and fix make check)
1375
1376 2009-02-23  Alejandro G. Castro  <alex@igalia.com>
1377
1378         This patch was applied before but reverted because it caused
1379         problems, we have changed the main condition and tested the
1380         regressions we detected before and they work ok. We have done a
1381         complete review of the topmost algorithm in order to get a more
1382         general solution.
1383
1384         * src/hildon-pannable-area.c,
1385         (hildon_pannable_area_get_topmost): Added a new parameter to
1386         filter the the windows that do not include those events.
1387         (hildon_pannable_area_button_press_cb),
1388         (hildon_pannable_area_button_release_cb),
1389         (hildon_pannable_get_child_widget_at): Reviewed the call the the
1390         topmost function, we have added the new parameter.
1391
1392         Fixes: NB#97458 (Pannable area prevents propagation of button
1393         press events)
1394
1395 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1396
1397         * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1398         if all columns in the selector have an item selected.
1399         (_on_dialog_response): Stop "response" signal emission if there is
1400         any selector column without selected items.
1401
1402         Fixes: NB#101889 (Picker dialog should not close when nothing is
1403         selected in multiple selection list)
1404
1405 2009-02-23  Claudio Saavedra  <csaavedra@igalia.com>
1406
1407         * src/hildon-font-selection-dialog.c
1408         (hildon_font_selection_dialog_class_init),
1409         (hildon_font_selection_dialog_init): Remove the preview
1410         button and dialog, since previewing with default theming is likely
1411         to be overcomplicated. The :preview property has now no effect.
1412         Update documentation blurbs to inform about this.
1413
1414         Fixes: NB#92297 (Preview content is not clearly visible for
1415         default colour text)
1416
1417 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
1418
1419         Reviewed the geometry that handles the children size and
1420         scrollbar, now it tries a size and reviews the results depending
1421         on the scrollbars visibility.
1422
1423         * src/hildon-pannable-area.c,
1424         (hildon_pannable_area_realize): Fixed a typo.
1425         (hildon_pannable_area_child_allocate_calculate): Added this
1426         function to calculate the child allocation.
1427         (hildon_pannable_area_size_allocate): Reviewed the allocation
1428         code.
1429         (hildon_pannable_area_check_scrollbars),
1430         (hildon_pannable_area_refresh): Refactored refresh function, this
1431         way we can call the code handling the scrollbars without causing a
1432         size_request, it is interesting in the allocate.
1433         (hildon_pannable_area_init): Replace the callbacks of the
1434         value_changed and changed signals to propertly deal with the
1435         geometry.
1436         (hildon_pannable_area_grab_notify),
1437         (hildon_pannable_area_initial_effect),
1438         (hildon_pannable_area_launch_fade_timeout),
1439         (hildon_pannable_area_adjust_changed),
1440         (hildon_pannable_area_adjust_value_changed),
1441         (hildon_pannable_area_redraw),
1442         (hildon_pannable_area_button_press_cb),
1443         (hildon_pannable_area_button_release_cb),
1444         (hildon_pannable_area_scroll_cb),
1445         (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1446         code and use the new functions adjust_changed and
1447         adjust_value_changed.
1448
1449         Fixes: NB#101603 (Focus is not even for the text entry boxes in
1450         Contact editor dialog)
1451
1452 2009-02-20  Claudio Saavedra  <csaavedra@igalia.com>
1453
1454         [Release 2.1.44]
1455
1456         * NEWS: Updates.
1457         * configure.ac: Bump version.
1458         * debian/changelog: Updates.
1459
1460 2009-02-20  Alejandro G. Castro  <alex@igalia.com>
1461
1462         * src/hildon-pannable-area.c,
1463         (hildon_pannable_area_get_topmost),
1464         (hildon_pannable_area_button_press_cb),
1465         (hildon_pannable_area_button_release_cb),
1466         (hildon_pannable_get_child_widget_at): Reverted the patch for the
1467         topmost function adding the event mask. We have to try a
1468         differente approach because it is still causing problems (NB#9745,
1469         reopened).
1470
1471 2009-02-19  Alberto Garcia  <agarcia@igalia.com>
1472
1473         * src/hildon-banner.c:
1474         Update the maximum width of timed banners.
1475         (force_to_wrap_truncated): Enforce the maximum text width if the
1476         label is wrapped.
1477
1478         Fixes: NB#102413 (The text margins (wrapping) in information
1479         banner should be HILDON_MARGIN_TRIPLE)
1480
1481 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
1482
1483         Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1484
1485         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1486         (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1487         bound when calculating the scroll indicator position.
1488
1489         Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1490         treat ->lower correctly)
1491
1492 2009-02-19  Claudio Saavedra  <csaavedra@igalia.com>
1493
1494         * src/hildon-caption.c (hildon_caption_class_init): Remove the
1495         expose event handling, since it is not necessary to draw the focus
1496         anymore.
1497
1498         Fixes: NB#102467 (Do not show highlight on the text in
1499         HildonCaption)
1500
1501 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1502
1503         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1504         full height of the toolbar for the button and the label.
1505
1506 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1507
1508         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1509         padding before the label and after the button.
1510
1511 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1512
1513         * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1514
1515         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1516         Add a GtkVSeparator between the button and the back arrow.
1517         Let the button have automatic size.
1518         Set a name to the widget for theming handling.
1519
1520         Fixes: NB#101793 (Make edit toolbar the same height as window
1521         title bar (use title area theming))
1522
1523 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1524
1525         * src/hildon-helper.c (attach_new_color_element): Fix memory
1526         leak.
1527
1528         Fixes: NB#102262 (memory leak in hildon_button_set_style())
1529
1530 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1531
1532         * examples/hildon-button-example.c (common_buttons_window): Don't
1533         leak size groups.
1534
1535 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1536
1537         * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1538         Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1539
1540 2009-02-18  Alberto Garcia  <agarcia@igalia.com>
1541
1542         * src/hildon-gtk.c: Check that the window is realized.
1543
1544         Fixes: NB#102225 (Crash setting the progress indicator to a non
1545         visible window)
1546
1547 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
1548
1549         * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1550         (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1551         instead of modifying the one in the widget style.
1552
1553         Fixes: NB#101043 (Second row of all the command button are
1554         displayed in transparent mode.)
1555
1556 2009-02-17  Alberto Garcia  <agarcia@igalia.com>
1557
1558         * src/hildon-date-button.c
1559         * src/hildon-time-button.c: Add gettext macros
1560
1561 2009-02-16  Claudio Saavedra  <csaavedra@igalia.com>
1562
1563         * src/hildon-date-button.c (hildon_date_button_new):
1564         * src/hildon-time-button.c (hildon_time_button_new_step):
1565         Use new logical strings to set the button default title.
1566
1567         Fixes: NB#99915 (Date and Time options are not localised in Date
1568         and Time setttings)
1569
1570 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
1571
1572         * src/hildon-pannable-area.c
1573         (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1574         the PANNING_THRESHOLD.
1575
1576 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
1577
1578         * src/hildon-pannable-area.c,
1579         (hildon_pannable_area_class_init): Increased the maximum speed.
1580         (hildon_pannable_area_get_property),
1581         (hildon_pannable_area_set_property),
1582         (hildon_pannable_area_timeout): Added a new low friction mode, it
1583         allows the user avoid friction when launching the widget fast
1584         enough. It is interesting to traverse long lists.
1585
1586 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
1587
1588         * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1589         (+hildon_stackable_window_delete_event): Ignore delete events if
1590         the window is not the topmost one.
1591
1592         Fixes: NB#101698 (Back button long press and delete-event handling)
1593
1594 2009-02-16  Alejandro G. Castro  <alex@igalia.com>
1595
1596         * src/hildon-pannable-area.c,
1597         (hildon_pannable_area_motion_notify_cb): Removed the use of the
1598         gtk-dnd-drag-threshold, it was too big. We have defined our own
1599         dnd define and set a smaller value: PANNIG_THRESHOLD.
1600
1601 2009-02-16  Alberto Garcia  <agarcia@igalia.com>
1602
1603         * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1604         user-defined icons, use always the default one.
1605
1606         Fixes: NB#101916 (Do not allow custom icons on animation banner)
1607
1608 2009-02-13  Alejandro G. Castro  <alex@igalia.com>
1609
1610         This patch was applied before but reverted because it caused
1611         problems, we have changed the main condition and tested the
1612         regressions we detected before and they work ok.
1613
1614         * src/hildon-pannable-area.c,
1615         (hildon_pannable_area_get_topmost): Added a new parameter to
1616         filter the the windows that do not include those events. Added
1617         also a condition when finding the window to filter windows that do
1618         not ask for those events.
1619         (hildon_pannable_area_button_press_cb),
1620         (hildon_pannable_area_button_release_cb),
1621         (hildon_pannable_get_child_widget_at): Reviewed the call the the
1622         topmost function, we have added the new parameter.
1623
1624         Fixes: NB#97458 (Pannable area prevents propagation of button
1625         press events)
1626
1627 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1628
1629         * tests/check-hildon-color-button.c (START_TEST): do not leak
1630         ret_color.
1631
1632 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1633
1634         * src/hildon-font-selection-dialog.c
1635         (hildon_font_selection_dialog_get_preview_text): Return NULL
1636         instead of FALSE on the g_return_val_if_fail().
1637
1638 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1639
1640         * src/hildon-time-selector.c (hildon_time_selector_set_time):
1641         * src/hildon-date-selector.c
1642         (hildon_date_selector_select_current_date):
1643         Do not compare unsigned integers to be greater than or equal 0,
1644         because it's always TRUE.
1645
1646 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1647
1648         * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1649         (hildon_date_selector_constructor): Do not select the current
1650         date until we are handle the "changed" signal, to avoid having bogus
1651         elements in the days model.
1652
1653 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1654
1655         * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1656         for num_days, since _month_days() can return a negative value.
1657
1658 2009-02-13  Claudio Saavedra  <csaavedra@igalia.com>
1659
1660         * src/hildon-caption.c (hildon_caption_size_allocate):
1661         * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1662         * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1663
1664         Initialize allocation variables to 0, to avoid eventually using
1665         unitialized variables.
1666
1667 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1668
1669         * src/hildon-bread-crumb-trail.c
1670         (hildon_bread_crumb_trail_size_allocate):
1671         * src/hildon-calendar.c (hildon_calendar_set_background):
1672         * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1673         * src/hildon-range-editor.c (hildon_range_editor_get_range):
1674         * src/hildon-seekbar.c (hildon_seekbar_init):
1675         * src/hildon-time-editor.c (hildon_time_editor_get_time):
1676         * src/hildon-time-selector.c (hildon_time_selector_finalize):
1677         * src/hildon-touch-selector-entry.c
1678         (hildon_touch_selector_get_text_from_model):
1679         * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1680         * src/hildon-window.c (hildon_window_finalize):
1681
1682         Remove many unused variables.
1683
1684 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1685
1686         * src/hildon-seekbar.c: (hildon_seekbar_init),
1687         (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1688
1689         Remove unnecessary g_assert() calls.
1690
1691 2009-02-12  Claudio Saavedra  <csaavedra@igalia.com>
1692
1693         * src/hildon-caption.c: (hildon_caption_expose),
1694         (hildon_caption_set_property), (hildon_caption_init),
1695         (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1696         (hildon_caption_size_request), (hildon_caption_size_allocate),
1697         (hildon_caption_forall), (hildon_caption_set_separator),
1698         (hildon_caption_activate), (hildon_caption_set_child_expand),
1699         (hildon_caption_set_label_text),
1700         (hildon_caption_get_label_alignment):
1701
1702         Remove unnecessary g_assert() calls.
1703
1704 2009-02-12  Alberto Garcia  <agarcia@igalia.com>
1705
1706         * src/hildon-banner.c
1707         (hildon_banner_map, hildon_banner_init): Make banner temporary
1708         before mapping it to avoid closing other temporary windows, but
1709         make it non-temporary afterwards to avoid being closed by other
1710         non-temporary windows.
1711         (-hildon_banner_client_event, hildon_banner_init):
1712         _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1713
1714         Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1715         opened)
1716
1717 2009-02-11  Alberto Garcia  <agarcia@igalia.com>
1718
1719         * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1720         deprecation guard.
1721
1722 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
1723
1724         * src/hildon-remote-texture.c
1725         * src/hildon-remote-texture.h
1726         * src/hildon-remote-texture-private.h
1727         * examples/hildon-remote-texture-example.c:
1728         Updates/fixes to remote-texture and its example.
1729
1730 2009-02-11  Claudio Saavedra  <csaavedra@igalia.com>
1731
1732         Patch by Mox Soini (ext-mox.soini@nokia.com)
1733
1734         * src/hildon-code-dialog.c: Update logical id.
1735         * src/hildon-set-password-dialog.c: Update logical id.
1736
1737         Fixes: NB#100646 (Logical strings is shown for ok in set
1738         password,Password needed dialogs)
1739
1740 2009-02-11  Gordon Williams <gordon.williams@collabora.co.uk>
1741
1742         * src/hildon.h
1743         * src/hildon-remote-texture.c
1744         * src/hildon-remote-texture.h
1745         * src/hildon-remote-texture-private.h
1746         * src/Makefile.am
1747         Added remote texture widget (for Clutter shared memory textures)
1748
1749         * examples/hildon-remote-texture-example.c
1750         * examples/Makefile.am
1751         Added example file for remote texture usage
1752
1753 2009-02-10  Claudio Saavedra  <csaavedra@igalia.com>
1754
1755         * configure.ac: post release version bump.
1756         * debian/changelog: version bump.
1757
1758 2009-02-06  Claudio Saavedra  <csaavedra@igalia.com>
1759
1760         [Release 2.1.42]
1761
1762         * NEWS: Updates.
1763         * configure.ac: Bump version.
1764         * debian/changelog: Updates.
1765
1766 2009-02-06  Alberto Garcia  <agarcia@igalia.com>
1767
1768         * src/hildon-date-selector.c (hildon_date_selector_init)
1769         (hildon_date_selector_constructor): Don't connect to the "changed"
1770         signal until the selector is completely constructed.
1771
1772 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1773
1774         * src/hildon-touch-selector.c: (_create_new_column),
1775         (hildon_touch_selector_append_column),
1776         (hildon_touch_selector_set_column_selection_mode),
1777         (hildon_touch_selector_set_active),
1778         (hildon_touch_selector_select_iter):
1779         Emit the HildonTouchSelector::changed signal every time selection
1780         is changed in any of the methods above.  This behavior was already
1781         documented but not fully functional.
1782
1783         Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1784         selection is programmatically changed)
1785
1786 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1787
1788         * doc/hildon-sections.txt: Remove obsolete icon
1789         sizes from here as well.
1790
1791 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
1792
1793         * examples/hildon-stackable-window-example.c (add_window): Remove
1794         unnecessary return.
1795
1796 2009-02-05  Alberto Garcia  <agarcia@igalia.com>
1797
1798         * src/hildon-app-menu.c
1799         (hildon_app_menu_show): Check whether the parent window of a menu
1800         is topmost before popping it up.
1801
1802         Fixes: NB#100468 (Application menu window is launched even when a
1803         new secondary-window/dialog is pending to be shown/realized.)
1804
1805 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1806
1807         * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1808         icon sizes.
1809
1810 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1811
1812         Patch by Mox Soini (ext-mox.soini@nokia.com)
1813
1814         * src/hildon-banner.c: (hildon_banner_show_animation):
1815         use stylus size instead of obsolete note size.
1816         * src/hildon-defines.h: Update icon sizes.
1817
1818 2009-02-05  Claudio Saavedra  <csaavedra@igalia.com>
1819
1820         * src/hildon-touch-selector-entry.c:
1821         (hildon_touch_selector_entry_init): Disable unsupported
1822         input modes.
1823         (hildon_touch_selector_entry_get_text_column): Emit a warning
1824         if an unsupported input modes is used and explicitile state
1825         these modes in the documentation.
1826
1827         Fixes: NB#99802 (Hildon touch selector entry not working properly
1828         for some of the input modes)
1829
1830 2009-02-05  Alejandro G. Castro  <alex@igalia.com>
1831
1832         * src/hildon-pannable-area.c,
1833         (hildon_pannable_area_init): Added the changed signal handlers of
1834         the adjustments.
1835
1836         Fixes: NB#100320 (HildonPannableArea does not listen to
1837         GtkAdjustment "change" signals)
1838
1839 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1840
1841         * doc/hildon-sections.txt
1842         * src/hildon-window-private.h
1843         * src/hildon-window.h
1844         * src/hildon-window.c (hildon_window_init)
1845         (hildon_window_realize, hildon_window_unrealize)
1846         (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1847         (hildon_window_size_request, hildon_window_size_allocate)
1848         (hildon_window_forall, hildon_window_show_all)
1849         (hildon_window_destroy, +paint_edit_toolbar)
1850         (+hildon_window_set_edit_toolbar):
1851         New hildon_window_set_edit_toolbar() method, to add a
1852         HildonEditToolbar to a window without having to pack it manually.
1853
1854         Reorganize hildon_window_size_allocate()
1855
1856         * src/hildon-edit-toolbar.c: Update documentation.
1857
1858         * examples/hildon-edit-toolbar-example.c (edit_window): Update
1859         example to use the new API.
1860
1861         Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1862
1863 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1864
1865         * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1866         Remove from stack before calling parent's hide.
1867
1868 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
1869
1870         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1871         window is removed from the middle of the stack, update the
1872         transiency of the previous one.
1873
1874         Fixes: NB#100487 (HildonStackableWindow transiency becomes
1875         incoherent)
1876
1877 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1878
1879         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1880         block/unblock the signal handler if it's not actually being used.
1881         Fixes some critical warnings.
1882
1883 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
1884
1885         Based on a patch by Iván Gómez (igomez@igalia.com)
1886
1887         * src/hildon-banner.c
1888         * src/hildon-gtk.c
1889         * src/hildon-main.c
1890         * src/hildon-note.c
1891         * src/hildon-pannable-area.c
1892         * src/hildon-picker-dialog.c
1893         * src/hildon-wizard-dialog.h
1894         * src/hildon-wizard-dialog.c: Documentation updates.
1895
1896         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1897         gtk_dialog_add_button() instead of hildon_dialog_add_button().
1898
1899 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1900
1901         * configure.ac: post release version bump.
1902         * debian/changelog: version bump.
1903
1904 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
1905
1906         [Release 2.1.40]
1907
1908         * NEWS: Updates.
1909         * configure.ac: Bump version.
1910         * debian/changelog: Updates.
1911
1912 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
1913
1914         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1915         a stock icon nor change the relief of the back arrow.
1916
1917         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1918         graphics from theme)
1919
1920 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
1921
1922         * src/hildon-button.c (hildon_button_set_alignment): Use
1923         priv->alignment if the button has no child yet.
1924
1925 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
1926
1927         * src/hildon-button.c: (hildon_button_init): Set the
1928         button style during initialization to give it the proper
1929         label color.
1930
1931         Fixes: NB#99713 (HildonButton value label color is wrong)
1932
1933 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
1934
1935         * src/hildon-touch-selector.c: Document
1936         hildon_touch_selector_center_on_selected()
1937
1938 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
1939
1940         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1941         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1942         all menu items, but not the menu itself.
1943         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1944         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1945         items after adding them to the menu so keyboard accelerators work.
1946         (hildon_app_menu_show): Don't show the menu if it contains items
1947         but none of them are visible.
1948
1949         * examples/hildon-app-menu-example.c (create_menu): Use
1950         gtk_widget_show_all() to show all menu items.
1951
1952 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
1953
1954         * src/hildon-picker-dialog.c:
1955         (-_update_title_on_selector_changed_cb),
1956         (-_dialog_update_title): Removed.
1957         (_select_on_selector_changed_cb), (_on_dialog_response),
1958         (on_selector_columns_changed): Do not update the dialog title.
1959         (setup_interaction_mode): Do not connect to
1960         HildonTouchSelector::changed signal if there's a "done" button, as
1961         the dialog title doesn't need to be updated.
1962
1963         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1964         contents in title)
1965
1966 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
1967
1968         Patch by Kristian Rietveld (kris@imendio.com)
1969
1970         * src/hildon-touch-selector.c: (_create_new_column): Use new
1971         GtkTreeView::hildon-row-tapped signal to react to user interactions
1972         instead of ::changed.
1973
1974         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1975         with some dynamic tree model)
1976
1977 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
1978
1979         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1980         (+screen_size_changed, +label_size_request)
1981         (hildon_note_class_init): Make the Hildon information note have a
1982         minimum height, and make its text hvae a maximum width.
1983
1984         Fixes: NB#98614 (Hildon information note (background) should have
1985         minimum height and maximum text width)
1986
1987 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
1988
1989         * src/hildon-banner.h
1990         * src/hildon-banner.c (hildon_banner_show_information)
1991         (hildon_banner_show_informationf)
1992         (hildon_banner_show_information_with_markup): Update documentation
1993         to reflect that the icon_name parameter is not used anymore.
1994         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1995         Remove all code from these functions and mark them as deprecated.
1996         (hildon_banner_show_progress): Mark as deprecated.
1997
1998         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1999
2000 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
2001
2002         * src/hildon-pannable-area.c,
2003         (hildon_pannable_area_class_init),
2004         (tranparency_color),
2005         (hildon_pannable_draw_vscroll),
2006         (hildon_pannable_draw_hscroll),
2007         (hildon_pannable_area_expose_event): Added a new way to render the
2008         scrollbars of the pannable area avoiding using cairo at all. This
2009         way we improve the performance of the pannable area rendering. The
2010         cairo rendering procedure is still in the code, we can control
2011         which one to use changing the value of the define
2012         USE_CAIRO_SCROLLBARS.
2013
2014 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2015
2016         * configure.ac: post release version bump.
2017         * debian/changelog: version bump.
2018
2019 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
2020
2021         [Release 2.1.38]
2022
2023         * NEWS: Updates.
2024         * configure.ac: Bump version.
2025         * debian/changelog: Updates.
2026
2027 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2028
2029         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
2030         banners instead of destroying them when they receive a button
2031         press.
2032
2033 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
2034
2035         Reverted commit 34028, it was causing regressions, probably the
2036         topmost condition is not correct, we have to check it in more
2037         detail. We have reponed the bug: NB#97458 (Pannable area prevents
2038         propagation of button press events)
2039
2040 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
2041
2042         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
2043         that the selection is not empty before attempting to retrieve the
2044         current ampm selection.
2045
2046 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
2047
2048         * src/hildon-picker-button.c:
2049         (hildon_picker_button_on_dialog_response): Directly update the
2050         button contents when required instead of calling _selection_changed.
2051
2052 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2053
2054         * src/hildon-program.c (hildon_program_update_top_most): Update
2055         'is-topmost' property also when wm_hints is not set.
2056
2057         Fixes: NB#98383 (is-topmost signal is not emitted when task
2058         switcher is clicked.)
2059
2060 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
2061
2062         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2063
2064         * src/Makefile.am,
2065         * src/hildon.h,
2066         * src/hildon-animation-actor.c,
2067         * src/hildon-animation-actor.h: Added the animation actor class,
2068         this widget represents an animation actor for WM-assisted
2069         animation effects in the Hildon framework.
2070
2071 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2072
2073         * src/hildon-window-stack-private.h
2074         * src/hildon-window-stack.c
2075         * src/hildon-stackable-window.c (hildon_stackable_window_show):
2076         Avoid calling gtk_widget_show() again indirectly from
2077         hildon_stackable_window_show()
2078
2079 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
2080
2081         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2082         unused variable.
2083
2084 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2085
2086         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2087         (hildon_time_selector_init): Move the construction of the hours and
2088         ampm columns to the constructor to preserve the order the columns
2089         are appended.
2090
2091 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2092
2093         * src/hildon-picker-dialog.c:
2094         (hildon_picker_dialog_class_init): Connect a realize method.
2095         (+hildon_picker_dialog_realize): Setup the interaction mode here
2096         and not before.
2097         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2098         yet, do it during the realize instead.
2099         (_on_dialog_response):
2100         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2101         if the widget is not realized, to avoid the dialog response before it
2102         is even shown.
2103
2104         Avoid premature responses in the HildonPickerDialog that can cause it
2105         to be hidden before it's even shown.
2106
2107 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
2108
2109         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2110         (on_selector_columns_changed), (requires_done_button),
2111         (+prepare_action_area), (setup_interaction_mode),
2112         (_hildon_picker_dialog_set_selector):
2113
2114         Split the interaction mode setup into preparation of the
2115         action area (prepare_action_area()) and the connection of
2116         the signals in setup_interaction_mode() and update the code to
2117         reflect this.
2118
2119 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2120
2121         * src/hildon-pannable-area.c,
2122         (hildon_pannable_area_class_init): Reduced the amount of scrolls
2123         per second to 15, we will check if this is ok regarding
2124         smoothness.
2125
2126 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2127
2128         * src/hildon-pannable-area.c,
2129         (hildon_pannable_axis_scroll): Avoid resize if we already have
2130         reached overshoot_max.
2131
2132 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
2133
2134         * src/hildon-pannable-area.c,
2135         (hildon_pannable_area_init),
2136         (hildon_pannable_area_realize),
2137         (hildon_pannable_area_size_allocate),
2138         (hildon_pannable_area_map),
2139         (hildon_pannable_area_unmap),
2140         (hildon_pannable_draw_vscroll),
2141         (hildon_pannable_draw_hscroll),
2142         (hildon_pannable_area_expose_event),
2143         (hildon_pannable_area_refresh): Added a new GdkWindow to the
2144         pannable are to avoid the expose events go to the window and
2145         redraw the window. We save this way that part of the stack and the
2146         paint_boxes. We had to change the positions of the elements when
2147         drawing.
2148
2149 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
2150
2151         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2152         * src/hildon-color-chooser-dialog.c:
2153         (hildon_color_chooser_dialog_init):
2154         * src/hildon-font-selection-dialog.c:
2155         (hildon_font_selection_dialog_init),
2156         (hildon_font_selection_dialog_show_preview):
2157         * src/hildon-get-password-dialog.c:
2158         * src/hildon-login-dialog.c:
2159         * src/hildon-set-password-dialog.c:
2160         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2161         * src/hildon-time-picker.c: (hildon_time_picker_init):
2162
2163         Remove obsolete logical string IDs and update to the appropriate ones.
2164
2165         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2166
2167 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
2168
2169         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2170         that happens if the window hasn't been realized yet.
2171
2172         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2173         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2174
2175 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
2176
2177         * src/hildon-app-menu.c (hildon_app_menu_class_init)
2178         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2179         by another grab.
2180
2181         Fixes: NB#98537 (Device hangs in account settings dialog)
2182
2183 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2184
2185         * configure.ac: post release version bump.
2186         * debian/changelog: version bump
2187
2188 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2189
2190         [Release 2.1.36]
2191
2192         * NEWS: Updates.
2193         * configure.ac: Bump version.
2194         * debian/changelog: Updates.
2195
2196 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2197
2198         Added a new function to the HildonTimeButton widget that allows to
2199         change the step of the minutes in the selector associated with the
2200         button: hildon_time_button_new_step
2201
2202         * src/hildon-time-button.c,
2203         (hildon_time_button_init),
2204         (hildon_time_button_new),
2205         (hildon_time_button_new_step):
2206         * src/hildon-time-button.h: Added the new function and refactored
2207         the code.
2208         * examples/hildon-time-button-example.c,
2209         (main): We have replaced the function without parameters with the
2210         function with the steps set to 5
2211
2212         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2213
2214 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2215
2216         * src/hildon-time-selector.c,
2217         (hildon_time_selector_class_init),
2218         (hildon_time_selector_constructor),
2219         (hildon_time_selector_get_property),
2220         (hildon_time_selector_set_property),
2221         (_create_minutes_model),
2222         (hildon_time_selector_new_step),
2223         (hildon_time_selector_set_time),
2224         * src/hildon-time-selector.h: Added a new property to the
2225         HildonTimeSelector (minutes-step), we use that property to control
2226         the steps between the minutes in the list of the selector. We have
2227         added a new function to the API to create a widget changing the
2228         step: hildon_time_selector_new_step.
2229
2230 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
2231
2232         * src/hildon-time-selector.c,
2233         (hildon_time_selector_class_init),
2234         (hildon_time_selector_constructor),
2235         (hildon_time_selector_init): Overrided the construct function when
2236         creating the time selector object. We have moved the minutes model
2237         handling code from the init to the new construction function:
2238         hildon_time_selector_constructor.
2239
2240 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2241
2242         * examples/hildon-date-button-example.c: (main): Use the new
2243         hildon_date_button_new_with_year_range() method in the example.
2244         * src/hildon-date-button.c:
2245         (+hildon_date_button_new_with_year_range): New public method
2246         to conveniently create a HildonDateButton with a custom year range
2247         in its HildonDateSelector.
2248         * src/hildon-date-button.h: Add the new public method definition.
2249
2250         Fixes: NB#97908 (Not possible to change the year range in
2251         HildonDateSelector/HildonDateButton)
2252
2253 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2254
2255         * src/hildon-date-selector.c:
2256         (+hildon_date_selector_set_property),
2257         (+hildon_date_selector_get_property),
2258         (hildon_date_selector_class_init): Install new properties "min-year"
2259         and "max-year" to define boundaries for the year column.
2260         (_create_year_model): Use the boundary properties to populate the model.
2261         (+hildon_date_selector_new_with_year_range): New public method to
2262         create a HildonDateSelector with a user defined year range.
2263         (hildon_date_selector_select_current_date): Use the new boundaries to
2264         calculate the iterator of current year.
2265         * src/hildon-date-selector.h: Add the new public method definition.
2266
2267 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
2268
2269         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2270         Install a constructor method.
2271         (+hildon_date_selector_construct_ui): construct the widget.
2272         (+hildon_date_selector_constructor): new constructor.
2273         (+hildon_date_selector_init): move out widget construction code to
2274         the new constructor.
2275
2276 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2277
2278         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2279         that there's actually a month or year selected before obtaining them.
2280         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2281         of the HildonTouchSelector::changed signal, as it was emitted on every
2282         single item selection.
2283
2284         Fix some warnings and possible crashers due to the selection restoring.
2285
2286 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2287
2288         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2289         the signal handlers only after creating the dialog instead of on every
2290         button click.
2291
2292 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
2293
2294         * src/hildon-button.c (hildon_button_init)
2295         * src/hildon-check-button.c (hildon_check_button_init)
2296         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2297         focus when clicked by default.
2298
2299 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
2300
2301         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2302         g_object_unref().
2303
2304 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
2305
2306         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2307         Alejandro G. Castro  (alex@igalia.com)
2308
2309         * src/hildon-picker-dialog.c:
2310         (hildon_picker_dialog_class_init): install new "center-on-show"
2311         property.
2312         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2313         (hildon_picker_dialog_set_property): add setter code for the new
2314         property.
2315         (hildon_picker_dialog_get_property): add getter code for the new
2316         property.
2317         (hildon_picker_dialog_show): Ensure visibility of selected items in the
2318         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2319         default.
2320
2321         Fixes: NB#92849 (Selected item is not always visible when
2322         HildonTouchSelector is shown)
2323
2324 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
2325
2326         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2327         Alejandro G. Castro  (alex@igalia.com)
2328
2329         * src/hildon-touch-selector.c:
2330         (_create_new_column): Do not connect to the "realize" signal of the
2331         pannable area.
2332         (hildon_touch_selector_append_column): center on the selected items
2333         when a new column is appended.
2334         (hildon_touch_selector_select_iter): Factor out the code to select a
2335         column to hildon_touch_selector_scroll_to().
2336         (+search_nearest_element): Method to retrieve the nearest selected
2337         element to the visible area of the pannable area in a column.
2338         (+on_realize_cb): scroll to the initially selected item.
2339         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2340         the pannable area is realized, otherwise delay this until it is.
2341         (+_hildon_touch_selector_center_on_selected_items): Centers on the
2342         selected items of a given column.
2343         (+hildon_touch_selector_center_on_selected): Public method to center
2344         all columns on the nearest selected item.
2345         * src/hildon-touch-selector.h: Add definition for
2346         hildon_touch_selector_center_on_selected().
2347
2348         Implement public API to ensure visibility of all selected items in
2349         a HildonTouchSelector.
2350
2351 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
2352
2353         Fixed a problem in the fading when calling the scroll_to API, and
2354         improve scrollbar fading handling.
2355
2356         * src/hildon-pannable-area.c,
2357         (hildon_pannable_area_grab_notify): avoid the timeout when the
2358         alpha is zero.
2359         (hildon_pannable_area_button_press_cb),
2360         (hildon_pannable_area_motion_notify_cb): Code style changes.
2361         (hildon_pannable_area_button_release_cb): Review the conditions
2362         when releasing the mouse button to avoid unrequired fading
2363         timeouts.
2364         (hildon_pannable_area_scroll_to): Do not calculate and set the
2365         velocity if the scroll is not required.
2366
2367 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
2368
2369         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2370         Don't check whether the new selector is NULL: it cannot be.
2371         Hold a reference to the selector while doing the replacement.
2372
2373 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
2374
2375         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2376         unnecessary size_request in a removed widget.
2377
2378 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
2379
2380         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2381         an unnecessary reference tracking that was leaking.
2382
2383 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
2384
2385         Added delayed motion notify event handling, this way we can
2386         discard redrawing if more than 25 events arrive per second.
2387
2388         * src/hildon-pannable-area.c,
2389         (hildon_pannable_area_init): Initialized the new private atributes
2390         controlling this timeout
2391         (hildon_pannable_area_dispose): Remove the timeout that controls
2392         the motion notify events.
2393         (hildon_pannable_area_scroll): Added a condition to control the
2394         use of the acceleration.
2395         (hildon_pannable_area_motion_event_scroll_timeout),
2396         (hildon_pannable_area_motion_event_scroll): Added this two
2397         functions, they handle the motion notify events inside the
2398         timeout.
2399         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2400         to the scroll method with the new function.
2401         (hildon_pannable_area_button_release_cb): We have to remove the
2402         timeout handler and move to the last position if the last motion
2403         events were not handled.
2404
2405         Fixes: NB#97028 (Pannable area updates on every motion event)
2406
2407 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
2408
2409         * src/hildon-pannable-area.c,
2410         (hildon_pannable_area_get_topmost): Added a new parameter to
2411         filter the the windows that do not include those events. Added
2412         also a condition when finding the window to filter windows that do
2413         not ask for those events.
2414         (hildon_pannable_area_button_press_cb),
2415         (hildon_pannable_area_button_release_cb),
2416         (hildon_pannable_get_child_widget_at): Reviewed the call the the
2417         topmost function, we have added the new parameter.
2418
2419         Fixes: NB#97458 (Pannable area prevents propagation of button
2420         press events)
2421
2422 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
2423
2424         * src/hildon-pannable-area.c,
2425         (hildon_pannable_area_initial_effect): Added controls before
2426         launching the timeout and the idle functions.
2427         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2428         of the method, in some situations it can return with TRUE and 0 in
2429         the timeout.
2430         (hildon_pannable_area_button_press_cb): We do not need to set
2431         DELAY for fading out here.
2432
2433         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2434
2435 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
2436
2437         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2438         post-cleaning if the selection is not NULL.
2439
2440 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
2441
2442         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2443         all items before restoring the selection.
2444
2445 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
2446
2447         * src/hildon-touch-selector.c:
2448         (+hildon_touch_selector_unselect_all):
2449         * src/hildon-touch-selector.h: New API to unselect all items in a
2450         column of the touch selector.
2451
2452 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
2453
2454         * src/hildon-pannable-area.c,
2455         (hildon_pannable_area_redraw): Added a call to the refresh
2456         function inside the redraw because apparently in some cases the
2457         change in the adjustment does not imply a size allocate.
2458
2459         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2460         despite the view not being scrollable)
2461
2462 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
2463
2464         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2465         leak. Check for NULL before attempting to set the window title.
2466
2467 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
2468
2469         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2470         whether to show or not the 'Done' button each time the dialog is
2471         shown, as it depends on the HildonTouchSelector selection mode.
2472
2473         Fixes: NB#96226 (In multiple selection mode Done button is shown
2474         sometimes in listpicker)
2475
2476 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
2477
2478         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2479         for the number of columns in the HildonTouchSelector more than once.
2480
2481 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
2482
2483         * src/hildon-touch-selector.c: Minor documentation fixes.
2484
2485         * src/hildon-picker-dialog.c (+_dialog_update_title)
2486         (_select_on_selector_changed_cb)
2487         (_update_title_on_selector_changed_cb)
2488         (on_selector_columns_changed): Update dialog title when there's no
2489         'Done' button and also when the number of columns in the selector
2490         changes.
2491         Code refactoring.
2492
2493         * src/hildon-picker-button.c (hildon_picker_button_finalize)
2494         (+_selection_changed, hildon_picker_button_on_dialog_response)
2495         (hildon_picker_button_selector_selection_changed)
2496         (+hildon_picker_button_selector_columns_changed)
2497         (hildon_picker_button_set_selector): Update button value and emit
2498         'value-changed' when the number of columns in the selector
2499         changes.
2500         Code refactoring.
2501
2502         Fixes: NB#96225 (Dialog titles are not shown according to the
2503         values selected in the list picker)
2504
2505 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
2506
2507         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2508         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2509         New "arrow-width" and "arrow-height" style properties to set the
2510         size of the arrow button.
2511         Set name of arrow button ("hildon-edit-toolbar-arrow").
2512
2513         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2514         graphics from theme)
2515
2516 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
2517
2518         * src/hildon-picker-button.c:
2519         (hildon_picker_button_selector_selection_changed): Use
2520         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2521         the dialog is present.
2522
2523         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2524         the selection is accepted in the dialog)
2525
2526 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
2527
2528         * src/hildon-color-chooser.h
2529         * src/hildon-color-chooser-dialog.h:
2530         Added G_BEGIN_DECLS and G_END_DECLS
2531
2532 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
2533
2534         (_clean_current_selection): plug a leak in the list.
2535
2536 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
2537
2538         * src/hildon-picker-dialog.c:
2539         (+free_path_list): Method to free a GList of GtkTreePaths.
2540         (_clean_current_selection), (_save_current_selection),
2541         (_restore_current_selection): Save the current selection in
2542         as a list of lists, to support multiple selection properly.
2543
2544 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
2545
2546         patch by Claudio Saavedra (csaavedra@igalia.com)
2547
2548         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2549         Store the press position.
2550         (+hildon_text_view_button_release_event): If the release position is
2551         close enough to the press position, move the cursor here. Otherwise,
2552         ignore.
2553         (hildon_text_view_class_init): Override GtkTextView press, release, and
2554         motion event handlers, disabling this way text selection through
2555         pointer interaction, and allowing the container widget to handle the
2556         motion event.
2557
2558         Fixes: NB#95828 (HildonTextView functionality)
2559
2560 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
2561
2562         Based on a patch by Iván Gómez (igomez@igalia.com)
2563
2564         * src/hildon-button.[ch]
2565         * src/hildon-calendar.c
2566         * src/hildon-check-button.c
2567         * src/hildon-date-editor.c
2568         * src/hildon-date-selector.c
2569         * src/hildon-picker-button.c
2570         * src/hildon-time-editor.c
2571         * src/hildon-time-selector.c
2572         * src/hildon-touch-selector.[ch]:
2573         Documentation updates
2574
2575 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
2576
2577         * src/hildon-pannable-area.c,
2578         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2579         threshold, it was required due to X events handling.
2580
2581 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
2582
2583         * src/hildon-pannable-area.c,
2584         (hildon_pannable_area_grab_notify),
2585         (hildon_pannable_area_initial_effect),
2586         (hildon_pannable_area_button_press_cb),
2587         (hildon_pannable_area_button_release_cb),
2588         (hildon_pannable_area_scroll_cb),
2589         (hildon_pannable_area_scroll_to): Review the timeout management of
2590         the scrollbar, the frecuency was incorrectly set.
2591
2592 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
2593
2594         * src/hildon-picker-button.c:
2595         (+hildon_picker_button_on_dialog_response),
2596         (hildon_picker_button_clicked): Present the dialog instead of
2597         running it with gtk_dialog_run().
2598
2599         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2600         picker dialog)
2601
2602 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
2603
2604         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2605         (hildon_app_menu_finalize): When a window is hidden it doesn't
2606         emit notify::is-topmost, so make sure than the menu also
2607         disappears in that case.
2608         (parent_window_topmost_notify): Renamed from parent_window_hidden
2609
2610         Fixes: NB#94460 (stackable window's menu is not closed when its
2611         window is hidden)
2612
2613 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
2614
2615         * src/hildon-touch-selector-entry.c:
2616         (+hildon_touch_selector_entry_set_input_mode),
2617         (+hildon_touch_selector_entry_get_input_mode):
2618         * src/hildon-touch-selector-entry.h: New methods to access the input
2619         mode in the selector's entry.
2620
2621         Fixes: NB#93410 (API required for setting IM mode in
2622         HildonTouchSelectorEntry)
2623
2624 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
2625
2626         * configure.ac: post release version bump.
2627         * debian/changelog: version bump
2628
2629 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
2630
2631         [Release 2.1.34]
2632
2633         * NEWS: Updates.
2634         * configure.ac: Bump version.
2635         * debian/changelog: Updates.
2636
2637 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
2638
2639         * src/hildon-touch-selector.c:
2640         (_hildon_touch_selector_has_multiple_selection): No need
2641         to initialize the variables here.
2642
2643 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
2644
2645         * src/hildon-note-private.h
2646         * src/hildon-note.c (event_box_press_event, hildon_note_init)
2647         (hildon_note_finalize, hildon_note_rebuild): Close information
2648         notes when they receive a button press.
2649
2650         Fixes: NB#89890 (Information notes does not get disappeared after
2651         few seconds)
2652
2653 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
2654
2655         * src/hildon-wizard-dialog.c: (create_title): Remove translation
2656         mark from the wizard title, as it's not really necessary. Also,
2657         do not display the page title if not set.
2658
2659 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
2660
2661         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2662         (parent_window_hidden): Use the window's "is-topmost" property to
2663         detect when to hide the menu.
2664
2665 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
2666
2667         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2668         (hildon_app_menu_finalize): If the parent window of the menu is
2669         hidden, hide the menu too.
2670
2671         Fixes: NB#94460 (stackable window's menu is not closed when its
2672         window is hidden)
2673
2674 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
2675
2676         * debian/changelog
2677         * debian/libhildon1-examples.install
2678         * debian/rules
2679         * examples/Makefile.am:
2680         Use dh_install to install all examples.
2681         Use DEB_SRCDIR instead of defining SOURCE_DIR
2682
2683 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2684
2685         * configure.ac: post release version bump.
2686         * debian/changelog: version bump
2687
2688 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2689
2690         [Release 2.1.32]
2691
2692         * NEWS: updates
2693         * configure.ac: bump version
2694         * debian/changelog: updates
2695         * debian/control: bump gtk+ dependency
2696
2697 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
2698
2699         patch by Christian Dywan (christian@imendio.com)
2700
2701         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2702         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2703
2704 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
2705
2706         * src/hildon-check-button.c (hildon_check_button_init)
2707         (hildon_check_button_class_init, hildon_check_button_style_set)
2708         (hildon_check_button_apply_style):
2709         New "checkbox-size" style property.
2710
2711         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2712         larger / configurable size)
2713
2714 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
2715
2716         * configure.ac: post release version bump.
2717         * debian/changelog: version bump
2718
2719 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
2720
2721         [Release 2.1.30]
2722
2723         * NEWS: updates
2724         * configure.ac: bump version
2725         * debian/changelog: updates
2726
2727 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
2728
2729         * doc/hildon-sections.txt
2730         * src/hildon-pannable-area.c
2731         * src/hildon-program.c
2732         * src/hildon-time-editor.c
2733         * src/hildon-touch-selector-entry.c:
2734
2735         More documentation updates.
2736
2737 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
2738
2739         * doc/hildon-sections.txt
2740         * src/hildon-caption.c
2741         * src/hildon-code-dialog.c
2742         * src/hildon-color-button.c
2743         * src/hildon-controlbar.c
2744         * src/hildon-date-editor.c
2745         * src/hildon-date-selector.c
2746         * src/hildon-edit-toolbar.c
2747         * src/hildon-find-toolbar.c
2748         * src/hildon-font-selection-dialog.c
2749         * src/hildon-gtk.c
2750         * src/hildon-program.c
2751         * src/hildon-range-editor.c
2752         * src/hildon-seekbar.c
2753         * src/hildon-time-editor.c
2754         * src/hildon-time-selector.c
2755         * src/hildon-volumebar-range.c
2756         * src/hildon-volumebar.c
2757         * src/hildon-vvolumebar.c
2758         * src/hildon-weekday-picker.c
2759         * src/hildon-window.c
2760         * src/hildon-wizard-dialog.c:
2761
2762         Lots of documentation fixes.
2763
2764 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2765
2766         Patch contributed by Iván Gómez (igomez@igalia.com)
2767
2768         * src/hildon-check-button.c:
2769         * src/hildon-date-button.c:
2770         * src/hildon-date-selector.c:
2771         * src/hildon-dialog.c:
2772         * src/hildon-edit-toolbar.c:
2773         * src/hildon-entry.c:
2774         * src/hildon-picker-button.c:
2775         * src/hildon-program.c:
2776         * src/hildon-text-view.c:
2777         * src/hildon-time-button.c:
2778         * src/hildon-touch-selector-entry.c:
2779         * src/hildon-window-stack.c:
2780
2781         Add more "since" tags to the new API.
2782
2783 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2784
2785         * doc/hildon-sections.txt: Add below method.
2786         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2787         version for the hildonized scale.
2788         * src/hildon-gtk.h: Add the definition.
2789
2790         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2791
2792 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2793
2794         * doc/hildon-sections.txt: Add missing entries for new methods.
2795
2796 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
2797
2798         Added API to pannable are in order to get its adjustments. We
2799         added two properties to manage the values we had in the private
2800         structure.
2801
2802         * src/hildon-pannable-area.c:
2803         (hildon_pannable_area_class_init): Added hadjustment and
2804         vadjustment properties in order to expose horizontal and vertical
2805         adjustment.
2806         (hildon_pannable_area_get_property),
2807         (hildon_pannable_area_set_property): Added code to handle the new
2808         properties
2809         (hildon_pannable_area_get_hadjustment),
2810         (hildon_pannable_area_get_vadjustment): API functions to get the
2811         adjustments
2812         * src/hildon-pannable-area.h:
2813         (hildon_pannable_area_get_hadjustment),
2814         (hildon_pannable_area_get_vadjustment): API functions to get the
2815         adjustments
2816
2817 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
2818
2819         Fixed some leaks, after valgrinding.
2820
2821         * src/hildon-touch-selector.c:
2822         (_default_print_func): Fixed a leak.
2823         (hildon_touch_selector_append_column): Fixed a leak.
2824         * src/hildon-date-button.c:
2825         (hildon_date_button_init): Fixed a leak.
2826         * src/hildon-date-selector.c
2827         (hildon_date_selector_finalize): Fixed a leak.
2828
2829 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
2830
2831         Based on a patch by Christian Dywan (christian@imendio.com)
2832
2833         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2834         GtkHScale.
2835         * src/hildon-gtk.h: Add definition.
2836
2837         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2838
2839 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2840
2841         * src/hildon-picker-button.c: (hildon_picker_button_init),
2842         (hildon_picker_button_new): Set the HildonButton::style property
2843         in the init method, to propagate the value to the derived classes.
2844
2845 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2846
2847         * src/hildon-button.c: (hildon_button_class_init): Do not make
2848         the "style" property a construct property.
2849
2850 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2851
2852         * src/hildon-wizard-dialog.h
2853         * src/hildon-wizard-dialog.c
2854         (hildon_wizard_dialog_set_forward_page_func)
2855         * src/hildon-pannable-area.h
2856         * src/hildon-pannable-area.c
2857         (hildon_pannable_area_set_size_request_policy):
2858         Documentation fixes.
2859
2860 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2861
2862         * doc/hildon-sections.txt: Fixed warning about unused symbols.
2863
2864 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
2865
2866         * doc/hildon-sections.txt: Added sections file.
2867
2868 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
2869
2870         * AUTHORS: Updates.
2871         * src/*.[ch]: Updates.
2872
2873 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
2874
2875         * examples/hildon-progress-indicator-example.c: new file
2876         * examples/Makefile.am: include the new example program
2877
2878 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
2879
2880         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2881
2882 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2883
2884         * configure.ac: post release version bump
2885         * debian/changelog: version bump
2886
2887 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2888
2889         [Release 2.1.28]
2890
2891         * NEWS: updates
2892         * configure.ac: bump version
2893         * debian/changelog: updates
2894         * debian/control: bump gtk+ dependency
2895
2896 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2897
2898         * src/hildon-dialog.c: Mark as deprecated.
2899         * src/hildon-dialog.h: Mark as deprecated.
2900         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2901         from HildonDialog and still work, even if
2902         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2903         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2904
2905         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2906         maemo changes) instead)
2907
2908 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
2909
2910         * src/hildon-pannable_area.h:
2911         * src/hildon-pannable_area.c:
2912         (hildon_pannable_area_class_init),
2913         (hildon_pannable_area_set_property),
2914         (hildon_pannable_area_get_property),
2915         (hildon_pannable_area_size_request),
2916         (hildon_pannable_area_get_size_request_policy),
2917         (hildon_pannable_area_set_size_request_policy): Added new API
2918         allowing applications to control the request policy. Now they can
2919         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2920         children allocation (HILDON_MOVEMENT_CHILDREN).
2921
2922 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
2923
2924         * src/hildon-gtk.h
2925         * src/hildon-gtk.c
2926         (hildon_gtk_tree_view_set_ui_mode)
2927         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2928         mode of treeviews and iconviews.
2929
2930 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2931
2932         * src/hildon-touch-selector-entry.c:
2933         (hildon_touch_selector_entry_init): Use a HildonEntry instead
2934         of a GtkEntry to get proper theming.
2935
2936         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2937         widget, not GtkEntry)
2938
2939 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2940
2941         * src/hildon-wizard-dialog.c: (response): Move forward if there is
2942         no HildonWizardDialogPageFunc.
2943
2944 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
2945
2946         Patch contributed by Iván Gómez (igomez@igalia.com)
2947
2948         * src/hildon-app-menu.c:
2949         * src/hildon-button.c:
2950         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2951         * src/hildon-stackable-window.c:
2952         * src/hildon-time-selector.c:
2953         * src/hildon-touch-selector.c:
2954         * src/hildon-window.c:
2955
2956         Add more "since" tags to the new API in hildon 2.2.
2957
2958 2008-12-05  Tim Janik  <timj@imendio.com>
2959
2960         Patch contributed by Christian Dywan (christian@imendio.com)
2961
2962         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2963         HildonSizeType, which are supplied by Gtk+ now.
2964
2965         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2966
2967         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2968         (with maemo changes) instead)
2969
2970 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
2971
2972         Patch contributed by Iván Gómez (igomez@igalia.com)
2973
2974         * src/hildon-pannable-area.c: Add "since" tags to the new API in
2975         hildon 2.2.
2976
2977 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
2978
2979         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2980         (some_page_func), (main): Update the example to use a
2981         HildonWizardDialogPageFunc function.
2982
2983         * src/hildon-wizard-dialog-private.h: Add private data for
2984         the HildonWizardDialogPageFunc function usage.
2985
2986         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2987         (destroy), (hildon_wizard_dialog_init), (response),
2988         (hildon_wizard_dialog_set_forward_page_func):
2989         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2990         that applications can use to stop a HildonWizardDialog to jump to
2991         the next page.
2992
2993         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2994         next page)
2995
2996 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
2997
2998         * src/hildon-program.h
2999         * src/hildon-program-private.h
3000         * src/hildon-program.c (hildon_program_init)
3001         (hildon_program_set_common_app_menu)
3002         (hildon_program_get_common_app_menu):
3003         New API for setting a common HildonAppMenu for all
3004         HildonStackableWindows registered with the HildonProgram.
3005
3006         * src/hildon-stackable-window.c
3007         (hildon_stackable_window_toggle_menu):
3008         Use the common HildonAppMenu if a window doesn't have a specific
3009         one.
3010
3011         * src/hildon-app-menu-private.h
3012         * src/hildon-app-menu.c
3013         (hildon_app_menu_get_parent_window):
3014         Function to obtain the window a HildonAppMenu is attached to.
3015         (hildon_app_menu_set_parent_window):
3016         Hide the menu if the parent window is set to NULL.
3017
3018 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
3019
3020         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
3021         set GtkTreeView::enable-search to FALSE, to avoid the interactive
3022         search widget to popup.
3023
3024 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3025
3026         * configure.ac: post release version bump
3027         * debian/changelog: version bump
3028
3029 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
3030
3031         [Release 2.1.26]
3032
3033         * NEWS: updates
3034         * configure.ac: bump version
3035         * debian/changelog: updates
3036
3037 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3038
3039         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
3040
3041         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
3042         (hildon_window_stack_window_realized)
3043         (hildon_window_stack_remove, _hildon_window_stack_do_push):
3044         Set the leader GdkWindow when a window is stacked and realized,
3045         unset it when it's unstacked.
3046         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
3047
3048         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
3049
3050 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3051
3052         * src/hildon-stackable-window.h
3053         * src/hildon-window-stack.h:
3054         Protect definition of HildonWindowStack using the preprocessor.
3055
3056 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3057
3058         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
3059         Fix warning if all menu items are hidden.
3060
3061 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
3062
3063         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3064
3065         * src/hildon-controlbar.c:
3066         * src/hildon-hvolumebar.c:
3067         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3068         Multiple scale size defines updates.
3069
3070         Fixes: NB#94322 (Scale Updates)
3071
3072 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3073
3074         * examples/hildon-app-menu-example.c (create_menu)
3075         Show items after adding them to the menu, as in the future the
3076         menu will no longer call gtk_widget_show() on the added items.
3077
3078         * src/hildon-app-menu.c:
3079         Update example as explained above.
3080
3081 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
3082
3083         * src/hildon-app-menu.c
3084         (hildon_app_menu_insert, hildon_app_menu_add_filter):
3085         Make sure that all menu items have finger height.
3086
3087 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
3088
3089         * src/hildon-picker-dialog.c:
3090         (_on_dialog_response), (_save_current_selection),
3091         (_restore_current_selection), (_clean_current_selection),
3092         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3093         Defined new functions in order to save the current internal selector
3094         selection previous open the dialog, in case that the use cancel the
3095         interaction, so the widget restores the previous selection.
3096
3097         Fixes: NB#92032 (In calendar application, date values in 'new event' 
3098         are not proper)
3099
3100         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3101
3102 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
3103
3104         * src/hildon-button.c: Add a reference to the button examples in
3105         hildon-button-example.c
3106
3107         * examples/hildon-button-example.c: Added examples of the most
3108         common button layouts.
3109
3110 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
3111
3112         * src/hildon-app-menu.c (hildon_app_menu_show)
3113         (hildon_app_menu_class_init): Don't show the menu if it's empty.
3114
3115         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3116
3117 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3118
3119         * src/hildon-picker-dialog.c:
3120         (hildon_picker_dialog_init): Initialize the signal id for
3121         HildonTouchSelector::columns-changed.
3122         (+on_selector_columns_changed): Set up the interaction mode everytime a
3123         column is added or removed from the HildonTouchSelector.
3124         (_hildon_picker_dialog_set_selector): Connect to
3125         HildonTouchSelector::columns-changed and keep track of it.
3126
3127         Make sure to update the interaction mode of the dialog everytime a
3128         column is added or removed in the HildonTouchSelector.
3129
3130         Fixes: NB#93228 (Done button is not shown always in listpicker)
3131
3132 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3133
3134         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3135         a new ::columns-changed signal.
3136         (hildon_touch_selector_append_column): Emit ::columns-changed.
3137         (hildon_touch_selector_remove_column): Emit ::columns-changed.
3138
3139         Add a ::columns-changed signal, emitted when the number of columns in a
3140         HildonTouchSelector changes.
3141
3142 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3143
3144         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3145         (_hildon_picker_dialog_set_selector): Factor out the code
3146         to set up the dialog interaction mode.
3147
3148 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3149
3150         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3151         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3152         to signal_changed_id.
3153
3154 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3155
3156         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3157         Minor doc. fixes.
3158
3159 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
3160
3161         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3162         Updated the logical ids related to ampm format, as now it is required to
3163         show it correctly localized even on languages with no default
3164         abbreviations for am or pm
3165         (_check_am_pm_format): check correctly the 24h format gconf property
3166
3167         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3168
3169 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
3170
3171         * src/hildon-button.c: Documentation updates.
3172
3173 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3174
3175         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3176         * src/hildon-caption.c: (hildon_caption_class_init):
3177         * src/hildon-color-button.c: (hildon_color_button_class_init):
3178         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3179         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3180         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3181         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3182
3183         Remove deprecated GTK+ marshalers and replace them with the ones
3184         provided by GLib, for those available, add a marshaler for
3185         BOOLEAN:VOID, which is not available in GLib, and use it.
3186
3187 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3188
3189         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3190         the text from the previous column if there is no
3191         HildonTouchSelectorColumn::text-property set.
3192
3193 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
3194
3195         * src/hildon-button.h
3196         * src/hildon-button.c (hildon_button_set_property)
3197         (hildon_button_get_property, hildon_button_class_init)
3198         (hildon_button_set_style, hildon_button_get_style):
3199         New "style" property to change the visual appearance of the
3200         button.
3201
3202         * src/hildon-picker-button.c (hildon_picker_button_new):
3203         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3204
3205         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3206         HildonButton look like PickerButton)
3207
3208 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
3209
3210         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3211         column while building the default string.
3212
3213 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
3214
3215         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3216         scroll indicator by default.
3217
3218         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3219
3220 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
3221
3222         * src/hildon-main.c: Fix the documentation for hildon_init()
3223
3224 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3225
3226         * doc/hildon-docs.sgml
3227         * doc/hildon.types
3228         * src/Makefile.am
3229         * src/hildon.h
3230         * src/hildon-window-stack-private.h
3231         * src/hildon-window-stack.h
3232         * src/hildon-window-stack.c:
3233         New HildonWindowStack object, that adds support for multiple
3234         stacks of windows per process.
3235
3236         * src/hildon-stackable-window-private.h
3237         * src/hildon-stackable-window.h
3238         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3239         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3240         (hildon_stackable_window_show, hildon_stackable_window_hide)
3241         (hildon_stackable_window_class_init)
3242         (hildon_stackable_window_init):
3243         Use HildonWindowStack for stack management.
3244
3245         * src/hildon-program.c (hildon_program_pop_window_stack)
3246         (hildon_program_peek_window_stack)
3247         (hildon_program_go_to_root_window):
3248         Add a fallback implementation to the deprecated functions using
3249         HildonWindowStack.
3250
3251         * examples/hildon-stackable-window-example.c:
3252         Use the new HildonWindowStack API.
3253
3254 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3255
3256         * src/hildon-stackable-window-private.h
3257         * src/hildon-stackable-window.c (hildon_stackable_window_show)
3258         (hildon_stackable_window_hide, hildon_stackable_window_init):
3259         Remove all window stack management.
3260
3261         * src/hildon-program-private.h
3262         * src/hildon-program.h
3263         * src/hildon-program.c (hildon_program_init)
3264         (hildon_program_pop_window_stack)
3265         (hildon_program_peek_window_stack)
3266         (hildon_program_go_to_root_window):
3267         Remove all window stack management and mark functions as
3268         deprecated.
3269
3270 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
3271
3272         * src/hildon-app-menu.c (hildon_app_menu_realize):
3273         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3274
3275 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3276
3277         * configure.ac: post release version bump
3278         * debian/changelog: version bump
3279
3280 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3281
3282         [Release 2.1.24]
3283
3284         * NEWS: updates
3285         * configure.ac: bump version
3286         * debian/changelog: updates
3287
3288 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
3289
3290         Based on initial code by Christian Dywan (christian@imendio.com)
3291
3292         * doc/hildon-docs.sgml: Add section for hildon-main.
3293         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3294         * src/Makefile.am: Add new hildon-main.[ch]
3295         * src/hildon-defines.h: Update the icon sizes.
3296         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3297         new library initialization files and register icon sizes.
3298         * src/hildon-main.h: New declarations.
3299         * src/hildon.h: Include hildon-main.h
3300
3301         Add new initialization functions to the library. These methods
3302         will register the hildon specific icon sizes and can be used in the
3303         future for other hildon specific bits.
3304
3305         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3306
3307 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
3308
3309         * src/hildon-window.c: (hildon_window_realize),
3310         (hildon_window_notify), (-hildon_window_update_title): Do not set
3311         the application name in the window title.
3312
3313         Fixes: NB#89754 (Applications shouldn't display their names in the
3314         window title)
3315
3316 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
3317
3318         * src/hildon-note-private.h:
3319         * src/hildon-note.c: (hildon_note_set_property),
3320         (hildon_note_get_property), (hildon_note_class_init),
3321         (hildon_note_init), (hildon_note_finalize),
3322         (hildon_note_new_confirmation_with_icon_name),
3323         (hildon_note_new_information_with_icon_name):
3324
3325         No need to mark as deprecated the actual code. Revert
3326         to avoid missing symbols in widgets using deprecated API.
3327
3328 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
3329
3330         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3331
3332         * src/hildon-volumebar.h
3333         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3334         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3335
3336         * src/hildon-helper.h
3337         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3338         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3339
3340         * examples/Makefile.am:
3341         Deprecate hildon-insensitive-example
3342
3343         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3344
3345 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
3346
3347         * examples/hildon-pannable-area-buttons-scroll-example.c:
3348         Make all buttons finger height
3349
3350 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
3351
3352         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3353         documentation
3354         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3355         update the day model only if it is really required, and to avoid the
3356         full-reconstruction aproach. Now it only add or remove the required days.
3357
3358         The purpose of this is avoid superfluous HildonTouchSelector::changed
3359         signals
3360
3361         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3362         with strange parameters)
3363
3364 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
3365
3366         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3367
3368         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3369         the WINDOW_TYPE property.
3370
3371         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3372
3373 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
3374
3375         * doc/gtk-doc.make:
3376         Fix dependency to allow parallel compilation with make -jX
3377
3378 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
3379
3380         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3381         color frame and some minor tweaks to make it more consistent with
3382         current theming.
3383
3384         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3385         highlighted but not visible)
3386
3387 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3388
3389         * examples/Makefile.am: Fixed typo in the Makefile.am.
3390
3391 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3392
3393         Reviewed the use of MAEMO_GTK define, now we add the define in the
3394         compilation line, and we also add it to the pc file.
3395
3396         * configure.ac: Added MAEMO_GTK define to the compilation command
3397         and removed it from the config.h.
3398
3399         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3400         do not have to take care about this define if the library was
3401         compiled with it.
3402
3403         * src/hildon-gtk.c:
3404         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3405
3406 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
3407
3408         * examples/Makefile.am,
3409         * examples/hildon-pannable-area-buttons-scroll-example.c,
3410         * examples/hildon-pannable-area-gesture-signals-example.c,
3411         * examples/hildon-pannable-area-scroll-jump-example.c,
3412         * examples/hildon-pannable-area-tree-view-example.c:
3413         Renamed the pannable area examples, now they have more meaningful
3414         names.
3415
3416 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
3417
3418         * src/hildon-touch-selector.c:
3419         (hildon_touch_selector_set_column_selection_mode): Used of
3420         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3421         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3422         to avoid re-seting the same selection mode.
3423
3424         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3425         breaks HildonPickerDialog)
3426
3427 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
3428
3429         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3430         conditional in the Makefile.am
3431
3432 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
3433
3434         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3435         Remove unused methods.
3436
3437 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
3438
3439         * src/hildon-button.c (hildon_button_init):
3440         Make button images center-aligned by default
3441
3442 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
3443
3444         * src/hildon-gtk.c:
3445         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3446         activated, we have to think about how to deal with both defines
3447         MAEMO_GTK and MAEMO_CHANGES.
3448
3449 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
3450
3451         * examples/hildon-app-menu-example.c (create_menu): Make all
3452         buttons finger size.
3453
3454 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
3455
3456         Fixed the compilation without maemo gtk adding ifdefs with
3457         MAEMO_GTK define to the code, we have to check this version more
3458         carefully.
3459
3460         * examples/Makefile.am: Added control to avoid some examples that
3461         just make sense with maemo gtk.
3462
3463         * src/hildon-gtk.c:
3464         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3465         hildon modes with the define.
3466
3467         * examples/hildon-edit-toolbar-example.c,
3468         (create_icon_view): Create the icon view without hildon-gtk
3469         helpers if we are not using maemo gtk.
3470
3471         * src/hildon-touch-selector.c,
3472         (_create_new_column): Create the treeview without hildon-gtk
3473         helpers if we are not using maemo gtk.
3474
3475 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
3476
3477         * src/hildon-pnnable-area.c,
3478         (hildon_pannable_area_dispose),
3479         (hildon_pannable_area_button_press_cb),
3480         (hildon_pannable_area_child_mapped),
3481         (hildon_pannable_area_add),
3482         (hildon_pannable_area_remove): Added code to control the position
3483         of the event_window when adding and removing children from the
3484         pannable. We have to raise the event window when the child is
3485         mapped.
3486
3487         Fixes: NB#89811 (Not able to select first image thumbnail in multi
3488         selection mode using custom widget inside pannable)
3489
3490 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
3491
3492         * configure.ac: post release version bump
3493         * debian/changelog: version bump
3494
3495 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
3496
3497         [Release 2.1.22]
3498
3499         * NEWS: updates
3500         * configure.ac: bump version
3501         * debian/changelog: updates
3502
3503 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
3504
3505         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3506         search mode, in order to avoid lose the focus on the treeview when
3507         a hw key (like enter) is pressed.
3508
3509         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3510         in HildonDateSelector dialog)
3511
3512 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
3513
3514         * debian/rules: Added --enable-maintainer-mode
3515         * Makefile.am: Added ACLOCAL_AMFLAGS
3516
3517         This allows to properly regenerate the Makefiles if you modify the
3518         configure.ac or any Makefile.am.
3519
3520 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
3521
3522         * examples/hildon-app-menu-example.c: (main): Do not set RC style
3523         properties, not needed at all.
3524
3525 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
3526
3527         * src/hildon-note-private.h: Add strings for the icon and stock_icon
3528         properties.
3529         * src/hildon-note.c: (hildon_note_set_property),
3530         (hildon_note_get_property), (hildon_note_class_init),
3531         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3532         (hildon_note_new_confirmation_add_buttons): Remove icons.
3533         (hildon_note_new_confirmation_with_icon_name): Deprecate.
3534         (hildon_note_new_information_with_icon_name): Deprecate.
3535         (hildon_note_new_confirmation): Act directly, without calling
3536         the deprecated constructor.
3537         (hildon_note_new_information): Act directly, without calling
3538         the deprecated constructor.
3539         * src/hildon-note.h: Mark deprecate methods as such.
3540         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3541         not run tests on the deprecated methods if built with deprecation
3542         disabled.
3543
3544         Fixes: NB#91688 (Never show icons in information notes/confirmation
3545         notes)
3546
3547 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
3548
3549         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3550         (hildon_app_menu_key_press): Remove leftover usage of the
3551         private structure in HildonAppMenu struct.
3552         * src/hildon-app-menu.h: Remove leftover private structure
3553         from the HildonAppMenu struct.
3554
3555         Fixes a crasher when using the HildonAppMenu.
3556
3557 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
3558
3559         * src/hildon-picker-dialog.c: Use appropriate logical id
3560         for the default "Done" text.
3561
3562 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
3563
3564         * configure.ac: post release version bump
3565         * debian/changelog: version bump
3566
3567 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
3568
3569         Modified the way to scroll to the current selection just when the touch
3570         selector is shown on the screen, avoiding a g_idle. Added too a property
3571         to configure this behaviour. See hildon_pannable_area_jump_to_child
3572         documentation for more information.
3573
3574         * src/hildon-touch-selector.c
3575         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3576         Added 'initial-scroll' property
3577         (hildon_touch_selector_set_property): Added
3578         (hildon_touch_selector_map): Removed as not required anymore
3579         (_hildon_touch_selector_on_selected_items): Modified in order to manage
3580         only a concrete column, instead of iterate along all the columns
3581
3582 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
3583
3584         [Release 2.1.20]
3585
3586         * NEWS: updates
3587         * configure.ac: bump version
3588         * debian/changelog: updates
3589
3590 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
3591
3592         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3593         compilation time warnings.
3594
3595 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
3596
3597         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3598         the default value for HildonPannableArea::mov-mode to
3599         HILDON_PANNABLE_AREA_MODE_VERT.
3600
3601         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3602
3603 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
3604
3605         Reverting following commit:
3606
3607         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
3608
3609           * src/hildon-app-menu-private.h
3610           * src/hildon-app-menu.[ch]
3611           * src/hildon-button.[ch]
3612           * src/hildon-check-button.[ch]
3613           * src/hildon-entry.[ch]
3614           * src/hildon-pannable-area.[ch]
3615           * src/hildon-text-view.[ch]:
3616           Added private field to the object's structure.
3617
3618         because it causes an ABI breakage. We will need to introduce these
3619         changes later at some point. See NB#91636 for an extensive
3620         explanation and status.
3621
3622 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
3623
3624         Patch contributed by Daniel Borgmann (danielb@openismus.com)
3625
3626         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3627         remove special cases that are no longer necessary.
3628
3629         Fixes: NB#91016 (Change toolbar sizes, simplification)
3630
3631 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
3632
3633         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3634         is shown in the cancel note.
3635
3636 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
3637
3638         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3639         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3640         (hildon_seekbar_init): Remove steppers, remove expose event.
3641         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3642
3643         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3644
3645 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
3646
3647         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3648         label font to "SmallSystemFont" for vertically arranged buttons.
3649
3650         Fixes: NB#90662 (HildonButton "value" and "detail" text is
3651         unformatted)
3652
3653 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
3654
3655         * src/hildon-check-button.c
3656         (hildon_check_button_set_active, hildon_check_button_clicked):
3657         Don't access private parts directly, use getters instead.
3658
3659 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
3660
3661         * src/hildon-check-button.c (hildon_check_button_new):
3662         Align the contents of the check button to the left.
3663
3664 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3665
3666         * src/hildon-pannable-area.c,
3667         (hildon_pannable_area_scroll_to),
3668         (hildon_pannable_area_jump_to),
3669         (hildon_pannable_area_scroll_to_child),
3670         (hildon_pannable_area_jump_to_child): Replace the mapped
3671         precondition of these functions with the realized, it is the
3672         correct state of the widget in this case. Changed the
3673         documentation according to this modification.
3674
3675 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3676
3677         Added a new EXTRA_CFLAGS option to add the deprecated define to
3678         the compilation command. This way we can avoid using the define in
3679         the documentation compilation.
3680
3681         * configure.ac: Defined EXTRA_CFLAGS.
3682
3683         * examples/Makefile.am:
3684         * src/Makefile.am:
3685         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3686
3687 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
3688
3689         * src/hildon-picker-dialog.c:
3690         Defined a utility macro with the desired touch selector height
3691         Removed currently unused separator, and title_label variables from
3692         private structure.
3693         (hildon_picker_dialog_init): Removed code related to the creation
3694         of unused private variables title_label and separator.
3695         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3696         to ensure correct visualization of the touch selector inside the dialog.
3697         * src/hildon-touch-selector.c
3698         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3699         ensure a concrete height of the widget.
3700
3701 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3702
3703         * src/Makefile.am:
3704         * tests/Makefile.am:
3705
3706         Remove spurious whitespaces.
3707
3708 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3709
3710         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3711         compilation warning after the cancel button removal.
3712
3713 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
3714
3715         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3716
3717         * configure.ac: Added an AM_CONDITIONAL in order to use in the
3718         Makefile.am, that way we can choose not to compile some examples
3719         and tests of the deprecated widgets.
3720
3721         * examples/Makefile.am: Divided the sources in deprecated and
3722         non-deprecated.
3723
3724         * src/Makefile.am: Added undef statement of the deprecated
3725         symbol to the enums file generation process.
3726
3727         * src/hildon-color-chooser-dialog.c
3728         * src/hildon-color-chooser-dialog.h
3729         * src/hildon-color-button.c
3730         * src/hildon-color-button.h
3731         * src/hildon-color-chooser.c
3732         * src/hildon-color-chooser.h
3733         * src/hildon-controlbar.c
3734         * src/hildon-controlbar.h
3735         * src/hildon-date-editor.c
3736         * src/hildon-date-editor.h
3737         * src/hildon-hvolumebar.c
3738         * src/hildon-hvolumebar.h
3739         * src/hildon-private.c
3740         * src/hildon-private.h
3741         * src/hildon-range-editor.c
3742         * src/hildon-range-editor.h
3743         * src/hildon-seekbar.c
3744         * src/hildon-seekbar.h
3745         * src/hildon-time-editor.c
3746         * src/hildon-time-editor.h
3747         * src/hildon-time-picker.c
3748         * src/hildon-time-picker.h
3749         * src/hildon-volumebar.c
3750         * src/hildon-volumebar.h
3751         * src/hildon-vvolumebar.c
3752         * src/hildon-vvolumebar.h
3753         * src/hildon-bread-crumb-trail.h
3754         * src/hildon-bread-crumb-trail.c
3755         * src/hildon-calendar-popup.c
3756         * src/hildon-calendar-popup.h
3757         * src/hildon-weekday-picker.c:
3758         * src/hildon-weekday-picker.h:
3759         * src/hildon-bread-crumb-widget.c:
3760         * src/hildon-bread-crumb-widget.h:
3761         * src/hildon-bread-crumb.c:
3762         * src/hildon-bread-crumb.h:
3763         * src/hildon-calendar.c:
3764         * src/hildon-calendar.h:
3765         * src/hildon-caption.c:
3766         * src/hildon-code-dialog.c:
3767         * src/hildon-code-dialog.h:
3768         * src/hildon-font-selection-dialog.c:
3769         * src/hildon-font-selection-dialog.h:
3770         * src/hildon-get-password-dialog.c:
3771         * src/hildon-get-password-dialog.h:
3772         * src/hildon-login-dialog.c:
3773         * src/hildon-login-dialog.h:
3774         * src/hildon-number-editor.c:
3775         * src/hildon-number-editor.h:
3776         * src/hildon-set-password-dialog.c:
3777         * src/hildon-set-password-dialog.h:
3778         * src/hildon-sort-dialog.c:
3779         * src/hildon-sort-dialog.h: This is the list of deprecated
3780         widgets.
3781
3782         * src/hildon-touch-selector.c:
3783         * src/hildon-window.c: Added undef statement to avoid compilation
3784         warnings
3785
3786         * tests/Makefile.am: Divided the sources in deprecated and
3787         non-deprecated.
3788
3789         * tests/check_test.c,
3790         (configure_tests): Marked the deprecated code that was adding
3791         suites with deprecated tests.
3792
3793         Fixes: NB#91135 (Deprecate legacy hildon widgets)
3794
3795 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
3796
3797         * src/hildon-touch-selector.c: (_default_print_func): Do not
3798         duplicate a string returned by gtk_tree_model_get(), it is already
3799         allocated for us.
3800
3801         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3802         function)
3803
3804 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3805
3806         * src/hildon-pannable-area.c
3807         (hildon_pannable_area_add_with_viewport): Reviewed the complete
3808         method, it had problems when adding a widget with viewport the
3809         second time. Now checks if it already has a viewport and uses it.
3810
3811         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3812         on child)
3813
3814 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3815
3816         * src/hildon-pannable-area.c,
3817         (hildon_pannable_area_scroll_to),
3818         (hildon_pannable_area_jump_to),
3819         (hildon_pannable_area_scroll_to_child),
3820         (hildon_pannable_area_jump_to_child): Added a precondition to the
3821         scroll and jump to functions: the widget must be mapped before we
3822         can safely call these functions. We have also added documentation
3823         to the functions to explain how to use them in this situation.
3824
3825
3826 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
3827
3828         Reviewed the threading handling of the pannable widget, we have
3829         used the gdk_threads_add_timeout function instead of the usual
3830         glib handlers. This avoids some problems with the threads.
3831
3832         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3833         (hildon_pannable_area_initial_effect),
3834         (hildon_pannable_area_scroll_indicator_fade),
3835         (hildon_pannable_area_button_press_cb),
3836         (hildon_pannable_area_timeout),
3837         (hildon_pannable_area_motion_notify_cb),
3838         (hildon_pannable_area_button_release_cb),
3839         (hildon_pannable_area_scroll_cb),
3840         (hildon_pannable_area_scroll_to): Removed the
3841         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3842         gdk_threads_add_timeout.
3843
3844         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3845
3846 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3847
3848         [Release 2.1.18]
3849
3850         * NEWS: updates
3851         * configure.ac: bump version
3852         * debian/changelog: updates
3853
3854 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3855
3856         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3857         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3858         * src/hildon-color-chooser-dialog.c:
3859         (hildon_color_chooser_dialog_init):
3860         * src/hildon-font-selection-dialog.c:
3861         (hildon_font_selection_dialog_init):
3862         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3863
3864         Remove all cancel/close-like dialogs, as these are not going to be
3865         displayed at all.
3866
3867 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3868
3869         * src/hildon-note.c: (hildon_note_rebuild),
3870         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3871         when needed.
3872
3873         Fixes: NB#90661 (Delete dialog is displayed without NO button)
3874
3875 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
3876
3877         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3878         sure all buttons are shown, even the Cancel/Close-like ones.
3879
3880         Fixes: NB#90861 (Custom Confirmation dialogs should be
3881         protected from cancel button removal)
3882
3883 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
3884
3885         * debian/control: Change libhildon1-examples dependency from libhildon1
3886         to libhildon1-dev
3887         * debian/libhildon1-examples.install
3888         * debian/rules
3889         * Makefile.am: Modified the final install directory for the examples on
3890         package libhildon1-examples
3891         * Makefile.static: Update clean target in order to remove all the binary
3892         examples
3893
3894         Changes suggested by Claudio after review new libhildon1-examples package
3895
3896 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
3897
3898         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3899         * src/hildon-touch-selector.c: Ditto.
3900
3901 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
3902
3903         * debian/control: Added new package libhildon1-examples, in order to pack
3904         the current hildon examples as documentation
3905         * debian/rules: Not to compress .c files, modify some includes on the
3906         examples (as normally are compiled locally, but when installed it will
3907         require to include the installed libhildon1 library), and rename
3908         Makefile.static
3909         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3910         install all the example files on the new example package
3911         * examples/Makefile.static: Added static makefile that can be used to
3912         compile the examples, once installed the new example package
3913         * examples: Most of the examples were modified in order to grant that
3914         all use only '#include "hildon.h"', in order to be easy to prepare
3915         it on the example package
3916
3917 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
3918
3919         * debian/control
3920         * debian/libhildon1-dev.install
3921         * debian/libhildon1-doc.install:
3922         Move all gtk-doc files to a separate libhildon1-doc package.
3923
3924 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
3925
3926         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
3927
3928         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3929
3930 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
3931
3932         * debian/rules: Fixed a error in order to avoid unnecessary calls
3933         to autogen.sh on package building
3934
3935 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
3936
3937         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3938
3939 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
3940
3941         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3942         header include.
3943
3944 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
3945
3946         * src/hildon-picker-button.c
3947         (hildon_picker_button_finalize):
3948         Free priv->done_button_text
3949
3950         * src/hildon-time-button.c
3951         (hildon_time_button_set_time)
3952         * src/hildon-picker-button.c
3953         (hildon_picker_button_clicked)
3954         (hildon_picker_button_selector_selection_changed)
3955         (hildon_picker_button_set_selector)
3956         * src/hildon-date-button.c
3957         (hildon_date_button_set_date):
3958         Free strings returned by hildon_touch_selector_get_current_text()
3959
3960         * src/hildon-button.c (hildon_button_construct_child):
3961         Fix leaks in priv->image and priv->label_box
3962
3963         Fixes: NB#90535 (Memory leak in picker button)
3964
3965 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
3966
3967         * src/hildon-button.c: (hildon_button_get_property): Do not access
3968         private elements directly, use getters instead.
3969
3970 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
3971
3972         * src/hildon-app-menu-private.h
3973         * src/hildon-app-menu.c
3974         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3975         Store the menu's parent window.
3976
3977         * src/hildon-stackable-window.c
3978         (hildon_stackable_window_toggle_menu)
3979         (hildon_stackable_window_finalize):
3980         Set the menu's parent window when the menu is shown, unset it when
3981         it is destroyed.
3982
3983         * src/hildon-app-menu.c
3984         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3985         (hildon_app_menu_class_init):
3986         Send unhandled keyboard accelerators to the parent window.
3987
3988 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
3989
3990         * src/hildon-stackable-window.c
3991         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3992
3993 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3994
3995         * configure.ac: post release version bump
3996
3997 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
3998
3999         * NEWS: Updates
4000         * configure.ac: Bump version
4001         * debian/changelog: Updates
4002         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
4003         gtk-doc 1.10.
4004
4005 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
4006
4007         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4008
4009         * src/hildon-gtk.h
4010         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
4011         GtkMenu with Hildon style.
4012
4013 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4014
4015         * src/hildon-picker-button.c:
4016         (hildon_picker_button_set_done_button_text): Set the dialog's
4017         done button text here as well.
4018
4019         Fixes: NB#90232 (Picker button does not set the label on done button
4020         for the second time)
4021
4022 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
4023
4024         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
4025         warning message.
4026
4027 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4028
4029         * src/hildon-app-menu.c (hildon_app_menu_insert)
4030         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
4031         the HildonAppMenu to be activatable using keyboard accelerators
4032         when the menu is not being shown.
4033
4034         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
4035
4036 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
4037
4038         * src/hildon-stackable-window.c
4039         (hildon_stackable_window_show):
4040         Don't hide old windows automatically when new windows are shown:
4041         this is now a task for the window manager.
4042         (hildon_stackable_window_class_init)
4043         (hildon_stackable_window_hide):
4044         Remove windows from the stack everytime they're hidden.
4045         (hildon_stackable_window_realize):
4046         Don't change the _NET_WM_WINDOW_TYPE property. Use
4047         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
4048         it as a stackable window.
4049
4050         * src/hildon-program.c
4051         (hildon_program_pop_window_stack):
4052         Just hide the window to remove it from the stack.
4053         (hildon_program_go_to_root_window):
4054         Don't call gtk_widget_show(), this is now a task for the window
4055         manager.
4056
4057         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
4058
4059 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
4060
4061         * src/hildon-button.c
4062         (hildon_button_construct_child):
4063         Don't pack anything in the button until text or image are
4064         set. This allows adding a custom child after creating the button
4065         with hildon_button_new().
4066         (hildon_button_finalize, hildon_button_class_init)
4067         (hildon_button_init, hildon_button_set_arrangement): Destroy the
4068         alignment and the label box even when they're not packed in the
4069         button.
4070
4071 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
4072
4073         * src/hildon-touch-selector.h:
4074         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4075         currently the type definition was using GTK_TYPE_VBOX
4076         * src/hildon-touch-selector.c:
4077         Added some implementation notes in order to clarify that any other widget
4078         added without the column related API will not be included on the
4079         selection logic, and how the widget is freed, as some people ask about
4080         it.
4081         (hildon_touch_selector_remove): Reimplemented in order to free properly
4082         the column related data when you remove the private hbox.
4083         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4084         to get a proper HildonTouchSelectorColumn documentation
4085
4086 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
4087
4088         * src/hildon-touch-selector-entry.c:
4089         (hildon_touch_selector_entry_print_func): Return NULL if there is no
4090         text in the GtkEntry and there is no item selected. Fixes a
4091         potential crasher.
4092
4093 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
4094
4095         * src/hildon-app-menu-private.h
4096         * src/hildon-app-menu.[ch]
4097         * src/hildon-button.[ch]
4098         * src/hildon-check-button.[ch]
4099         * src/hildon-entry.[ch]
4100         * src/hildon-pannable-area.[ch]
4101         * src/hildon-text-view.[ch]:
4102         Added private field to the object's structure.
4103
4104 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
4105
4106         * configure.ac: post-release version bump
4107
4108 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
4109
4110         [Release 2.1.14]
4111
4112         * configure.ac: pre-release version bump
4113         * NEWS: updates.
4114         * debian/changelog: updates.
4115
4116 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
4117
4118         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4119         Disconnect the handler for HildonTouchSelector::changed.
4120
4121         (hildon_picker_button_selector_selection_changed): Update the button
4122         value if the selection change was not triggered by the
4123         HildonPickerDialog.
4124
4125         (hildon_picker_button_set_selector): connect to
4126         HildonTouchSelector::changed.
4127
4128         Fixes: NB#89650 (Picker button is not updated, when selection in
4129         selector has changed)
4130
4131 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
4132
4133         * src/hildon-picker-dialog.c
4134         (hildon_picker_dialog_realize): Removed as not required
4135         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4136         * src/hildon-picker-button.c
4137         (_current_selector_empty): New function, checks if the selector is empty
4138         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4139         if the current selector is empty, in order to avoid to show the dialog
4140         close the dialog in this case (and shows a g_warning).
4141
4142         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4143
4144 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
4145
4146         * src/hildon-pannable-area.c,
4147         (hildon_pannable_area_scroll): Added clause to stop movement when
4148         the child of pannable is smaller than one page.
4149         (hildon_pannable_area_scroll_to): Added conditions to avoid
4150         starting the scrolling movement if the child is smaller than one
4151         page, the complete child is in the screen, we do not have to move.
4152
4153         Fixes: NB#89632 (Picker button selection doesn't change on first click)
4154
4155 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4156
4157         * src/hildon-app-menu.c: Removed the 'columns' property, as now
4158         this is managed automatically by the widget when the size of the
4159         screen changes.
4160
4161 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4162
4163         * src/hildon-picker-button.c
4164         (hildon_picker_button_set_done_button_text): Make a copy of the
4165         text, and free the previous value.
4166
4167 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
4168
4169         * src/hildon-touch-selector-entry.c:
4170         (hildon_touch_selector_entry_print_func): Return the selected row's
4171         text if the entry is empty.
4172
4173         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4174         entry is empty)
4175
4176 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
4177
4178         * src/hildon-touch-selector-entry.c: Minor docs fixes.
4179
4180 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
4181
4182         * doc/hildon.types
4183         * src/hildon-check-button.h
4184         * src/hildon-check-button.c
4185         * examples/hildon-check-button-example.c:
4186         HildonCheckButton is now a new widget. 'toggled' signal added.
4187
4188 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
4189
4190         * src/hildon-program-private.h
4191         * src/hildon-program.c (hildon_program_init)
4192         (hildon_program_finalize): Removed unused variables group_leader
4193         and name from HildonProgramPrivate.
4194
4195 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
4196
4197         * src/hildon-check-button.c (hildon_check_button_set_active)
4198         (hildon_check_button_get_active, hildon_check_button_new): Use
4199         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4200
4201 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
4202
4203         * src/hildon-touch-selector.h
4204         (hildon_touch_selector_set_column_attributes): added deprecation
4205         guard HILDON_DISABLE_DEPRECATED
4206         * src/hildon-time-selector.c
4207         (hildon_time_selector_set_time)
4208         (hildon_time_selector_get_time): Fixed a typo on documentation
4209         * src/hildon-touch-selector.c: update HildonTouchSelector and
4210         HildonTouchSelectorColumn documentation
4211         * src/hildon-touch-selector-entry.c: update "text-column" property
4212         documentation
4213         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4214         to be added to the general documentation.
4215
4216 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
4217
4218         * examples/hildon-pannable-area-example-4.c,
4219         (main),
4220         * examples/hildon-pannable-area-example.c,
4221         (main): Modified the code in order to use the container add, with
4222         viewport treeviews could have problems if they are really big.
4223
4224 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
4225
4226         * src/hildon-weekday-picker.c,
4227         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4228         the agreement regarding deprecation in the library.
4229
4230 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
4231
4232         * examples/hildon-picker-button-multicolumn-example.c:
4233         (main): Use custom "done" button text.
4234
4235         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4236         (hildon_picker_button_set_property),
4237         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4238         (hildon_picker_button_init),
4239         (+hildon_picker_button_get_done_button_text),
4240         (+hildon_picker_button_set_done_button_text): New methods to customize
4241         the "done" button label in the launched HildonPickerDialog. Also,
4242         make it a property.
4243
4244         * src/hildon-picker-button.h: add the public API.
4245
4246 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
4247
4248         * src/hildon-date-selector.h:
4249         * src/hildon-picker-dialog.h:
4250         * src/hildon-time-selector.h:
4251         * src/hildon-touch-selector-column.h:
4252         * src/hildon-touch-selector.h:
4253
4254         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4255         declarations. Fixes gtk-doc warnings.
4256
4257 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4258
4259         * src/hildon-picker-dialog.h
4260         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4261         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4262
4263         Fixes: NB#89329 (selectors in picker dialog are not visible when a
4264         long text is set as label for done button)
4265
4266 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4267
4268         * src/hildon-dialog.c (hildon_dialog_add_button):
4269         Set fixed width to all buttons in the HildonDialog.
4270
4271 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
4272
4273         Patch contributed by Daniel Borgmann (danielb@openismus.com)
4274
4275         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4276         Set widget name using class name plus "-finger" or "-thumb".
4277
4278 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
4279
4280         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4281         'clicked' when the state of the button is manually changed.
4282
4283 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
4284
4285         * src/hildon-app-menu.c (hildon_app_menu_realize)
4286         (hildon_app_menu_unrealize, hildon_app_menu_init)
4287         (hildon_app_menu_class_init, item_visibility_changed):
4288         Change the menu layout when the size of the screen changes.
4289         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4290         Show warning only when changing the number of colums using the
4291         property.
4292
4293 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
4294
4295         * debian/compat: Set to 5
4296         * debian/control: Update dependencies.
4297         * debian/libhildon1-dbg.install: Remove.
4298         * debian/libhildon1-dev.install: Update according to cdbs paths.
4299         * debian/libhildon1.install: Update according to cdbs paths.
4300         * debian/rules: Switch to cdbs.
4301
4302 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4303
4304         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4305         'item' variable renamed to 'filter'
4306
4307 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4308
4309         * src/hildon-app-menu.c (hildon_app_menu_insert)
4310         (hildon_app_menu_add_filter, remove_item_from_list)
4311         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4312         Don't leak hidden items when the menu is destroyed.
4313
4314 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
4315
4316         * src/hildon-app-menu.c (hildon_app_menu_insert)
4317         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4318         (hildon_app_menu_set_columns, item_visibility_changed)
4319         (filter_visibility_changed, hildon_app_menu_repack_filters)
4320         (hildon_app_menu_repack_items):
4321         Repack items and filters separately.
4322
4323         Don't repack all items, change only the ones that are needed to
4324         update the layout.
4325
4326 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
4327
4328         * src/Makefile.am: added hildon-touch-selector-column.h
4329
4330 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
4331
4332         * src/hildon-touch-selector.c: added the property "text-column" to the
4333         class HildonTouchSelectorColumn, and related get/set functions
4334         (_default_printf_func): updated to use "text-column" property
4335         * src/hildon-touch-selector-entry.c: mark as deprecated the property
4336         "text-column" in his documentation, as this is now included on
4337         HildonTouchSelectorColumn. The get/set_property can still be used,
4338         working as a wrapper to the concrete column "text-column" property
4339         (_text_column_modified): callback added in order to handle the signal
4340         "notify::text-column" of the concrete HildonTouchSelectorColumn
4341         (hildon_touch_selector_entry_get_text_column)
4342         (hildon_touch_selector_entry_set_text_column): Added documentation, and
4343         modified in order to use the HildonTouchSelectorColumn "text-column"
4344         property
4345         * src/hildon-time-selector.c:
4346         * src/hildon-date-selector.c:
4347         * examples/hildon-touch-selector-example.c
4348         * examples/hildon-touch-selector-multi-cells-example.c
4349         * examples/hildon-picker-button-multicolumn-example.c
4350         Set the right value to "text-column" property on the creation of a new
4351         column using hildon_touch_selector_append_column()
4352
4353         Fixes: NB#88644 (Hardcoded first column of the model as text column)
4354
4355 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
4356
4357         * src/hildon-app-menu.c
4358         (hildon_app_menu_construct_child, hildon_app_menu_init): When
4359         updating the layout of the menu, don't create all widgets again,
4360         just repack the items in their new places.
4361
4362 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
4363
4364         * src/hildon-time-selector.c
4365         (hildon_time_selector_get_time)
4366         (hildon_time_selector_set_time)
4367         Added documentation of these public methods
4368
4369         * src/hildon-date-button.h
4370         * src/hildon-touch-selector-column.h
4371         * src/hildon-time-button.h
4372         * src/hildon-picker-dialog.h
4373         * src/hildon-time-selector.h
4374         * src/hildon-picker-button.h
4375         * src/hildon-touch-selector.h
4376         * src/hildon-time-picker.h
4377         * src/hildon-date-selector.h
4378         * src/hildon-touch-selector-entry.h
4379         Modified in order to use hildon-widgets code style
4380
4381 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
4382
4383         Added deprecated support to the compilation process using
4384         HILDON_DISABLE_DEPRECATED
4385
4386         * configure.ac: Added the --disable-deprecated to the configure
4387         script
4388
4389         * src/hildon-weekday-picker.c:
4390         * src/hildon-weekday-picker.h: Deprecated widget, example of how
4391         to use the deprecated support. We will update the other deprecated
4392         widgets status in a new patch.
4393
4394 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
4395
4396         * configure.ac: Fixed typo with fatal warnings support, the
4397         variable name was not correct
4398
4399 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
4400
4401         * src/hildon-app-menu.c
4402         * src/hildon-program.c: Update documentation.
4403
4404 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
4405
4406         * configure.ac: Post-release version bump.
4407
4408 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
4409
4410         [Release 2.1.12]
4411
4412         * NEWS: Update.
4413         * configure.ac: Pre-release version bump.
4414         * debian/changelog: Updates.
4415
4416 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
4417
4418         * NEWS: Update news for previous releases.
4419
4420 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
4421
4422         * examples/hildon-touch-selector-multi-cells-example.c:
4423         (create_selector): Update the example to use
4424         hildon_touch_selector_append_column() with a NULL renderer and set
4425         the renderers later.
4426         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4427         passed a NULL renderer. This is documented behavior now.
4428
4429         Allow passing a NULL renderer to hildon_touch_selector_append_column().
4430         This must be used if the developer wants full control on the layout of
4431         the renderers to be added to the column.
4432
4433         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4434
4435 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
4436
4437         * src/hildon-touch-selector.c: Documentation fixes.
4438
4439 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
4440
4441         * src/hildon-wizard-dialog-private.h: Remove image and box.
4442         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4443         (hildon_wizard_dialog_set_property), (response): Completely remove
4444         image/icon support, and the containers required for the layout.
4445
4446         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4447
4448 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
4449
4450         * src/hildon-app-menu.c: Updated documentation.
4451
4452         * src/hildon-stackable-window.c
4453         (hildon_stackable_window_set_main_menu): Unref the old menu after
4454         ref'ing the new one.
4455
4456 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
4457
4458         * src/hildon-stackable-window.c
4459         (hildon_stackable_window_set_main_menu): Unref the previous menu
4460         instead of destroying it.
4461
4462         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4463         floating reference and set has_user_ref_count to FALSE to make
4464         HildonAppMenu act like a normal ref-counted widget and not a
4465         toplevel widget.
4466
4467         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4468         changed)
4469
4470 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
4471
4472         * src/hildon-touch-selector-column.h: new file
4473         * src/hildon-touch-selector.h
4474         * src/hildon-touch-selector.c
4475         Implemented GtkCellLayout interface, in order to allow to configure
4476         the cell layout on each individual selector column
4477         (hildon_touch_selector_set_column_attributes): marked as deprecated
4478         * examples/hildon-touch-selector-multi-cells-example.c
4479         Example of how to use the GtkCellLayout interface on the selector
4480
4481         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4482
4483 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
4484
4485         * src/hildon-app-menu.h
4486         * src/hildon-app-menu.c
4487         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4488         (hildon_app_menu_append, hildon_app_menu_prepend):
4489         New methods to prepend, insert and move items in the menu.
4490
4491 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
4492
4493         * src/hildon-wizard-dialog.c:
4494
4495         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4496         button.
4497         (create_title): Update logical IDs and related code.
4498         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4499
4500         * src/hildon-wizard-dialog.h: Note that
4501         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4502         point, as it is not used anymore.
4503
4504         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4505
4506 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
4507
4508         * src/hildon-note.c:
4509         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4510         shown.  Do not display an icon in confirmation notes nor information
4511         notes.
4512         (hildon_note_set_button_text): Update logical ID for cancel button.
4513
4514         Fixes: NB#88850 (Update HildonNote button strings + signals)
4515
4516 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
4517
4518         * src/hildon-stackable-window.c
4519         (hildon_stackable_window_set_main_menu): Fix compilation warning.
4520
4521 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
4522
4523         * src/hildon-app-menu-private.h
4524         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4525         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4526         (hildon_app_menu_init, hildon_app_menu_class_init): Added
4527         temporary property 'columns' to change the number of columns.
4528
4529 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
4530
4531         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4532
4533         * examples/hildon-note-example.c: (on_information_clicked),
4534         (on_confirmation_clicked), (on_progress_clicked), (main): Add
4535         debugging information.
4536         * src/hildon-note-private.h: Remove close_if_pressed_outside,
4537         not needed anymore.
4538         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4539         (hildon_note_rebuild): Remove special handling of tapping outside/inside
4540         in order to close: this will be handled by the WM from now on.
4541
4542         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4543
4544 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
4545
4546         * src/hildon-app-menu-private.h
4547         * src/hildon-app-menu.c
4548         (hildon_app_menu_append, hildon_app_menu_add_filter)
4549         (button_visibility_changed, hildon_app_menu_apply_style)
4550         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4551         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4552         layout everytime a button (item or filter) is shown or hidden.
4553
4554         * src/hildon-stackable-window.c
4555         (hildon_stackable_window_set_main_menu): Destroy the old menu when
4556         setting a new one.
4557
4558 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
4559
4560         * src/hildon-touch-selector.c:
4561         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4562         that the treeview inside the touch selector is in fremantle hildon mode
4563         * examples/hildon-date-button-example.c
4564         * examples/hildon-picker-button-multicolumn-example.c
4565         * examples/hildon-touch-selector-entry-example.c
4566         * examples/hildon-touch-selector-example.c
4567         * examples/hildon-time-button-example.c
4568         * examples/hildon-picker-button-example.c:
4569         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4570
4571 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
4572
4573         * examples/hildon-text-view-example.c: (main): Remove the
4574         gtkrc bits, now handled by the theme.
4575
4576 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
4577
4578         * src/hildon-picker-button.c (hildon_picker_button_set_active):
4579         Fix memory leak
4580
4581 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
4582
4583         * po/Makefile.am: Install properly the mo files.
4584         * po/en_GB.po: Update translation, to ease testing purposes.
4585
4586 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
4587
4588         * examples/hildon-picker-button-example.c: (main): Select an item
4589         in the selector before setting it to the button.
4590
4591 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
4592
4593         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4594         Update button's value if the selector has an item active.
4595
4596         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4597         'value' with the selector)
4598
4599 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
4600
4601         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4602         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4603         (hildon_picker_button_class_init): Plug the finalize method.
4604         (hildon_picker_button_set_selector): If there's a previously set
4605         selector, unref'it before setting a new one.
4606
4607         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4608         HildonTouchSelector)
4609
4610 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
4611
4612         * src/hildon-touch-selector-entry.c:
4613         (hildon_touch_selector_entry_changed): Check if there is no text
4614         selected before setting the entry text.
4615         Fixes: NB#88576
4616
4617 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
4618
4619         * src/hildon-touch-selector.h
4620         * src/hildon-touch-selector.c
4621         (hildon_touch_selector_get_active)
4622         (hildon_touch_selector_set_active): New methods to set/get the
4623         index of the selected item.
4624
4625         * src/hildon-picker-button.h
4626         * src/hildon-picker-button.c
4627         (hildon_picker_button_get_active)
4628         (hildon_picker_button_set_active): New methods to set/get the
4629         index of the selected item.
4630
4631 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
4632
4633         * configure.ac: post-release version bump.
4634
4635 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
4636
4637         Release 2.1.10-1.
4638
4639         * configure.ac: Pre-release version bump.
4640         * debian/changelog: Updates.
4641         * debian/control: Add myself as maintainer and depend on l10n
4642         packages.
4643
4644 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
4645
4646         * src/hildon-window.c
4647         (hildon_window_set_main_menu)
4648         * src/hildon-stackable-window.c
4649         (hildon_stackable_window_set_main_menu):
4650         Updated documentation.
4651
4652 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
4653
4654         * src/hildon-date-selector.c (hildon_date_selector_finalize):
4655         Don't free selector->priv manually.
4656         Fixes: NB#88414
4657
4658 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
4659
4660         * src/hildon-gtk.c,
4661         (hildon_gtk_window_set_progress_indicator):
4662         * src/hildon-gtk.h: Added the new API
4663         hildon_gtk_window_set_progress_indicator, it changes the state of
4664         the window progress hint.
4665
4666 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
4667
4668         * src/hildon-button.c
4669         * src/hildon-stackable-window.c: Minor documentation updates.
4670
4671 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
4672
4673         * src/hildon-stackable-window.c: Updated documentation.
4674
4675 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
4676
4677         * src/hildon-defines.h: Update margins definitions
4678         to the Fremantle sizes.
4679         Fixes: NB#88364
4680
4681 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
4682
4683         * src/hildon-touch-selector.c,
4684         (_hildon_touch_selector_set_model): Cleaning the code after
4685         review, removed g_print and #if 0 from the code.
4686
4687 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4688
4689         * src/hildon-edit-toolbar.c: Update documentation.
4690
4691 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4692
4693         * src/hildon-check-button.h
4694         * src/hildon-check-button.c
4695         (hildon_check_button_set_label, hildon_check_button_get_label)
4696         * examples/hildon-check-button-example.c
4697         (button_clicked_cb):
4698         Removed deprecated methods.
4699
4700 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
4701
4702         * src/hildon-text-view.c:
4703         Add sample code to the documentation.
4704
4705         * src/hildon-entry.h
4706         * src/hildon-text-view.h:
4707         Minor cosmetic changes.
4708
4709         * src/hildon-entry.c:
4710         Add sample code to the documentation.
4711         (hildon_entry_init, hildon_entry_refresh_contents):
4712         Don't allow NULL values in the placeholder.
4713
4714 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
4715
4716         * doc/hildon-docs.sgml
4717         * doc/hildon.types
4718         * examples/Makefile.am
4719         * examples/hildon-text-view-example.c
4720         * src/Makefile.am
4721         * src/hildon-text-view.c
4722         * src/hildon-text-view.h
4723         * src/hildon.h:
4724         New HildonTextView widget, with example.
4725
4726 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4727
4728         * po/POTFILES.in: Add missing files with translatable strings.
4729         Partially fixes NB#88287.
4730
4731 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4732
4733         * examples/hildon-pannable-area-example-2.c: (main): No need to
4734         set the cellrenderer height inside hildon touch lists, the theme does
4735         that for us.
4736
4737 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
4738
4739         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4740         they are integrated in the theme.
4741
4742 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
4743
4744         * examples/hildon-entry-example.c: Update the example adding
4745         widgets to modify the text and the placeholder of the HildonEntry.
4746
4747         * src/hildon-entry.c: Show the placeholder everytime the widget
4748         is empty and loses the focus.
4749
4750 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
4751
4752         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4753
4754         * src/hildon-pannable-area.c,
4755         (hildon_pannable_area_size_request): Fixed bug in height
4756         requisition, avoid increasing size and add border twice.
4757
4758 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
4759
4760         * configure.ac: postrelease version bump.
4761
4762 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
4763
4764         Release 2.1.8-1.
4765
4766         * configure.ac: Prerelease version bump.
4767         * debian/changelog: update.
4768         * debian/rules: make -dbg package contain useful debugging symbols.
4769
4770 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4771
4772         * src/hildon-dialog.h
4773         * src/hildon-dialog.c
4774         (hildon_dialog_add_button, hildon_dialog_add_buttons):
4775         New methods to add buttons with finger size.
4776         (hildon_dialog_new_with_buttons):
4777         Create buttons with finger size.
4778
4779         * examples/hildon-dialog-example.c (main): Use HildonDialog
4780         methods to add buttons.
4781
4782 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4783
4784         * src/hildon-entry.c: Updated HildonButton documentation.
4785
4786 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
4787
4788         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4789         button value label with (FALSE, FALSE) to prevent NB#88126 from
4790         being triggered.
4791
4792 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
4793
4794         * examples/hildon-pannable-area-example.c,
4795         (main): Removed examples panning a vbox inside a pannable
4796         area. Check bug NB#87965
4797
4798 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
4799
4800         Patch contributed by Kris Rietveld (kris@imendio.com)
4801
4802         * src/hildon-pannable-area.c,
4803         (hildon_pannable_area_get_topmost): replaced the get_geometry with
4804         get_size and get_position, this saves an X server roundtrip.
4805
4806 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
4807
4808         * doc/hildon-docs.sgml
4809         * doc/hildon.types
4810         * examples/Makefile.am
4811         * examples/hildon-entry-example.c
4812         * src/Makefile.am
4813         * src/hildon-entry.c
4814         * src/hildon-entry.h
4815         * src/hildon.h:
4816         New HildonEntry widget, with example.
4817
4818 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
4819
4820         * src/hildon-button.c (hildon_button_construct_child): Pack the
4821         image with expand == fill == FALSE. This is a workaround for a bug
4822         in GtkBox.
4823
4824 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
4825
4826         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4827         labels for the text column, to make it more look more dynamic.
4828
4829 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
4830
4831         * src/hildon-time-selector.c
4832         Define gettext auxiliar macro N_
4833         (_create_minutes_model)
4834         (_create_hours_model)
4835         (_create_ampm_model): use of strftime in order to fill the model
4836         * src/hildon-date-selector.c
4837         (hildon_date_selector_finalize):
4838         (_locales_init): remove the logic related to get the name of the months
4839         using nl_langinfo, as it is not required anymore
4840         (_create_day_model)
4841         (_create_year_model)
4842         (_create_month_model)
4843         (_update_day_model): use of strftime in order to fill the model properly
4844
4845
4846 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
4847
4848         * src/hildon-button.h
4849         * src/hildon-button.c (hildon_button_get_image): New method to
4850         retrieve the image.
4851
4852 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
4853
4854         * src/hildon-touch-selector.c:
4855         (hildon_touch_selector_remove_column): Remove from the correct parent
4856         and also remove the list element and free it.
4857         Fixes: NB#88049
4858
4859 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
4860
4861         * src/hildon-time-selector.c
4862         (_create_hours_model): change the range on 12h ampm format in order to use
4863         a 12-11 range instead of previous 01-12 range
4864         (hildon_time_selector_set_time): change the way to select the current time
4865         on 12h ampm format, due the change on the range
4866         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4867         Fixes: NB#88036
4868
4869 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
4870
4871         * src/hildon-touch-selector.c
4872         (hildon_date_touch_selector_get_selected): fix the selection mode check,
4873         in order to allow use this function on multiple row selection mode if
4874         the column is different that the first one
4875         Fixes: NB#88047
4876
4877 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
4878
4879         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4880         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4881
4882 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4883
4884         * src/hildon-date-selector.h: clean some comments, now on the .c
4885         * src/hildon-date-selector.c
4886         (hildon_date_selector_select_month): first implementation
4887         (hildon_date_selector_select_day): added documentation, reimplemented
4888         using hildon_date_selector_select_current_date to avoid repeat code
4889         Fixes: NB#88027
4890
4891 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
4892
4893         Reviewed interaction logic based on device experiences, refactored
4894         code.
4895
4896         * src/hildon-pannable-area.c,
4897         (hildon_pannable_area_class_init): Updated default vmax speed.
4898         (hildon_pannable_area_calculate_velocity): Added this function, it
4899         avoids duplicate valocity calculation. Adjusted calculation to
4900         avoid problems with zero dist events.
4901
4902         (hildon_pannable_area_motion_notify_cb): Now we use the
4903         calculate_velocity function.
4904
4905 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4906
4907         * src/hildon-date-selector.c
4908         (hildon_date_selector_select_current_date): fix the day range check
4909         as it failed using the last day of the current month
4910         Fixes NB#88023
4911
4912 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
4913
4914         * src/hildon-touch-selector.c
4915         (hildon_touch_selector_get_num_columns): added a parameter validation
4916         Fixes: NB#88022
4917
4918 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
4919
4920         * examples/Makefile.am
4921         * examples/hildon-edit-toolbar-example.c: Example of the
4922         HildonEditToolbar widget.
4923
4924 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4925
4926         * configure.ac: postrelease version bump.
4927
4928 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4929
4930         Release 2.1.6-1.
4931
4932         * configure.ac: prerelease version bump.
4933         * debian/changelog: update.
4934
4935 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4936
4937         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4938         renderer to display stock icons in the touch list. Also, set the sizes
4939         to the recommended in the style guide.
4940
4941 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4942         * src/hildon-touch-selector.h
4943         (hildon_touch_selector_set_active_iter): renamed, now is
4944         hildon_touch_selector_select_iter
4945         (hildon_touch_selector_get_active_iter): renamed, now is
4946         hildon_touch_selector_get_selected
4947         (hildon_touch_selector_unselect_iter): added
4948         * src/hildon-touch-selector.c
4949         Update after API modification (methods renamed)
4950         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4951         order to avoid problems selecting multiple elements on the column
4952         (hildon_touch_selector_unselect_iter): added the implementation
4953         * src/hildon-time-selector.c
4954         * src/hildon-date-selector.c
4955         * src/hildon-touch-selector-entry.c
4956         Update methods calls after hildon-touch-selector.h API modification (methods
4957         renamed)
4958
4959 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
4960
4961         * src/hildon-stackable-window.c
4962         (hildon_stackable_window_finalize): Call the parent class's finalize.
4963
4964 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4965
4966         * examples/hildon-touch-selector-example.c: (create_selector): Use
4967         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4968         cell height.
4969
4970 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
4971
4972         * examples/hildon-touch-selector-example.c: (create_selector): Do not
4973         set a cell background color, to respect theming.
4974
4975 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
4976
4977         * doc/hildon-docs.sgml
4978         * doc/hildon.types
4979         * src/Makefile.am
4980         * src/hildon-edit-toolbar.c
4981         * src/hildon-edit-toolbar.h
4982         * src/hildon.h: New HildonEditToolbar widget.
4983
4984 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
4985
4986         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4987         extra GtkVBox.
4988
4989 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4990         * src/hildon-touch-selector.c
4991         (_create_new_column): use g_object_set instead of two g_object_set_property
4992
4993 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
4994         * src/hildon-touch-selector.c
4995         (_create_new_column): use of hildon_gtk_tree_view_new to create
4996         the treeview, instead of use directly g_object_new
4997         (_create_new_column): update the property name "vindicator-mode" for the
4998         new one "vscrollbar-policy"
4999         * examples/hildon-date-button-example.c
5000         * examples/hildon-picker-button-multicolumn-example.c
5001         * examples/hildon-touch-selector-entry-example.c
5002         * examples/hildon-touch-selector-example.c
5003         * examples/hildon-time-button-example.c
5004         * examples/hildon-picker-button-example.c
5005         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
5006         to all the treeviews inside a pannable area.
5007
5008 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5009
5010         * src/hildon-button.h
5011         * src/hildon-button.c (hildon_button_init)
5012         (hildon_button_set_arrangement, hildon_button_set_alignment)
5013         (hildon_button_set_title_alignment)
5014         (hildon_button_set_value_alignment)
5015         (hildon_button_set_image_alignment)
5016         (hildon_button_construct_child): New methods to set the alignment
5017         of the individual components of the button (title, value,
5018         image). Also, new method to alter the xscale and yscale properties
5019         of the GtkAlignment inside the button, so more complex layouts can
5020         be created.
5021
5022 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
5023
5024         * src/hildon-button.c (hildon_button_style_set)
5025         (hildon_button_class_init, hildon_button_set_arrangement)
5026         (hildon_button_construct_child): Apply style properties
5027         correctly. Use the 'image-spacing' style property too.
5028
5029 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
5030
5031         * src/hildon-app-menu.c (hildon_app_menu_style_set)
5032         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
5033         correctly.
5034
5035 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
5036
5037         * src/hildon-pannable-area.c,
5038         (hildon_pannable_area_size_request): Fixed problem with
5039         pannable-area size_request.
5040
5041 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
5042
5043         Added management for the grab-focus to a child widget, like a
5044         range, we need to fade out the scrollbar when releasing.
5045
5046         * src/hildon-pannable-area.c,
5047         (hildon_pannable_area_init): Connected the grab-focus signal to
5048         the callback.
5049         (hildon_pannable_area_grab_notify): Added this function in order
5050         to manage the situation when the grab-focus ends. We have to
5051         fade-out the scrollbar.
5052
5053 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
5054
5055         * src/hildon-app-menu.c: Minor documentation update.
5056
5057 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
5058
5059         * src/hildon-app-menu.c
5060         * examples/hildon-app-menu-example.c (create_menu): Update
5061         examples and documentation to explain how to connect callbacks.
5062
5063 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
5064
5065         * examples/hildon-button-example.c
5066         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5067         hildon_stackable_window_new instead of gtk_window_new
5068
5069 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
5070
5071         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5072         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5073         (hildon_pannable_area_set_property),
5074         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5075         (hildon_pannable_area_unrealize),
5076         (hildon_pannable_area_size_request),
5077         (hildon_pannable_area_size_allocate),
5078         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5079         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5080         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5081         (hildon_pannable_area_initial_effect),
5082         (hildon_pannable_area_redraw),
5083         (hildon_pannable_area_scroll_indicator_fade),
5084         (hildon_pannable_area_expose_event),
5085         (hildon_pannable_area_get_topmost), (synth_crossing),
5086         (hildon_pannable_area_button_press_cb),
5087         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5088         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5089         (hildon_pannable_area_motion_notify_cb),
5090         (hildon_pannable_area_button_release_cb),
5091         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5092         (hildon_pannable_area_remove),
5093         (hildon_pannable_calculate_vel_factor): Widget refactorization,
5094         chage the code layout to a more GtkWidget like. Review the use of
5095         variables.
5096
5097 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
5098
5099         * examples/hildon-pannable-area-example-4.c,
5100         (main): Modified the name of the hindicator_mode to
5101         hscrollbar_visible
5102
5103         * src/hildon-pannable-area.c,
5104         (hildon_pannable_area_class_init),
5105         (hildon_pannable_area_motion_notify_cb),
5106         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5107         we have reduced the amount of signals and managed reviewed its
5108         rationale. Changed the default decelerate value.
5109
5110         (hildon_pannable_area_add),
5111         (hildon_pannable_area_redraw): Refactored functions.
5112
5113         (hildon_pannable_area_init),
5114         (hildon_pannable_area_get_property),
5115         (hildon_pannable_area_set_property):
5116         (hildon_pannable_draw_vscroll),
5117         (hildon_pannable_draw_hscroll),
5118         (hildon_pannable_area_initial_effect),
5119         (hildon_pannable_area_expose_event),
5120         (hildon_pannable_area_scroll),
5121         (hildon_pannable_area_button_press_cb),
5122         (hildon_pannable_area_realize): Replaced the names hindicator_mode
5123         and vindicator_mode with hscrollbar_policy and
5124         vscrollbar_policy. Replaced hscroll and vscroll with
5125         hscroll_visible and vscroll_visible.
5126
5127         (hildon_pannable_area_refresh): Refactor the function, remove
5128         variables and check the calls to this function, added resize
5129         conditions in case the children change their layout.
5130
5131         (hildon_pannable_area_size_request): Added more detailed
5132         size_request calculation.
5133
5134
5135 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
5136
5137         * src/hildon-color-chooser.c
5138         (init_borders): use the correct gtk_border_free instead of g_free, to
5139         avoid a crash when this widget is used (ie: the three color selection
5140         examples)
5141
5142 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
5143
5144         * src/hildon-check-button.c,
5145         (hildon_check_button_set_active): Fixed problem when setting the
5146         active value, the widget was not redrawn.
5147
5148 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
5149
5150         * src/hildon-pannable-area.c,
5151         (hildon_pannable_area_refresh),
5152         (hildon_pannable_area_scroll),
5153         (hildon_pannable_area_motion_notify_cb): Small code style change.
5154
5155         (hildon_pannable_area_class_init): Default initial_hint set to
5156         FALSE, it is not in the specs.
5157
5158         (hildon_pannable_area_initial_effect),
5159         (hildon_pannable_area_expose_event),
5160         (hildon_pannable_area_map),
5161         (hildon_pannable_area_init): Moved the launching point of the
5162         initial effect, it was in map but the sizes where not correct in
5163         that method so we do not know if we have the reproduce it. Now it
5164         is placed in the expose_event method and uses a variable to
5165         reproduce it just once.
5166
5167 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5168
5169         * src/hildon-pannable-area.c,
5170         (hildon_pannable_draw_vscroll),
5171         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5172         position allowed for the scrollbars.
5173
5174         (hildon_pannable_area_size_allocate): Small style change.
5175
5176 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5177
5178         * src/hildon-pannable-area.c,
5179         (hildon_pannable_area_scroll_indicator_fade),
5180         (hildon_pannable_area_button_press_cb),
5181         (hildon_pannable_area_button_release_cb),
5182         (hildon_pannable_area_scroll_cb),
5183         (hildon_pannable_area_expose_event),
5184         (hildon_pannable_area_init): Added the define parameter
5185         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5186         and refactor the fade variable.
5187
5188 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
5189
5190         * src/hildon-pannable-area.c,
5191         (hildon_pannable_area_redraw),
5192         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5193         lines, we were reimplemeting the redraw code.
5194
5195 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
5196
5197         * src/hildon-pannable-area.c,
5198         (hildon_pannable_area_scroll_cb),
5199         (hildon_pannable_area_realize),
5200         (hildon_pannable_area_class_init): Added scroll_event management
5201         for pannable area, now we can scroll the usual desktop method.
5202
5203         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5204         initialization of the parameters should depend on idle_id.
5205
5206         (hildon_pannable_area_init),
5207         (hildon_pannable_area_map): Small code style modifications
5208
5209 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
5210
5211         * src/hildon-pannable-area.c
5212         (hildon_pannable_area_button_press_cb),
5213         (hildon_pannable_area_motion_notify_cb),
5214         (hildon_pannable_area_button_release_cb),
5215         (hildon_pannable_area_size_allocate),
5216         (hildon_pannable_area_scroll_to): Improved the timeouts
5217         management, we avoid creating them each time.
5218
5219 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
5220
5221         * src/hildon-pannable-area.c:
5222         (hildon_pannable_area_refresh),
5223         (hildon_pannable_area_motion_notify_cb),
5224         (hildon_pannable_area_class_init):
5225         * src/hildon-pannable-area.h:
5226         * src/hildon-touch-selector.c
5227         (_create_new_column):
5228         * examples/hildon-pannable-area-example-4.c:
5229         (horizontal_movement),
5230         (vertical_movement),
5231         (main):
5232         Replaced the names of enums in the HildonPannableArea:
5233            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
5234               HILDON_MOVEMENT_MODE_*
5235            -  HILDON_PANNABLE_AREA_MOV_* ->
5236               HILDON_MOVEMENT_*
5237            - Removed HildonPannableAreaIndicatorMode, now we
5238              use GtkPolicyType
5239
5240 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5241
5242         * examples/hildon-pannable-area-touch-grid-example.c
5243         * examples/hildon-pannable-area-touch-list-example.c: Fix
5244         compilation warnings.
5245
5246 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5247
5248         * src/hildon-gtk.c (hildon_gtk_button_new)
5249         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5250         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5251         images overriding the value of the "gtk-button-images" setting.
5252
5253 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
5254
5255         * src/hildon-check-button.c (hildon_check_button_new):
5256         Instead of using a custom container, display the label and the
5257         checkbox using the standard GtkButton API.
5258
5259         * examples/hildon-check-button-example.c (main): Don't use
5260         hildon_check_button_set_label() anymore
5261
5262         * src/hildon-check-button.h
5263         * src/hildon-check-button.c
5264         (hildon_check_button_set_label, hildon_check_button_get_label):
5265         Set as deprecated, now we're using gtk_button_{get,set}_label()
5266
5267 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
5268
5269         * src/hildon-pannable-area.c,
5270         (hildon_pannable_area_get_topmost): Fixed bug with click in the
5271         GtkTreeview first line we detected it after the inclusion of the
5272         GtkWindowImpl in gtk+. We now check if the window is visible, not
5273         just if the pointer is over the window.
5274         (hildon_pannable_axis_scroll),
5275         (hildon_pannable_area_expose_event): Small style changes.
5276
5277 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
5278
5279         * src/hildon-button.c: Update documentation.
5280
5281 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
5282
5283         * examples/hildon-button-example.c: Add a switch to show images in
5284         the buttons.
5285
5286 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
5287
5288         * doc/hildon-docs.sgml: Some docs reorganization.
5289
5290 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5291
5292         * examples/hildon-pannable-area-touch-list-example.c
5293         (create_tree_view)
5294         * examples/hildon-pannable-area-touch-grid-example.c
5295         (create_icon_view): Use gtk_{tree,icon}_view_new() and
5296         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5297         Fix memory leak when setting the tree model.
5298
5299 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5300
5301         Released 2.1.4
5302
5303 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
5304
5305         * doc/hildon.types: Remove duplicated hildon_window_get_type
5306         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5307         documentation comment.
5308
5309 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5310
5311         * doc/Makefile.am: Complete list of private headers.
5312
5313 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5314
5315         * doc/hildon-docs.sgml
5316         * src/hildon-app-menu.c
5317         * src/hildon-bread-crumb.c
5318         * src/hildon-button.c
5319         * src/hildon-gtk.c
5320         * src/hildon-program.c
5321         * src/hildon-stackable-window.c
5322         * src/hildon-window.c: Lots of documentation updates.
5323
5324 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
5325
5326         * debian/control: Depend on Gtk 2:2.12.9-0osso3
5327
5328         * configure.ac: Require Gtk+ 2.12.9 at least
5329
5330 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
5331
5332         * src/hildon-pannable-area.c
5333         (hildon_pannable_area_scroll_indicator_fade),
5334         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5335         to protect the return of this timeout callbacks, avoiding deadlocks.
5336
5337 2008-08-12  Christian Dywan  <christian@imendio.com>
5338
5339         * src/hildon-*.c
5340         * src/hildon-*.h: Ensure a consistent include order,
5341         include <gtk/gtk.h> instead of particular files and
5342         only include the topmost header in the gtk stack. See NB #39857
5343
5344 2008-08-12  Christian Dywan  <christian@imendio.com>
5345
5346         * src/hildon-picker-dialog.c
5347         * src/hildon-touch-selector.c: Fix warnings about unused and
5348         uninitialized variables.
5349
5350 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5351
5352         * examples/Makefile.am
5353         * examples/hildon-check-button-example.c: Example of the hildon
5354         check button.
5355
5356 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5357
5358         * src/hildon-window.h
5359         * src/hildon-window.c (hildon_window_class_init)
5360         (hildon_window_unset_program): Don't make
5361         hildon_window_unset_program a virtual function anymore.
5362
5363         * src/hildon-stackable-window.c: Update documentation
5364
5365 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5366
5367         * doc/Makefile.am
5368         * doc/hildon-docs.sgml
5369         * doc/visual_index.xml
5370         * src/hildon-defines.c
5371         * src/hildon-gtk.c
5372         * src/hildon-helper.c
5373         * src/hildon-range-editor.c: Lots of documentation fixes.
5374
5375 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5376
5377         * examples/hildon-picker-button-multicolumn-example.c
5378         (create_touch_selector): Fix compilation warning.
5379
5380 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5381
5382         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5383         (hildon_pannable_area_button_release_cb)
5384         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5385
5386 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5387
5388         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5389         assertion.
5390
5391 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5392
5393         * src/hildon-bread-crumb-trail.h
5394         * src/hildon-date-editor.c
5395         * src/hildon-date-selector.c
5396         * src/hildon-pannable-area.c
5397         * src/hildon-picker-dialog.c
5398         * src/hildon-time-selector.c
5399         * src/hildon-touch-selector-entry.c
5400         * src/hildon-touch-selector.c
5401         * src/hildon-touch-selector.h: Misc documentation fixes
5402
5403 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
5404
5405         * examples/hildon-date-editor-example.c (main): Updated date
5406         editor example.
5407
5408         * examples/hildon-note-example.c (on_confirmation_clicked):
5409         Updated confirmation note example.
5410
5411         * src/hildon-date-editor.c
5412         * src/hildon-note.c: Updated sample programs in documentation.
5413         Fixes: NB#87437
5414
5415 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
5416
5417         * src/hildon-date-button.h:
5418         * src/hildon-picker-button.h:
5419         * src/hildon-time-button.c:
5420         * src/hildon-time-button.h:
5421
5422         Some declarations changes to allow gtk-doc to document the widgets
5423         properly.
5424
5425 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
5426
5427         * src/hildon-date-button.c: Document the widget.
5428         * src/hildon-time-button.c: Document the widget.
5429
5430 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
5431
5432         * src/hildon-picker-button.c: Document the widget.
5433         * src/hildon-touch-selector-entry.c: Document the widget.
5434
5435 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
5436
5437         * doc/hildon-docs.sgml
5438         * src/Makefile.am
5439         * src/hildon.h
5440         * src/hildon-check-button.h
5441         * src/hildon-check-button.c: New functions to create the Hildon
5442         Touch Checkbox.
5443
5444         * src/hildon-gtk.h
5445         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5446
5447 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
5448
5449         * src/hildon-button.h
5450         * src/hildon-button.c
5451         (hildon_button_add_title_size_group)
5452         (hildon_button_add_value_size_group)
5453         (hildon_button_add_image_size_group)
5454         (hildon_button_add_size_groups): New functions to set size groups
5455         for the button labels and image.
5456         (hildon_button_new_full): Removed
5457
5458 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
5459
5460         * src/hildon-time-selector.c
5461         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5462         in order to avoid a crash if gconf is not available
5463
5464 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
5465
5466         * src/hildon-button.c (hildon_button_set_arrangement)
5467         (hildon_button_construct_child): Don't construct the button child
5468         before setting the arrangement.
5469
5470 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
5471
5472         * src/hildon-program-private.h
5473         * src/hildon-program.c
5474         * src/hildon-program.h
5475         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5476         (hildon_program_peek_window_stack)
5477         (hildon_program_pop_window_stack)
5478         (hildon_program_go_to_root_window): HildonProgram now has a
5479         separate list for stackable windows. Functions are provided to
5480         manage that list with a stack-like API.
5481
5482         * src/hildon-stackable-window.c: Stackable window management is
5483         now much simpler with the new HildonProgram API. Windows no
5484         longer need to be manually added to the program, they're
5485         automatically pushed to the top of the stack when shown.
5486
5487         * examples/hildon-stackable-window-example.c: Updated example to
5488         reflect the API changes.
5489
5490 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
5491
5492         * src/hildon-touch-selector.c: Comment out unimplemented
5493         hildon_touch_selector_insert_column() to avoid a compile warning.
5494
5495 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
5496
5497         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5498         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5499         (hildon_touch_selector_set_column_selection_mode),
5500         (_hildon_touch_selector_set_model),
5501         (hildon_touch_selector_set_model):
5502
5503         Complete review of HildonTouchSelector documentation.
5504
5505 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
5506
5507         * doc/hildon-docs.sgml
5508         * src/Makefile.am
5509         * src/hildon.h
5510         * src/hildon-gtk.h
5511         * src/hildon-gtk.c: Convenience functions for standard Gtk
5512         widgets, used to easily perform frequent operations.
5513
5514         * src/hildon-button-helpers.h
5515         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5516
5517         * src/hildon-helper.h
5518         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5519         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5520
5521         * src/hildon-button.h
5522         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5523
5524 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
5525
5526         * src/hildon-button.c (hildon_button_init)
5527         (hildon_button_set_arrangement, hildon_button_construct_child):
5528         Pack the image and the labels inside the same GtkAlignment so
5529         gtk_button_set_alignment() can be used
5530
5531 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
5532
5533         * src/hildon-button.h
5534         * src/hildon-button.c
5535         (hildon_button_init, hildon_button_set_image)
5536         (hildon_button_set_image_position)
5537         (hildon_button_construct_child): New functions to add an image to
5538         the HildonButton.
5539
5540 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
5541
5542         * src/hildon-date-button.c
5543         * src/hildon-picker-button.c
5544         * src/hildon-time-button.c
5545         * src/hildon-button.c:
5546         (hildon_button_class_init): "size-flags" renamed to "size"
5547         (hildon_button_set_title): Hide the title label if set to NULL.
5548
5549 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
5550
5551         HildonButtonFlags split into HildonButtonArrangement (to set the
5552         button layout) and HildonSizeType (which can be used for any
5553         widget).
5554
5555         * src/hildon-button.h
5556         * src/hildon-button.c
5557         (hildon_button_class_init)
5558         (hildon_button_set_arrangement)
5559         (hildon_button_set_property): New "size-flags"
5560         property. "arrangement-flags" renamed to "arrangement".
5561         (hildon_button_new, hildon_button_new_with_text)
5562         (hildon_button_new_full): Constructors updated to reflect type changes.
5563
5564         * src/hildon-helper.h
5565         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5566         to set the size of a widget.
5567
5568         * src/Makefile.am
5569         * src/hildon.h
5570         * src/hildon-button-helpers.c
5571         * src/hildon-button-helpers.h: New hildon-button-helpers module.
5572
5573         * src/hildon-date-button.c
5574         * src/hildon-date-button.h
5575         * src/hildon-picker-button.c
5576         * src/hildon-picker-button.h
5577         * src/hildon-time-button.c
5578         * src/hildon-time-button.h: Updated widgets to reflect
5579         HildonButton API changes.
5580
5581         * examples/hildon-button-example.c
5582         * examples/hildon-date-button-example.c
5583         * examples/hildon-picker-button-example.c
5584         * examples/hildon-picker-button-multicolumn-example.c
5585         * examples/hildon-time-button-example.c
5586         * examples/hildon-touch-selector-entry-example.c
5587         * examples/hildon-touch-selector-example.c: Updated examples to
5588         reflect HildonButton API changes.
5589
5590 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
5591
5592         * doc/hildon-docs.sgml:
5593         * doc/hildon.types:
5594         * examples/Makefile.am:
5595         * examples/hildon-touch-selector-entry-example.c:
5596         * src/Makefile.am:
5597         * src/hildon-touch-selector-entry.c:
5598         * src/hildon-touch-selector-entry.h:
5599         * src/hildon.h:
5600
5601         Moved HildonTouchSelectorEntry from sandbox. Added its
5602         documentation and examples.
5603
5604 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
5605
5606         * src/hildon-touch-selector.h:
5607         * examples/hildon-picker-button-multicolumn-example.c:
5608         (hildon_touch_selector_append_text_column): Add a gboolean
5609         parameter to determine if text must be centered in the column.
5610
5611         * src/hildon-date-selector.c: (hildon_date_selector_init):
5612         * src/hildon-time-selector.c: (hildon_time_selector_init):
5613         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5614         (create_touch_selector): Update widgets and example to reflect
5615         the API change.
5616
5617 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
5618
5619         * src/hildon-touch-selector.c:
5620         (hildon_touch_selector_set_active_iter): Set also the cursor in
5621         the active row.
5622
5623 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
5624
5625         * doc/hildon-docs.sgml
5626         * doc/hildon.types
5627         * src/Makefile.am
5628         * src/hildon-toggle-button.c
5629         * src/hildon-toggle-button.h
5630         * src/hildon.h: Removed HildonToggleButton widget, a derived
5631         class is not necessary for this.
5632
5633 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
5634
5635         * src/hildon-pannable-area.c,
5636         (hildon_pannable_area_realize),
5637         (hildon_pannable_area_size_allocate): Code refactoring, add tests
5638         for negative sizes.
5639
5640 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
5641
5642         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5643         "done" button the default widget for the dialog.
5644
5645 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5646
5647         * src/hildon-touch-selector.c:
5648         (hildon_touch_selector_class_init),
5649         (hildon_touch_selector_get_property),
5650         (_hildon_touch_selector_set_model),
5651         (_hildon_touch_selector_has_multiple_selection),
5652         (hildon_touch_selector_has_multiple_selection):
5653         Add a "has-multiple-selection" property with a virtual
5654         has_multiple_selection() method to allow derived classes to
5655         override the default value for it. See the method and property
5656         documentation for details.
5657
5658         * src/hildon-touch-selector.h: Add the new API.
5659
5660         * src/hildon-picker-dialog.c: (requires_done_button): Call
5661         hildon_touch_selector_has_multiple_selection() instead of
5662         determining the need for a button itself.
5663
5664 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5665
5666         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5667         (_hildon_touch_selector_set_model),
5668         (hildon_touch_selector_set_model): Move working code to
5669         _hildon_touch_selector_set_mode(). Call the class method instead.
5670
5671         * src/hildon-touch-selector.h: Add (*set_model) to
5672         HildonTouchSelectorClass.
5673
5674         Make hildon_touch_selector_set_model() a virtual method, so that
5675         derived classes can extend it and do fancy stuff with the model.
5676
5677 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
5678
5679         * configure.ac: Set back the tarname in AC_INIT to hildon.
5680
5681 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5682
5683         Release 2.1.3
5684
5685         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5686         instead of libesd (NB#86876). Volume handling is still an open issue.
5687
5688         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5689         cleanups.
5690
5691 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
5692
5693         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5694         (hildon_touch_selector_append_column): Make the widget a GtkVBox
5695         derived class to ease placement of an entry widget in
5696         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5697         end, where the selector columns are packed now.
5698
5699 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
5700
5701         * src/hildon-picker-button.c: Removed the simple _text() API.
5702         * src/hildon-picker-button.h: Likewise.
5703
5704         * src/hildon-touch-selector.h:
5705         * src/hildon-touch-selector.c:
5706         (hildon_touch_selector_new_text),
5707         (hildon_touch_selector_append_text),
5708         (hildon_touch_selector_prepend_text),
5709         (hildon_touch_selector_insert_text):
5710
5711         Moved the simple _text() API from HildonPickerButton to
5712         HildonTouchPicker, to provide better escalability and not to tie
5713         that API to HildonPickerButton.
5714
5715         * examples/hildon-picker-button-example.c: (main): Example updated.
5716
5717 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5718
5719         * src/hildon-button.c: Updated documentation.
5720
5721         * examples/hildon-button-example.c: Add the posibility to create
5722         the buttons using horizontal layout for title and value.
5723
5724 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5725
5726         * src/hildon-app-menu-private.h
5727         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5728         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5729         GtkSizeGroup for the filters, use the 'homogeneous' property of
5730         the box instead.
5731
5732 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
5733
5734         * examples/hildon-button-example.c: Updated example.
5735
5736 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
5737
5738         * doc/hildon-docs.sgml:
5739         * doc/hildon.types:
5740
5741         Update documentation.
5742
5743         * examples/Makefile.am: Update renamed examples.
5744
5745         * examples/hildon-picker-button-multicolumn-example.c:
5746         (create_touch_selector), (main): Update after the rename.
5747
5748         * examples/hildon-touch-picker-example.c: Removed.
5749         * examples/hildon-touch-selector-example.c: (value_changed),
5750         (create_selector), (get_visible_content), (main): Renamed from
5751         hildon-touch-picker-example.c
5752
5753         * src/Makefile.am: Updated renamed files.
5754
5755         * src/hildon-date-button.c: (hildon_date_button_init),
5756         (hildon_date_button_get_date), (hildon_date_button_set_date):
5757         * src/hildon-date-selector.c: (hildon_date_selector_init),
5758         (_custom_print_func), (_update_day_model),
5759         (_manage_selector_change_cb),
5760         (hildon_date_selector_select_current_date),
5761         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5762         * src/hildon-date-selector.h:
5763         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5764         (hildon_picker_button_set_property),
5765         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5766         (hildon_picker_button_init), (hildon_picker_button_new_text),
5767         (hildon_picker_button_append_text),
5768         (hildon_picker_button_prepend_text),
5769         (hildon_picker_button_insert_text),
5770         (hildon_picker_button_set_selector),
5771         (hildon_picker_button_get_selector):
5772         * src/hildon-picker-button.h:
5773         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5774         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5775         (_update_title_on_selector_changed_cb), (requires_done_button),
5776         (_hildon_picker_dialog_set_selector),
5777         (hildon_picker_dialog_set_selector),
5778         (hildon_picker_dialog_get_selector):
5779         * src/hildon-picker-dialog.h:
5780         * src/hildon-time-button.c: (hildon_time_button_init),
5781         (hildon_time_button_get_time), (hildon_time_button_set_time):
5782         * src/hildon-time-selector.c: (hildon_time_selector_init),
5783         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5784         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5785         * src/hildon-time-selector.h:
5786         * src/hildon.h:
5787
5788         Massive code updates after the rename.
5789
5790         * src/hildon-touch-picker.c: Removed.
5791         * src/hildon-touch-picker.h: Removed.
5792
5793         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5794         (hildon_touch_selector_init), (hildon_touch_selector_map),
5795         (hildon_touch_selector_remove), (_default_print_func),
5796         (_selection_changed_cb), (_create_new_column),
5797         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5798         (hildon_touch_selector_append_text_column),
5799         (hildon_touch_selector_remove_column),
5800         (hildon_touch_selector_set_column_attributes),
5801         (hildon_touch_selector_insert_column),
5802         (hildon_touch_selector_get_num_columns),
5803         (hildon_touch_selector_get_column_selection_mode),
5804         (hildon_touch_selector_set_column_selection_mode),
5805         (hildon_touch_selector_set_print_func),
5806         (hildon_touch_selector_get_print_func),
5807         (hildon_touch_selector_get_active_iter),
5808         (hildon_touch_selector_set_active_iter),
5809         (hildon_touch_selector_get_selected_rows),
5810         (hildon_touch_selector_get_model),
5811         (hildon_touch_selector_set_model),
5812         (hildon_touch_selector_get_current_text),
5813         (_hildon_touch_selector_center_on_selected_items):
5814         * src/hildon-touch-selector.h: Renamed from
5815         hildon-touch-picker.[ch]
5816
5817         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5818         references, code examples, and related documentation.
5819
5820 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
5821
5822         * doc/hildon-docs.sgml
5823         * doc/hildon.types
5824         * src/Makefile.am
5825         * src/hildon-toggle-button.c
5826         * src/hildon-toggle-button.h
5827         * src/hildon.h: New HildonToggleButton widget.
5828
5829 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
5830
5831         * src/hildon-button.c: Add API documentation.
5832         (hildon_button_set_size_groups): Check input parameters
5833
5834 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
5835
5836         * src/hildon-pannable-area.c
5837         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5838         effect after reaching the movement thredshold. This way we start
5839         using the distance after passing the thredshold.
5840
5841 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5842
5843         * src/hildon-button.c: (hildon_button_set_property): Use the
5844         appropriate g_value_get_flags() method.
5845
5846 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5847
5848         * doc/hildon-docs.sgml:
5849         * doc/hildon.types:
5850
5851          Add the touch pickers, picker dialogs, and picker button widgets
5852         to the documentation.
5853
5854 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5855
5856         * src/hildon-button.c: (hildon_button_set_property),
5857         (hildon_button_class_init): Make "arrangement-flags" a proper
5858         G_TYPE_FLAGS derived property.
5859
5860 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5861
5862         * examples/Makefile.am: Add below examples.
5863         * examples/hildon-date-button-example.c:
5864         * examples/hildon-picker-button-example.c:
5865         * examples/hildon-picker-button-multicolumn-example.c:
5866         * examples/hildon-time-button-example.c:
5867         * examples/hildon-touch-picker-example.c:
5868
5869         Add examples for the recently added touch pickers,
5870         picker dialogs, and picker button widgets.
5871
5872 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5873
5874         * src/hildon-button.c: Add some API documentation
5875
5876 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5877
5878         * src/hildon-button.h
5879         * src/hildon-button.c
5880         (hildon_button_new)
5881         (hildon_button_new_with_text): New constructor to create a button
5882         with no text at all.
5883         (hildon_button_init, hildon_button_set_arrangement)
5884         (hildon_button_set_title, hildon_button_set_value)
5885         (hildon_button_set_text)
5886         (hildon_button_construct_child): Hide the value when it's not used
5887         so the rest of the text is properly aligned.
5888         Allow creating buttons with arbitrary widgets inside (not just
5889         title/value labels).
5890
5891         * examples/hildon-button-example.c (vertical_buttons_window)
5892         (horizontal_buttons_window): Update example to use new API.
5893
5894 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5895
5896         * src/Makefile.am: Added HildonTimeButton.
5897         * src/hildon-time-button.c: Added missing LGPL header.
5898         * src/hildon-time-button.h: Added missing LGPL header.
5899         * src/hildon.h: Add hildon-time-button.h
5900
5901         Copied HildonTimeButton from sandbox to trunk. Future work on this
5902         widget must take place in trunk.
5903
5904 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5905
5906         * src/Makefile.am: Added HildonDateButton.
5907         * src/hildon-date-button.c: Update includes.
5908         * src/hildon.h: Add hildon-date-button.h
5909
5910         Copied HildonDateButton from sandbox to trunk. Future work on this
5911         widget must take place in trunk.
5912
5913 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5914
5915         * src/Makefile.am: Added HildonPickerButton.
5916         * src/hildon-picker-button.h: Update includes.
5917         * src/hildon.h: Add hildon-picker-button.h
5918
5919         Copied HildonPickerButton from sandbox to trunk. Future work on
5920         this widget must take place in trunk.
5921
5922 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5923
5924         * src/Makefile.am: Added HildonPickerDialog.
5925         * src/hildon-picker-dialog.c: Update includes.
5926         * src/hildon.h: Add hildon-picker-dialog.h
5927
5928         Copied HildonPickerDialog from sandbox to trunk. Future work
5929         on this widget must take place in trunk.
5930
5931 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5932
5933         * src/Makefile.am: Added HildonTimeSelector.
5934         * src/hildon.h: Add hildon-time-selector.h
5935
5936         Copied HildonTimeSelector widget from sandbox to trunk. Future
5937         work on this widget must happen in trunk.
5938
5939 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5940
5941         * src/Makefile.am: Added HildonDateSelector.
5942         * src/hildon.h: Add hildon-date-selector.h
5943
5944         Copied HildonDateSelector widget from sandbox to trunk.  Future
5945         work on this widget must happen in trunk.
5946
5947 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5948
5949         * src/Makefile.am: Added HildonTouchPicker.
5950         * src/hildon-touch-picker.c: Update includes.
5951         * src/hildon.h: Add hildon-touch-picker.h
5952
5953         Copied HildonTouchPicker widget from sandbox to trunk. Future work
5954         on this widget must happen in trunk.
5955
5956 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
5957
5958         * src/hildon-pannable-area.c:
5959         (hildon_pannable_area_motion_notify_cb): Fix a typo.
5960
5961 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
5962
5963         * examples/hildon-app-menu-example.c (main): Let the window
5964         destroy the menu.
5965
5966 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
5967
5968         * src/hildon-pannable-area.c
5969         (hildon_pannable_area_class_init): Set the min value of the
5970         overshoot properties to zero, which points out that not
5971         overshooting allowed.
5972
5973 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
5974
5975         Modified the procedure to get the widget at a point inside the
5976         pannable area when using the movement type signals. Now the user
5977         has to call a function to get the child, that way we just
5978         calculate the child in case the user really want to use it and not
5979         all the time.
5980
5981         * src/hildon-marshalers.list: Modified the marshallers, now we do
5982         not have the widget as a parameter.
5983
5984         * src/hildon-pannable-area.c
5985         (hildon_pannable_area_motion_notify_cb),
5986         (hildon_pannable_area_class_init),
5987         (hildon_pannable_get_child_widget_at):  Removed the widget
5988         parameter from the signal callback. We have also refactored the
5989         emission of the signals.
5990
5991         * src/hildon-pannable-area.h: Added a new method to the API to
5992         calculate a widget at a point inside the pannable area,
5993         hildon_pannable_get_child_widget_at.
5994
5995         * examples/hildon-pannable-area-example-4.c
5996         (horizontal_movement): Modified the example to use the new API,
5997         added condition to control which widget is under the event. This
5998         way we can avoid scrolling laterally over other widgets.
5999
6000 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
6001
6002         * src/hildon-pannable-area.c
6003         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
6004         modes, we stop getting the pointer events due to returning the
6005         callback without properly calling the get pointer again. Fixed
6006         also an error using the hscroll and vscroll.
6007
6008 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
6009
6010         * src/hildon-app-menu-private.h
6011         * src/hildon-app-menu.c (hildon_app_menu_button_press)
6012         (hildon_app_menu_button_release, hildon_app_menu_init)
6013         (hildon_app_menu_class_init): Don't hide the menu on button
6014         release if the user didn't press outside first.
6015
6016         * src/hildon-window.h
6017         * src/hildon-window.c (hildon_window_toggle_menu)
6018         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
6019         hildon_window_toggle_menu a virtual function for the stackable
6020         window to override it.
6021
6022         * src/hildon-stackable-window.h
6023         * src/hildon-stackable-window-private.h
6024         * src/hildon-stackable-window.c
6025         (hildon_stackable_window_realize)
6026         (hildon_stackable_window_finalize)
6027         (hildon_stackable_window_class_init)
6028         (hildon_stackable_window_init)
6029         (hildon_stackable_window_set_main_menu): New function to set the
6030         app menu of a HildonStackableWindow.
6031
6032         * examples/hildon-app-menu-example.c: Remove the button to show
6033         the app menu, now it'll be shown when clicking on the title bar
6034         instead.
6035
6036 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
6037
6038         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
6039         set the widget name if the arrangement flags do not specify
6040         a particular size.
6041
6042 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
6043
6044         * src/hildon-button.c: (hildon_button_set_property),
6045         (hildon_button_class_init), (hildon_button_new_full),
6046         (hildon_button_set_arrangement): Added "arrangement-flags"
6047         property.
6048
6049         Make the HildonButtonFlags a construction-only property, to allow
6050         subclasses to set them properly.
6051
6052 2008-07-21 Tim Janik  <timj@imendio.com>
6053
6054         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
6055         insertion position after backspace, so additional digits are appended,
6056         fixes Bug #85874.
6057
6058 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
6059
6060         * src/hildon-pannable-area.c,
6061         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6062         TODO list, it was complete and removed the g_debug and g_print
6063         lines.
6064
6065 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
6066
6067         Added the movement modes to the hildon-pannable-area, with this
6068         modes the developers can control in which directions the widget
6069         can scroll. They can also connect to signals in order to do
6070         something when that happens, allowing applications scroll. There
6071         is an example uploaded showing how to use it.
6072
6073         * examples/Makefile.am:
6074         * examples/hildon-pannable-area-example-4.c: Added this example of
6075         an application using the modes.
6076
6077         * src/hildon-marshalers.list: Added a new marshaller for the new
6078         signals.
6079
6080         * src/hildon-pannable-area.h: Added new enumerations and flags in
6081         order to control the movement modes and the new signals to warn
6082         about the movements in the area.
6083
6084         * src/hildon-pannable-area.c:
6085         (hildon_pannable_axis_scroll),
6086         (hildon_pannable_area_scroll),
6087         (hildon_pannable_area_motion_notify_cb),
6088         (hildon_pannable_area_get_property),
6089         (hildon_pannable_area_set_property),
6090         (hildon_pannable_area_map),
6091         (hildon_pannable_area_class_init),
6092         (hildon_pannable_area_init),
6093         (hildon_pannable_area_jump_to): Added the modes to control the
6094         movement in the widget. We have added properties to control it,
6095         signals to warn about the movements and refactored some code.
6096
6097 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
6098
6099         Changes required in order to allow vfast_factor set to zero to
6100         work properly.
6101
6102         * src/hildon-pannable-area.c:
6103         (hildon_pannable_area_button_press_cb): Changed the condition, it
6104         is required for not allowing click when vfast_factor is zero.
6105         (hildon_pannable_area_timeout): Initialized velocity variables
6106         when we stop moving, it was less than 1 but not zero and we need
6107         to check zero in some situations.
6108         (hildon_pannable_area_class_init): Changed the default value of
6109         the speed factor, now the button_press is just sent in case the
6110         speed is 2 per cent of the max speed.
6111         (hildon_pannable_area_init): Initialization with 0.
6112
6113 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
6114
6115         * src/hildon-pannable-area.c,
6116         (hildon_pannable_area_get_topmost): replaced
6117         gdk_window_get_children with gdk_window_peek_children, this way we
6118         do not have to free the list because it is not a copy.
6119
6120         (hildon_pannable_axis_scroll),
6121         (hildon_pannable_area_scroll),
6122         (hildon_pannable_area_timeout),
6123         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6124         two parameters that were only used inside the
6125         hildon_pannable_area_scroll function.
6126
6127         * examples/hildon-pannable-area-example.c,
6128         (get_sawtooth_label): Fixed small memory leak.
6129
6130 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
6131
6132         More checks for the case where the overshoot is bigger than the
6133         size of the widget.
6134
6135         * src/hildon-pannable-area.c:
6136         (hildon_pannable_draw_vscroll),
6137         (hildon_pannable_draw_hscroll): with this new calculation we avoid
6138         to draw the slider of the scrollbar under the other scrollbar.
6139         (hildon_pannable_area_expose_event): added new checks to control
6140         the drawing of the overshooting area rectangle, in case it is too
6141         big for the area of the widget.
6142         (hildon_pannable_area_size_allocate): add more checks to avoid
6143         setting a position to the child widget outside the area.
6144
6145 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
6146
6147         * src/hildon-pannable-area.c
6148         (hildon_pannable_area_size_allocate): Added conditions to control
6149         when overshooting is bigger than the allocated space for the
6150         children, this avoids negative allocations.
6151
6152 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
6153
6154         * doc/hildon-docs.sgml
6155         * doc/hildon.types
6156         * examples/Makefile.am
6157         * examples/hildon-button-example.c
6158         * src/Makefile.am
6159         * src/hildon-button.c
6160         * src/hildon-button.h
6161         * src/hildon.h: Initial version of the new HildonButton widget,
6162         with examples.
6163
6164 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
6165
6166         * src/hildon-pannable-area.c:
6167         (hildon_pannable_area_button_press_cb),
6168         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6169         (hildon_pannable_area_motion_notify_cb),
6170         (hildon_pannable_area_button_release_cb),
6171         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6172         (hildon_pannable_area_jump_to_child):
6173
6174         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6175
6176 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
6177
6178         * examples/Makefile.am
6179         * examples/hildon-pannable-area-touch-grid-example.c
6180         * examples/hildon-pannable-area-touch-list-example.c: Examples of
6181         the Hildon Touch List and Hildon Touch Grid using the
6182         HildonPannableArea widget.
6183
6184 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6185
6186         * src/hildon-pannable-area.c,
6187         (hildon_pannable_area_button_press_cb),
6188         (hildon_pannable_area_refresh),
6189         (hildon_pannable_area_scroll),
6190         (hildon_pannable_area_motion_notify_cb),
6191         (hildon_pannable_area_button_release_cb),
6192         (hildon_pannable_area_expose_event),
6193         (hildon_pannable_area_add),
6194         (hildon_pannable_area_remove),
6195         (hildon_pannable_area_realize),
6196         (hildon_pannable_area_size_allocate),
6197         (hildon_pannable_area_class_init),
6198         (hildon_pannable_area_init),
6199         (hildon_pannable_area_scroll_to_child),
6200         (hildon_pannable_area_jump_to_child): Fixed the problem of
6201         removing the child from the GtkBin, we have rearranged the widget
6202         hierarchy, now there is no GtkAlignment which was not doing
6203         anything interesting but breaking some of the assumptions of
6204         GtkContainer. Now developers if they want to add a GtkAlignment
6205         they could, but it is not inside the area.
6206
6207         We had to review the whole allocation/expose process, now it is
6208         improved and we save at least three signals which would be saving
6209         some time when rendering the widget. The allocation of the
6210         scrollbars is now made in the allocate method as usual.
6211
6212         We have also added some conditions in order to control when there
6213         is no child of the pannable area. Maybe we will need more work
6214         here.
6215
6216 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6217
6218         * src/hildon-pannable-area.c,
6219         (hildon_pannable_area_dispose): Released the fade-out timeout when
6220         disposing the widget.
6221
6222 2008-06-27  Alejandro G. Castro <alex@igalia.com>
6223
6224         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6225         zero, we are going to use that property in order to deactivate the
6226         overshooting
6227         (hildon_pannable_axis_scroll),
6228         (hildon_pannable_area_size_allocate): Added conditions to control
6229         when overshoot_max is zero. Moved the gtk_adjustment_set_value
6230         call, now it is called in all situations and we can remove calls
6231         in the allocate method.
6232         (hildon_pannable_area_map): Control the situation when
6233         overshoot_max is zero, we do not need the timeout.
6234         (hildon_pannable_area_class_init): Added documentation in order to
6235         point out that setting zero to overshoot_max means deactivate
6236         overshooting.
6237
6238         NOTE: removed trailing whitespaces from my previous comments of
6239         the Changelog.
6240
6241 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
6242
6243         * src/hildon-pannable-area.c
6244         (hildon_pannable_area_get_property),
6245         (hildon_pannable_area_set_property),
6246         (hildon_pannable_area_map),
6247         (hildon_pannable_area_class_init),
6248         (hildon_pannable_area_init): Add a boolean "initial-hint" property
6249         to cause the widget give a hint about its panning abilities upon
6250         realization.
6251
6252 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
6253
6254         * src/hildon-pannable-area.c: Several documentation improvements.
6255
6256 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
6257
6258         * src/hildon-program.c
6259         * src/hildon-stackable-window.c: Update documentation.
6260
6261 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
6262
6263         * src/hildon-stackable-window.c (get_previous_window_if_last):
6264         Renamed get_last_window()
6265         (hildon_stackable_window_map, hildon_stackable_window_unmap)
6266         (hildon_stackable_window_unset_program):
6267         Simplified code.
6268         (get_previous_window_if_last):
6269         Detect if the window hasn't been added to a HildonProgram.
6270
6271 2008-06-26  Alejandro G. Castro <alex@igalia.com>
6272
6273         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6274
6275         * src/hildon-pannable-area.c
6276         (hildon_pannable_area_button_press_cb),
6277         (hildon_pannable_axis_scroll),
6278         (hildon_pannable_area_scroll),
6279         (hildon_pannable_area_timeout),
6280         (hildon_pannable_calculate_vel_factor),
6281         (hildon_pannable_area_get_property),
6282         (hildon_pannable_area_set_property),
6283         (hildon_pannable_area_class_init),
6284         (hildon_pannable_area_init),
6285         (hildon_pannable_area_scroll_to),
6286         (hildon_pannable_area_jump_to),
6287         (hildon_pannable_area_scroll_to_child),
6288         (hildon_pannable_area_jump_to_child):
6289         * src/hildon-pannable-area.h: Added the new API functions:
6290         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6291         hildon_pannable_area_scroll_to_child,
6292         hildon_pannable_area_jump_to_child
6293
6294
6295         * examples/Makefile.am
6296         * examples/hildon-pannable-area-example-2.c
6297         * examples/hildon-pannable-area-example-3.c: Added these two new
6298         examples in order to test and show how the new APIs work.
6299
6300 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
6301
6302         * examples/hildon-stackable-window-example.c (new_window):
6303         * src/Makefile.am (noinst_HEADERS):
6304         * src/hildon-program.c (hildon_program_go_to_root_window):
6305         * src/hildon-program.h:
6306         * src/hildon-stackable-window-private.h:
6307         * src/hildon-stackable-window.c:
6308         * src/hildon-stackable-window.h:
6309         Create hildon-stackable-window-private.h
6310         Move hildon_stackable_window_go_to_root_window() to HildonProgram
6311
6312         * examples/hildon-app-menu-example.c (create_menu):
6313         * examples/hildon-hvolumebar-insensitive-example.c (main):
6314         * examples/hildon-hvolumebar-timer-example.c (on_idle):
6315         * examples/hildon-toolbar-seekbar-example.c (main):
6316         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6317         * src/hildon-banner.c (hildon_banner_set_property):
6318         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6319         Fix compilation warnings
6320
6321         * src/hildon-window.c:
6322         Fix typo in doc
6323
6324 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
6325
6326         * src/hildon-stackable-window.c
6327         (hildon_stackable_window_unset_program):
6328         Calculate correctly whether to show the previous window if the
6329         last one is removed from the stack.
6330         (hildon_stackable_window_go_to_root_window):
6331         Send delete events starting from the topmost window.
6332         Stop if one of the windows is not destroyed.
6333         Update doc.
6334         (hildon_stackable_window_delete_event)
6335         (hildon_stackable_window_class_init):
6336         Ignore the delete event if the window is not the topmost one.
6337
6338 2008-06-24  Alejandro G. Castro <alex@igalia.com>
6339
6340         * src/hildon-pannable-area.c
6341         (hildon_pannable_area_expose_event): Fixed a problem when
6342         selecting the background color of the scrollbars.
6343
6344 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
6345
6346         * examples/hildon-stackable-window-example.c
6347         * src/hildon-stackable-window.c
6348         * src/hildon-stackable-window.h
6349         hildon_stackable_window_go_home() renamed to
6350         hildon_stackable_window_go_to_root_window()
6351         Send delete events to windows rather than closing them with
6352         gtk_widget_destroy()
6353
6354 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6355
6356         * src/hildon-pannable-area.c
6357         (hildon_pannable_area_button_release_cb): Fix overshooting in
6358         accel mode.
6359
6360 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
6361
6362         * src/hildon-pannable-area.c
6363         (hildon_pannable_area_init): Initially show the scroll indicators.
6364         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6365
6366         Add initial effect showing the widget is pannable.
6367
6368 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6369
6370         * src/hildon-pannable-area.c
6371         (hildon_pannable_area_class_init)
6372         (hildon_pannable_area_set_property)
6373         (hildon_pannable_area_get_property)
6374         (hildon_pannable_area_button_press_cb):
6375         New 'velocity_fast_factor' property to decide which velocity is
6376         considered fast.
6377
6378 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
6379
6380         * src/hildon-pannable-area.c
6381         (hildon_pannable_draw_hscroll)
6382         (hildon_pannable_draw_vscroll):
6383         Use float variables to calculate the size of the scrollbars to
6384         avoid error propagation and resizing during scrolling.
6385
6386 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
6387
6388         * src/hildon-pannable-area.c
6389         (hildon_pannable_draw_vscroll)
6390         (hildon_pannable_draw_hscroll):
6391         Define a minimum size for the scroll bars
6392
6393         * src/hildon-stackable-window.c
6394         (hildon_stackable_window_go_home): Fix compilation warning
6395         (get_last_window): Minor optimizations
6396         (hildon_stackable_window_class_init): Fix initialization of
6397         private structure.
6398
6399 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
6400
6401         * src/hildon-stackable-window.c: Fixed typos in doc
6402
6403 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
6404
6405         * src/hildon-pannable-area.c
6406         (hildon_pannable_area_scroll):
6407         Calculate here whether we need to scroll instead of using the booleans
6408         that tell us whether to /draw/ the scrolling bars.
6409
6410 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
6411
6412         * src/hildon-app-menu.h
6413         Update API.
6414         * src/hildon-app-menu.c
6415         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6416         multiple filter groups related code and API. Now we support only
6417         one filter group.
6418         * examples/hildon-app-menu-example.c:
6419         (create_menu):
6420         Update to reflect API changes.
6421
6422 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
6423
6424         * src/hildon-stackable-window.c
6425         (hildon_stackable_window_class_init):
6426         Add hildon_stackable_window_realize.
6427         (hildon_stackable_window_realize):
6428         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6429         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6430         to apply theming and behavior specific to HildonStackableWindow
6431         windows.
6432
6433 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
6434
6435         * src/hildon-note.c (hildon_note_button_release):
6436         Close information notes also when tapping on them
6437
6438 2008-06-12  Alejandro G. Castro <alex@igalia.com>
6439
6440         Added BOUNCE_STEPS define to control the overshoot effect. Removed
6441         ELASTICITY, refactor and review, fix some issues with drawing
6442         scrollbars.
6443
6444         * src/hildon-pannable-area.c:
6445         (hildon_pannable_area_button_press_cb): removed the conditions to
6446         avoid clicks when overshooting. It is not required
6447
6448         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6449         define. Refatored and reviewed the code, now we do not need to
6450         manage velocity in motion_notify.
6451
6452         (hildon_pannable_area_motion_notify_cb): We have moved the code
6453         that controls the area_scroll to the axis_scroll function and get
6454         rid of duplicated code.
6455
6456         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6457
6458         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6459
6460         (hildon_pannable_draw_vscroll),
6461         (hildon_pannable_draw_hscroll): Fixed the problems with the
6462         scrollbar drawing, now we do not use two surfaces, it is easier
6463         and saves resources.
6464
6465         (hildon_pannable_area_get_property): Style modification.
6466
6467         (hildon_pannable_area_class_init): Changed some default values.
6468
6469 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
6470
6471         * src/hildon-stackable-window.c: Fix some typos in the
6472         documentation.
6473
6474 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
6475
6476         * src/hildon-dialog.c:
6477         Change indentation style
6478
6479         * src/hildon-note.c
6480         (hildon_note_button_release):
6481         Use root coordinates to check if the release event happened
6482         outside the widget.
6483
6484         * src/hildon-app-menu.c
6485         (hildon_app_menu_button_release):
6486         Remove unnecessary check
6487
6488         * examples/hildon-app-menu-example.c
6489         (button_clicked):
6490         Add cast to fix warning
6491
6492         * src/hildon-app-menu.c
6493         (hildon_app_menu_class_init):
6494         New inner-border style property.
6495         Set all default spacings to 16
6496         (hildon_app_menu_init):
6497         Use vertical-spacing to set the space between filter buttons and
6498         regular menu buttons.
6499         Set the default container border using the inner-border value.
6500
6501         * examples/hildon-app-menu-example.c
6502         (create_menu):
6503         Don't set the menu border explicitly, now we have the inner-border
6504         style property for that.
6505
6506 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
6507
6508         * src/hildon-app-menu.c (hildon_app_menu_init):
6509         Make the window modal
6510
6511         * src/hildon-note.c (hildon_note_map)
6512         * src/hildon-app-menu.c (hildon_app_menu_map):
6513         Destroy the grab window if we're unable to grab the pointer
6514
6515         * src/hildon-app-menu-private.h
6516         * src/hildon-app-menu.c
6517         (hildon_app_menu_init, hildon_app_menu_finalize)
6518         (hildon_app_menu_map, hildon_app_menu_unmap)
6519         (hildon_app_menu_button_release)
6520         (grab_transfer_window_get):
6521         Bring back the grab window
6522         (hildon_app_menu_realize):
6523         Decorate the window, set WM hint for Matchbox
6524
6525         * src/hildon-note.c (hildon_note_realize):
6526         * src/hildon-banner.c (hildon_banner_realize):
6527         Add WM hints for Matchbox
6528
6529 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
6530
6531         * src/hildon-app-menu-private.h
6532         * src/hildon-app-menu.c
6533         (hildon_app_menu_init, hildon_app_menu_finalize)
6534         (hildon_app_menu_map, hildon_app_menu_unmap)
6535         (hildon_app_menu_button_release):
6536         Remove the grab window, it's not needed anymore
6537
6538         * src/hildon-program.c
6539         Fixed typo in documentation
6540
6541         * src/hildon-app-menu.h
6542         * src/hildon-app-menu.c
6543         * examples/hildon-app-menu-example.c
6544         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6545
6546 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
6547
6548         * src/hildon-note.c
6549         Added new transfer_window and close_if_pressed_outside private
6550         attributes.
6551         (hildon_note_rebuild):
6552         Don't add a cancel button to the information note. It will be
6553         closed when tapping outside
6554         Remove the comment about the OK button in the documentation
6555         (hildon_note_realize):
6556         Set the notification type hint
6557         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6558         Grab/ungrab pointer and keyboard if the note has to be closed when
6559         tapping outside
6560         (hildon_note_button_release):
6561         Close the note when tapping outside (if applicable)
6562
6563         * src/hildon-app-menu.c
6564         Grab/ungrab pointer and keyboard on map/unmap
6565         (hildon_app_menu_button_release, hildon_app_menu_class_init):
6566         Close the menu on button release, not button press
6567
6568         * src/hildon-banner.c
6569         (hildon_banner_set_property)
6570         (hildon_banner_check_position):
6571         Make the banner use the full width of the screen
6572         (hildon_banner_show_information)
6573         (hildon_banner_show_information_with_markup):
6574         Don't display an icon by default
6575
6576 2008-06-09  Alejandro G. Castro <alex@igalia.com>
6577
6578         Added fading scrollbars and adapted all the overshooting code to
6579         horizontal scrolling. We have also fixed bugs with overshooting
6580         and current fading implementation.
6581
6582         * src/hildon-pannable-area.c
6583         (hildon_pannable_area_scroll_indicator_fade): Time out function
6584         used to change the transparency of the scrollbars.
6585
6586         (hildon_pannable_area_button_press_cb): Added horizontal overshot
6587         control and fixed a problem with fading, we now remove the fade
6588         timeout before adding a new one.
6589
6590         (hildon_pannable_axis_scroll):
6591         (hildon_pannable_area_scroll):
6592         (hildon_pannable_area_timeout): Added this functions so we can use
6593         the scroll code both for vertical and horizontal.
6594
6595         (hildon_pannable_area_motion_notify_cb):
6596         (hildon_pannable_area_button_release_cb): Added the horizontal
6597         scrolling control, fixed a problem with the overshooting timeout.
6598
6599         (rgb_from_gdkcolor): Added this function, it is used in the cairo
6600         painting of the scrolls.
6601
6602         (hildon_pannable_draw_vscroll):
6603         (hildon_pannable_draw_hscroll):
6604         (hildon_pannable_area_expose_event):
6605         Draw both scrollbars and rectangles in the overshooting area.
6606
6607         (hildon_pannable_area_get_property):
6608         (hildon_pannable_area_set_property):
6609         Modified the overshoot property to overshoot_max
6610
6611         (hildon_pannable_area_map):
6612         Replaced the comments symbols.
6613
6614         (hildon_pannable_area_size_allocate):
6615         (hildon_pannable_area_class_init):
6616         (hildon_pannable_area_init): Added horizontal scroll, fading
6617         effect properties, fixed a problem when overshooting in the bottom
6618         of the widget.
6619
6620         * examples/hildon-pannable-area-example.c:
6621         (get_sawtooth_label): Now we use smaller sawtooths, the effect
6622         looks better in the example.
6623
6624 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
6625
6626         * src/hildon-window.c
6627         * src/hildon-window.h
6628         (hildon_window_class_init)
6629         (hildon_window_unset_program)
6630         (hildon_window_unset_program_real):
6631         Make unset_program a virtual function
6632
6633         * src/hildon-stackable-window.c
6634         * src/hildon-stackable-window.h
6635         Added hildon_stackable_window_go_home()
6636
6637         * examples/Makefile.am
6638         * examples/hildon-stackable-window-example.c
6639         HildonStackableWindow example
6640
6641 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6642
6643         * hildon-pannable-area.c: Added the overshoot property and removed
6644         the OVERSHOOT define. Fixed an indent style error.
6645         (hildon_pannable_area_motion_notify_cb):
6646         (hildon_pannable_area_get_property):
6647         (hildon_pannable_area_set_property): Add overshoot property.
6648
6649         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6650         overshoot property.
6651
6652         (hildon_pannable_area_class_init): Installed the new property.
6653
6654         * hildon-pannable-area-example.c: Added a sawtooth function, this
6655         way it is easier to check the movement in the pannable.
6656         (get_sawtooth_label): Added this function.
6657         (main): Now we get the labels from the new get_sawtooth_label
6658         function.
6659
6660 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
6661
6662         * src/hildon-app-menu.h
6663         * src/hildon-app-menu.c
6664         Renamed API variables for consistency
6665
6666         (hildon_app_menu_popup): Use also the default window size to
6667         decide where to place the menu
6668
6669         (hildon_app_menu_init, hildon_app_menu_class_init): New
6670         external-border style property
6671
6672 2008-05-26  Michael Natterer  <mitch@imendio.com>
6673
6674         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6675         widget_class->tap_and_hold_setup signal slot doesn't exist any
6676         longer, stop overriding it.
6677
6678         (hildon_time_editor_init): g_signal_connect() to the
6679         tap-and-hold-setup signal instead.
6680
6681         (hildon_time_editor_entry_keypress): add cast to fix warning.
6682
6683 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
6684
6685         * doc/hildon-docs.sgml
6686         * doc/hildon.types
6687         * examples/Makefile.am
6688         * examples/hildon-app-menu-example.c
6689         * src/Makefile.am
6690         * src/hildon-app-menu-private.h
6691         * src/hildon-app-menu.c
6692         * src/hildon-app-menu.h
6693         * src/hildon.h
6694         New HildonAppMenu widget
6695
6696 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6697
6698         Rearranged the inheritance of the pannable area, now it inherits
6699         from GtkBin. This will allow us to control the event_window and
6700         the allocation process of the widget, required for some effects.
6701
6702         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6703         GtkBin structures.  * src/hildon-pannable-area.c: Added the
6704         event_window variable.
6705         (hildon_pannable_area_button_press_cb):
6706         (hildon_pannable_area_button_release_cb):
6707         (hildon_pannable_area_motion_notify_cb):
6708         Changed the signature of the method, now we override the event
6709         callback instead of connecting to the signal.
6710
6711         (hildon_pannable_area_realize):
6712         (hildon_pannable_area_unrealize):
6713         (hildon_pannable_area_map):
6714         (hildon_pannable_area_unmap):
6715         (hildon_pannable_area_size_allocate):
6716         Added functions to control the widget construction. We add a
6717         INPUT_ONLY window and we put it over the widgets inside the
6718         container, this event_window handles the events.
6719
6720         (hildon_pannable_area_class_init):
6721         Replaced the signal connections with overrides of the event
6722         callbacks.
6723
6724 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6725
6726         Bouncing effect added when touching the borders, you can change
6727         the elasticity of the border changing the ELASTICITY define.
6728
6729         * src/hildon-pannable-area.c: Added ELASTICITY define.
6730         (hildon_pannable_area_timeout): Added inverse velocity when
6731         touching the border of the child widget, that causes a bounce.
6732
6733 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6734
6735         Improved performance, we now do not go to the X server in order to
6736         get the list of window children. Apparently the effect is the
6737         same, we have to be careful and check if this breaks something in
6738         any corner case.
6739
6740         * src/hildon-pannable-area.c:
6741         (get_ordered_children): Removed this function.
6742         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6743         the children windows function with gdk_window_get_children.
6744
6745 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6746
6747         * src/hildon-pannable-area.c:
6748         (hildon_pannable_area_dispose): Fixed a crash when closing the
6749         window and kinetics is activated.
6750
6751 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
6752
6753         * src/hildon-pannable-area.h
6754         * src/hildon-pannable-area.c
6755         Changed indentation style to meet the one used in Hildon
6756
6757 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6758
6759         Reviewed the interaction of the AUTO mode, now we use the time
6760         attribute of the events and calculate the velocity in the motion,
6761         doing a gimp like calculation. The velocity is calculated in each
6762         motion event using the last velocity and the current one, the
6763         SMOOTH_FACTOR controls the percentage of the new velocity we use.
6764
6765         * src/hildon-pannable-area.c: Replaced the time based algorithm
6766         for the AUTO mode.
6767         (hildon_pannable_area_motion_notify_cb): now we do not launch the
6768         timeout for the AUTO mode when we are still moving the cursor. We
6769         added also the velocity calculation in this function.
6770         (hildon_pannable_area_button_release_cb): launch the timeout in
6771         case we are in AUTO mode. There are still some constants here that
6772         come from the old implementation that should be reviewed and
6773         handled properly.
6774
6775 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
6776
6777         * doc/hildon-docs.sgml
6778         * doc/hildon.types
6779         * src/Makefile.am
6780         * src/hildon-stackable-window.c
6781         * src/hildon-stackable-window.h
6782         * src/hildon.h
6783         New HildonStackableWindow widget
6784
6785         * examples/hildon-dialog-example.c
6786         * examples/hildon-pannable-area-example.c
6787         Updated copyright
6788
6789 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
6790
6791         * src/hildon-dialog.c
6792         (hildon_dialog_new_with_buttons): New constructor.
6793
6794         * examples/hildon-dialog-example.c
6795         (main): Update the example to use the new
6796         hildon_dialog_new_with_buttons().
6797
6798         * examples/hildon-pannable-area-example.c
6799         (main): Update example.
6800
6801 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6802
6803         * doc/hildon-docs.sgml
6804         * doc/hildon.types
6805         Added HildonPannableArea to the documentation.
6806
6807 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6808
6809         * doc/visual_index.xml
6810         Fix reference to HildonLoginDialog in documentation
6811
6812         * doc/hildon-docs.sgml
6813         * doc/hildon.types
6814         * examples/Makefile.am
6815         * examples/hildon-dialog-example.c
6816         * src/Makefile.am
6817         * src/hildon-dialog.c
6818         * src/hildon-dialog.h
6819         * src/hildon.h
6820         New HildonDialog widget.
6821
6822 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6823
6824         * src/hildon-pannable-area.c
6825         Merge latest changes (r4318, r4342) from libmokoui trunk
6826
6827 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6828
6829         * examples/Makefile.am
6830         * examples/hildon-pannable-area-example.c
6831         * src/Makefile.am
6832         * src/hildon-pannable-area.c
6833         * src/hildon-pannable-area.h
6834         * src/hildon.h
6835         New HildonPannableArea widget.
6836
6837 2008-04-15 18:05:19    <timj@imendio.com>
6838
6839         * src/hildon-banner.c: revert the recent change, that introduced
6840         gtk_window_present() calls. this reopens:
6841           Bug 78481 - [freetest] information banners are hidden under browser menu
6842         But resolves another variant of:
6843           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6844
6845 2008-04-15 13:21:13    <timj@imendio.com>
6846
6847         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6848         recreated its layout, spotted by Kris. this fixes all remaining
6849         artefacts and stability issues with the banner code. in particular:
6850         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6851
6852 2008-04-14 16:52:59    <timj@imendio.com>
6853
6854         * src/hildon-banner.c: guard force_to_wrap_truncated() against
6855         operating on unrealized widgets, fixes:
6856         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6857
6858         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6859
6860 2008-04-09  Kristian Rietveld  <kris@imendio.com>
6861
6862         Fixes: NB#77775: Media Player, Save Now playing list, too long name
6863         makes banner disappear.
6864         Fixes: NB#79182: info banner flickering with certain message lengts.
6865
6866         * src/hildon-banner.c (hildon_banner_constructor),
6867         (hildon_banner_init), (hildon_banner_set_text),
6868         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6869         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6870         FALSE, reset size requests of label and banner,
6871         (force_to_wrap_truncated): when the text is too wide, always enforce
6872         the maximum possible width instead of recalculating it from the
6873         layout; enforce the maximum banner height of 3 lines,
6874         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6875         nicer wrapping and no truncated chars if space gets tight.
6876
6877         * src/hildon-banner-private.h: add has_been_wrapped and
6878         has_been_truncated fields.
6879
6880 2008-04-07  Sven Herzberg  <sven@imendio.com>
6881
6882         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6883         local values in hildon_date_editor_size_allocate
6884
6885         * src/hildon-date-editor.c: moved the real allocation code into the
6886         if() branch
6887
6888 2008-04-07  Sven Herzberg  <sven@imendio.com>
6889
6890         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6891         local values in hildon_date_editor_size_allocate
6892
6893         * src/hildon-date-editor.c: merged the two if() branches together
6894
6895 2008-04-07  Sven Herzberg  <sven@imendio.com>
6896
6897         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6898         local values in hildon_date_editor_size_allocate
6899
6900         * src/hildon-date-editor.c: changed the arguments of the if()
6901         conditions
6902
6903 2008-04-07  Sven Herzberg  <sven@imendio.com>
6904
6905         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6906         local values in hildon_date_editor_size_allocate
6907
6908         * src/hildon-date-editor.c: split the calculation of the allocation
6909         from the real allocation
6910
6911 2008-03-27  Michael Natterer  <mitch@imendio.com>
6912
6913         Fixes: NB#81696: The passcode is not overwritten even after
6914         selecting
6915
6916         * src/hildon-code-dialog.c
6917         (hildon_code_dialog_button_clicked)
6918         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6919         because that doesn't overwrite selected text. Instead, emit the
6920         "commit" signal on the entry's im_context so the entry's normal
6921         insert logic is triggered. Set the cursor to the end of the entry
6922         after each insert operation so that we *only* insert in the middle
6923         of the text if something was selected.
6924
6925 2008-03-27  Michael Natterer  <mitch@imendio.com>
6926
6927         Enable fixing: NB#79916 and NB#79918: The help topic for Color
6928         selector cannot be opened
6929
6930         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6931         when the popup color selector is created. Please connect to this
6932         signal in order to set the dialog's help ID.
6933
6934 2008-03-25  Sven Herzberg  <sven@imendio.com>
6935
6936         Fixes: MB#1212: Hide info banners (infoprints) on click
6937
6938         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6939         extracted the close event simulation into an extra function
6940         (hildon_banner_button_press_event): simulate a close event and destroy
6941         the widget if the event wasn't handled
6942         (hildon_banner_class_init): added the button_press_event handler
6943         (hildon_banner_init): added button-press events to the widget
6944
6945 2008-03-25  Sven Herzberg  <sven@imendio.com>
6946
6947         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6948         Patch from: Mohammad Anwari  <mdamt@maemo.org>
6949
6950         * src/hildon-banner.c: let the HildonBanners pop up on the left side
6951         instead of the right in RTL mode
6952         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6953         breadcrumb button list in RTL mode
6954         * src/hildon-caption.c: mirror the appearance of the caption widget in
6955         RTL mode
6956         * src/hildon-date-editor.c: mirror appearance of the date editor in
6957         RTL mode
6958         * src/hildon-time-editor.c: mirror appearance of the time editor in
6959         RTL mode
6960         * src/hildon-window.c: fix the position of the popup in RTL mode
6961
6962 2008-03-25  Sven Herzberg  <sven@imendio.com>
6963
6964         Amendment to the fix of NB#22072. Fix compilation.
6965
6966         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6967
6968 2008-03-19  Sven Herzberg  <sven@imendio.com>
6969
6970         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6971         in Info Banner" bug
6972
6973         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6974         timeout id properly when the timeout will disappear this leaves no
6975         artifacts around in the destroy(); there will only be the timeout
6976         created by hildon_banner_ensure_timeout() and adding a new timeout
6977         will also work if the timeout gets removed because the timeout_handler
6978         returned FALSE
6979
6980 2008-03-19  Michael Natterer  <mitch@imendio.com>
6981
6982         Fixes: NB#79791: Cannot set focus to Master volume using stylus
6983
6984         * src/hildon-volumebar.c
6985         * src/hildon-vvolumebar.c
6986         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6987         the widget becomes focussable at all.
6988
6989         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6990         set the focus to wither the mute button or the volumebar.
6991
6992         Remove own "can-focus" property and instead listen to
6993         notify::can-focus in order to update the widget's state.
6994
6995         Implement GtkWidget::focus() and make sure we can also *leave* the
6996         widget, not only enter it, depending on volumebar orientation and
6997         requested focus direction.
6998
6999         Clean up set_mute() to cooperate nicely with all the above.
7000
7001 2008-03-04  Michael Natterer  <mitch@imendio.com>
7002
7003         Fixes: NB#78481: information banners are hidden under browser menu
7004
7005         * src/hildon-banner.c: call gtk_window_present() on the banners so
7006         they are risen if they are already visible.
7007
7008 2008-03-03  Sven Herzberg  <sven@imendio.com>
7009
7010         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
7011
7012         * examples/hildon-window-menu-example.c: (main): extended the window
7013         menu example to serve as a testcase for automatically added
7014         accelerator groups, too
7015         * src/hildon-window.c: (hildon_window_add_accel_group),
7016         (hildon_window_set_menu): added patch by Tommi Komulainen
7017
7018 2008-03-03  Sven Herzberg  <sven@imendio.com>
7019
7020         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
7021
7022         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
7023         knowledge about the border allocators used within GTK+
7024
7025 2008-02-26  Sven Herzberg  <sven@imendio.com>
7026
7027         Fixes: MB#2981: Build with asserts broken
7028
7029         * src/hildon-date-editor.c,
7030         * src/hildon-number-editor.c,
7031         * src/hildon-time-editor.c,
7032         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
7033         the proper GType instance check
7034
7035 2008-02-25  Sven Herzberg  <sven@imendio.com>
7036
7037         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
7038
7039         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
7040         * examples/hildon-window-menu-example.c: (main): explicitly show
7041         the menu item
7042         * src/hildon-window.c:
7043         (hildon_window_set_main_menu): moved most of the code from set_menu()
7044         to this place; skipped the call to gtk_widget_show_all(); also didn't
7045         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
7046         (hildon_window_set_menu): removed most of the code, just keep the
7047         questionable gtk_widget_show_all()
7048         * src/hildon-window.h: added the new function and deprecate the old
7049         one
7050
7051 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
7052
7053         [2.0.1-1 release]
7054
7055         * NEWS:
7056         * configure.ac:
7057         * debian/changelog: Updating.
7058
7059 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
7060
7061         * configure.ac:
7062         * pkgconfig/Makefile.am:
7063         * pkgconfig/hildon.pc.in:
7064         * src/Makefile.am:
7065
7066         Do not use PACKAGE_VERSION_MAJOR as the API revision,
7067         use newly created API_MAJOR_VERSION.
7068
7069 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
7070
7071         [2.0.0-1 release]
7072
7073         * NEWS:
7074         * configure.ac:
7075         * debian/changelog: Updating.
7076
7077 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
7078
7079         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7080
7081         Add outer_border style property, we use it but don't define it (!).
7082
7083         Fixes NB#75310
7084
7085 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
7086
7087         * examples/hildon-bread-crumb-trail-example.c (main):
7088
7089         Add clear button.
7090
7091         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7092
7093         Fix logic for the bread crumb trail node removal.
7094
7095         Fixes: NB#78616
7096
7097 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7098
7099         [1.99.1-1 release]
7100
7101         * NEWS:
7102         * configure.ac:
7103         * debian/changelog: Updating.
7104
7105 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7106
7107         Patch by Alejandro to get/set passwords dialogs accesibility.
7108
7109         * hildon-1/src/hildon-get-password-dialog.c:
7110         * hildon-1/src/hildon-set-password-dialog.c:
7111         Set atk_set_name to the passwd entries in order to allow
7112         accessibility by name on this entries.
7113
7114 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7115
7116         [1.99.0-2 release]
7117
7118         * debian/changelog:
7119         * debian/control: Updating gtk dep.
7120
7121 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
7122
7123         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7124         USE_MAEMO_GTK is enabled.
7125
7126 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
7127
7128         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7129         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7130
7131 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7132
7133         [1.99.0-1 release]
7134
7135         * NEWS:
7136         * configure.ac:
7137         * debian/changelog: Updating.
7138
7139 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7140
7141         * examples/Makefile.am:
7142         * examples/hildon-logical-color-example.c:
7143         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7144         applied + adding a test case. Fixes: NB#71660.
7145
7146 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
7147
7148         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7149         to be visible, fixes warning on map for windows without toolbars.
7150
7151 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
7152
7153         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7154         2.11.0, add a check for that besides the MAEMO_GTK check.
7155
7156 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7157
7158         [1.0.17-1 release]
7159
7160         * NEWS:
7161         * configure.ac:
7162         * debian/changelog: Updating.
7163
7164 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7165
7166         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7167         visibility. Fixes: NB#70842 and MB#615.
7168
7169 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
7170
7171         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7172         set the separator as no-show-all so it doesn't unintentionally appear when
7173         someone does a show_all.
7174
7175 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
7176
7177         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7178         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7179         toplevel item. Fixes: NB#62031
7180
7181 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
7182
7183         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7184         fix the name of the function in the docs.
7185
7186 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7187
7188         [1.0.16-1 release]
7189
7190         * NEWS:
7191         * configure.ac:
7192         * debian/changelog: Updating.
7193
7194 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7195
7196         * examples/hildon-banner-long-example.c: Adding a test-case for long
7197         hildon banner.
7198
7199         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7200
7201 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7202
7203         * src/hildon-color-chooser-dialog.c:
7204         * src/hildon-color-chooser.c:
7205         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7206         memory leaks in font selector and color selector. Fixes: NB#70499 and
7207         NB#70474.
7208
7209 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
7210
7211         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7212
7213 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7214
7215         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7216         little bit bigger. Fixes: #NB63694.
7217
7218 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7219
7220         [1.0.15-1 release]
7221
7222         * NEWS:
7223         * configure.ac:
7224         * debian/changelog: Updating.
7225
7226 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7227
7228         * doc/Makefile.am:
7229         * doc/hildon-docs.sgml:
7230         * doc/images/bread-crumb-trail.png:
7231         * doc/images/calendar-popup.png:
7232         * doc/images/caption.png:
7233         * doc/images/code-dialog.png:
7234         * doc/images/color-button.png:
7235         * doc/images/color-chooser-dialog.png:
7236         * doc/images/color-chooser.png:
7237         * doc/images/controlbar.png:
7238         * doc/images/date-editor.png:
7239         * doc/images/font-selection-dialog.png:
7240         * doc/images/get-password-dialog.png:
7241         * doc/images/hvolumebar.png:
7242         * doc/images/login-dialog.png:
7243         * doc/images/note.png:
7244         * doc/images/number-editor.png:
7245         * doc/images/range-editor.png:
7246         * doc/images/seekbar.png:
7247         * doc/images/set-password-dialog.png:
7248         * doc/images/sort-dialog.png:
7249         * doc/images/time-editor.png:
7250         * doc/images/time-picker.png:
7251         * doc/images/vvolumebar.png:
7252         * doc/images/weekday-picker.png: Adding the new generated widget shots.
7253         Adding the bread-crumb-trial and helpers to the documentation.
7254
7255 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7256
7257         * examples/hildon-find-toolbar-example.c:
7258         * src/hildon-find-toolbar.c:
7259         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7260         actually continue firing the other handlers if connected. Adding a new
7261         function:
7262         hildon_find_toolbar_get_last_index that gets the index of the most
7263         recently added (last) item. Fixes: NB#52301.
7264
7265 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7266
7267         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7268         behaviour. Fixes: NB#68610.
7269
7270 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7271
7272         * src/hildon-banner.c: Actually reverting the previous change. It somehow
7273         looks a bit worse.
7274
7275 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7276
7277         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7278         when realizing the banner. Should make the infonbanner effect a bit more
7279         bearable.
7280
7281 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7282
7283         * src/hildon-volumebar.c:
7284         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7285         hildon_volumebar_set_range_insensitive_message and
7286         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7287
7288 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7289
7290         * src/hildon-window.c: Fixing the border freeing on destroy.
7291
7292 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7293
7294         * src/hildon-code-dialog-private.h:
7295         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7296         kw keyboard support in HildonCodeDialog.
7297
7298 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7299
7300         [1.0.14-1 release]
7301
7302         * NEWS:
7303         * configure.ac:
7304         * debian/changelog: Updating.
7305
7306 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7307
7308         * src/hildon-date-editor.c:
7309         * src/hildon-number-editor.c:
7310         * src/hildon-private.c:
7311         * src/hildon-private.h:
7312         * src/hildon-time-editor.c:
7313         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7314         handling in subclassed composite widgets. Fixes: NB#66628.
7315
7316 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7317
7318         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7319         from destroy_ callback as it introduces problems in async dbus signal
7320         handlers. Fixes NB#66673.
7321
7322 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7323
7324         * examples/hildon-hvolumebar-example.c:
7325         * src/hildon-volumebar.c: Improving the focus handling in the
7326         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7327         set_property accessor so that "mute" property can be actually set. I'm
7328         scared that nobody noticed it's totally broken.
7329
7330 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7331
7332         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7333         Fixes NB#66548.
7334
7335 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7336
7337         * src/hildon-calendar.c:
7338         * src/hildon-number-editor.c:
7339         * src/hildon-time-picker.c: Changing the timeout repeat so that it
7340         matches the spec of 6 chars per second. Fixes: NB#60489.
7341
7342 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7343
7344         * src/hildon-helper.c: Really fixing NB#58352. Looks like
7345         gtk_style_lookup_color sometime returns FALSE even though color was
7346         found and values were filled properly. Weird. Removing the warning for the
7347         time being.
7348
7349 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7350
7351         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7352         expand vertically. Adding some extra space to the find toolbar buttons to
7353         make them thumbable. Fixes NB#66060.
7354
7355 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7356
7357         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7358         popup with "Ok" and "Cancel". Fixes NB#59299.
7359
7360 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7361
7362         * src/hildon-calendar.c: Process all window updates before executing next
7363         timeout. Fixes: NB#54146.
7364
7365 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7366
7367         [1.0.13-1 release]
7368
7369         * NEWS:
7370         * configure.ac:
7371         * debian/changelog: Updating.
7372
7373 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
7374
7375         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7376         the client event and ignore it, since we use the delete event to close
7377         after timeouts.
7378
7379 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7380
7381         * src/hildon-helper.c: Remove the bogus warning about color not being
7382         found. Fixes NB#58352.
7383
7384 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7385
7386         * examples/Makefile.am:
7387         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7388         HildonSeekbar widget inside a toolbar.
7389
7390 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
7391
7392         * src/hildon-banner.c (hildon_banner_init): mark the banners as
7393         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7394         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7395         don't want to be closed by non-temporary windows on map.
7396
7397         Also use G_DEFINE_TYPE instead of manually typed code.
7398
7399 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7400
7401         [1.0.12-1 release]
7402
7403         * NEWS:
7404         * configure.ac:
7405         * debian/changelog:
7406         * debian/rules: Updating.
7407
7408 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7409
7410         * examples/Makefile.am:
7411         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7412         bug NB#61128. Strangely it works.
7413
7414 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7415
7416         * src/hildon-date-editor.c: When the date editor entry has been changed
7417         but the numbers of characters < max, turn off the skip validation flag.
7418         Prevents a situation when we enter first a valid year and later re-write
7419         it with an invalid one. Fixes NB#60154.
7420
7421 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7422
7423         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7424         code dialog. Fixes NB#64355.
7425
7426 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7427
7428         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7429         switching the page. Fixes NB#49374.
7430
7431         * examples/Makefile.am:
7432         * examples/hildon-wizard-dialog-example.c: Adding an example for
7433         HildonWizardDialog that shows how to handle manual sensitivity setting on
7434         the wizard dialog.
7435
7436 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7437
7438         * configure.ac:
7439         * src/Makefile.am:
7440         * src/hildon-version.h.in:
7441         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7442
7443 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7444
7445         * src/hildon-volumebar.c: Updating the docs.
7446
7447 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7448
7449         [1.0.11-1 release]
7450
7451         * NEWS:
7452         * configure.ac:
7453         * debian/changelog: Updating.
7454
7455 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7456
7457         * src/hildon-find-toolbar.c:
7458         * src/hildon-find-toolbar.h: Adding a few new functions to control the
7459         selected item: hildon_find_toolbar_set_active,
7460         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7461         hildon_find_toolbar_get_active_iter . They correspond to respective
7462         GtkComboBox functions.
7463
7464         * examples/Makefile.am:
7465         * examples/hildon-find-toolbar-example.c: Adding the example to test the
7466         new functionality.
7467
7468 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7469
7470         * examples/Makefile.am:
7471         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7472         theming easily.
7473
7474         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7475         when font size > 32 and we pack a focusable widget inside. Actually using
7476         the default response would work too, but since we don't show default
7477         response state in any way (no theming) it would not be visible to the
7478         user. Fixes NB#63430.
7479
7480 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7481
7482         * src/hildon-date-editor.c: Adding the missing variable setter in the
7483         set_property handler. Fixes NB#54182.
7484
7485 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7486
7487         * src/hildon-window.h: Changing the long key press time from 1500ms to
7488         800ms as requested in NB#63700. I have a bad feeling about this, let's
7489         see... Fixes NB#63700.
7490
7491 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
7492
7493         * src/hildon-time-picker.c (hildon_time_picker_class_init,
7494         hildon_time_picker_map, hildon_time_picker_realize,
7495         hildon_time_picker_style_set): Split the contents of map to more
7496         appropriate functions; set window decorations on realize and update
7497         arrows' size requisitions on style-set. Avoids unnecessary resizing.
7498
7499 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
7500
7501         [1.0.10-2 release]
7502
7503         * NEWS:
7504         * debian/changelog: Updating.
7505
7506 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
7507
7508         * src/Makefile.am: fixed installation of the header files
7509
7510 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7511
7512         [1.0.10-1 release]
7513
7514         * NEWS:
7515         * configure.ac:
7516         * debian/changelog: Updating.
7517
7518 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7519
7520         * configure.ac: Removing some remaining of --enable-xan.
7521
7522 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
7523
7524         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7525         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7526
7527         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7528         2.10.12-osso6 because the move-focus signal needs to be available in
7529         GtkWidget.
7530
7531 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7532
7533         * examples/Makefile.am:
7534         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7535         that makes a HildonVolumebar insensitive before mapping it. Seems to work
7536         fine. Prolly NB#61128 is fixed now.
7537
7538 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7539
7540         * src/hildon-volumebar.c:
7541         * src/hildon-volumebar.h: Adding the
7542         hildon_volumebar_set_range_insensitive_message and
7543         hildon_volumebar_set_range_insensitive_messagef functions to set
7544         insensitive message on the slider of the volumebar. Fixes NB#61129.
7545
7546         * examples/Makefile.am:
7547         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7548         test the new insensitive messsage functionality on HildonVolumebar.
7549
7550 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
7551
7552         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7553         work again.
7554
7555 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
7556
7557         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7558         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7559         button on after clearing the trail.
7560
7561 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7562
7563         * src/hildon-code-dialog.c: Removing the separator from the dialog.
7564
7565 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
7566
7567         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7568         by splitting the installed headers in generated and non-generated groups. Use
7569         only the non-generated headers to create the hildon-enum-types.h file.
7570
7571         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7572
7573 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7574
7575         * src/hildon-window.c: Hide the window before performing the destroy.
7576         Should make the app closing a little tiny bit more snappy.
7577
7578 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
7579
7580         * src/hildon-seekbar.c: add gtkrange.h header
7581         * src/hildon-caption.c: remove unused variable
7582
7583 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
7584
7585         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7586         Loic Minier.
7587
7588 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7589
7590         [1.0.9-1 release]
7591
7592         * NEWS:
7593         * configure.ac:
7594         * debian/changelog: Updating.
7595
7596 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
7597
7598         * src/hildon-window.c (hildon_window_window_state_event,
7599         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7600         escape timeout on focus-out-event rather than notify::is-topmost; the
7601         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7602
7603 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7604
7605         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7606         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7607
7608 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
7609
7610         * src/hildon-window: actually, you need to use the macro always, there's
7611         no private pointer in the instance structure. We should have cleaned this up
7612         when we had the chance...
7613
7614 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
7615
7616         * src/hildon-window.c: do not get the private date from HildonWindow before
7617         it passes the g_return_if_fail check. Once it's passed the test, there's no
7618         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7619         if you are only going to access the data once. Whitespace cleanups.
7620
7621 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
7622
7623         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7624         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7625
7626 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7627
7628         [1.0.8-1 release]
7629
7630         * NEWS:
7631         * configure.ac:
7632         * debian/changelog: Updating.
7633
7634 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7635
7636         * src/hildon-window.c: When destroying the window, remove (if exists) the
7637         escape timeout handler. Fixes #NB59276.
7638
7639 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7640
7641         * src/hildon-banner.c: When realizing the widget, set the window
7642         transiency. Setting the transiency in the gobject constructor is not
7643         good, as the widget is not realized at that point. Fixes: #NB56624.
7644
7645 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7646
7647         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7648         Add padding for future expansions.
7649
7650 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7651
7652         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7653         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7654         will fake an activation on the previous to the last item of the trail, so
7655         the effect can be overrided by the developer as usual.
7656         Also change the callback for the back button to do the same thing, so its
7657         effect can be overrided too. Fixes: NB#58982
7658
7659 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7660
7661         * src/hildon-caption.c: Implementing the proper focus grabbing in the
7662         HildonCaption. Fixes NB#52379.
7663
7664 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
7665
7666         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7667         the internal state of the trail after the user has had the chance of executing
7668         his handler for the signal. Specifically, it may happen that the activated button
7669         is removed and the user still lets the default handler run. This would segfault
7670         previously.
7671
7672 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7673
7674         * src/hildon-font-selection-dialog.c: When the font is really big, add the
7675         scrollbar to the preview dialog. Fixes NB#54147.
7676
7677 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7678
7679         * src/hildon-date-editor.c: Changing the default max year to 2037. The
7680         max/min year properties can be altered, so the client can modify it
7681         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7682
7683 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7684
7685         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7686         hildonlike by default. Fixing a problem with disappearing arrows when
7687         scrolling through months and years. Fixes NB#54127.
7688
7689 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7690
7691         * examples/hildon-date-editor-example.c: Adding error callback to the date
7692         editor example.
7693
7694 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7695
7696         [1.0.7-1 release]
7697
7698         * NEWS:
7699         * debian/changelog:
7700         * configure.ac: Updating.
7701
7702 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7703
7704         * configure.ac: Adding a special '--enable-xan' configure option that
7705         turns off the -Werror compilation setting. Usefull for development.
7706
7707         * src/hildon-calendar.c:
7708         * src/hildon-number-editor.c:
7709         * src/hildon-time-picker.c: Adding the 5* multiplier to
7710         gtk-timeout-update.
7711
7712 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
7713
7714         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7715         instead of g_object_ref + gtk_object_sink.
7716
7717 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7718
7719         [1.0.6-1 release]
7720
7721         * NEWS:
7722         * configure.ac:
7723         * debian/changelog: Updating.
7724
7725 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7726
7727         * src/hildon-color-chooser-dialog.c:
7728         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7729         straight from Tommi labs.
7730
7731 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7732
7733         * examples/hildon-finger-example.c: Correcting the header file path.
7734
7735         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7736         the changed signal. Fixes a small memory leak.
7737
7738 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7739
7740         * autogen.sh:
7741         * debian/rules:
7742         * src/hildon-banner.c: Importing several usefull fixes from the
7743         ubuntu-mobile branch.
7744
7745 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7746
7747         * examples/Makefile.am:
7748         * examples/hildon-finger-example.c: Adding a finger-checking code
7749         example.
7750
7751         * src/hildon-font-selection-dialog.c: Do not allocate the color
7752         structure using the g_new. Fixes NB#54061.
7753
7754 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7755
7756         * src/hildon-helper.c: Correcting tabs in file.
7757
7758 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
7759
7760         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7761         control the visibility of the children.
7762
7763         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7764
7765 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7766
7767         [1.0.5-1 release]
7768
7769         * NEWS:
7770         * configure.ac:
7771         * debian/changelog: Updating.
7772
7773 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
7774
7775         * src/hildon-bread-crumb-trail.c:
7776         (hildon_bread_crumb_trail_size_allocate):
7777
7778         Make the back button always a square.
7779
7780 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
7781
7782         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7783         from the .c file as it's a private file.
7784
7785 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7786
7787         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7788         uses slightly bigger height.
7789
7790         * src/hildon-font-selection-dialog.c: Adding some checks before
7791         freeing memory in the font selection dialog.
7792
7793 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7794
7795         * src/hildon-font-selection-dialog.c: Adding a small check when
7796         freeing memory.
7797
7798         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7799         buttons sensitivity on page switching.
7800
7801 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
7802
7803         * src/hildon-bread-crumb-trail.c: make the add method handle all the
7804         internal details of adding a bread crumb to the trail.
7805
7806 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7807
7808         [1.0.4-1 release]
7809
7810         * README:
7811         * configure.ac:
7812         * debian/changelog: Updating.
7813
7814         * src/hildon-bread-crumb-trail.h:
7815         * src/hildon-bread-crumb.h: Changing the API guard to
7816         HILDON_ENABLE_UNSTABLE_API.
7817
7818 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7819
7820         [1.0.3-1 release]
7821
7822         * NEWS:
7823         * configure.ac:
7824         * debian/changelog:
7825         * debian/rules:
7826         * src/hildon-helper.h: Updating.
7827
7828 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7829
7830         [1.0.2-1 release]
7831
7832         * NEWS:
7833         * configure.ac:
7834         * debian/changelog:
7835
7836 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7837
7838         * README:
7839         * configure.ac:
7840         * src/hildon-helper.h: Small fix to make the package actually compile.
7841
7842 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
7843
7844         * src/hildon-bread-crumb-trail.h:
7845         * src/hildon-bread-crumb.h:
7846
7847         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7848         to define ENABLE_UNSTABLE_API in the code that includes these headers.
7849
7850 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
7851
7852         * examples/hildon-bread-crumb-trail-example.c:
7853         * src/Makefile.am:
7854         * src/hildon-bread-crumb-trail.c:
7855         * src/hildon-bread-crumb-trail.h:
7856         * src/hildon-bread-crumb.c:
7857         * src/hildon-bread-crumb.h:
7858         * src/hildon-marshalers.list:
7859         * src/hildon-bread-crumb-widget.c:
7860         * src/hildon-bread-crumb-widget.h:
7861
7862         Slight change in the widget design. The bread crumb trail API is
7863         unchanged, but HildonBreadCrumb is now an interface. A *private*
7864         implementation, hildon-bread-crumb-widget, is provided and used
7865         internally by the trail for the push_text/push_icon functions.
7866
7867         The generic push API is still available, so anyone can implement
7868         and use its own bread crumb widget.
7869
7870 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7871
7872         * debian/rules: Fixing the shlibs.
7873
7874 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7875
7876         * src/hildon-banner.c: Fixing a problem with timed banners having
7877         their parrent destroyed before they are.
7878
7879 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
7880
7881         * src/hildon-bread-crumb.c:
7882         * src/hildon-bread-crumb.h:
7883
7884         Make the get_natural_size function a vfunc.
7885
7886 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7887
7888         * src/hildon-bread-crumb.c:
7889         * src/hildon-bread-crumb-trail.c:
7890
7891         Some cleanups.
7892
7893 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7894
7895         [1.0.1-1 release]
7896
7897         * AUTHORS:
7898         * NEWS:
7899         * configure.ac:
7900         * debian/changelog: Updating for release.
7901
7902 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7903
7904         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7905         don't leak the pango layout.
7906
7907 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
7908
7909         * src/hildon.h:
7910         * examples/hildon-bread-crumb-trail-example.c:
7911
7912         Fix example.
7913
7914 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7915
7916         * debian/changelog: Removing the bug-fixed entries that were actually
7917         resolved as WONTFIX.
7918
7919         * src/hildon-date-editor.c: Removing a redundant check. Fixes
7920         NB#54182.
7921
7922 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
7923
7924         * src/hildon-bread-crumb-trail.c:
7925         * src/hildon-bread-crumb-trail.h:
7926         * src/hildon-bread-crumb.c:
7927         * src/hildon-bread-crumb.h:
7928
7929         Untabify.
7930
7931 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
7932
7933         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7934         until it's passed the type check.
7935
7936 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
7937
7938         * examples/hildon-bread-crumb-trail-example.c
7939
7940         Add license.
7941
7942 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
7943
7944         * examples/Makefile.am
7945         * examples/hildon-bread-crumb-trail-example.c
7946         * src/Makefile.am
7947         * src/hildon-bread-crumb-trail.c
7948         * src/hildon-bread-crumb-trail.h
7949         * src/hildon-bread-crumb.c
7950         * src/hildon-bread-crumb.h
7951
7952         New HildonBreadCrumbTrail widget.
7953
7954 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
7955
7956         * src/hildon-range-editor.c (hildon_range_editor_init),
7957         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7958         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7959         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7960         hildon_time_editor_class_init, hildon_time_editor_init),
7961         src/hildon-get-password-dialog.c (invalid_input,
7962         hildon_get_password_set_property, hildon_get_password_get_property,
7963         create_contents, hildon_get_password_dialog_set_max_characters),
7964         src/hildon-set-password-dialog.c (create_contents),
7965         src/hildon-date-editor.c (hildon_date_editor_init),
7966         src/hildon-login-dialog.c (hildon_login_dialog_init),
7967         src/hildon-number-editor.c (hildon_number_editor_init),
7968         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7969         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7970         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7971          configure option and adding the respective checks in the code.
7972         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7973         hildon_calendar_drag_data_received): fixed some build warnings.
7974
7975 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
7976
7977         * debian/changelog: A 1.0.0 release notes.
7978