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