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