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