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