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