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