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