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