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