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