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