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