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