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