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