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