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