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