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