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