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