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