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