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