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