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