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