2009-02-04 Alberto Garcia <agarcia@igalia.com>
[hildon] / ChangeLog
1 2009-02-04  Alberto Garcia  <agarcia@igalia.com>
2
3         * src/hildon-window-stack.c (hildon_window_stack_remove): When a
4         window is removed from the middle of the stack, update the
5         transiency of the previous one.
6
7         Fixes: NB#100487 (HildonStackableWindow transiency becomes
8         incoherent)
9
10 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
11
12         * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
13         block/unblock the signal handler if it's not actually being used.
14         Fixes some critical warnings.
15
16 2009-02-02  Alberto Garcia  <agarcia@igalia.com>
17
18         Based on a patch by Iván Gómez (igomez@igalia.com)
19
20         * src/hildon-banner.c
21         * src/hildon-gtk.c
22         * src/hildon-main.c
23         * src/hildon-note.c
24         * src/hildon-pannable-area.c
25         * src/hildon-picker-dialog.c
26         * src/hildon-wizard-dialog.h
27         * src/hildon-wizard-dialog.c: Documentation updates.
28
29         * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
30         gtk_dialog_add_button() instead of hildon_dialog_add_button().
31
32 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
33
34         * configure.ac: post release version bump.
35         * debian/changelog: version bump.
36
37 2009-02-02  Claudio Saavedra  <csaavedra@igalia.com>
38
39         [Release 2.1.40]
40
41         * NEWS: Updates.
42         * configure.ac: Bump version.
43         * debian/changelog: Updates.
44
45 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
46
47         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
48         a stock icon nor change the relief of the back arrow.
49
50         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
51         graphics from theme)
52
53 2009-01-29  Alberto Garcia  <agarcia@igalia.com>
54
55         * src/hildon-button.c (hildon_button_set_alignment): Use
56         priv->alignment if the button has no child yet.
57
58 2009-01-29  Claudio Saavedra  <csaavedra@igalia.com>
59
60         * src/hildon-button.c: (hildon_button_init): Set the
61         button style during initialization to give it the proper
62         label color.
63
64         Fixes: NB#99713 (HildonButton value label color is wrong)
65
66 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
67
68         * src/hildon-touch-selector.c: Document
69         hildon_touch_selector_center_on_selected()
70
71 2009-01-28  Alberto Garcia  <agarcia@igalia.com>
72
73         * src/hildon-app-menu.c (+hildon_app_menu_show_all)
74         (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
75         all menu items, but not the menu itself.
76         (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
77         (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
78         items after adding them to the menu so keyboard accelerators work.
79         (hildon_app_menu_show): Don't show the menu if it contains items
80         but none of them are visible.
81
82         * examples/hildon-app-menu-example.c (create_menu): Use
83         gtk_widget_show_all() to show all menu items.
84
85 2009-01-28  Claudio Saavedra  <csaavedra@igalia.com>
86
87         * src/hildon-picker-dialog.c:
88         (-_update_title_on_selector_changed_cb),
89         (-_dialog_update_title): Removed.
90         (_select_on_selector_changed_cb), (_on_dialog_response),
91         (on_selector_columns_changed): Do not update the dialog title.
92         (setup_interaction_mode): Do not connect to
93         HildonTouchSelector::changed signal if there's a "done" button, as
94         the dialog title doesn't need to be updated.
95
96         Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
97         contents in title)
98
99 2009-01-27  Claudio Saavedra  <csaavedra@igalia.com>
100
101         Patch by Kristian Rietveld (kris@imendio.com)
102
103         * src/hildon-touch-selector.c: (_create_new_column): Use new
104         GtkTreeView::hildon-row-tapped signal to react to user interactions
105         instead of ::changed.
106
107         Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
108         with some dynamic tree model)
109
110 2009-01-27  Alberto Garcia  <agarcia@igalia.com>
111
112         * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
113         (+screen_size_changed, +label_size_request)
114         (hildon_note_class_init): Make the Hildon information note have a
115         minimum height, and make its text hvae a maximum width.
116
117         Fixes: NB#98614 (Hildon information note (background) should have
118         minimum height and maximum text width)
119
120 2009-01-26  Alberto Garcia  <agarcia@igalia.com>
121
122         * src/hildon-banner.h
123         * src/hildon-banner.c (hildon_banner_show_information)
124         (hildon_banner_show_informationf)
125         (hildon_banner_show_information_with_markup): Update documentation
126         to reflect that the icon_name parameter is not used anymore.
127         (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
128         Remove all code from these functions and mark them as deprecated.
129         (hildon_banner_show_progress): Mark as deprecated.
130
131         Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
132
133 2009-01-26  Alejandro G. Castro  <alex@igalia.com>
134
135         * src/hildon-pannable-area.c,
136         (hildon_pannable_area_class_init),
137         (tranparency_color),
138         (hildon_pannable_draw_vscroll),
139         (hildon_pannable_draw_hscroll),
140         (hildon_pannable_area_expose_event): Added a new way to render the
141         scrollbars of the pannable area avoiding using cairo at all. This
142         way we improve the performance of the pannable area rendering. The
143         cairo rendering procedure is still in the code, we can control
144         which one to use changing the value of the define
145         USE_CAIRO_SCROLLBARS.
146
147 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
148
149         * configure.ac: post release version bump.
150         * debian/changelog: version bump.
151
152 2009-01-26  Claudio Saavedra  <csaavedra@igalia.com>
153
154         [Release 2.1.38]
155
156         * NEWS: Updates.
157         * configure.ac: Bump version.
158         * debian/changelog: Updates.
159
160 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
161
162         * src/hildon-banner.c (hildon_banner_button_press_event): Hide
163         banners instead of destroying them when they receive a button
164         press.
165
166 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
167
168         Reverted commit 34028, it was causing regressions, probably the
169         topmost condition is not correct, we have to check it in more
170         detail. We have reponed the bug: NB#97458 (Pannable area prevents
171         propagation of button press events)
172
173 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
174
175         * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
176         that the selection is not empty before attempting to retrieve the
177         current ampm selection.
178
179 2009-01-23  Claudio Saavedra  <csaavedra@igalia.com>
180
181         * src/hildon-picker-button.c:
182         (hildon_picker_button_on_dialog_response): Directly update the
183         button contents when required instead of calling _selection_changed.
184
185 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
186
187         * src/hildon-program.c (hildon_program_update_top_most): Update
188         'is-topmost' property also when wm_hints is not set.
189
190         Fixes: NB#98383 (is-topmost signal is not emitted when task
191         switcher is clicked.)
192
193 2009-01-23  Alejandro G. Castro  <alex@igalia.com>
194
195         Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
196
197         * src/Makefile.am,
198         * src/hildon.h,
199         * src/hildon-animation-actor.c,
200         * src/hildon-animation-actor.h: Added the animation actor class,
201         this widget represents an animation actor for WM-assisted
202         animation effects in the Hildon framework.
203
204 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
205
206         * src/hildon-window-stack-private.h
207         * src/hildon-window-stack.c
208         * src/hildon-stackable-window.c (hildon_stackable_window_show):
209         Avoid calling gtk_widget_show() again indirectly from
210         hildon_stackable_window_show()
211
212 2009-01-23  Alberto Garcia  <agarcia@igalia.com>
213
214         * src/hildon-time-selector.c (hildon_time_selector_init): Remove
215         unused variable.
216
217 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
218
219         * src/hildon-time-selector.c: (hildon_time_selector_constructor),
220         (hildon_time_selector_init): Move the construction of the hours and
221         ampm columns to the constructor to preserve the order the columns
222         are appended.
223
224 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
225
226         * src/hildon-picker-dialog.c:
227         (hildon_picker_dialog_class_init): Connect a realize method.
228         (+hildon_picker_dialog_realize): Setup the interaction mode here
229         and not before.
230         (hildon_picker_dialog_show): Do not call setup_interaction_mode()
231         yet, do it during the realize instead.
232         (_on_dialog_response):
233         (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
234         if the widget is not realized, to avoid the dialog response before it
235         is even shown.
236
237         Avoid premature responses in the HildonPickerDialog that can cause it
238         to be hidden before it's even shown.
239
240 2009-01-22  Claudio Saavedra  <csaavedra@igalia.com>
241
242         * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
243         (on_selector_columns_changed), (requires_done_button),
244         (+prepare_action_area), (setup_interaction_mode),
245         (_hildon_picker_dialog_set_selector):
246
247         Split the interaction mode setup into preparation of the
248         action area (prepare_action_area()) and the connection of
249         the signals in setup_interaction_mode() and update the code to
250         reflect this.
251
252 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
253
254         * src/hildon-pannable-area.c,
255         (hildon_pannable_area_class_init): Reduced the amount of scrolls
256         per second to 15, we will check if this is ok regarding
257         smoothness.
258
259 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
260
261         * src/hildon-pannable-area.c,
262         (hildon_pannable_axis_scroll): Avoid resize if we already have
263         reached overshoot_max.
264
265 2009-01-22  Alejandro G. Castro  <alex@igalia.com>
266
267         * src/hildon-pannable-area.c,
268         (hildon_pannable_area_init),
269         (hildon_pannable_area_realize),
270         (hildon_pannable_area_size_allocate),
271         (hildon_pannable_area_map),
272         (hildon_pannable_area_unmap),
273         (hildon_pannable_draw_vscroll),
274         (hildon_pannable_draw_hscroll),
275         (hildon_pannable_area_expose_event),
276         (hildon_pannable_area_refresh): Added a new GdkWindow to the
277         pannable are to avoid the expose events go to the window and
278         redraw the window. We save this way that part of the stack and the
279         paint_boxes. We had to change the positions of the elements when
280         drawing.
281
282 2009-01-21  Claudio Saavedra  <csaavedra@igalia.com>
283
284         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
285         * src/hildon-color-chooser-dialog.c:
286         (hildon_color_chooser_dialog_init):
287         * src/hildon-font-selection-dialog.c:
288         (hildon_font_selection_dialog_init),
289         (hildon_font_selection_dialog_show_preview):
290         * src/hildon-get-password-dialog.c:
291         * src/hildon-login-dialog.c:
292         * src/hildon-set-password-dialog.c:
293         * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
294         * src/hildon-time-picker.c: (hildon_time_picker_init):
295
296         Remove obsolete logical string IDs and update to the appropriate ones.
297
298         Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
299
300 2009-01-21  Alberto Garcia  <agarcia@igalia.com>
301
302         * src/hildon-window.c (hildon_window_update_topmost): Fix warning
303         that happens if the window hasn't been realized yet.
304
305         Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
306         - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
307
308 2009-01-20  Alberto Garcia  <agarcia@igalia.com>
309
310         * src/hildon-app-menu.c (hildon_app_menu_class_init)
311         (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
312         by another grab.
313
314         Fixes: NB#98537 (Device hangs in account settings dialog)
315
316 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
317
318         * configure.ac: post release version bump.
319         * debian/changelog: version bump
320
321 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
322
323         [Release 2.1.36]
324
325         * NEWS: Updates.
326         * configure.ac: Bump version.
327         * debian/changelog: Updates.
328
329 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
330
331         Added a new function to the HildonTimeButton widget that allows to
332         change the step of the minutes in the selector associated with the
333         button: hildon_time_button_new_step
334
335         * src/hildon-time-button.c,
336         (hildon_time_button_init),
337         (hildon_time_button_new),
338         (hildon_time_button_new_step):
339         * src/hildon-time-button.h: Added the new function and refactored
340         the code.
341         * examples/hildon-time-button-example.c,
342         (main): We have replaced the function without parameters with the
343         function with the steps set to 5
344
345         Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
346
347 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
348
349         * src/hildon-time-selector.c,
350         (hildon_time_selector_class_init),
351         (hildon_time_selector_constructor),
352         (hildon_time_selector_get_property),
353         (hildon_time_selector_set_property),
354         (_create_minutes_model),
355         (hildon_time_selector_new_step),
356         (hildon_time_selector_set_time),
357         * src/hildon-time-selector.h: Added a new property to the
358         HildonTimeSelector (minutes-step), we use that property to control
359         the steps between the minutes in the list of the selector. We have
360         added a new function to the API to create a widget changing the
361         step: hildon_time_selector_new_step.
362
363 2009-01-20  Alejandro G. Castro  <alex@igalia.com>
364
365         * src/hildon-time-selector.c,
366         (hildon_time_selector_class_init),
367         (hildon_time_selector_constructor),
368         (hildon_time_selector_init): Overrided the construct function when
369         creating the time selector object. We have moved the minutes model
370         handling code from the init to the new construction function:
371         hildon_time_selector_constructor.
372
373 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
374
375         * examples/hildon-date-button-example.c: (main): Use the new
376         hildon_date_button_new_with_year_range() method in the example.
377         * src/hildon-date-button.c:
378         (+hildon_date_button_new_with_year_range): New public method
379         to conveniently create a HildonDateButton with a custom year range
380         in its HildonDateSelector.
381         * src/hildon-date-button.h: Add the new public method definition.
382
383         Fixes: NB#97908 (Not possible to change the year range in
384         HildonDateSelector/HildonDateButton)
385
386 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
387
388         * src/hildon-date-selector.c:
389         (+hildon_date_selector_set_property),
390         (+hildon_date_selector_get_property),
391         (hildon_date_selector_class_init): Install new properties "min-year"
392         and "max-year" to define boundaries for the year column.
393         (_create_year_model): Use the boundary properties to populate the model.
394         (+hildon_date_selector_new_with_year_range): New public method to
395         create a HildonDateSelector with a user defined year range.
396         (hildon_date_selector_select_current_date): Use the new boundaries to
397         calculate the iterator of current year.
398         * src/hildon-date-selector.h: Add the new public method definition.
399
400 2009-01-20  Claudio Saavedra  <csaavedra@igalia.com>
401
402         * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
403         Install a constructor method.
404         (+hildon_date_selector_construct_ui): construct the widget.
405         (+hildon_date_selector_constructor): new constructor.
406         (+hildon_date_selector_init): move out widget construction code to
407         the new constructor.
408
409 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
410
411         * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
412         that there's actually a month or year selected before obtaining them.
413         * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
414         of the HildonTouchSelector::changed signal, as it was emitted on every
415         single item selection.
416
417         Fix some warnings and possible crashers due to the selection restoring.
418
419 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
420
421         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
422         the signal handlers only after creating the dialog instead of on every
423         button click.
424
425 2009-01-19  Alberto Garcia  <agarcia@igalia.com>
426
427         * src/hildon-button.c (hildon_button_init)
428         * src/hildon-check-button.c (hildon_check_button_init)
429         * src/hildon-gtk.c (button_common_init): Don't let buttons get the
430         focus when clicked by default.
431
432 2009-01-19  Claudio Saavedra  <csaavedra@igalia.com>
433
434         * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
435         g_object_unref().
436
437 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
438
439         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
440         Alejandro G. Castro  (alex@igalia.com)
441
442         * src/hildon-picker-dialog.c:
443         (hildon_picker_dialog_class_init): install new "center-on-show"
444         property.
445         (hildon_picker_dialog_init): initialize center_on_show to TRUE.
446         (hildon_picker_dialog_set_property): add setter code for the new
447         property.
448         (hildon_picker_dialog_get_property): add getter code for the new
449         property.
450         (hildon_picker_dialog_show): Ensure visibility of selected items in the
451         HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
452         default.
453
454         Fixes: NB#92849 (Selected item is not always visible when
455         HildonTouchSelector is shown)
456
457 2009-01-16  Claudio Saavedra  <csaavedra@igalia.com>
458
459         Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
460         Alejandro G. Castro  (alex@igalia.com)
461
462         * src/hildon-touch-selector.c:
463         (_create_new_column): Do not connect to the "realize" signal of the
464         pannable area.
465         (hildon_touch_selector_append_column): center on the selected items
466         when a new column is appended.
467         (hildon_touch_selector_select_iter): Factor out the code to select a
468         column to hildon_touch_selector_scroll_to().
469         (+search_nearest_element): Method to retrieve the nearest selected
470         element to the visible area of the pannable area in a column.
471         (+on_realize_cb): scroll to the initially selected item.
472         (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
473         the pannable area is realized, otherwise delay this until it is.
474         (+_hildon_touch_selector_center_on_selected_items): Centers on the
475         selected items of a given column.
476         (+hildon_touch_selector_center_on_selected): Public method to center
477         all columns on the nearest selected item.
478         * src/hildon-touch-selector.h: Add definition for
479         hildon_touch_selector_center_on_selected().
480
481         Implement public API to ensure visibility of all selected items in
482         a HildonTouchSelector.
483
484 2009-01-16  Alejandro G. Castro  <alex@igalia.com>
485
486         Fixed a problem in the fading when calling the scroll_to API, and
487         improve scrollbar fading handling.
488
489         * src/hildon-pannable-area.c,
490         (hildon_pannable_area_grab_notify): avoid the timeout when the
491         alpha is zero.
492         (hildon_pannable_area_button_press_cb),
493         (hildon_pannable_area_motion_notify_cb): Code style changes.
494         (hildon_pannable_area_button_release_cb): Review the conditions
495         when releasing the mouse button to avoid unrequired fading
496         timeouts.
497         (hildon_pannable_area_scroll_to): Do not calculate and set the
498         velocity if the scroll is not required.
499
500 2009-01-15  Alberto Garcia  <agarcia@igalia.com>
501
502         * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
503         Don't check whether the new selector is NULL: it cannot be.
504         Hold a reference to the selector while doing the replacement.
505
506 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
507
508         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
509         unnecessary size_request in a removed widget.
510
511 2009-01-15  Claudio Saavedra  <csaavedra@igalia.com>
512
513         * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
514         an unnecessary reference tracking that was leaking.
515
516 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
517
518         Added delayed motion notify event handling, this way we can
519         discard redrawing if more than 25 events arrive per second.
520
521         * src/hildon-pannable-area.c,
522         (hildon_pannable_area_init): Initialized the new private atributes
523         controlling this timeout
524         (hildon_pannable_area_dispose): Remove the timeout that controls
525         the motion notify events.
526         (hildon_pannable_area_scroll): Added a condition to control the
527         use of the acceleration.
528         (hildon_pannable_area_motion_event_scroll_timeout),
529         (hildon_pannable_area_motion_event_scroll): Added this two
530         functions, they handle the motion notify events inside the
531         timeout.
532         (hildon_pannable_area_motion_notify_cb): Replaced the direct call
533         to the scroll method with the new function.
534         (hildon_pannable_area_button_release_cb): We have to remove the
535         timeout handler and move to the last position if the last motion
536         events were not handled.
537
538         Fixes: NB#97028 (Pannable area updates on every motion event)
539
540 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
541
542         * src/hildon-pannable-area.c,
543         (hildon_pannable_area_get_topmost): Added a new parameter to
544         filter the the windows that do not include those events. Added
545         also a condition when finding the window to filter windows that do
546         not ask for those events.
547         (hildon_pannable_area_button_press_cb),
548         (hildon_pannable_area_button_release_cb),
549         (hildon_pannable_get_child_widget_at): Reviewed the call the the
550         topmost function, we have added the new parameter.
551
552         Fixes: NB#97458 (Pannable area prevents propagation of button
553         press events)
554
555 2009-01-15  Alejandro G. Castro  <alex@igalia.com>
556
557         * src/hildon-pannable-area.c,
558         (hildon_pannable_area_initial_effect): Added controls before
559         launching the timeout and the idle functions.
560         (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
561         of the method, in some situations it can return with TRUE and 0 in
562         the timeout.
563         (hildon_pannable_area_button_press_cb): We do not need to set
564         DELAY for fading out here.
565
566         Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
567
568 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
569
570         * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
571         post-cleaning if the selection is not NULL.
572
573 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
574
575         * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
576         all items before restoring the selection.
577
578 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
579
580         * src/hildon-touch-selector.c:
581         (+hildon_touch_selector_unselect_all):
582         * src/hildon-touch-selector.h: New API to unselect all items in a
583         column of the touch selector.
584
585 2009-01-14  Alejandro G. Castro  <alex@igalia.com>
586
587         * src/hildon-pannable-area.c,
588         (hildon_pannable_area_redraw): Added a call to the refresh
589         function inside the redraw because apparently in some cases the
590         change in the adjustment does not imply a size allocate.
591
592         Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
593         despite the view not being scrollable)
594
595 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
596
597         * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
598         leak. Check for NULL before attempting to set the window title.
599
600 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
601
602         * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
603         whether to show or not the 'Done' button each time the dialog is
604         shown, as it depends on the HildonTouchSelector selection mode.
605
606         Fixes: NB#96226 (In multiple selection mode Done button is shown
607         sometimes in listpicker)
608
609 2009-01-14  Claudio Saavedra  <csaavedra@igalia.com>
610
611         * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
612         for the number of columns in the HildonTouchSelector more than once.
613
614 2009-01-14  Alberto Garcia  <agarcia@igalia.com>
615
616         * src/hildon-touch-selector.c: Minor documentation fixes.
617
618         * src/hildon-picker-dialog.c (+_dialog_update_title)
619         (_select_on_selector_changed_cb)
620         (_update_title_on_selector_changed_cb)
621         (on_selector_columns_changed): Update dialog title when there's no
622         'Done' button and also when the number of columns in the selector
623         changes.
624         Code refactoring.
625
626         * src/hildon-picker-button.c (hildon_picker_button_finalize)
627         (+_selection_changed, hildon_picker_button_on_dialog_response)
628         (hildon_picker_button_selector_selection_changed)
629         (+hildon_picker_button_selector_columns_changed)
630         (hildon_picker_button_set_selector): Update button value and emit
631         'value-changed' when the number of columns in the selector
632         changes.
633         Code refactoring.
634
635         Fixes: NB#96225 (Dialog titles are not shown according to the
636         values selected in the list picker)
637
638 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
639
640         * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
641         (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
642         New "arrow-width" and "arrow-height" style properties to set the
643         size of the arrow button.
644         Set name of arrow button ("hildon-edit-toolbar-arrow").
645
646         Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
647         graphics from theme)
648
649 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
650
651         * src/hildon-picker-button.c:
652         (hildon_picker_button_selector_selection_changed): Use
653         GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
654         the dialog is present.
655
656         Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
657         the selection is accepted in the dialog)
658
659 2009-01-13  Alberto Garcia  <agarcia@igalia.com>
660
661         * src/hildon-color-chooser.h
662         * src/hildon-color-chooser-dialog.h:
663         Added G_BEGIN_DECLS and G_END_DECLS
664
665 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
666
667         (_clean_current_selection): plug a leak in the list.
668
669 2009-01-13  Claudio Saavedra  <csaavedra@igalia.com>
670
671         * src/hildon-picker-dialog.c:
672         (+free_path_list): Method to free a GList of GtkTreePaths.
673         (_clean_current_selection), (_save_current_selection),
674         (_restore_current_selection): Save the current selection in
675         as a list of lists, to support multiple selection properly.
676
677 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
678
679         patch by Claudio Saavedra (csaavedra@igalia.com)
680
681         * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
682         Store the press position.
683         (+hildon_text_view_button_release_event): If the release position is
684         close enough to the press position, move the cursor here. Otherwise,
685         ignore.
686         (hildon_text_view_class_init): Override GtkTextView press, release, and
687         motion event handlers, disabling this way text selection through
688         pointer interaction, and allowing the container widget to handle the
689         motion event.
690
691         Fixes: NB#95828 (HildonTextView functionality)
692
693 2009-01-12  Alberto Garcia  <agarcia@igalia.com>
694
695         Based on a patch by Iván Gómez (igomez@igalia.com)
696
697         * src/hildon-button.[ch]
698         * src/hildon-calendar.c
699         * src/hildon-check-button.c
700         * src/hildon-date-editor.c
701         * src/hildon-date-selector.c
702         * src/hildon-picker-button.c
703         * src/hildon-time-editor.c
704         * src/hildon-time-selector.c
705         * src/hildon-touch-selector.[ch]:
706         Documentation updates
707
708 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
709
710         * src/hildon-pannable-area.c,
711         (hildon_pannable_area_motion_notify_cb): Remove the extra DND
712         threshold, it was required due to X events handling.
713
714 2009-01-12  Alejandro G. Castro  <alex@igalia.com>
715
716         * src/hildon-pannable-area.c,
717         (hildon_pannable_area_grab_notify),
718         (hildon_pannable_area_initial_effect),
719         (hildon_pannable_area_button_press_cb),
720         (hildon_pannable_area_button_release_cb),
721         (hildon_pannable_area_scroll_cb),
722         (hildon_pannable_area_scroll_to): Review the timeout management of
723         the scrollbar, the frecuency was incorrectly set.
724
725 2009-01-09  Claudio Saavedra  <csaavedra@igalia.com>
726
727         * src/hildon-picker-button.c:
728         (+hildon_picker_button_on_dialog_response),
729         (hildon_picker_button_clicked): Present the dialog instead of
730         running it with gtk_dialog_run().
731
732         Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
733         picker dialog)
734
735 2009-01-07  Alberto Garcia  <agarcia@igalia.com>
736
737         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
738         (hildon_app_menu_finalize): When a window is hidden it doesn't
739         emit notify::is-topmost, so make sure than the menu also
740         disappears in that case.
741         (parent_window_topmost_notify): Renamed from parent_window_hidden
742
743         Fixes: NB#94460 (stackable window's menu is not closed when its
744         window is hidden)
745
746 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
747
748         * src/hildon-touch-selector-entry.c:
749         (+hildon_touch_selector_entry_set_input_mode),
750         (+hildon_touch_selector_entry_get_input_mode):
751         * src/hildon-touch-selector-entry.h: New methods to access the input
752         mode in the selector's entry.
753
754         Fixes: NB#93410 (API required for setting IM mode in
755         HildonTouchSelectorEntry)
756
757 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
758
759         * configure.ac: post release version bump.
760         * debian/changelog: version bump
761
762 2009-01-07  Claudio Saavedra  <csaavedra@igalia.com>
763
764         [Release 2.1.34]
765
766         * NEWS: Updates.
767         * configure.ac: Bump version.
768         * debian/changelog: Updates.
769
770 2008-12-19  Claudio Saavedra  <csaavedra@igalia.com>
771
772         * src/hildon-touch-selector.c:
773         (_hildon_touch_selector_has_multiple_selection): No need
774         to initialize the variables here.
775
776 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
777
778         * src/hildon-note-private.h
779         * src/hildon-note.c (event_box_press_event, hildon_note_init)
780         (hildon_note_finalize, hildon_note_rebuild): Close information
781         notes when they receive a button press.
782
783         Fixes: NB#89890 (Information notes does not get disappeared after
784         few seconds)
785
786 2008-12-17  Claudio Saavedra  <csaavedra@igalia.com>
787
788         * src/hildon-wizard-dialog.c: (create_title): Remove translation
789         mark from the wizard title, as it's not really necessary. Also,
790         do not display the page title if not set.
791
792 2008-12-17  Alberto Garcia  <agarcia@igalia.com>
793
794         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
795         (parent_window_hidden): Use the window's "is-topmost" property to
796         detect when to hide the menu.
797
798 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
799
800         * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
801         (hildon_app_menu_finalize): If the parent window of the menu is
802         hidden, hide the menu too.
803
804         Fixes: NB#94460 (stackable window's menu is not closed when its
805         window is hidden)
806
807 2008-12-16  Alberto Garcia  <agarcia@igalia.com>
808
809         * debian/changelog
810         * debian/libhildon1-examples.install
811         * debian/rules
812         * examples/Makefile.am:
813         Use dh_install to install all examples.
814         Use DEB_SRCDIR instead of defining SOURCE_DIR
815
816 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
817
818         * configure.ac: post release version bump.
819         * debian/changelog: version bump
820
821 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
822
823         [Release 2.1.32]
824
825         * NEWS: updates
826         * configure.ac: bump version
827         * debian/changelog: updates
828         * debian/control: bump gtk+ dependency
829
830 2008-12-16  Claudio Saavedra  <csaavedra@igalia.com>
831
832         patch by Christian Dywan (christian@imendio.com)
833
834         * src/hildon-gtk.c: (hildon_gtk_hscale_new),
835         (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
836
837 2008-12-15  Alberto Garcia  <agarcia@igalia.com>
838
839         * src/hildon-check-button.c (hildon_check_button_init)
840         (hildon_check_button_class_init, hildon_check_button_style_set)
841         (hildon_check_button_apply_style):
842         New "checkbox-size" style property.
843
844         Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
845         larger / configurable size)
846
847 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
848
849         * configure.ac: post release version bump.
850         * debian/changelog: version bump
851
852 2008-12-15  Claudio Saavedra  <csaavedra@igalia.com>
853
854         [Release 2.1.30]
855
856         * NEWS: updates
857         * configure.ac: bump version
858         * debian/changelog: updates
859
860 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
861
862         * doc/hildon-sections.txt
863         * src/hildon-pannable-area.c
864         * src/hildon-program.c
865         * src/hildon-time-editor.c
866         * src/hildon-touch-selector-entry.c:
867
868         More documentation updates.
869
870 2008-12-12  Alberto Garcia  <agarcia@igalia.com>
871
872         * doc/hildon-sections.txt
873         * src/hildon-caption.c
874         * src/hildon-code-dialog.c
875         * src/hildon-color-button.c
876         * src/hildon-controlbar.c
877         * src/hildon-date-editor.c
878         * src/hildon-date-selector.c
879         * src/hildon-edit-toolbar.c
880         * src/hildon-find-toolbar.c
881         * src/hildon-font-selection-dialog.c
882         * src/hildon-gtk.c
883         * src/hildon-program.c
884         * src/hildon-range-editor.c
885         * src/hildon-seekbar.c
886         * src/hildon-time-editor.c
887         * src/hildon-time-selector.c
888         * src/hildon-volumebar-range.c
889         * src/hildon-volumebar.c
890         * src/hildon-vvolumebar.c
891         * src/hildon-weekday-picker.c
892         * src/hildon-window.c
893         * src/hildon-wizard-dialog.c:
894
895         Lots of documentation fixes.
896
897 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
898
899         Patch contributed by Iván Gómez (igomez@igalia.com)
900
901         * src/hildon-check-button.c:
902         * src/hildon-date-button.c:
903         * src/hildon-date-selector.c:
904         * src/hildon-dialog.c:
905         * src/hildon-edit-toolbar.c:
906         * src/hildon-entry.c:
907         * src/hildon-picker-button.c:
908         * src/hildon-program.c:
909         * src/hildon-text-view.c:
910         * src/hildon-time-button.c:
911         * src/hildon-touch-selector-entry.c:
912         * src/hildon-window-stack.c:
913
914         Add more "since" tags to the new API.
915
916 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
917
918         * doc/hildon-sections.txt: Add below method.
919         * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
920         version for the hildonized scale.
921         * src/hildon-gtk.h: Add the definition.
922
923         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
924
925 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
926
927         * doc/hildon-sections.txt: Add missing entries for new methods.
928
929 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
930
931         Added API to pannable are in order to get its adjustments. We
932         added two properties to manage the values we had in the private
933         structure.
934
935         * src/hildon-pannable-area.c:
936         (hildon_pannable_area_class_init): Added hadjustment and
937         vadjustment properties in order to expose horizontal and vertical
938         adjustment.
939         (hildon_pannable_area_get_property),
940         (hildon_pannable_area_set_property): Added code to handle the new
941         properties
942         (hildon_pannable_area_get_hadjustment),
943         (hildon_pannable_area_get_vadjustment): API functions to get the
944         adjustments
945         * src/hildon-pannable-area.h:
946         (hildon_pannable_area_get_hadjustment),
947         (hildon_pannable_area_get_vadjustment): API functions to get the
948         adjustments
949
950 2008-12-12  Alejandro G. Castro  <alex@igalia.com>
951
952         Fixed some leaks, after valgrinding.
953
954         * src/hildon-touch-selector.c:
955         (_default_print_func): Fixed a leak.
956         (hildon_touch_selector_append_column): Fixed a leak.
957         * src/hildon-date-button.c:
958         (hildon_date_button_init): Fixed a leak.
959         * src/hildon-date-selector.c
960         (hildon_date_selector_finalize): Fixed a leak.
961
962 2008-12-12  Claudio Saavedra  <csaavedra@igalia.com>
963
964         Based on a patch by Christian Dywan (christian@imendio.com)
965
966         * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
967         GtkHScale.
968         * src/hildon-gtk.h: Add definition.
969
970         Fixes: NB#93744 (Tapping should jump to location on GtkScale)
971
972 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
973
974         * src/hildon-picker-button.c: (hildon_picker_button_init),
975         (hildon_picker_button_new): Set the HildonButton::style property
976         in the init method, to propagate the value to the derived classes.
977
978 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
979
980         * src/hildon-button.c: (hildon_button_class_init): Do not make
981         the "style" property a construct property.
982
983 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
984
985         * src/hildon-wizard-dialog.h
986         * src/hildon-wizard-dialog.c
987         (hildon_wizard_dialog_set_forward_page_func)
988         * src/hildon-pannable-area.h
989         * src/hildon-pannable-area.c
990         (hildon_pannable_area_set_size_request_policy):
991         Documentation fixes.
992
993 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
994
995         * doc/hildon-sections.txt: Fixed warning about unused symbols.
996
997 2008-12-11  Alberto Garcia  <agarcia@igalia.com>
998
999         * doc/hildon-sections.txt: Added sections file.
1000
1001 2008-12-11  Claudio Saavedra  <csaavedra@igalia.com>
1002
1003         * AUTHORS: Updates.
1004         * src/*.[ch]: Updates.
1005
1006 2008-12-10  Thomas Thurman  <thomas.thurman@collabora.co.uk>
1007
1008         * examples/hildon-progress-indicator-example.c: new file
1009         * examples/Makefile.am: include the new example program
1010
1011 2008-12-10  Alberto Garcia  <agarcia@igalia.com>
1012
1013         * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1014
1015 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1016
1017         * configure.ac: post release version bump
1018         * debian/changelog: version bump
1019
1020 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1021
1022         [Release 2.1.28]
1023
1024         * NEWS: updates
1025         * configure.ac: bump version
1026         * debian/changelog: updates
1027         * debian/control: bump gtk+ dependency
1028
1029 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1030
1031         * src/hildon-dialog.c: Mark as deprecated.
1032         * src/hildon-dialog.h: Mark as deprecated.
1033         * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1034         from HildonDialog and still work, even if
1035         HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1036         break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1037
1038         Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1039         maemo changes) instead)
1040
1041 2008-12-09  Alejandro G. Castro  <alex@igalia.com>
1042
1043         * src/hildon-pannable_area.h:
1044         * src/hildon-pannable_area.c:
1045         (hildon_pannable_area_class_init),
1046         (hildon_pannable_area_set_property),
1047         (hildon_pannable_area_get_property),
1048         (hildon_pannable_area_size_request),
1049         (hildon_pannable_area_get_size_request_policy),
1050         (hildon_pannable_area_set_size_request_policy): Added new API
1051         allowing applications to control the request policy. Now they can
1052         choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1053         children allocation (HILDON_MOVEMENT_CHILDREN).
1054
1055 2008-12-09  Alberto Garcia  <agarcia@igalia.com>
1056
1057         * src/hildon-gtk.h
1058         * src/hildon-gtk.c
1059         (hildon_gtk_tree_view_set_ui_mode)
1060         (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1061         mode of treeviews and iconviews.
1062
1063 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1064
1065         * src/hildon-touch-selector-entry.c:
1066         (hildon_touch_selector_entry_init): Use a HildonEntry instead
1067         of a GtkEntry to get proper theming.
1068
1069         Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1070         widget, not GtkEntry)
1071
1072 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1073
1074         * src/hildon-wizard-dialog.c: (response): Move forward if there is
1075         no HildonWizardDialogPageFunc.
1076
1077 2008-12-09  Claudio Saavedra  <csaavedra@igalia.com>
1078
1079         Patch contributed by Iván Gómez (igomez@igalia.com)
1080
1081         * src/hildon-app-menu.c:
1082         * src/hildon-button.c:
1083         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1084         * src/hildon-stackable-window.c:
1085         * src/hildon-time-selector.c:
1086         * src/hildon-touch-selector.c:
1087         * src/hildon-window.c:
1088
1089         Add more "since" tags to the new API in hildon 2.2.
1090
1091 2008-12-05  Tim Janik  <timj@imendio.com>
1092
1093         Patch contributed by Christian Dywan (christian@imendio.com)
1094
1095         * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1096         HildonSizeType, which are supplied by Gtk+ now.
1097
1098         * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1099
1100         Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1101         (with maemo changes) instead)
1102
1103 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1104
1105         Patch contributed by Iván Gómez (igomez@igalia.com)
1106
1107         * src/hildon-pannable-area.c: Add "since" tags to the new API in
1108         hildon 2.2.
1109
1110 2008-12-05  Claudio Saavedra  <csaavedra@igalia.com>
1111
1112         * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1113         (some_page_func), (main): Update the example to use a
1114         HildonWizardDialogPageFunc function.
1115
1116         * src/hildon-wizard-dialog-private.h: Add private data for
1117         the HildonWizardDialogPageFunc function usage.
1118
1119         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1120         (destroy), (hildon_wizard_dialog_init), (response),
1121         (hildon_wizard_dialog_set_forward_page_func):
1122         * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1123         that applications can use to stop a HildonWizardDialog to jump to
1124         the next page.
1125
1126         Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1127         next page)
1128
1129 2008-12-04  Alberto Garcia  <agarcia@igalia.com>
1130
1131         * src/hildon-program.h
1132         * src/hildon-program-private.h
1133         * src/hildon-program.c (hildon_program_init)
1134         (hildon_program_set_common_app_menu)
1135         (hildon_program_get_common_app_menu):
1136         New API for setting a common HildonAppMenu for all
1137         HildonStackableWindows registered with the HildonProgram.
1138
1139         * src/hildon-stackable-window.c
1140         (hildon_stackable_window_toggle_menu):
1141         Use the common HildonAppMenu if a window doesn't have a specific
1142         one.
1143
1144         * src/hildon-app-menu-private.h
1145         * src/hildon-app-menu.c
1146         (hildon_app_menu_get_parent_window):
1147         Function to obtain the window a HildonAppMenu is attached to.
1148         (hildon_app_menu_set_parent_window):
1149         Hide the menu if the parent window is set to NULL.
1150
1151 2008-12-04  Claudio Saavedra  <csaavedra@igalia.com>
1152
1153         * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1154         set GtkTreeView::enable-search to FALSE, to avoid the interactive
1155         search widget to popup.
1156
1157 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1158
1159         * configure.ac: post release version bump
1160         * debian/changelog: version bump
1161
1162 2008-12-03  Claudio Saavedra  <csaavedra@igalia.com>
1163
1164         [Release 2.1.26]
1165
1166         * NEWS: updates
1167         * configure.ac: bump version
1168         * debian/changelog: updates
1169
1170 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1171
1172         Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1173
1174         * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1175         (hildon_window_stack_window_realized)
1176         (hildon_window_stack_remove, _hildon_window_stack_do_push):
1177         Set the leader GdkWindow when a window is stacked and realized,
1178         unset it when it's unstacked.
1179         (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1180
1181         Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1182
1183 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1184
1185         * src/hildon-stackable-window.h
1186         * src/hildon-window-stack.h:
1187         Protect definition of HildonWindowStack using the preprocessor.
1188
1189 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1190
1191         * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1192         Fix warning if all menu items are hidden.
1193
1194 2008-12-02  Claudio Saavedra  <csaavedra@igalia.com>
1195
1196         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1197
1198         * src/hildon-controlbar.c:
1199         * src/hildon-hvolumebar.c:
1200         * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1201         Multiple scale size defines updates.
1202
1203         Fixes: NB#94322 (Scale Updates)
1204
1205 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1206
1207         * examples/hildon-app-menu-example.c (create_menu)
1208         Show items after adding them to the menu, as in the future the
1209         menu will no longer call gtk_widget_show() on the added items.
1210
1211         * src/hildon-app-menu.c:
1212         Update example as explained above.
1213
1214 2008-12-02  Alberto Garcia  <agarcia@igalia.com>
1215
1216         * src/hildon-app-menu.c
1217         (hildon_app_menu_insert, hildon_app_menu_add_filter):
1218         Make sure that all menu items have finger height.
1219
1220 2008-12-01  Alejandro Pinheiro  <apinheiro@igalia.com>
1221
1222         * src/hildon-picker-dialog.c:
1223         (_on_dialog_response), (_save_current_selection),
1224         (_restore_current_selection), (_clean_current_selection),
1225         (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1226         Defined new functions in order to save the current internal selector
1227         selection previous open the dialog, in case that the use cancel the
1228         interaction, so the widget restores the previous selection.
1229
1230         Fixes: NB#92032 (In calendar application, date values in 'new event' 
1231         are not proper)
1232
1233         (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1234
1235 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1236
1237         * src/hildon-button.c: Add a reference to the button examples in
1238         hildon-button-example.c
1239
1240         * examples/hildon-button-example.c: Added examples of the most
1241         common button layouts.
1242
1243 2008-11-28  Alberto Garcia  <agarcia@igalia.com>
1244
1245         * src/hildon-app-menu.c (hildon_app_menu_show)
1246         (hildon_app_menu_class_init): Don't show the menu if it's empty.
1247
1248         Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1249
1250 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1251
1252         * src/hildon-picker-dialog.c:
1253         (hildon_picker_dialog_init): Initialize the signal id for
1254         HildonTouchSelector::columns-changed.
1255         (+on_selector_columns_changed): Set up the interaction mode everytime a
1256         column is added or removed from the HildonTouchSelector.
1257         (_hildon_picker_dialog_set_selector): Connect to
1258         HildonTouchSelector::columns-changed and keep track of it.
1259
1260         Make sure to update the interaction mode of the dialog everytime a
1261         column is added or removed in the HildonTouchSelector.
1262
1263         Fixes: NB#93228 (Done button is not shown always in listpicker)
1264
1265 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1266
1267         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1268         a new ::columns-changed signal.
1269         (hildon_touch_selector_append_column): Emit ::columns-changed.
1270         (hildon_touch_selector_remove_column): Emit ::columns-changed.
1271
1272         Add a ::columns-changed signal, emitted when the number of columns in a
1273         HildonTouchSelector changes.
1274
1275 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1276
1277         * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1278         (_hildon_picker_dialog_set_selector): Factor out the code
1279         to set up the dialog interaction mode.
1280
1281 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1282
1283         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1284         (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1285         to signal_changed_id.
1286
1287 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1288
1289         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1290         Minor doc. fixes.
1291
1292 2008-11-27  Alejandro Pinheiro  <apinheiro@igalia.com>
1293
1294         * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1295         Updated the logical ids related to ampm format, as now it is required to
1296         show it correctly localized even on languages with no default
1297         abbreviations for am or pm
1298         (_check_am_pm_format): check correctly the 24h format gconf property
1299
1300         Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1301
1302 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1303
1304         * src/hildon-button.c: Documentation updates.
1305
1306 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1307
1308         * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1309         * src/hildon-caption.c: (hildon_caption_class_init):
1310         * src/hildon-color-button.c: (hildon_color_button_class_init):
1311         * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1312         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1313         * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1314         * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1315
1316         Remove deprecated GTK+ marshalers and replace them with the ones
1317         provided by GLib, for those available, add a marshaler for
1318         BOOLEAN:VOID, which is not available in GLib, and use it.
1319
1320 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1321
1322         * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1323         the text from the previous column if there is no
1324         HildonTouchSelectorColumn::text-property set.
1325
1326 2008-11-27  Alberto Garcia  <agarcia@igalia.com>
1327
1328         * src/hildon-button.h
1329         * src/hildon-button.c (hildon_button_set_property)
1330         (hildon_button_get_property, hildon_button_class_init)
1331         (hildon_button_set_style, hildon_button_get_style):
1332         New "style" property to change the visual appearance of the
1333         button.
1334
1335         * src/hildon-picker-button.c (hildon_picker_button_new):
1336         Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1337
1338         Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1339         HildonButton look like PickerButton)
1340
1341 2008-11-27  Claudio Saavedra  <csaavedra@igalia.com>
1342
1343         * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1344         column while building the default string.
1345
1346 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1347
1348         * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1349         scroll indicator by default.
1350
1351         Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1352
1353 2008-11-25  Claudio Saavedra  <csaavedra@igalia.com>
1354
1355         * src/hildon-main.c: Fix the documentation for hildon_init()
1356
1357 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1358
1359         * doc/hildon-docs.sgml
1360         * doc/hildon.types
1361         * src/Makefile.am
1362         * src/hildon.h
1363         * src/hildon-window-stack-private.h
1364         * src/hildon-window-stack.h
1365         * src/hildon-window-stack.c:
1366         New HildonWindowStack object, that adds support for multiple
1367         stacks of windows per process.
1368
1369         * src/hildon-stackable-window-private.h
1370         * src/hildon-stackable-window.h
1371         * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1372         (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1373         (hildon_stackable_window_show, hildon_stackable_window_hide)
1374         (hildon_stackable_window_class_init)
1375         (hildon_stackable_window_init):
1376         Use HildonWindowStack for stack management.
1377
1378         * src/hildon-program.c (hildon_program_pop_window_stack)
1379         (hildon_program_peek_window_stack)
1380         (hildon_program_go_to_root_window):
1381         Add a fallback implementation to the deprecated functions using
1382         HildonWindowStack.
1383
1384         * examples/hildon-stackable-window-example.c:
1385         Use the new HildonWindowStack API.
1386
1387 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1388
1389         * src/hildon-stackable-window-private.h
1390         * src/hildon-stackable-window.c (hildon_stackable_window_show)
1391         (hildon_stackable_window_hide, hildon_stackable_window_init):
1392         Remove all window stack management.
1393
1394         * src/hildon-program-private.h
1395         * src/hildon-program.h
1396         * src/hildon-program.c (hildon_program_init)
1397         (hildon_program_pop_window_stack)
1398         (hildon_program_peek_window_stack)
1399         (hildon_program_go_to_root_window):
1400         Remove all window stack management and mark functions as
1401         deprecated.
1402
1403 2008-11-25  Alberto Garcia  <agarcia@igalia.com>
1404
1405         * src/hildon-app-menu.c (hildon_app_menu_realize):
1406         Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1407
1408 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1409
1410         * configure.ac: post release version bump
1411         * debian/changelog: version bump
1412
1413 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1414
1415         [Release 2.1.24]
1416
1417         * NEWS: updates
1418         * configure.ac: bump version
1419         * debian/changelog: updates
1420
1421 2008-11-24  Claudio Saavedra  <csaavedra@igalia.com>
1422
1423         Based on initial code by Christian Dywan (christian@imendio.com)
1424
1425         * doc/hildon-docs.sgml: Add section for hildon-main.
1426         * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1427         * src/Makefile.am: Add new hildon-main.[ch]
1428         * src/hildon-defines.h: Update the icon sizes.
1429         * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1430         new library initialization files and register icon sizes.
1431         * src/hildon-main.h: New declarations.
1432         * src/hildon.h: Include hildon-main.h
1433
1434         Add new initialization functions to the library. These methods
1435         will register the hildon specific icon sizes and can be used in the
1436         future for other hildon specific bits.
1437
1438         Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1439
1440 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1441
1442         * src/hildon-window.c: (hildon_window_realize),
1443         (hildon_window_notify), (-hildon_window_update_title): Do not set
1444         the application name in the window title.
1445
1446         Fixes: NB#89754 (Applications shouldn't display their names in the
1447         window title)
1448
1449 2008-11-21  Claudio Saavedra  <csaavedra@igalia.com>
1450
1451         * src/hildon-note-private.h:
1452         * src/hildon-note.c: (hildon_note_set_property),
1453         (hildon_note_get_property), (hildon_note_class_init),
1454         (hildon_note_init), (hildon_note_finalize),
1455         (hildon_note_new_confirmation_with_icon_name),
1456         (hildon_note_new_information_with_icon_name):
1457
1458         No need to mark as deprecated the actual code. Revert
1459         to avoid missing symbols in widgets using deprecated API.
1460
1461 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1462
1463         Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1464
1465         * src/hildon-volumebar.h
1466         * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1467         (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1468
1469         * src/hildon-helper.h
1470         * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1471         (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1472
1473         * examples/Makefile.am:
1474         Deprecate hildon-insensitive-example
1475
1476         Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1477
1478 2008-11-20  Alberto Garcia  <agarcia@igalia.com>
1479
1480         * examples/hildon-pannable-area-buttons-scroll-example.c:
1481         Make all buttons finger height
1482
1483 2008-11-19  Alejandro Pinheiro  <apinheiro@igalia.com>
1484
1485         * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1486         documentation
1487         * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1488         update the day model only if it is really required, and to avoid the
1489         full-reconstruction aproach. Now it only add or remove the required days.
1490
1491         The purpose of this is avoid superfluous HildonTouchSelector::changed
1492         signals
1493
1494         Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1495         with strange parameters)
1496
1497 2008-11-19  Claudio Saavedra  <csaavedra@igalia.com>
1498
1499         Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1500
1501         * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1502         the WINDOW_TYPE property.
1503
1504         Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1505
1506 2008-11-19  Alberto Garcia  <agarcia@igalia.com>
1507
1508         * doc/gtk-doc.make:
1509         Fix dependency to allow parallel compilation with make -jX
1510
1511 2008-11-18  Claudio Saavedra  <csaavedra@igalia.com>
1512
1513         * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1514         color frame and some minor tweaks to make it more consistent with
1515         current theming.
1516
1517         Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1518         highlighted but not visible)
1519
1520 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1521
1522         * examples/Makefile.am: Fixed typo in the Makefile.am.
1523
1524 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1525
1526         Reviewed the use of MAEMO_GTK define, now we add the define in the
1527         compilation line, and we also add it to the pc file.
1528
1529         * configure.ac: Added MAEMO_GTK define to the compilation command
1530         and removed it from the config.h.
1531
1532         * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1533         do not have to take care about this define if the library was
1534         compiled with it.
1535
1536         * src/hildon-gtk.c:
1537         * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1538
1539 2008-11-14  Alejandro G. Castro  <alex@igalia.com>
1540
1541         * examples/Makefile.am,
1542         * examples/hildon-pannable-area-buttons-scroll-example.c,
1543         * examples/hildon-pannable-area-gesture-signals-example.c,
1544         * examples/hildon-pannable-area-scroll-jump-example.c,
1545         * examples/hildon-pannable-area-tree-view-example.c:
1546         Renamed the pannable area examples, now they have more meaningful
1547         names.
1548
1549 2008-11-13  Alejandro Pinheiro   <apinheiro@igalia.com>
1550
1551         * src/hildon-touch-selector.c:
1552         (hildon_touch_selector_set_column_selection_mode): Used of
1553         GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1554         mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1555         to avoid re-seting the same selection mode.
1556
1557         Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1558         breaks HildonPickerDialog)
1559
1560 2008-11-13  Alejandro G. Castro  <alex@igalia.com>
1561
1562         * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1563         conditional in the Makefile.am
1564
1565 2008-11-12  Claudio Saavedra  <csaavedra@igalia.com>
1566
1567         * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1568         Remove unused methods.
1569
1570 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1571
1572         * src/hildon-button.c (hildon_button_init):
1573         Make button images center-aligned by default
1574
1575 2008-11-12  Alejandro G. Castro  <alex@igalia.com>
1576
1577         * src/hildon-gtk.c:
1578         * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1579         activated, we have to think about how to deal with both defines
1580         MAEMO_GTK and MAEMO_CHANGES.
1581
1582 2008-11-12  Alberto Garcia  <agarcia@igalia.com>
1583
1584         * examples/hildon-app-menu-example.c (create_menu): Make all
1585         buttons finger size.
1586
1587 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1588
1589         Fixed the compilation without maemo gtk adding ifdefs with
1590         MAEMO_GTK define to the code, we have to check this version more
1591         carefully.
1592
1593         * examples/Makefile.am: Added control to avoid some examples that
1594         just make sense with maemo gtk.
1595
1596         * src/hildon-gtk.c:
1597         * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1598         hildon modes with the define.
1599
1600         * examples/hildon-edit-toolbar-example.c,
1601         (create_icon_view): Create the icon view without hildon-gtk
1602         helpers if we are not using maemo gtk.
1603
1604         * src/hildon-touch-selector.c,
1605         (_create_new_column): Create the treeview without hildon-gtk
1606         helpers if we are not using maemo gtk.
1607
1608 2008-11-11  Alejandro G. Castro  <alex@igalia.com>
1609
1610         * src/hildon-pnnable-area.c,
1611         (hildon_pannable_area_dispose),
1612         (hildon_pannable_area_button_press_cb),
1613         (hildon_pannable_area_child_mapped),
1614         (hildon_pannable_area_add),
1615         (hildon_pannable_area_remove): Added code to control the position
1616         of the event_window when adding and removing children from the
1617         pannable. We have to raise the event window when the child is
1618         mapped.
1619
1620         Fixes: NB#89811 (Not able to select first image thumbnail in multi
1621         selection mode using custom widget inside pannable)
1622
1623 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1624
1625         * configure.ac: post release version bump
1626         * debian/changelog: version bump
1627
1628 2008-11-11  Claudio Saavedra  <csaavedra@igalia.com>
1629
1630         [Release 2.1.22]
1631
1632         * NEWS: updates
1633         * configure.ac: bump version
1634         * debian/changelog: updates
1635
1636 2008-11-10  Alejandro Pinheiro  <apinheiro@igalia.com>
1637
1638         * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1639         search mode, in order to avoid lose the focus on the treeview when
1640         a hw key (like enter) is pressed.
1641
1642         Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1643         in HildonDateSelector dialog)
1644
1645 2008-11-06  Alejandro Pinheiro  <apinheiro@igalia.com>
1646
1647         * debian/rules: Added --enable-maintainer-mode
1648         * Makefile.am: Added ACLOCAL_AMFLAGS
1649
1650         This allows to properly regenerate the Makefiles if you modify the
1651         configure.ac or any Makefile.am.
1652
1653 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1654
1655         * examples/hildon-app-menu-example.c: (main): Do not set RC style
1656         properties, not needed at all.
1657
1658 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1659
1660         * src/hildon-note-private.h: Add strings for the icon and stock_icon
1661         properties.
1662         * src/hildon-note.c: (hildon_note_set_property),
1663         (hildon_note_get_property), (hildon_note_class_init),
1664         (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1665         (hildon_note_new_confirmation_add_buttons): Remove icons.
1666         (hildon_note_new_confirmation_with_icon_name): Deprecate.
1667         (hildon_note_new_information_with_icon_name): Deprecate.
1668         (hildon_note_new_confirmation): Act directly, without calling
1669         the deprecated constructor.
1670         (hildon_note_new_information): Act directly, without calling
1671         the deprecated constructor.
1672         * src/hildon-note.h: Mark deprecate methods as such.
1673         * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1674         not run tests on the deprecated methods if built with deprecation
1675         disabled.
1676
1677         Fixes: NB#91688 (Never show icons in information notes/confirmation
1678         notes)
1679
1680 2008-11-06  Claudio Saavedra  <csaavedra@igalia.com>
1681
1682         * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1683         (hildon_app_menu_key_press): Remove leftover usage of the
1684         private structure in HildonAppMenu struct.
1685         * src/hildon-app-menu.h: Remove leftover private structure
1686         from the HildonAppMenu struct.
1687
1688         Fixes a crasher when using the HildonAppMenu.
1689
1690 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1691
1692         * src/hildon-picker-dialog.c: Use appropriate logical id
1693         for the default "Done" text.
1694
1695 2008-11-05  Claudio Saavedra  <csaavedra@igalia.com>
1696
1697         * configure.ac: post release version bump
1698         * debian/changelog: version bump
1699
1700 2008-11-05  Alejandro Pinheiro  <apinheiro@igalia.com>
1701
1702         Modified the way to scroll to the current selection just when the touch
1703         selector is shown on the screen, avoiding a g_idle. Added too a property
1704         to configure this behaviour. See hildon_pannable_area_jump_to_child
1705         documentation for more information.
1706
1707         * src/hildon-touch-selector.c
1708         Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1709         Added 'initial-scroll' property
1710         (hildon_touch_selector_set_property): Added
1711         (hildon_touch_selector_map): Removed as not required anymore
1712         (_hildon_touch_selector_on_selected_items): Modified in order to manage
1713         only a concrete column, instead of iterate along all the columns
1714
1715 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1716
1717         [Release 2.1.20]
1718
1719         * NEWS: updates
1720         * configure.ac: bump version
1721         * debian/changelog: updates
1722
1723 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1724
1725         * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1726         compilation time warnings.
1727
1728 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1729
1730         * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1731         the default value for HildonPannableArea::mov-mode to
1732         HILDON_PANNABLE_AREA_MODE_VERT.
1733
1734         Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1735
1736 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1737
1738         Reverting following commit:
1739
1740         2008-10-13  Alberto Garcia  <agarcia@igalia.com>
1741
1742           * src/hildon-app-menu-private.h
1743           * src/hildon-app-menu.[ch]
1744           * src/hildon-button.[ch]
1745           * src/hildon-check-button.[ch]
1746           * src/hildon-entry.[ch]
1747           * src/hildon-pannable-area.[ch]
1748           * src/hildon-text-view.[ch]:
1749           Added private field to the object's structure.
1750
1751         because it causes an ABI breakage. We will need to introduce these
1752         changes later at some point. See NB#91636 for an extensive
1753         explanation and status.
1754
1755 2008-11-04  Claudio Saavedra  <csaavedra@igalia.com>
1756
1757         Patch contributed by Daniel Borgmann (danielb@openismus.com)
1758
1759         * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1760         remove special cases that are no longer necessary.
1761
1762         Fixes: NB#91016 (Change toolbar sizes, simplification)
1763
1764 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1765
1766         * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1767         is shown in the cancel note.
1768
1769 2008-11-03  Claudio Saavedra  <csaavedra@igalia.com>
1770
1771         * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1772         * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1773         (hildon_seekbar_init): Remove steppers, remove expose event.
1774         * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1775
1776         Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1777
1778 2008-10-31  Claudio Saavedra  <csaavedra@igalia.com>
1779
1780         * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1781         label font to "SmallSystemFont" for vertically arranged buttons.
1782
1783         Fixes: NB#90662 (HildonButton "value" and "detail" text is
1784         unformatted)
1785
1786 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1787
1788         * src/hildon-check-button.c
1789         (hildon_check_button_set_active, hildon_check_button_clicked):
1790         Don't access private parts directly, use getters instead.
1791
1792 2008-10-31  Alberto Garcia  <agarcia@igalia.com>
1793
1794         * src/hildon-check-button.c (hildon_check_button_new):
1795         Align the contents of the check button to the left.
1796
1797 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1798
1799         * src/hildon-pannable-area.c,
1800         (hildon_pannable_area_scroll_to),
1801         (hildon_pannable_area_jump_to),
1802         (hildon_pannable_area_scroll_to_child),
1803         (hildon_pannable_area_jump_to_child): Replace the mapped
1804         precondition of these functions with the realized, it is the
1805         correct state of the widget in this case. Changed the
1806         documentation according to this modification.
1807
1808 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1809
1810         Added a new EXTRA_CFLAGS option to add the deprecated define to
1811         the compilation command. This way we can avoid using the define in
1812         the documentation compilation.
1813
1814         * configure.ac: Defined EXTRA_CFLAGS.
1815
1816         * examples/Makefile.am:
1817         * src/Makefile.am:
1818         * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1819
1820 2008-10-30  Alejandro Pinheiro  <apinheiro@igalia.com>
1821
1822         * src/hildon-picker-dialog.c:
1823         Defined a utility macro with the desired touch selector height
1824         Removed currently unused separator, and title_label variables from
1825         private structure.
1826         (hildon_picker_dialog_init): Removed code related to the creation
1827         of unused private variables title_label and separator.
1828         (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1829         to ensure correct visualization of the touch selector inside the dialog.
1830         * src/hildon-touch-selector.c
1831         (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1832         ensure a concrete height of the widget.
1833
1834 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1835
1836         * src/Makefile.am:
1837         * tests/Makefile.am:
1838
1839         Remove spurious whitespaces.
1840
1841 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1842
1843         * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1844         compilation warning after the cancel button removal.
1845
1846 2008-10-30  Alejandro G. Castro  <alex@igalia.com>
1847
1848         Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1849
1850         * configure.ac: Added an AM_CONDITIONAL in order to use in the
1851         Makefile.am, that way we can choose not to compile some examples
1852         and tests of the deprecated widgets.
1853
1854         * examples/Makefile.am: Divided the sources in deprecated and
1855         non-deprecated.
1856
1857         * src/Makefile.am: Added undef statement of the deprecated
1858         symbol to the enums file generation process.
1859
1860         * src/hildon-color-chooser-dialog.c
1861         * src/hildon-color-chooser-dialog.h
1862         * src/hildon-color-button.c
1863         * src/hildon-color-button.h
1864         * src/hildon-color-chooser.c
1865         * src/hildon-color-chooser.h
1866         * src/hildon-controlbar.c
1867         * src/hildon-controlbar.h
1868         * src/hildon-date-editor.c
1869         * src/hildon-date-editor.h
1870         * src/hildon-hvolumebar.c
1871         * src/hildon-hvolumebar.h
1872         * src/hildon-private.c
1873         * src/hildon-private.h
1874         * src/hildon-range-editor.c
1875         * src/hildon-range-editor.h
1876         * src/hildon-seekbar.c
1877         * src/hildon-seekbar.h
1878         * src/hildon-time-editor.c
1879         * src/hildon-time-editor.h
1880         * src/hildon-time-picker.c
1881         * src/hildon-time-picker.h
1882         * src/hildon-volumebar.c
1883         * src/hildon-volumebar.h
1884         * src/hildon-vvolumebar.c
1885         * src/hildon-vvolumebar.h
1886         * src/hildon-bread-crumb-trail.h
1887         * src/hildon-bread-crumb-trail.c
1888         * src/hildon-calendar-popup.c
1889         * src/hildon-calendar-popup.h
1890         * src/hildon-weekday-picker.c:
1891         * src/hildon-weekday-picker.h:
1892         * src/hildon-bread-crumb-widget.c:
1893         * src/hildon-bread-crumb-widget.h:
1894         * src/hildon-bread-crumb.c:
1895         * src/hildon-bread-crumb.h:
1896         * src/hildon-calendar.c:
1897         * src/hildon-calendar.h:
1898         * src/hildon-caption.c:
1899         * src/hildon-code-dialog.c:
1900         * src/hildon-code-dialog.h:
1901         * src/hildon-font-selection-dialog.c:
1902         * src/hildon-font-selection-dialog.h:
1903         * src/hildon-get-password-dialog.c:
1904         * src/hildon-get-password-dialog.h:
1905         * src/hildon-login-dialog.c:
1906         * src/hildon-login-dialog.h:
1907         * src/hildon-number-editor.c:
1908         * src/hildon-number-editor.h:
1909         * src/hildon-set-password-dialog.c:
1910         * src/hildon-set-password-dialog.h:
1911         * src/hildon-sort-dialog.c:
1912         * src/hildon-sort-dialog.h: This is the list of deprecated
1913         widgets.
1914
1915         * src/hildon-touch-selector.c:
1916         * src/hildon-window.c: Added undef statement to avoid compilation
1917         warnings
1918
1919         * tests/Makefile.am: Divided the sources in deprecated and
1920         non-deprecated.
1921
1922         * tests/check_test.c,
1923         (configure_tests): Marked the deprecated code that was adding
1924         suites with deprecated tests.
1925
1926         Fixes: NB#91135 (Deprecate legacy hildon widgets)
1927
1928 2008-10-30  Claudio Saavedra  <csaavedra@igalia.com>
1929
1930         * src/hildon-touch-selector.c: (_default_print_func): Do not
1931         duplicate a string returned by gtk_tree_model_get(), it is already
1932         allocated for us.
1933
1934         Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1935         function)
1936
1937 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1938
1939         * src/hildon-pannable-area.c
1940         (hildon_pannable_area_add_with_viewport): Reviewed the complete
1941         method, it had problems when adding a widget with viewport the
1942         second time. Now checks if it already has a viewport and uses it.
1943
1944         Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1945         on child)
1946
1947 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1948
1949         * src/hildon-pannable-area.c,
1950         (hildon_pannable_area_scroll_to),
1951         (hildon_pannable_area_jump_to),
1952         (hildon_pannable_area_scroll_to_child),
1953         (hildon_pannable_area_jump_to_child): Added a precondition to the
1954         scroll and jump to functions: the widget must be mapped before we
1955         can safely call these functions. We have also added documentation
1956         to the functions to explain how to use them in this situation.
1957
1958
1959 2008-10-28  Alejandro G. Castro  <alex@igalia.com>
1960
1961         Reviewed the threading handling of the pannable widget, we have
1962         used the gdk_threads_add_timeout function instead of the usual
1963         glib handlers. This avoids some problems with the threads.
1964
1965         * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
1966         (hildon_pannable_area_initial_effect),
1967         (hildon_pannable_area_scroll_indicator_fade),
1968         (hildon_pannable_area_button_press_cb),
1969         (hildon_pannable_area_timeout),
1970         (hildon_pannable_area_motion_notify_cb),
1971         (hildon_pannable_area_button_release_cb),
1972         (hildon_pannable_area_scroll_cb),
1973         (hildon_pannable_area_scroll_to): Removed the
1974         GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
1975         gdk_threads_add_timeout.
1976
1977         Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
1978
1979 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
1980
1981         [Release 2.1.18]
1982
1983         * NEWS: updates
1984         * configure.ac: bump version
1985         * debian/changelog: updates
1986
1987 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
1988
1989         * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1990         * src/hildon-code-dialog.c: (hildon_code_dialog_init):
1991         * src/hildon-color-chooser-dialog.c:
1992         (hildon_color_chooser_dialog_init):
1993         * src/hildon-font-selection-dialog.c:
1994         (hildon_font_selection_dialog_init):
1995         * src/hildon-login-dialog.c: (hildon_login_dialog_init):
1996
1997         Remove all cancel/close-like dialogs, as these are not going to be
1998         displayed at all.
1999
2000 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2001
2002         * src/hildon-note.c: (hildon_note_rebuild),
2003         (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2004         when needed.
2005
2006         Fixes: NB#90661 (Delete dialog is displayed without NO button)
2007
2008 2008-10-27  Claudio Saavedra  <csaavedra@igalia.com>
2009
2010         * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2011         sure all buttons are shown, even the Cancel/Close-like ones.
2012
2013         Fixes: NB#90861 (Custom Confirmation dialogs should be
2014         protected from cancel button removal)
2015
2016 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2017
2018         * debian/control: Change libhildon1-examples dependency from libhildon1
2019         to libhildon1-dev
2020         * debian/libhildon1-examples.install
2021         * debian/rules
2022         * Makefile.am: Modified the final install directory for the examples on
2023         package libhildon1-examples
2024         * Makefile.static: Update clean target in order to remove all the binary
2025         examples
2026
2027         Changes suggested by Claudio after review new libhildon1-examples package
2028
2029 2008-10-23  Claudio Saavedra  <csaavedra@igalia.com>
2030
2031         * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2032         * src/hildon-touch-selector.c: Ditto.
2033
2034 2008-10-23  Alejandro Pinheiro  <apinheiro@igalia.com>
2035
2036         * debian/control: Added new package libhildon1-examples, in order to pack
2037         the current hildon examples as documentation
2038         * debian/rules: Not to compress .c files, modify some includes on the
2039         examples (as normally are compiled locally, but when installed it will
2040         require to include the installed libhildon1 library), and rename
2041         Makefile.static
2042         * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2043         install all the example files on the new example package
2044         * examples/Makefile.static: Added static makefile that can be used to
2045         compile the examples, once installed the new example package
2046         * examples: Most of the examples were modified in order to grant that
2047         all use only '#include "hildon.h"', in order to be easy to prepare
2048         it on the example package
2049
2050 2008-10-23  Alberto Garcia  <agarcia@igalia.com>
2051
2052         * debian/control
2053         * debian/libhildon1-dev.install
2054         * debian/libhildon1-doc.install:
2055         Move all gtk-doc files to a separate libhildon1-doc package.
2056
2057 2008-10-23  Daniel Borgmann  <danielb@openismus.com>
2058
2059         reviewed by:  Claudio Saavedra  <csaavedra@igalia.com>
2060
2061         * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2062
2063 2008-10-22  Alejandro Pinheiro  <apinheiro@igalia.com>
2064
2065         * debian/rules: Fixed a error in order to avoid unnecessary calls
2066         to autogen.sh on package building
2067
2068 2008-10-22  Alberto Garcia  <agarcia@igalia.com>
2069
2070         * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2071
2072 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2073
2074         * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2075         header include.
2076
2077 2008-10-21  Alberto Garcia  <agarcia@igalia.com>
2078
2079         * src/hildon-picker-button.c
2080         (hildon_picker_button_finalize):
2081         Free priv->done_button_text
2082
2083         * src/hildon-time-button.c
2084         (hildon_time_button_set_time)
2085         * src/hildon-picker-button.c
2086         (hildon_picker_button_clicked)
2087         (hildon_picker_button_selector_selection_changed)
2088         (hildon_picker_button_set_selector)
2089         * src/hildon-date-button.c
2090         (hildon_date_button_set_date):
2091         Free strings returned by hildon_touch_selector_get_current_text()
2092
2093         * src/hildon-button.c (hildon_button_construct_child):
2094         Fix leaks in priv->image and priv->label_box
2095
2096         Fixes: NB#90535 (Memory leak in picker button)
2097
2098 2008-10-21  Claudio Saavedra  <csaavedra@igalia.com>
2099
2100         * src/hildon-button.c: (hildon_button_get_property): Do not access
2101         private elements directly, use getters instead.
2102
2103 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2104
2105         * src/hildon-app-menu-private.h
2106         * src/hildon-app-menu.c
2107         (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2108         Store the menu's parent window.
2109
2110         * src/hildon-stackable-window.c
2111         (hildon_stackable_window_toggle_menu)
2112         (hildon_stackable_window_finalize):
2113         Set the menu's parent window when the menu is shown, unset it when
2114         it is destroyed.
2115
2116         * src/hildon-app-menu.c
2117         (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2118         (hildon_app_menu_class_init):
2119         Send unhandled keyboard accelerators to the parent window.
2120
2121 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2122
2123         * src/hildon-stackable-window.c
2124         (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2125
2126 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2127
2128         * configure.ac: post release version bump
2129
2130 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2131
2132         * NEWS: Updates
2133         * configure.ac: Bump version
2134         * debian/changelog: Updates
2135         * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2136         gtk-doc 1.10.
2137
2138 2008-10-20  Alberto Garcia  <agarcia@igalia.com>
2139
2140         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2141
2142         * src/hildon-gtk.h
2143         * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2144         GtkMenu with Hildon style.
2145
2146 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2147
2148         * src/hildon-picker-button.c:
2149         (hildon_picker_button_set_done_button_text): Set the dialog's
2150         done button text here as well.
2151
2152         Fixes: NB#90232 (Picker button does not set the label on done button
2153         for the second time)
2154
2155 2008-10-20  Claudio Saavedra  <csaavedra@igalia.com>
2156
2157         * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2158         warning message.
2159
2160 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2161
2162         * src/hildon-app-menu.c (hildon_app_menu_insert)
2163         (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2164         the HildonAppMenu to be activatable using keyboard accelerators
2165         when the menu is not being shown.
2166
2167         Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2168
2169 2008-10-16  Alberto Garcia  <agarcia@igalia.com>
2170
2171         * src/hildon-stackable-window.c
2172         (hildon_stackable_window_show):
2173         Don't hide old windows automatically when new windows are shown:
2174         this is now a task for the window manager.
2175         (hildon_stackable_window_class_init)
2176         (hildon_stackable_window_hide):
2177         Remove windows from the stack everytime they're hidden.
2178         (hildon_stackable_window_realize):
2179         Don't change the _NET_WM_WINDOW_TYPE property. Use
2180         _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2181         it as a stackable window.
2182
2183         * src/hildon-program.c
2184         (hildon_program_pop_window_stack):
2185         Just hide the window to remove it from the stack.
2186         (hildon_program_go_to_root_window):
2187         Don't call gtk_widget_show(), this is now a task for the window
2188         manager.
2189
2190         Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2191
2192 2008-10-15  Alberto Garcia  <agarcia@igalia.com>
2193
2194         * src/hildon-button.c
2195         (hildon_button_construct_child):
2196         Don't pack anything in the button until text or image are
2197         set. This allows adding a custom child after creating the button
2198         with hildon_button_new().
2199         (hildon_button_finalize, hildon_button_class_init)
2200         (hildon_button_init, hildon_button_set_arrangement): Destroy the
2201         alignment and the label box even when they're not packed in the
2202         button.
2203
2204 2008-10-14  Alejandro Pinheiro   <apinheiro@igalia.com>
2205
2206         * src/hildon-touch-selector.h:
2207         Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2208         currently the type definition was using GTK_TYPE_VBOX
2209         * src/hildon-touch-selector.c:
2210         Added some implementation notes in order to clarify that any other widget
2211         added without the column related API will not be included on the
2212         selection logic, and how the widget is freed, as some people ask about
2213         it.
2214         (hildon_touch_selector_remove): Reimplemented in order to free properly
2215         the column related data when you remove the private hbox.
2216         * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2217         to get a proper HildonTouchSelectorColumn documentation
2218
2219 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2220
2221         * src/hildon-touch-selector-entry.c:
2222         (hildon_touch_selector_entry_print_func): Return NULL if there is no
2223         text in the GtkEntry and there is no item selected. Fixes a
2224         potential crasher.
2225
2226 2008-10-13  Alberto Garcia  <agarcia@igalia.com>
2227
2228         * src/hildon-app-menu-private.h
2229         * src/hildon-app-menu.[ch]
2230         * src/hildon-button.[ch]
2231         * src/hildon-check-button.[ch]
2232         * src/hildon-entry.[ch]
2233         * src/hildon-pannable-area.[ch]
2234         * src/hildon-text-view.[ch]:
2235         Added private field to the object's structure.
2236
2237 2008-10-13  Claudio Saavedra  <csaavedra@igalia.com>
2238
2239         * configure.ac: post-release version bump
2240
2241 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2242
2243         [Release 2.1.14]
2244
2245         * configure.ac: pre-release version bump
2246         * NEWS: updates.
2247         * debian/changelog: updates.
2248
2249 2008-10-10  Claudio Saavedra  <csaavedra@igalia.com>
2250
2251         * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2252         Disconnect the handler for HildonTouchSelector::changed.
2253
2254         (hildon_picker_button_selector_selection_changed): Update the button
2255         value if the selection change was not triggered by the
2256         HildonPickerDialog.
2257
2258         (hildon_picker_button_set_selector): connect to
2259         HildonTouchSelector::changed.
2260
2261         Fixes: NB#89650 (Picker button is not updated, when selection in
2262         selector has changed)
2263
2264 2008-10-09  Alejandro Pinheiro   <apinheiro@igalia.com>
2265
2266         * src/hildon-picker-dialog.c
2267         (hildon_picker_dialog_realize): Removed as not required
2268         (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2269         * src/hildon-picker-button.c
2270         (_current_selector_empty): New function, checks if the selector is empty
2271         (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2272         if the current selector is empty, in order to avoid to show the dialog
2273         close the dialog in this case (and shows a g_warning).
2274
2275         Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2276
2277 2008-10-09  Alejandro G. Castro  <alex@igalia.com>
2278
2279         * src/hildon-pannable-area.c,
2280         (hildon_pannable_area_scroll): Added clause to stop movement when
2281         the child of pannable is smaller than one page.
2282         (hildon_pannable_area_scroll_to): Added conditions to avoid
2283         starting the scrolling movement if the child is smaller than one
2284         page, the complete child is in the screen, we do not have to move.
2285
2286         Fixes: NB#89632 (Picker button selection doesn't change on first click)
2287
2288 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2289
2290         * src/hildon-app-menu.c: Removed the 'columns' property, as now
2291         this is managed automatically by the widget when the size of the
2292         screen changes.
2293
2294 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2295
2296         * src/hildon-picker-button.c
2297         (hildon_picker_button_set_done_button_text): Make a copy of the
2298         text, and free the previous value.
2299
2300 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2301
2302         * src/hildon-touch-selector-entry.c:
2303         (hildon_touch_selector_entry_print_func): Return the selected row's
2304         text if the entry is empty.
2305
2306         Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2307         entry is empty)
2308
2309 2008-10-09  Claudio Saavedra  <csaavedra@igalia.com>
2310
2311         * src/hildon-touch-selector-entry.c: Minor docs fixes.
2312
2313 2008-10-09  Alberto Garcia  <agarcia@igalia.com>
2314
2315         * doc/hildon.types
2316         * src/hildon-check-button.h
2317         * src/hildon-check-button.c
2318         * examples/hildon-check-button-example.c:
2319         HildonCheckButton is now a new widget. 'toggled' signal added.
2320
2321 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2322
2323         * src/hildon-program-private.h
2324         * src/hildon-program.c (hildon_program_init)
2325         (hildon_program_finalize): Removed unused variables group_leader
2326         and name from HildonProgramPrivate.
2327
2328 2008-10-08  Alberto Garcia  <agarcia@igalia.com>
2329
2330         * src/hildon-check-button.c (hildon_check_button_set_active)
2331         (hildon_check_button_get_active, hildon_check_button_new): Use
2332         g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2333
2334 2008-10-08  Alejandro Pinheiro   <apinheiro@igalia.com>
2335
2336         * src/hildon-touch-selector.h
2337         (hildon_touch_selector_set_column_attributes): added deprecation
2338         guard HILDON_DISABLE_DEPRECATED
2339         * src/hildon-time-selector.c
2340         (hildon_time_selector_set_time)
2341         (hildon_time_selector_get_time): Fixed a typo on documentation
2342         * src/hildon-touch-selector.c: update HildonTouchSelector and
2343         HildonTouchSelectorColumn documentation
2344         * src/hildon-touch-selector-entry.c: update "text-column" property
2345         documentation
2346         * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2347         to be added to the general documentation.
2348
2349 2008-10-08  Alejandro G. Castro  <alex@igalia.com>
2350
2351         * examples/hildon-pannable-area-example-4.c,
2352         (main),
2353         * examples/hildon-pannable-area-example.c,
2354         (main): Modified the code in order to use the container add, with
2355         viewport treeviews could have problems if they are really big.
2356
2357 2008-10-06  Alejandro G. Castro  <alex@igalia.com>
2358
2359         * src/hildon-weekday-picker.c,
2360         * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2361         the agreement regarding deprecation in the library.
2362
2363 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2364
2365         * examples/hildon-picker-button-multicolumn-example.c:
2366         (main): Use custom "done" button text.
2367
2368         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2369         (hildon_picker_button_set_property),
2370         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2371         (hildon_picker_button_init),
2372         (+hildon_picker_button_get_done_button_text),
2373         (+hildon_picker_button_set_done_button_text): New methods to customize
2374         the "done" button label in the launched HildonPickerDialog. Also,
2375         make it a property.
2376
2377         * src/hildon-picker-button.h: add the public API.
2378
2379 2008-10-06  Claudio Saavedra  <csaavedra@igalia.com>
2380
2381         * src/hildon-date-selector.h:
2382         * src/hildon-picker-dialog.h:
2383         * src/hildon-time-selector.h:
2384         * src/hildon-touch-selector-column.h:
2385         * src/hildon-touch-selector.h:
2386
2387         Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2388         declarations. Fixes gtk-doc warnings.
2389
2390 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2391
2392         * src/hildon-picker-dialog.h
2393         * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2394         Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2395
2396         Fixes: NB#89329 (selectors in picker dialog are not visible when a
2397         long text is set as label for done button)
2398
2399 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2400
2401         * src/hildon-dialog.c (hildon_dialog_add_button):
2402         Set fixed width to all buttons in the HildonDialog.
2403
2404 2008-10-06  Alberto Garcia  <agarcia@igalia.com>
2405
2406         Patch contributed by Daniel Borgmann (danielb@openismus.com)
2407
2408         * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2409         Set widget name using class name plus "-finger" or "-thumb".
2410
2411 2008-10-03  Alberto Garcia  <agarcia@igalia.com>
2412
2413         * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2414         'clicked' when the state of the button is manually changed.
2415
2416 2008-10-02  Alberto Garcia  <agarcia@igalia.com>
2417
2418         * src/hildon-app-menu.c (hildon_app_menu_realize)
2419         (hildon_app_menu_unrealize, hildon_app_menu_init)
2420         (hildon_app_menu_class_init, item_visibility_changed):
2421         Change the menu layout when the size of the screen changes.
2422         (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2423         Show warning only when changing the number of colums using the
2424         property.
2425
2426 2008-10-02  Claudio Saavedra  <csaavedra@igalia.com>
2427
2428         * debian/compat: Set to 5
2429         * debian/control: Update dependencies.
2430         * debian/libhildon1-dbg.install: Remove.
2431         * debian/libhildon1-dev.install: Update according to cdbs paths.
2432         * debian/libhildon1.install: Update according to cdbs paths.
2433         * debian/rules: Switch to cdbs.
2434
2435 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2436
2437         * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2438         'item' variable renamed to 'filter'
2439
2440 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2441
2442         * src/hildon-app-menu.c (hildon_app_menu_insert)
2443         (hildon_app_menu_add_filter, remove_item_from_list)
2444         (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2445         Don't leak hidden items when the menu is destroyed.
2446
2447 2008-10-01  Alberto Garcia  <agarcia@igalia.com>
2448
2449         * src/hildon-app-menu.c (hildon_app_menu_insert)
2450         (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2451         (hildon_app_menu_set_columns, item_visibility_changed)
2452         (filter_visibility_changed, hildon_app_menu_repack_filters)
2453         (hildon_app_menu_repack_items):
2454         Repack items and filters separately.
2455
2456         Don't repack all items, change only the ones that are needed to
2457         update the layout.
2458
2459 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2460
2461         * src/Makefile.am: added hildon-touch-selector-column.h
2462
2463 2008-10-01  Alejandro Pinheiro <apinheiro@igalia.com>
2464
2465         * src/hildon-touch-selector.c: added the property "text-column" to the
2466         class HildonTouchSelectorColumn, and related get/set functions
2467         (_default_printf_func): updated to use "text-column" property
2468         * src/hildon-touch-selector-entry.c: mark as deprecated the property
2469         "text-column" in his documentation, as this is now included on
2470         HildonTouchSelectorColumn. The get/set_property can still be used,
2471         working as a wrapper to the concrete column "text-column" property
2472         (_text_column_modified): callback added in order to handle the signal
2473         "notify::text-column" of the concrete HildonTouchSelectorColumn
2474         (hildon_touch_selector_entry_get_text_column)
2475         (hildon_touch_selector_entry_set_text_column): Added documentation, and
2476         modified in order to use the HildonTouchSelectorColumn "text-column"
2477         property
2478         * src/hildon-time-selector.c:
2479         * src/hildon-date-selector.c:
2480         * examples/hildon-touch-selector-example.c
2481         * examples/hildon-touch-selector-multi-cells-example.c
2482         * examples/hildon-picker-button-multicolumn-example.c
2483         Set the right value to "text-column" property on the creation of a new
2484         column using hildon_touch_selector_append_column()
2485
2486         Fixes: NB#88644 (Hardcoded first column of the model as text column)
2487
2488 2008-09-30  Alberto Garcia  <agarcia@igalia.com>
2489
2490         * src/hildon-app-menu.c
2491         (hildon_app_menu_construct_child, hildon_app_menu_init): When
2492         updating the layout of the menu, don't create all widgets again,
2493         just repack the items in their new places.
2494
2495 2008-09-30  Alejandro Pinheiro <apinheiro@igalia.com>
2496
2497         * src/hildon-time-selector.c
2498         (hildon_time_selector_get_time)
2499         (hildon_time_selector_set_time)
2500         Added documentation of these public methods
2501
2502         * src/hildon-date-button.h
2503         * src/hildon-touch-selector-column.h
2504         * src/hildon-time-button.h
2505         * src/hildon-picker-dialog.h
2506         * src/hildon-time-selector.h
2507         * src/hildon-picker-button.h
2508         * src/hildon-touch-selector.h
2509         * src/hildon-time-picker.h
2510         * src/hildon-date-selector.h
2511         * src/hildon-touch-selector-entry.h
2512         Modified in order to use hildon-widgets code style
2513
2514 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2515
2516         Added deprecated support to the compilation process using
2517         HILDON_DISABLE_DEPRECATED
2518
2519         * configure.ac: Added the --disable-deprecated to the configure
2520         script
2521
2522         * src/hildon-weekday-picker.c:
2523         * src/hildon-weekday-picker.h: Deprecated widget, example of how
2524         to use the deprecated support. We will update the other deprecated
2525         widgets status in a new patch.
2526
2527 2008-09-30  Alejandro G. Castro  <alex@igalia.com>
2528
2529         * configure.ac: Fixed typo with fatal warnings support, the
2530         variable name was not correct
2531
2532 2008-09-29  Alberto Garcia  <agarcia@igalia.com>
2533
2534         * src/hildon-app-menu.c
2535         * src/hildon-program.c: Update documentation.
2536
2537 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2538
2539         * configure.ac: Post-release version bump.
2540
2541 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2542
2543         [Release 2.1.12]
2544
2545         * NEWS: Update.
2546         * configure.ac: Pre-release version bump.
2547         * debian/changelog: Updates.
2548
2549 2008-09-29  Claudio Saavedra  <csaavedra@igalia.com>
2550
2551         * NEWS: Update news for previous releases.
2552
2553 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2554
2555         * examples/hildon-touch-selector-multi-cells-example.c:
2556         (create_selector): Update the example to use
2557         hildon_touch_selector_append_column() with a NULL renderer and set
2558         the renderers later.
2559         * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2560         passed a NULL renderer. This is documented behavior now.
2561
2562         Allow passing a NULL renderer to hildon_touch_selector_append_column().
2563         This must be used if the developer wants full control on the layout of
2564         the renderers to be added to the column.
2565
2566         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2567
2568 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2569
2570         * src/hildon-touch-selector.c: Documentation fixes.
2571
2572 2008-09-26  Claudio Saavedra  <csaavedra@igalia.com>
2573
2574         * src/hildon-wizard-dialog-private.h: Remove image and box.
2575         * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2576         (hildon_wizard_dialog_set_property), (response): Completely remove
2577         image/icon support, and the containers required for the layout.
2578
2579         Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2580
2581 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2582
2583         * src/hildon-app-menu.c: Updated documentation.
2584
2585         * src/hildon-stackable-window.c
2586         (hildon_stackable_window_set_main_menu): Unref the old menu after
2587         ref'ing the new one.
2588
2589 2008-09-25  Alberto Garcia  <agarcia@igalia.com>
2590
2591         * src/hildon-stackable-window.c
2592         (hildon_stackable_window_set_main_menu): Unref the previous menu
2593         instead of destroying it.
2594
2595         * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2596         floating reference and set has_user_ref_count to FALSE to make
2597         HildonAppMenu act like a normal ref-counted widget and not a
2598         toplevel widget.
2599
2600         Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2601         changed)
2602
2603 2008-09-25  Alejandro Pinheiro  <apinheiro@igalia.com>
2604
2605         * src/hildon-touch-selector-column.h: new file
2606         * src/hildon-touch-selector.h
2607         * src/hildon-touch-selector.c
2608         Implemented GtkCellLayout interface, in order to allow to configure
2609         the cell layout on each individual selector column
2610         (hildon_touch_selector_set_column_attributes): marked as deprecated
2611         * examples/hildon-touch-selector-multi-cells-example.c
2612         Example of how to use the GtkCellLayout interface on the selector
2613
2614         Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2615
2616 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2617
2618         * src/hildon-app-menu.h
2619         * src/hildon-app-menu.c
2620         (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2621         (hildon_app_menu_append, hildon_app_menu_prepend):
2622         New methods to prepend, insert and move items in the menu.
2623
2624 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2625
2626         * src/hildon-wizard-dialog.c:
2627
2628         (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2629         button.
2630         (create_title): Update logical IDs and related code.
2631         (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2632
2633         * src/hildon-wizard-dialog.h: Note that
2634         HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2635         point, as it is not used anymore.
2636
2637         Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2638
2639 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2640
2641         * src/hildon-note.c:
2642         (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2643         shown.  Do not display an icon in confirmation notes nor information
2644         notes.
2645         (hildon_note_set_button_text): Update logical ID for cancel button.
2646
2647         Fixes: NB#88850 (Update HildonNote button strings + signals)
2648
2649 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2650
2651         * src/hildon-stackable-window.c
2652         (hildon_stackable_window_set_main_menu): Fix compilation warning.
2653
2654 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2655
2656         * src/hildon-app-menu-private.h
2657         * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2658         (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2659         (hildon_app_menu_init, hildon_app_menu_class_init): Added
2660         temporary property 'columns' to change the number of columns.
2661
2662 2008-09-24  Claudio Saavedra  <csaavedra@igalia.com>
2663
2664         Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2665
2666         * examples/hildon-note-example.c: (on_information_clicked),
2667         (on_confirmation_clicked), (on_progress_clicked), (main): Add
2668         debugging information.
2669         * src/hildon-note-private.h: Remove close_if_pressed_outside,
2670         not needed anymore.
2671         * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2672         (hildon_note_rebuild): Remove special handling of tapping outside/inside
2673         in order to close: this will be handled by the WM from now on.
2674
2675         Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2676
2677 2008-09-24  Alberto Garcia  <agarcia@igalia.com>
2678
2679         * src/hildon-app-menu-private.h
2680         * src/hildon-app-menu.c
2681         (hildon_app_menu_append, hildon_app_menu_add_filter)
2682         (button_visibility_changed, hildon_app_menu_apply_style)
2683         (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2684         (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2685         layout everytime a button (item or filter) is shown or hidden.
2686
2687         * src/hildon-stackable-window.c
2688         (hildon_stackable_window_set_main_menu): Destroy the old menu when
2689         setting a new one.
2690
2691 2008-09-22  Alejandro Pinheiro <apinheiro@igalia.com>
2692
2693         * src/hildon-touch-selector.c:
2694         (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2695         that the treeview inside the touch selector is in fremantle hildon mode
2696         * examples/hildon-date-button-example.c
2697         * examples/hildon-picker-button-multicolumn-example.c
2698         * examples/hildon-touch-selector-entry-example.c
2699         * examples/hildon-touch-selector-example.c
2700         * examples/hildon-time-button-example.c
2701         * examples/hildon-picker-button-example.c:
2702         (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2703
2704 2008-09-22  Claudio Saavedra  <csaavedra@igalia.com>
2705
2706         * examples/hildon-text-view-example.c: (main): Remove the
2707         gtkrc bits, now handled by the theme.
2708
2709 2008-09-22  Alberto Garcia  <agarcia@igalia.com>
2710
2711         * src/hildon-picker-button.c (hildon_picker_button_set_active):
2712         Fix memory leak
2713
2714 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2715
2716         * po/Makefile.am: Install properly the mo files.
2717         * po/en_GB.po: Update translation, to ease testing purposes.
2718
2719 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2720
2721         * examples/hildon-picker-button-example.c: (main): Select an item
2722         in the selector before setting it to the button.
2723
2724 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2725
2726         * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2727         Update button's value if the selector has an item active.
2728
2729         Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2730         'value' with the selector)
2731
2732 2008-09-19  Claudio Saavedra  <csaavedra@igalia.com>
2733
2734         * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2735         the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2736         (hildon_picker_button_class_init): Plug the finalize method.
2737         (hildon_picker_button_set_selector): If there's a previously set
2738         selector, unref'it before setting a new one.
2739
2740         Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2741         HildonTouchSelector)
2742
2743 2008-09-16  Claudio Saavedra  <csaavedra@igalia.com>
2744
2745         * src/hildon-touch-selector-entry.c:
2746         (hildon_touch_selector_entry_changed): Check if there is no text
2747         selected before setting the entry text.
2748         Fixes: NB#88576
2749
2750 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2751
2752         * src/hildon-touch-selector.h
2753         * src/hildon-touch-selector.c
2754         (hildon_touch_selector_get_active)
2755         (hildon_touch_selector_set_active): New methods to set/get the
2756         index of the selected item.
2757
2758         * src/hildon-picker-button.h
2759         * src/hildon-picker-button.c
2760         (hildon_picker_button_get_active)
2761         (hildon_picker_button_set_active): New methods to set/get the
2762         index of the selected item.
2763
2764 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2765
2766         * configure.ac: post-release version bump.
2767
2768 2008-09-15  Claudio Saavedra  <csaavedra@igalia.com>
2769
2770         Release 2.1.10-1.
2771
2772         * configure.ac: Pre-release version bump.
2773         * debian/changelog: Updates.
2774         * debian/control: Add myself as maintainer and depend on l10n
2775         packages.
2776
2777 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2778
2779         * src/hildon-window.c
2780         (hildon_window_set_main_menu)
2781         * src/hildon-stackable-window.c
2782         (hildon_stackable_window_set_main_menu):
2783         Updated documentation.
2784
2785 2008-09-15  Alberto Garcia  <agarcia@igalia.com>
2786
2787         * src/hildon-date-selector.c (hildon_date_selector_finalize):
2788         Don't free selector->priv manually.
2789         Fixes: NB#88414
2790
2791 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2792
2793         * src/hildon-gtk.c,
2794         (hildon_gtk_window_set_progress_indicator):
2795         * src/hildon-gtk.h: Added the new API
2796         hildon_gtk_window_set_progress_indicator, it changes the state of
2797         the window progress hint.
2798
2799 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2800
2801         * src/hildon-button.c
2802         * src/hildon-stackable-window.c: Minor documentation updates.
2803
2804 2008-09-12  Alberto Garcia  <agarcia@igalia.com>
2805
2806         * src/hildon-stackable-window.c: Updated documentation.
2807
2808 2008-09-12  Claudio Saavedra  <csaavedra@igalia.com>
2809
2810         * src/hildon-defines.h: Update margins definitions
2811         to the Fremantle sizes.
2812         Fixes: NB#88364
2813
2814 2008-09-12  Alejandro G. Castro  <alex@igalia.com>
2815
2816         * src/hildon-touch-selector.c,
2817         (_hildon_touch_selector_set_model): Cleaning the code after
2818         review, removed g_print and #if 0 from the code.
2819
2820 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2821
2822         * src/hildon-edit-toolbar.c: Update documentation.
2823
2824 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2825
2826         * src/hildon-check-button.h
2827         * src/hildon-check-button.c
2828         (hildon_check_button_set_label, hildon_check_button_get_label)
2829         * examples/hildon-check-button-example.c
2830         (button_clicked_cb):
2831         Removed deprecated methods.
2832
2833 2008-09-11  Alberto Garcia  <agarcia@igalia.com>
2834
2835         * src/hildon-text-view.c:
2836         Add sample code to the documentation.
2837
2838         * src/hildon-entry.h
2839         * src/hildon-text-view.h:
2840         Minor cosmetic changes.
2841
2842         * src/hildon-entry.c:
2843         Add sample code to the documentation.
2844         (hildon_entry_init, hildon_entry_refresh_contents):
2845         Don't allow NULL values in the placeholder.
2846
2847 2008-09-10  Alberto Garcia  <agarcia@igalia.com>
2848
2849         * doc/hildon-docs.sgml
2850         * doc/hildon.types
2851         * examples/Makefile.am
2852         * examples/hildon-text-view-example.c
2853         * src/Makefile.am
2854         * src/hildon-text-view.c
2855         * src/hildon-text-view.h
2856         * src/hildon.h:
2857         New HildonTextView widget, with example.
2858
2859 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2860
2861         * po/POTFILES.in: Add missing files with translatable strings.
2862         Partially fixes NB#88287.
2863
2864 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2865
2866         * examples/hildon-pannable-area-example-2.c: (main): No need to
2867         set the cellrenderer height inside hildon touch lists, the theme does
2868         that for us.
2869
2870 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2871
2872         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2873         they are integrated in the theme.
2874
2875 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
2876
2877         * examples/hildon-entry-example.c: Update the example adding
2878         widgets to modify the text and the placeholder of the HildonEntry.
2879
2880         * src/hildon-entry.c: Show the placeholder everytime the widget
2881         is empty and loses the focus.
2882
2883 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
2884
2885         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2886
2887         * src/hildon-pannable-area.c,
2888         (hildon_pannable_area_size_request): Fixed bug in height
2889         requisition, avoid increasing size and add border twice.
2890
2891 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2892
2893         * configure.ac: postrelease version bump.
2894
2895 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
2896
2897         Release 2.1.8-1.
2898
2899         * configure.ac: Prerelease version bump.
2900         * debian/changelog: update.
2901         * debian/rules: make -dbg package contain useful debugging symbols.
2902
2903 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2904
2905         * src/hildon-dialog.h
2906         * src/hildon-dialog.c
2907         (hildon_dialog_add_button, hildon_dialog_add_buttons):
2908         New methods to add buttons with finger size.
2909         (hildon_dialog_new_with_buttons):
2910         Create buttons with finger size.
2911
2912         * examples/hildon-dialog-example.c (main): Use HildonDialog
2913         methods to add buttons.
2914
2915 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2916
2917         * src/hildon-entry.c: Updated HildonButton documentation.
2918
2919 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
2920
2921         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2922         button value label with (FALSE, FALSE) to prevent NB#88126 from
2923         being triggered.
2924
2925 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2926
2927         * examples/hildon-pannable-area-example.c,
2928         (main): Removed examples panning a vbox inside a pannable
2929         area. Check bug NB#87965
2930
2931 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
2932
2933         Patch contributed by Kris Rietveld (kris@imendio.com)
2934
2935         * src/hildon-pannable-area.c,
2936         (hildon_pannable_area_get_topmost): replaced the get_geometry with
2937         get_size and get_position, this saves an X server roundtrip.
2938
2939 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
2940
2941         * doc/hildon-docs.sgml
2942         * doc/hildon.types
2943         * examples/Makefile.am
2944         * examples/hildon-entry-example.c
2945         * src/Makefile.am
2946         * src/hildon-entry.c
2947         * src/hildon-entry.h
2948         * src/hildon.h:
2949         New HildonEntry widget, with example.
2950
2951 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
2952
2953         * src/hildon-button.c (hildon_button_construct_child): Pack the
2954         image with expand == fill == FALSE. This is a workaround for a bug
2955         in GtkBox.
2956
2957 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
2958
2959         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
2960         labels for the text column, to make it more look more dynamic.
2961
2962 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
2963
2964         * src/hildon-time-selector.c
2965         Define gettext auxiliar macro N_
2966         (_create_minutes_model)
2967         (_create_hours_model)
2968         (_create_ampm_model): use of strftime in order to fill the model
2969         * src/hildon-date-selector.c
2970         (hildon_date_selector_finalize):
2971         (_locales_init): remove the logic related to get the name of the months
2972         using nl_langinfo, as it is not required anymore
2973         (_create_day_model)
2974         (_create_year_model)
2975         (_create_month_model)
2976         (_update_day_model): use of strftime in order to fill the model properly
2977
2978
2979 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
2980
2981         * src/hildon-button.h
2982         * src/hildon-button.c (hildon_button_get_image): New method to
2983         retrieve the image.
2984
2985 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
2986
2987         * src/hildon-touch-selector.c:
2988         (hildon_touch_selector_remove_column): Remove from the correct parent
2989         and also remove the list element and free it.
2990         Fixes: NB#88049
2991
2992 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
2993
2994         * src/hildon-time-selector.c
2995         (_create_hours_model): change the range on 12h ampm format in order to use
2996         a 12-11 range instead of previous 01-12 range
2997         (hildon_time_selector_set_time): change the way to select the current time
2998         on 12h ampm format, due the change on the range
2999         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3000         Fixes: NB#88036
3001
3002 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
3003
3004         * src/hildon-touch-selector.c
3005         (hildon_date_touch_selector_get_selected): fix the selection mode check,
3006         in order to allow use this function on multiple row selection mode if
3007         the column is different that the first one
3008         Fixes: NB#88047
3009
3010 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
3011
3012         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3013         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3014
3015 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3016
3017         * src/hildon-date-selector.h: clean some comments, now on the .c
3018         * src/hildon-date-selector.c
3019         (hildon_date_selector_select_month): first implementation
3020         (hildon_date_selector_select_day): added documentation, reimplemented
3021         using hildon_date_selector_select_current_date to avoid repeat code
3022         Fixes: NB#88027
3023
3024 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
3025
3026         Reviewed interaction logic based on device experiences, refactored
3027         code.
3028
3029         * src/hildon-pannable-area.c,
3030         (hildon_pannable_area_class_init): Updated default vmax speed.
3031         (hildon_pannable_area_calculate_velocity): Added this function, it
3032         avoids duplicate valocity calculation. Adjusted calculation to
3033         avoid problems with zero dist events.
3034
3035         (hildon_pannable_area_motion_notify_cb): Now we use the
3036         calculate_velocity function.
3037
3038 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3039
3040         * src/hildon-date-selector.c
3041         (hildon_date_selector_select_current_date): fix the day range check
3042         as it failed using the last day of the current month
3043         Fixes NB#88023
3044
3045 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
3046
3047         * src/hildon-touch-selector.c
3048         (hildon_touch_selector_get_num_columns): added a parameter validation
3049         Fixes: NB#88022
3050
3051 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3052
3053         * examples/Makefile.am
3054         * examples/hildon-edit-toolbar-example.c: Example of the
3055         HildonEditToolbar widget.
3056
3057 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3058
3059         * configure.ac: postrelease version bump.
3060
3061 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3062
3063         Release 2.1.6-1.
3064
3065         * configure.ac: prerelease version bump.
3066         * debian/changelog: update.
3067
3068 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3069
3070         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3071         renderer to display stock icons in the touch list. Also, set the sizes
3072         to the recommended in the style guide.
3073
3074 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3075         * src/hildon-touch-selector.h
3076         (hildon_touch_selector_set_active_iter): renamed, now is
3077         hildon_touch_selector_select_iter
3078         (hildon_touch_selector_get_active_iter): renamed, now is
3079         hildon_touch_selector_get_selected
3080         (hildon_touch_selector_unselect_iter): added
3081         * src/hildon-touch-selector.c
3082         Update after API modification (methods renamed)
3083         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3084         order to avoid problems selecting multiple elements on the column
3085         (hildon_touch_selector_unselect_iter): added the implementation
3086         * src/hildon-time-selector.c
3087         * src/hildon-date-selector.c
3088         * src/hildon-touch-selector-entry.c
3089         Update methods calls after hildon-touch-selector.h API modification (methods
3090         renamed)
3091
3092 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
3093
3094         * src/hildon-stackable-window.c
3095         (hildon_stackable_window_finalize): Call the parent class's finalize.
3096
3097 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3098
3099         * examples/hildon-touch-selector-example.c: (create_selector): Use
3100         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3101         cell height.
3102
3103 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
3104
3105         * examples/hildon-touch-selector-example.c: (create_selector): Do not
3106         set a cell background color, to respect theming.
3107
3108 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
3109
3110         * doc/hildon-docs.sgml
3111         * doc/hildon.types
3112         * src/Makefile.am
3113         * src/hildon-edit-toolbar.c
3114         * src/hildon-edit-toolbar.h
3115         * src/hildon.h: New HildonEditToolbar widget.
3116
3117 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
3118
3119         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3120         extra GtkVBox.
3121
3122 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3123         * src/hildon-touch-selector.c
3124         (_create_new_column): use g_object_set instead of two g_object_set_property
3125
3126 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
3127         * src/hildon-touch-selector.c
3128         (_create_new_column): use of hildon_gtk_tree_view_new to create
3129         the treeview, instead of use directly g_object_new
3130         (_create_new_column): update the property name "vindicator-mode" for the
3131         new one "vscrollbar-policy"
3132         * examples/hildon-date-button-example.c
3133         * examples/hildon-picker-button-multicolumn-example.c
3134         * examples/hildon-touch-selector-entry-example.c
3135         * examples/hildon-touch-selector-example.c
3136         * examples/hildon-time-button-example.c
3137         * examples/hildon-picker-button-example.c
3138         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3139         to all the treeviews inside a pannable area.
3140
3141 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3142
3143         * src/hildon-button.h
3144         * src/hildon-button.c (hildon_button_init)
3145         (hildon_button_set_arrangement, hildon_button_set_alignment)
3146         (hildon_button_set_title_alignment)
3147         (hildon_button_set_value_alignment)
3148         (hildon_button_set_image_alignment)
3149         (hildon_button_construct_child): New methods to set the alignment
3150         of the individual components of the button (title, value,
3151         image). Also, new method to alter the xscale and yscale properties
3152         of the GtkAlignment inside the button, so more complex layouts can
3153         be created.
3154
3155 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
3156
3157         * src/hildon-button.c (hildon_button_style_set)
3158         (hildon_button_class_init, hildon_button_set_arrangement)
3159         (hildon_button_construct_child): Apply style properties
3160         correctly. Use the 'image-spacing' style property too.
3161
3162 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
3163
3164         * src/hildon-app-menu.c (hildon_app_menu_style_set)
3165         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3166         correctly.
3167
3168 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3169
3170         * src/hildon-pannable-area.c,
3171         (hildon_pannable_area_size_request): Fixed problem with
3172         pannable-area size_request.
3173
3174 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
3175
3176         Added management for the grab-focus to a child widget, like a
3177         range, we need to fade out the scrollbar when releasing.
3178
3179         * src/hildon-pannable-area.c,
3180         (hildon_pannable_area_init): Connected the grab-focus signal to
3181         the callback.
3182         (hildon_pannable_area_grab_notify): Added this function in order
3183         to manage the situation when the grab-focus ends. We have to
3184         fade-out the scrollbar.
3185
3186 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3187
3188         * src/hildon-app-menu.c: Minor documentation update.
3189
3190 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
3191
3192         * src/hildon-app-menu.c
3193         * examples/hildon-app-menu-example.c (create_menu): Update
3194         examples and documentation to explain how to connect callbacks.
3195
3196 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
3197
3198         * examples/hildon-button-example.c
3199         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3200         hildon_stackable_window_new instead of gtk_window_new
3201
3202 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
3203
3204         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3205         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3206         (hildon_pannable_area_set_property),
3207         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3208         (hildon_pannable_area_unrealize),
3209         (hildon_pannable_area_size_request),
3210         (hildon_pannable_area_size_allocate),
3211         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3212         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3213         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3214         (hildon_pannable_area_initial_effect),
3215         (hildon_pannable_area_redraw),
3216         (hildon_pannable_area_scroll_indicator_fade),
3217         (hildon_pannable_area_expose_event),
3218         (hildon_pannable_area_get_topmost), (synth_crossing),
3219         (hildon_pannable_area_button_press_cb),
3220         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3221         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3222         (hildon_pannable_area_motion_notify_cb),
3223         (hildon_pannable_area_button_release_cb),
3224         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3225         (hildon_pannable_area_remove),
3226         (hildon_pannable_calculate_vel_factor): Widget refactorization,
3227         chage the code layout to a more GtkWidget like. Review the use of
3228         variables.
3229
3230 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
3231
3232         * examples/hildon-pannable-area-example-4.c,
3233         (main): Modified the name of the hindicator_mode to
3234         hscrollbar_visible
3235
3236         * src/hildon-pannable-area.c,
3237         (hildon_pannable_area_class_init),
3238         (hildon_pannable_area_motion_notify_cb),
3239         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3240         we have reduced the amount of signals and managed reviewed its
3241         rationale. Changed the default decelerate value.
3242
3243         (hildon_pannable_area_add),
3244         (hildon_pannable_area_redraw): Refactored functions.
3245
3246         (hildon_pannable_area_init),
3247         (hildon_pannable_area_get_property),
3248         (hildon_pannable_area_set_property):
3249         (hildon_pannable_draw_vscroll),
3250         (hildon_pannable_draw_hscroll),
3251         (hildon_pannable_area_initial_effect),
3252         (hildon_pannable_area_expose_event),
3253         (hildon_pannable_area_scroll),
3254         (hildon_pannable_area_button_press_cb),
3255         (hildon_pannable_area_realize): Replaced the names hindicator_mode
3256         and vindicator_mode with hscrollbar_policy and
3257         vscrollbar_policy. Replaced hscroll and vscroll with
3258         hscroll_visible and vscroll_visible.
3259
3260         (hildon_pannable_area_refresh): Refactor the function, remove
3261         variables and check the calls to this function, added resize
3262         conditions in case the children change their layout.
3263
3264         (hildon_pannable_area_size_request): Added more detailed
3265         size_request calculation.
3266
3267
3268 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
3269
3270         * src/hildon-color-chooser.c
3271         (init_borders): use the correct gtk_border_free instead of g_free, to
3272         avoid a crash when this widget is used (ie: the three color selection
3273         examples)
3274
3275 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3276
3277         * src/hildon-check-button.c,
3278         (hildon_check_button_set_active): Fixed problem when setting the
3279         active value, the widget was not redrawn.
3280
3281 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
3282
3283         * src/hildon-pannable-area.c,
3284         (hildon_pannable_area_refresh),
3285         (hildon_pannable_area_scroll),
3286         (hildon_pannable_area_motion_notify_cb): Small code style change.
3287
3288         (hildon_pannable_area_class_init): Default initial_hint set to
3289         FALSE, it is not in the specs.
3290
3291         (hildon_pannable_area_initial_effect),
3292         (hildon_pannable_area_expose_event),
3293         (hildon_pannable_area_map),
3294         (hildon_pannable_area_init): Moved the launching point of the
3295         initial effect, it was in map but the sizes where not correct in
3296         that method so we do not know if we have the reproduce it. Now it
3297         is placed in the expose_event method and uses a variable to
3298         reproduce it just once.
3299
3300 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3301
3302         * src/hildon-pannable-area.c,
3303         (hildon_pannable_draw_vscroll),
3304         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3305         position allowed for the scrollbars.
3306
3307         (hildon_pannable_area_size_allocate): Small style change.
3308
3309 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3310
3311         * src/hildon-pannable-area.c,
3312         (hildon_pannable_area_scroll_indicator_fade),
3313         (hildon_pannable_area_button_press_cb),
3314         (hildon_pannable_area_button_release_cb),
3315         (hildon_pannable_area_scroll_cb),
3316         (hildon_pannable_area_expose_event),
3317         (hildon_pannable_area_init): Added the define parameter
3318         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3319         and refactor the fade variable.
3320
3321 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
3322
3323         * src/hildon-pannable-area.c,
3324         (hildon_pannable_area_redraw),
3325         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3326         lines, we were reimplemeting the redraw code.
3327
3328 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3329
3330         * src/hildon-pannable-area.c,
3331         (hildon_pannable_area_scroll_cb),
3332         (hildon_pannable_area_realize),
3333         (hildon_pannable_area_class_init): Added scroll_event management
3334         for pannable area, now we can scroll the usual desktop method.
3335
3336         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3337         initialization of the parameters should depend on idle_id.
3338
3339         (hildon_pannable_area_init),
3340         (hildon_pannable_area_map): Small code style modifications
3341
3342 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
3343
3344         * src/hildon-pannable-area.c
3345         (hildon_pannable_area_button_press_cb),
3346         (hildon_pannable_area_motion_notify_cb),
3347         (hildon_pannable_area_button_release_cb),
3348         (hildon_pannable_area_size_allocate),
3349         (hildon_pannable_area_scroll_to): Improved the timeouts
3350         management, we avoid creating them each time.
3351
3352 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3353
3354         * src/hildon-pannable-area.c:
3355         (hildon_pannable_area_refresh),
3356         (hildon_pannable_area_motion_notify_cb),
3357         (hildon_pannable_area_class_init):
3358         * src/hildon-pannable-area.h:
3359         * src/hildon-touch-selector.c
3360         (_create_new_column):
3361         * examples/hildon-pannable-area-example-4.c:
3362         (horizontal_movement),
3363         (vertical_movement),
3364         (main):
3365         Replaced the names of enums in the HildonPannableArea:
3366            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
3367               HILDON_MOVEMENT_MODE_*
3368            -  HILDON_PANNABLE_AREA_MOV_* ->
3369               HILDON_MOVEMENT_*
3370            - Removed HildonPannableAreaIndicatorMode, now we
3371              use GtkPolicyType
3372
3373 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3374
3375         * examples/hildon-pannable-area-touch-grid-example.c
3376         * examples/hildon-pannable-area-touch-list-example.c: Fix
3377         compilation warnings.
3378
3379 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3380
3381         * src/hildon-gtk.c (hildon_gtk_button_new)
3382         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3383         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3384         images overriding the value of the "gtk-button-images" setting.
3385
3386 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
3387
3388         * src/hildon-check-button.c (hildon_check_button_new):
3389         Instead of using a custom container, display the label and the
3390         checkbox using the standard GtkButton API.
3391
3392         * examples/hildon-check-button-example.c (main): Don't use
3393         hildon_check_button_set_label() anymore
3394
3395         * src/hildon-check-button.h
3396         * src/hildon-check-button.c
3397         (hildon_check_button_set_label, hildon_check_button_get_label):
3398         Set as deprecated, now we're using gtk_button_{get,set}_label()
3399
3400 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
3401
3402         * src/hildon-pannable-area.c,
3403         (hildon_pannable_area_get_topmost): Fixed bug with click in the
3404         GtkTreeview first line we detected it after the inclusion of the
3405         GtkWindowImpl in gtk+. We now check if the window is visible, not
3406         just if the pointer is over the window.
3407         (hildon_pannable_axis_scroll),
3408         (hildon_pannable_area_expose_event): Small style changes.
3409
3410 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3411
3412         * src/hildon-button.c: Update documentation.
3413
3414 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
3415
3416         * examples/hildon-button-example.c: Add a switch to show images in
3417         the buttons.
3418
3419 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3420
3421         * doc/hildon-docs.sgml: Some docs reorganization.
3422
3423 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3424
3425         * examples/hildon-pannable-area-touch-list-example.c
3426         (create_tree_view)
3427         * examples/hildon-pannable-area-touch-grid-example.c
3428         (create_icon_view): Use gtk_{tree,icon}_view_new() and
3429         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3430         Fix memory leak when setting the tree model.
3431
3432 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3433
3434         Released 2.1.4
3435
3436 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
3437
3438         * doc/hildon.types: Remove duplicated hildon_window_get_type
3439         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3440         documentation comment.
3441
3442 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3443
3444         * doc/Makefile.am: Complete list of private headers.
3445
3446 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3447
3448         * doc/hildon-docs.sgml
3449         * src/hildon-app-menu.c
3450         * src/hildon-bread-crumb.c
3451         * src/hildon-button.c
3452         * src/hildon-gtk.c
3453         * src/hildon-program.c
3454         * src/hildon-stackable-window.c
3455         * src/hildon-window.c: Lots of documentation updates.
3456
3457 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
3458
3459         * debian/control: Depend on Gtk 2:2.12.9-0osso3
3460
3461         * configure.ac: Require Gtk+ 2.12.9 at least
3462
3463 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
3464
3465         * src/hildon-pannable-area.c
3466         (hildon_pannable_area_scroll_indicator_fade),
3467         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3468         to protect the return of this timeout callbacks, avoiding deadlocks.
3469
3470 2008-08-12  Christian Dywan  <christian@imendio.com>
3471
3472         * src/hildon-*.c
3473         * src/hildon-*.h: Ensure a consistent include order,
3474         include <gtk/gtk.h> instead of particular files and
3475         only include the topmost header in the gtk stack. See NB #39857
3476
3477 2008-08-12  Christian Dywan  <christian@imendio.com>
3478
3479         * src/hildon-picker-dialog.c
3480         * src/hildon-touch-selector.c: Fix warnings about unused and
3481         uninitialized variables.
3482
3483 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3484
3485         * examples/Makefile.am
3486         * examples/hildon-check-button-example.c: Example of the hildon
3487         check button.
3488
3489 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3490
3491         * src/hildon-window.h
3492         * src/hildon-window.c (hildon_window_class_init)
3493         (hildon_window_unset_program): Don't make
3494         hildon_window_unset_program a virtual function anymore.
3495
3496         * src/hildon-stackable-window.c: Update documentation
3497
3498 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3499
3500         * doc/Makefile.am
3501         * doc/hildon-docs.sgml
3502         * doc/visual_index.xml
3503         * src/hildon-defines.c
3504         * src/hildon-gtk.c
3505         * src/hildon-helper.c
3506         * src/hildon-range-editor.c: Lots of documentation fixes.
3507
3508 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3509
3510         * examples/hildon-picker-button-multicolumn-example.c
3511         (create_touch_selector): Fix compilation warning.
3512
3513 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3514
3515         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3516         (hildon_pannable_area_button_release_cb)
3517         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3518
3519 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3520
3521         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3522         assertion.
3523
3524 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3525
3526         * src/hildon-bread-crumb-trail.h
3527         * src/hildon-date-editor.c
3528         * src/hildon-date-selector.c
3529         * src/hildon-pannable-area.c
3530         * src/hildon-picker-dialog.c
3531         * src/hildon-time-selector.c
3532         * src/hildon-touch-selector-entry.c
3533         * src/hildon-touch-selector.c
3534         * src/hildon-touch-selector.h: Misc documentation fixes
3535
3536 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
3537
3538         * examples/hildon-date-editor-example.c (main): Updated date
3539         editor example.
3540
3541         * examples/hildon-note-example.c (on_confirmation_clicked):
3542         Updated confirmation note example.
3543
3544         * src/hildon-date-editor.c
3545         * src/hildon-note.c: Updated sample programs in documentation.
3546         Fixes: NB#87437
3547
3548 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3549
3550         * src/hildon-date-button.h:
3551         * src/hildon-picker-button.h:
3552         * src/hildon-time-button.c:
3553         * src/hildon-time-button.h:
3554
3555         Some declarations changes to allow gtk-doc to document the widgets
3556         properly.
3557
3558 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3559
3560         * src/hildon-date-button.c: Document the widget.
3561         * src/hildon-time-button.c: Document the widget.
3562
3563 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
3564
3565         * src/hildon-picker-button.c: Document the widget.
3566         * src/hildon-touch-selector-entry.c: Document the widget.
3567
3568 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3569
3570         * doc/hildon-docs.sgml
3571         * src/Makefile.am
3572         * src/hildon.h
3573         * src/hildon-check-button.h
3574         * src/hildon-check-button.c: New functions to create the Hildon
3575         Touch Checkbox.
3576
3577         * src/hildon-gtk.h
3578         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3579
3580 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3581
3582         * src/hildon-button.h
3583         * src/hildon-button.c
3584         (hildon_button_add_title_size_group)
3585         (hildon_button_add_value_size_group)
3586         (hildon_button_add_image_size_group)
3587         (hildon_button_add_size_groups): New functions to set size groups
3588         for the button labels and image.
3589         (hildon_button_new_full): Removed
3590
3591 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
3592
3593         * src/hildon-time-selector.c
3594         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3595         in order to avoid a crash if gconf is not available
3596
3597 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3598
3599         * src/hildon-button.c (hildon_button_set_arrangement)
3600         (hildon_button_construct_child): Don't construct the button child
3601         before setting the arrangement.
3602
3603 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3604
3605         * src/hildon-program-private.h
3606         * src/hildon-program.c
3607         * src/hildon-program.h
3608         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3609         (hildon_program_peek_window_stack)
3610         (hildon_program_pop_window_stack)
3611         (hildon_program_go_to_root_window): HildonProgram now has a
3612         separate list for stackable windows. Functions are provided to
3613         manage that list with a stack-like API.
3614
3615         * src/hildon-stackable-window.c: Stackable window management is
3616         now much simpler with the new HildonProgram API. Windows no
3617         longer need to be manually added to the program, they're
3618         automatically pushed to the top of the stack when shown.
3619
3620         * examples/hildon-stackable-window-example.c: Updated example to
3621         reflect the API changes.
3622
3623 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3624
3625         * src/hildon-touch-selector.c: Comment out unimplemented
3626         hildon_touch_selector_insert_column() to avoid a compile warning.
3627
3628 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
3629
3630         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3631         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3632         (hildon_touch_selector_set_column_selection_mode),
3633         (_hildon_touch_selector_set_model),
3634         (hildon_touch_selector_set_model):
3635
3636         Complete review of HildonTouchSelector documentation.
3637
3638 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
3639
3640         * doc/hildon-docs.sgml
3641         * src/Makefile.am
3642         * src/hildon.h
3643         * src/hildon-gtk.h
3644         * src/hildon-gtk.c: Convenience functions for standard Gtk
3645         widgets, used to easily perform frequent operations.
3646
3647         * src/hildon-button-helpers.h
3648         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3649
3650         * src/hildon-helper.h
3651         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3652         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3653
3654         * src/hildon-button.h
3655         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3656
3657 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3658
3659         * src/hildon-button.c (hildon_button_init)
3660         (hildon_button_set_arrangement, hildon_button_construct_child):
3661         Pack the image and the labels inside the same GtkAlignment so
3662         gtk_button_set_alignment() can be used
3663
3664 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3665
3666         * src/hildon-button.h
3667         * src/hildon-button.c
3668         (hildon_button_init, hildon_button_set_image)
3669         (hildon_button_set_image_position)
3670         (hildon_button_construct_child): New functions to add an image to
3671         the HildonButton.
3672
3673 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3674
3675         * src/hildon-date-button.c
3676         * src/hildon-picker-button.c
3677         * src/hildon-time-button.c
3678         * src/hildon-button.c:
3679         (hildon_button_class_init): "size-flags" renamed to "size"
3680         (hildon_button_set_title): Hide the title label if set to NULL.
3681
3682 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
3683
3684         HildonButtonFlags split into HildonButtonArrangement (to set the
3685         button layout) and HildonSizeType (which can be used for any
3686         widget).
3687
3688         * src/hildon-button.h
3689         * src/hildon-button.c
3690         (hildon_button_class_init)
3691         (hildon_button_set_arrangement)
3692         (hildon_button_set_property): New "size-flags"
3693         property. "arrangement-flags" renamed to "arrangement".
3694         (hildon_button_new, hildon_button_new_with_text)
3695         (hildon_button_new_full): Constructors updated to reflect type changes.
3696
3697         * src/hildon-helper.h
3698         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3699         to set the size of a widget.
3700
3701         * src/Makefile.am
3702         * src/hildon.h
3703         * src/hildon-button-helpers.c
3704         * src/hildon-button-helpers.h: New hildon-button-helpers module.
3705
3706         * src/hildon-date-button.c
3707         * src/hildon-date-button.h
3708         * src/hildon-picker-button.c
3709         * src/hildon-picker-button.h
3710         * src/hildon-time-button.c
3711         * src/hildon-time-button.h: Updated widgets to reflect
3712         HildonButton API changes.
3713
3714         * examples/hildon-button-example.c
3715         * examples/hildon-date-button-example.c
3716         * examples/hildon-picker-button-example.c
3717         * examples/hildon-picker-button-multicolumn-example.c
3718         * examples/hildon-time-button-example.c
3719         * examples/hildon-touch-selector-entry-example.c
3720         * examples/hildon-touch-selector-example.c: Updated examples to
3721         reflect HildonButton API changes.
3722
3723 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3724
3725         * doc/hildon-docs.sgml:
3726         * doc/hildon.types:
3727         * examples/Makefile.am:
3728         * examples/hildon-touch-selector-entry-example.c:
3729         * src/Makefile.am:
3730         * src/hildon-touch-selector-entry.c:
3731         * src/hildon-touch-selector-entry.h:
3732         * src/hildon.h:
3733
3734         Moved HildonTouchSelectorEntry from sandbox. Added its
3735         documentation and examples.
3736
3737 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3738
3739         * src/hildon-touch-selector.h:
3740         * examples/hildon-picker-button-multicolumn-example.c:
3741         (hildon_touch_selector_append_text_column): Add a gboolean
3742         parameter to determine if text must be centered in the column.
3743
3744         * src/hildon-date-selector.c: (hildon_date_selector_init):
3745         * src/hildon-time-selector.c: (hildon_time_selector_init):
3746         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3747         (create_touch_selector): Update widgets and example to reflect
3748         the API change.
3749
3750 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
3751
3752         * src/hildon-touch-selector.c:
3753         (hildon_touch_selector_set_active_iter): Set also the cursor in
3754         the active row.
3755
3756 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
3757
3758         * doc/hildon-docs.sgml
3759         * doc/hildon.types
3760         * src/Makefile.am
3761         * src/hildon-toggle-button.c
3762         * src/hildon-toggle-button.h
3763         * src/hildon.h: Removed HildonToggleButton widget, a derived
3764         class is not necessary for this.
3765
3766 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
3767
3768         * src/hildon-pannable-area.c,
3769         (hildon_pannable_area_realize),
3770         (hildon_pannable_area_size_allocate): Code refactoring, add tests
3771         for negative sizes.
3772
3773 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
3774
3775         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3776         "done" button the default widget for the dialog.
3777
3778 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3779
3780         * src/hildon-touch-selector.c:
3781         (hildon_touch_selector_class_init),
3782         (hildon_touch_selector_get_property),
3783         (_hildon_touch_selector_set_model),
3784         (_hildon_touch_selector_has_multiple_selection),
3785         (hildon_touch_selector_has_multiple_selection):
3786         Add a "has-multiple-selection" property with a virtual
3787         has_multiple_selection() method to allow derived classes to
3788         override the default value for it. See the method and property
3789         documentation for details.
3790
3791         * src/hildon-touch-selector.h: Add the new API.
3792
3793         * src/hildon-picker-dialog.c: (requires_done_button): Call
3794         hildon_touch_selector_has_multiple_selection() instead of
3795         determining the need for a button itself.
3796
3797 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3798
3799         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3800         (_hildon_touch_selector_set_model),
3801         (hildon_touch_selector_set_model): Move working code to
3802         _hildon_touch_selector_set_mode(). Call the class method instead.
3803
3804         * src/hildon-touch-selector.h: Add (*set_model) to
3805         HildonTouchSelectorClass.
3806
3807         Make hildon_touch_selector_set_model() a virtual method, so that
3808         derived classes can extend it and do fancy stuff with the model.
3809
3810 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
3811
3812         * configure.ac: Set back the tarname in AC_INIT to hildon.
3813
3814 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3815
3816         Release 2.1.3
3817
3818         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3819         instead of libesd (NB#86876). Volume handling is still an open issue.
3820
3821         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3822         cleanups.
3823
3824 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3825
3826         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3827         (hildon_touch_selector_append_column): Make the widget a GtkVBox
3828         derived class to ease placement of an entry widget in
3829         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3830         end, where the selector columns are packed now.
3831
3832 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
3833
3834         * src/hildon-picker-button.c: Removed the simple _text() API.
3835         * src/hildon-picker-button.h: Likewise.
3836
3837         * src/hildon-touch-selector.h:
3838         * src/hildon-touch-selector.c:
3839         (hildon_touch_selector_new_text),
3840         (hildon_touch_selector_append_text),
3841         (hildon_touch_selector_prepend_text),
3842         (hildon_touch_selector_insert_text):
3843
3844         Moved the simple _text() API from HildonPickerButton to
3845         HildonTouchPicker, to provide better escalability and not to tie
3846         that API to HildonPickerButton.
3847
3848         * examples/hildon-picker-button-example.c: (main): Example updated.
3849
3850 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3851
3852         * src/hildon-button.c: Updated documentation.
3853
3854         * examples/hildon-button-example.c: Add the posibility to create
3855         the buttons using horizontal layout for title and value.
3856
3857 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3858
3859         * src/hildon-app-menu-private.h
3860         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3861         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3862         GtkSizeGroup for the filters, use the 'homogeneous' property of
3863         the box instead.
3864
3865 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
3866
3867         * examples/hildon-button-example.c: Updated example.
3868
3869 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
3870
3871         * doc/hildon-docs.sgml:
3872         * doc/hildon.types:
3873
3874         Update documentation.
3875
3876         * examples/Makefile.am: Update renamed examples.
3877
3878         * examples/hildon-picker-button-multicolumn-example.c:
3879         (create_touch_selector), (main): Update after the rename.
3880
3881         * examples/hildon-touch-picker-example.c: Removed.
3882         * examples/hildon-touch-selector-example.c: (value_changed),
3883         (create_selector), (get_visible_content), (main): Renamed from
3884         hildon-touch-picker-example.c
3885
3886         * src/Makefile.am: Updated renamed files.
3887
3888         * src/hildon-date-button.c: (hildon_date_button_init),
3889         (hildon_date_button_get_date), (hildon_date_button_set_date):
3890         * src/hildon-date-selector.c: (hildon_date_selector_init),
3891         (_custom_print_func), (_update_day_model),
3892         (_manage_selector_change_cb),
3893         (hildon_date_selector_select_current_date),
3894         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3895         * src/hildon-date-selector.h:
3896         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3897         (hildon_picker_button_set_property),
3898         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3899         (hildon_picker_button_init), (hildon_picker_button_new_text),
3900         (hildon_picker_button_append_text),
3901         (hildon_picker_button_prepend_text),
3902         (hildon_picker_button_insert_text),
3903         (hildon_picker_button_set_selector),
3904         (hildon_picker_button_get_selector):
3905         * src/hildon-picker-button.h:
3906         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3907         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3908         (_update_title_on_selector_changed_cb), (requires_done_button),
3909         (_hildon_picker_dialog_set_selector),
3910         (hildon_picker_dialog_set_selector),
3911         (hildon_picker_dialog_get_selector):
3912         * src/hildon-picker-dialog.h:
3913         * src/hildon-time-button.c: (hildon_time_button_init),
3914         (hildon_time_button_get_time), (hildon_time_button_set_time):
3915         * src/hildon-time-selector.c: (hildon_time_selector_init),
3916         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3917         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3918         * src/hildon-time-selector.h:
3919         * src/hildon.h:
3920
3921         Massive code updates after the rename.
3922
3923         * src/hildon-touch-picker.c: Removed.
3924         * src/hildon-touch-picker.h: Removed.
3925
3926         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3927         (hildon_touch_selector_init), (hildon_touch_selector_map),
3928         (hildon_touch_selector_remove), (_default_print_func),
3929         (_selection_changed_cb), (_create_new_column),
3930         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3931         (hildon_touch_selector_append_text_column),
3932         (hildon_touch_selector_remove_column),
3933         (hildon_touch_selector_set_column_attributes),
3934         (hildon_touch_selector_insert_column),
3935         (hildon_touch_selector_get_num_columns),
3936         (hildon_touch_selector_get_column_selection_mode),
3937         (hildon_touch_selector_set_column_selection_mode),
3938         (hildon_touch_selector_set_print_func),
3939         (hildon_touch_selector_get_print_func),
3940         (hildon_touch_selector_get_active_iter),
3941         (hildon_touch_selector_set_active_iter),
3942         (hildon_touch_selector_get_selected_rows),
3943         (hildon_touch_selector_get_model),
3944         (hildon_touch_selector_set_model),
3945         (hildon_touch_selector_get_current_text),
3946         (_hildon_touch_selector_center_on_selected_items):
3947         * src/hildon-touch-selector.h: Renamed from
3948         hildon-touch-picker.[ch]
3949
3950         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
3951         references, code examples, and related documentation.
3952
3953 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
3954
3955         * doc/hildon-docs.sgml
3956         * doc/hildon.types
3957         * src/Makefile.am
3958         * src/hildon-toggle-button.c
3959         * src/hildon-toggle-button.h
3960         * src/hildon.h: New HildonToggleButton widget.
3961
3962 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
3963
3964         * src/hildon-button.c: Add API documentation.
3965         (hildon_button_set_size_groups): Check input parameters
3966
3967 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
3968
3969         * src/hildon-pannable-area.c
3970         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
3971         effect after reaching the movement thredshold. This way we start
3972         using the distance after passing the thredshold.
3973
3974 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
3975
3976         * src/hildon-button.c: (hildon_button_set_property): Use the
3977         appropriate g_value_get_flags() method.
3978
3979 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
3980
3981         * doc/hildon-docs.sgml:
3982         * doc/hildon.types:
3983
3984          Add the touch pickers, picker dialogs, and picker button widgets
3985         to the documentation.
3986
3987 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
3988
3989         * src/hildon-button.c: (hildon_button_set_property),
3990         (hildon_button_class_init): Make "arrangement-flags" a proper
3991         G_TYPE_FLAGS derived property.
3992
3993 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
3994
3995         * examples/Makefile.am: Add below examples.
3996         * examples/hildon-date-button-example.c:
3997         * examples/hildon-picker-button-example.c:
3998         * examples/hildon-picker-button-multicolumn-example.c:
3999         * examples/hildon-time-button-example.c:
4000         * examples/hildon-touch-picker-example.c:
4001
4002         Add examples for the recently added touch pickers,
4003         picker dialogs, and picker button widgets.
4004
4005 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4006
4007         * src/hildon-button.c: Add some API documentation
4008
4009 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4010
4011         * src/hildon-button.h
4012         * src/hildon-button.c
4013         (hildon_button_new)
4014         (hildon_button_new_with_text): New constructor to create a button
4015         with no text at all.
4016         (hildon_button_init, hildon_button_set_arrangement)
4017         (hildon_button_set_title, hildon_button_set_value)
4018         (hildon_button_set_text)
4019         (hildon_button_construct_child): Hide the value when it's not used
4020         so the rest of the text is properly aligned.
4021         Allow creating buttons with arbitrary widgets inside (not just
4022         title/value labels).
4023
4024         * examples/hildon-button-example.c (vertical_buttons_window)
4025         (horizontal_buttons_window): Update example to use new API.
4026
4027 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4028
4029         * src/Makefile.am: Added HildonTimeButton.
4030         * src/hildon-time-button.c: Added missing LGPL header.
4031         * src/hildon-time-button.h: Added missing LGPL header.
4032         * src/hildon.h: Add hildon-time-button.h
4033
4034         Copied HildonTimeButton from sandbox to trunk. Future work on this
4035         widget must take place in trunk.
4036
4037 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4038
4039         * src/Makefile.am: Added HildonDateButton.
4040         * src/hildon-date-button.c: Update includes.
4041         * src/hildon.h: Add hildon-date-button.h
4042
4043         Copied HildonDateButton from sandbox to trunk. Future work on this
4044         widget must take place in trunk.
4045
4046 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4047
4048         * src/Makefile.am: Added HildonPickerButton.
4049         * src/hildon-picker-button.h: Update includes.
4050         * src/hildon.h: Add hildon-picker-button.h
4051
4052         Copied HildonPickerButton from sandbox to trunk. Future work on
4053         this widget must take place in trunk.
4054
4055 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4056
4057         * src/Makefile.am: Added HildonPickerDialog.
4058         * src/hildon-picker-dialog.c: Update includes.
4059         * src/hildon.h: Add hildon-picker-dialog.h
4060
4061         Copied HildonPickerDialog from sandbox to trunk. Future work
4062         on this widget must take place in trunk.
4063
4064 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4065
4066         * src/Makefile.am: Added HildonTimeSelector.
4067         * src/hildon.h: Add hildon-time-selector.h
4068
4069         Copied HildonTimeSelector widget from sandbox to trunk. Future
4070         work on this widget must happen in trunk.
4071
4072 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4073
4074         * src/Makefile.am: Added HildonDateSelector.
4075         * src/hildon.h: Add hildon-date-selector.h
4076
4077         Copied HildonDateSelector widget from sandbox to trunk.  Future
4078         work on this widget must happen in trunk.
4079
4080 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4081
4082         * src/Makefile.am: Added HildonTouchPicker.
4083         * src/hildon-touch-picker.c: Update includes.
4084         * src/hildon.h: Add hildon-touch-picker.h
4085
4086         Copied HildonTouchPicker widget from sandbox to trunk. Future work
4087         on this widget must happen in trunk.
4088
4089 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
4090
4091         * src/hildon-pannable-area.c:
4092         (hildon_pannable_area_motion_notify_cb): Fix a typo.
4093
4094 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
4095
4096         * examples/hildon-app-menu-example.c (main): Let the window
4097         destroy the menu.
4098
4099 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4100
4101         * src/hildon-pannable-area.c
4102         (hildon_pannable_area_class_init): Set the min value of the
4103         overshoot properties to zero, which points out that not
4104         overshooting allowed.
4105
4106 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4107
4108         Modified the procedure to get the widget at a point inside the
4109         pannable area when using the movement type signals. Now the user
4110         has to call a function to get the child, that way we just
4111         calculate the child in case the user really want to use it and not
4112         all the time.
4113
4114         * src/hildon-marshalers.list: Modified the marshallers, now we do
4115         not have the widget as a parameter.
4116
4117         * src/hildon-pannable-area.c
4118         (hildon_pannable_area_motion_notify_cb),
4119         (hildon_pannable_area_class_init),
4120         (hildon_pannable_get_child_widget_at):  Removed the widget
4121         parameter from the signal callback. We have also refactored the
4122         emission of the signals.
4123
4124         * src/hildon-pannable-area.h: Added a new method to the API to
4125         calculate a widget at a point inside the pannable area,
4126         hildon_pannable_get_child_widget_at.
4127
4128         * examples/hildon-pannable-area-example-4.c
4129         (horizontal_movement): Modified the example to use the new API,
4130         added condition to control which widget is under the event. This
4131         way we can avoid scrolling laterally over other widgets.
4132
4133 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
4134
4135         * src/hildon-pannable-area.c
4136         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4137         modes, we stop getting the pointer events due to returning the
4138         callback without properly calling the get pointer again. Fixed
4139         also an error using the hscroll and vscroll.
4140
4141 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
4142
4143         * src/hildon-app-menu-private.h
4144         * src/hildon-app-menu.c (hildon_app_menu_button_press)
4145         (hildon_app_menu_button_release, hildon_app_menu_init)
4146         (hildon_app_menu_class_init): Don't hide the menu on button
4147         release if the user didn't press outside first.
4148
4149         * src/hildon-window.h
4150         * src/hildon-window.c (hildon_window_toggle_menu)
4151         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4152         hildon_window_toggle_menu a virtual function for the stackable
4153         window to override it.
4154
4155         * src/hildon-stackable-window.h
4156         * src/hildon-stackable-window-private.h
4157         * src/hildon-stackable-window.c
4158         (hildon_stackable_window_realize)
4159         (hildon_stackable_window_finalize)
4160         (hildon_stackable_window_class_init)
4161         (hildon_stackable_window_init)
4162         (hildon_stackable_window_set_main_menu): New function to set the
4163         app menu of a HildonStackableWindow.
4164
4165         * examples/hildon-app-menu-example.c: Remove the button to show
4166         the app menu, now it'll be shown when clicking on the title bar
4167         instead.
4168
4169 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4170
4171         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4172         set the widget name if the arrangement flags do not specify
4173         a particular size.
4174
4175 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
4176
4177         * src/hildon-button.c: (hildon_button_set_property),
4178         (hildon_button_class_init), (hildon_button_new_full),
4179         (hildon_button_set_arrangement): Added "arrangement-flags"
4180         property.
4181
4182         Make the HildonButtonFlags a construction-only property, to allow
4183         subclasses to set them properly.
4184
4185 2008-07-21 Tim Janik  <timj@imendio.com>
4186
4187         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4188         insertion position after backspace, so additional digits are appended,
4189         fixes Bug #85874.
4190
4191 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4192
4193         * src/hildon-pannable-area.c,
4194         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4195         TODO list, it was complete and removed the g_debug and g_print
4196         lines.
4197
4198 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
4199
4200         Added the movement modes to the hildon-pannable-area, with this
4201         modes the developers can control in which directions the widget
4202         can scroll. They can also connect to signals in order to do
4203         something when that happens, allowing applications scroll. There
4204         is an example uploaded showing how to use it.
4205
4206         * examples/Makefile.am:
4207         * examples/hildon-pannable-area-example-4.c: Added this example of
4208         an application using the modes.
4209
4210         * src/hildon-marshalers.list: Added a new marshaller for the new
4211         signals.
4212
4213         * src/hildon-pannable-area.h: Added new enumerations and flags in
4214         order to control the movement modes and the new signals to warn
4215         about the movements in the area.
4216
4217         * src/hildon-pannable-area.c:
4218         (hildon_pannable_axis_scroll),
4219         (hildon_pannable_area_scroll),
4220         (hildon_pannable_area_motion_notify_cb),
4221         (hildon_pannable_area_get_property),
4222         (hildon_pannable_area_set_property),
4223         (hildon_pannable_area_map),
4224         (hildon_pannable_area_class_init),
4225         (hildon_pannable_area_init),
4226         (hildon_pannable_area_jump_to): Added the modes to control the
4227         movement in the widget. We have added properties to control it,
4228         signals to warn about the movements and refactored some code.
4229
4230 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
4231
4232         Changes required in order to allow vfast_factor set to zero to
4233         work properly.
4234
4235         * src/hildon-pannable-area.c:
4236         (hildon_pannable_area_button_press_cb): Changed the condition, it
4237         is required for not allowing click when vfast_factor is zero.
4238         (hildon_pannable_area_timeout): Initialized velocity variables
4239         when we stop moving, it was less than 1 but not zero and we need
4240         to check zero in some situations.
4241         (hildon_pannable_area_class_init): Changed the default value of
4242         the speed factor, now the button_press is just sent in case the
4243         speed is 2 per cent of the max speed.
4244         (hildon_pannable_area_init): Initialization with 0.
4245
4246 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
4247
4248         * src/hildon-pannable-area.c,
4249         (hildon_pannable_area_get_topmost): replaced
4250         gdk_window_get_children with gdk_window_peek_children, this way we
4251         do not have to free the list because it is not a copy.
4252
4253         (hildon_pannable_axis_scroll),
4254         (hildon_pannable_area_scroll),
4255         (hildon_pannable_area_timeout),
4256         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4257         two parameters that were only used inside the
4258         hildon_pannable_area_scroll function.
4259
4260         * examples/hildon-pannable-area-example.c,
4261         (get_sawtooth_label): Fixed small memory leak.
4262
4263 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4264
4265         More checks for the case where the overshoot is bigger than the
4266         size of the widget.
4267
4268         * src/hildon-pannable-area.c:
4269         (hildon_pannable_draw_vscroll),
4270         (hildon_pannable_draw_hscroll): with this new calculation we avoid
4271         to draw the slider of the scrollbar under the other scrollbar.
4272         (hildon_pannable_area_expose_event): added new checks to control
4273         the drawing of the overshooting area rectangle, in case it is too
4274         big for the area of the widget.
4275         (hildon_pannable_area_size_allocate): add more checks to avoid
4276         setting a position to the child widget outside the area.
4277
4278 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
4279
4280         * src/hildon-pannable-area.c
4281         (hildon_pannable_area_size_allocate): Added conditions to control
4282         when overshooting is bigger than the allocated space for the
4283         children, this avoids negative allocations.
4284
4285 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
4286
4287         * doc/hildon-docs.sgml
4288         * doc/hildon.types
4289         * examples/Makefile.am
4290         * examples/hildon-button-example.c
4291         * src/Makefile.am
4292         * src/hildon-button.c
4293         * src/hildon-button.h
4294         * src/hildon.h: Initial version of the new HildonButton widget,
4295         with examples.
4296
4297 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
4298
4299         * src/hildon-pannable-area.c:
4300         (hildon_pannable_area_button_press_cb),
4301         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4302         (hildon_pannable_area_motion_notify_cb),
4303         (hildon_pannable_area_button_release_cb),
4304         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4305         (hildon_pannable_area_jump_to_child):
4306
4307         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4308
4309 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
4310
4311         * examples/Makefile.am
4312         * examples/hildon-pannable-area-touch-grid-example.c
4313         * examples/hildon-pannable-area-touch-list-example.c: Examples of
4314         the Hildon Touch List and Hildon Touch Grid using the
4315         HildonPannableArea widget.
4316
4317 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4318
4319         * src/hildon-pannable-area.c,
4320         (hildon_pannable_area_button_press_cb),
4321         (hildon_pannable_area_refresh),
4322         (hildon_pannable_area_scroll),
4323         (hildon_pannable_area_motion_notify_cb),
4324         (hildon_pannable_area_button_release_cb),
4325         (hildon_pannable_area_expose_event),
4326         (hildon_pannable_area_add),
4327         (hildon_pannable_area_remove),
4328         (hildon_pannable_area_realize),
4329         (hildon_pannable_area_size_allocate),
4330         (hildon_pannable_area_class_init),
4331         (hildon_pannable_area_init),
4332         (hildon_pannable_area_scroll_to_child),
4333         (hildon_pannable_area_jump_to_child): Fixed the problem of
4334         removing the child from the GtkBin, we have rearranged the widget
4335         hierarchy, now there is no GtkAlignment which was not doing
4336         anything interesting but breaking some of the assumptions of
4337         GtkContainer. Now developers if they want to add a GtkAlignment
4338         they could, but it is not inside the area.
4339
4340         We had to review the whole allocation/expose process, now it is
4341         improved and we save at least three signals which would be saving
4342         some time when rendering the widget. The allocation of the
4343         scrollbars is now made in the allocate method as usual.
4344
4345         We have also added some conditions in order to control when there
4346         is no child of the pannable area. Maybe we will need more work
4347         here.
4348
4349 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4350
4351         * src/hildon-pannable-area.c,
4352         (hildon_pannable_area_dispose): Released the fade-out timeout when
4353         disposing the widget.
4354
4355 2008-06-27  Alejandro G. Castro <alex@igalia.com>
4356
4357         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4358         zero, we are going to use that property in order to deactivate the
4359         overshooting
4360         (hildon_pannable_axis_scroll),
4361         (hildon_pannable_area_size_allocate): Added conditions to control
4362         when overshoot_max is zero. Moved the gtk_adjustment_set_value
4363         call, now it is called in all situations and we can remove calls
4364         in the allocate method.
4365         (hildon_pannable_area_map): Control the situation when
4366         overshoot_max is zero, we do not need the timeout.
4367         (hildon_pannable_area_class_init): Added documentation in order to
4368         point out that setting zero to overshoot_max means deactivate
4369         overshooting.
4370
4371         NOTE: removed trailing whitespaces from my previous comments of
4372         the Changelog.
4373
4374 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4375
4376         * src/hildon-pannable-area.c
4377         (hildon_pannable_area_get_property),
4378         (hildon_pannable_area_set_property),
4379         (hildon_pannable_area_map),
4380         (hildon_pannable_area_class_init),
4381         (hildon_pannable_area_init): Add a boolean "initial-hint" property
4382         to cause the widget give a hint about its panning abilities upon
4383         realization.
4384
4385 2008-06-26  Claudio Saavedra  <csaavedra@igalia.com>
4386
4387         * src/hildon-pannable-area.c: Several documentation improvements.
4388
4389 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4390
4391         * src/hildon-program.c
4392         * src/hildon-stackable-window.c: Update documentation.
4393
4394 2008-06-26  Alberto Garcia  <agarcia@igalia.com>
4395
4396         * src/hildon-stackable-window.c (get_previous_window_if_last):
4397         Renamed get_last_window()
4398         (hildon_stackable_window_map, hildon_stackable_window_unmap)
4399         (hildon_stackable_window_unset_program):
4400         Simplified code.
4401         (get_previous_window_if_last):
4402         Detect if the window hasn't been added to a HildonProgram.
4403
4404 2008-06-26  Alejandro G. Castro <alex@igalia.com>
4405
4406         contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4407
4408         * src/hildon-pannable-area.c
4409         (hildon_pannable_area_button_press_cb),
4410         (hildon_pannable_axis_scroll),
4411         (hildon_pannable_area_scroll),
4412         (hildon_pannable_area_timeout),
4413         (hildon_pannable_calculate_vel_factor),
4414         (hildon_pannable_area_get_property),
4415         (hildon_pannable_area_set_property),
4416         (hildon_pannable_area_class_init),
4417         (hildon_pannable_area_init),
4418         (hildon_pannable_area_scroll_to),
4419         (hildon_pannable_area_jump_to),
4420         (hildon_pannable_area_scroll_to_child),
4421         (hildon_pannable_area_jump_to_child):
4422         * src/hildon-pannable-area.h: Added the new API functions:
4423         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4424         hildon_pannable_area_scroll_to_child,
4425         hildon_pannable_area_jump_to_child
4426
4427
4428         * examples/Makefile.am
4429         * examples/hildon-pannable-area-example-2.c
4430         * examples/hildon-pannable-area-example-3.c: Added these two new
4431         examples in order to test and show how the new APIs work.
4432
4433 2008-06-25  Alberto Garcia  <agarcia@igalia.com>
4434
4435         * examples/hildon-stackable-window-example.c (new_window):
4436         * src/Makefile.am (noinst_HEADERS):
4437         * src/hildon-program.c (hildon_program_go_to_root_window):
4438         * src/hildon-program.h:
4439         * src/hildon-stackable-window-private.h:
4440         * src/hildon-stackable-window.c:
4441         * src/hildon-stackable-window.h:
4442         Create hildon-stackable-window-private.h
4443         Move hildon_stackable_window_go_to_root_window() to HildonProgram
4444
4445         * examples/hildon-app-menu-example.c (create_menu):
4446         * examples/hildon-hvolumebar-insensitive-example.c (main):
4447         * examples/hildon-hvolumebar-timer-example.c (on_idle):
4448         * examples/hildon-toolbar-seekbar-example.c (main):
4449         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4450         * src/hildon-banner.c (hildon_banner_set_property):
4451         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4452         Fix compilation warnings
4453
4454         * src/hildon-window.c:
4455         Fix typo in doc
4456
4457 2008-06-24  Alberto Garcia  <agarcia@igalia.com>
4458
4459         * src/hildon-stackable-window.c
4460         (hildon_stackable_window_unset_program):
4461         Calculate correctly whether to show the previous window if the
4462         last one is removed from the stack.
4463         (hildon_stackable_window_go_to_root_window):
4464         Send delete events starting from the topmost window.
4465         Stop if one of the windows is not destroyed.
4466         Update doc.
4467         (hildon_stackable_window_delete_event)
4468         (hildon_stackable_window_class_init):
4469         Ignore the delete event if the window is not the topmost one.
4470
4471 2008-06-24  Alejandro G. Castro <alex@igalia.com>
4472
4473         * src/hildon-pannable-area.c
4474         (hildon_pannable_area_expose_event): Fixed a problem when
4475         selecting the background color of the scrollbars.
4476
4477 2008-06-23  Alberto Garcia  <agarcia@igalia.com>
4478
4479         * examples/hildon-stackable-window-example.c
4480         * src/hildon-stackable-window.c
4481         * src/hildon-stackable-window.h
4482         hildon_stackable_window_go_home() renamed to
4483         hildon_stackable_window_go_to_root_window()
4484         Send delete events to windows rather than closing them with
4485         gtk_widget_destroy()
4486
4487 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4488
4489         * src/hildon-pannable-area.c
4490         (hildon_pannable_area_button_release_cb): Fix overshooting in
4491         accel mode.
4492
4493 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4494
4495         * src/hildon-pannable-area.c
4496         (hildon_pannable_area_init): Initially show the scroll indicators.
4497         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4498
4499         Add initial effect showing the widget is pannable.
4500
4501 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4502
4503         * src/hildon-pannable-area.c
4504         (hildon_pannable_area_class_init)
4505         (hildon_pannable_area_set_property)
4506         (hildon_pannable_area_get_property)
4507         (hildon_pannable_area_button_press_cb):
4508         New 'velocity_fast_factor' property to decide which velocity is
4509         considered fast.
4510
4511 2008-06-19  Claudio Saavedra  <csaavedra@igalia.com>
4512
4513         * src/hildon-pannable-area.c
4514         (hildon_pannable_draw_hscroll)
4515         (hildon_pannable_draw_vscroll):
4516         Use float variables to calculate the size of the scrollbars to
4517         avoid error propagation and resizing during scrolling.
4518
4519 2008-06-19  Alberto Garcia  <agarcia@igalia.com>
4520
4521         * src/hildon-pannable-area.c
4522         (hildon_pannable_draw_vscroll)
4523         (hildon_pannable_draw_hscroll):
4524         Define a minimum size for the scroll bars
4525
4526         * src/hildon-stackable-window.c
4527         (hildon_stackable_window_go_home): Fix compilation warning
4528         (get_last_window): Minor optimizations
4529         (hildon_stackable_window_class_init): Fix initialization of
4530         private structure.
4531
4532 2008-06-18  Alberto Garcia  <agarcia@igalia.com>
4533
4534         * src/hildon-stackable-window.c: Fixed typos in doc
4535
4536 2008-06-18  Claudio Saavedra  <csaavedra@igalia.com>
4537
4538         * src/hildon-pannable-area.c
4539         (hildon_pannable_area_scroll):
4540         Calculate here whether we need to scroll instead of using the booleans
4541         that tell us whether to /draw/ the scrolling bars.
4542
4543 2008-06-17  Claudio Saavedra  <csaavedra@igalia.com>
4544
4545         * src/hildon-app-menu.h
4546         Update API.
4547         * src/hildon-app-menu.c
4548         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4549         multiple filter groups related code and API. Now we support only
4550         one filter group.
4551         * examples/hildon-app-menu-example.c:
4552         (create_menu):
4553         Update to reflect API changes.
4554
4555 2008-06-16  Claudio Saavedra  <csaavedra@igalia.com>
4556
4557         * src/hildon-stackable-window.c
4558         (hildon_stackable_window_class_init):
4559         Add hildon_stackable_window_realize.
4560         (hildon_stackable_window_realize):
4561         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4562         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4563         to apply theming and behavior specific to HildonStackableWindow
4564         windows.
4565
4566 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4567
4568         * src/hildon-note.c (hildon_note_button_release):
4569         Close information notes also when tapping on them
4570
4571 2008-06-12  Alejandro G. Castro <alex@igalia.com>
4572
4573         Added BOUNCE_STEPS define to control the overshoot effect. Removed
4574         ELASTICITY, refactor and review, fix some issues with drawing
4575         scrollbars.
4576
4577         * src/hildon-pannable-area.c:
4578         (hildon_pannable_area_button_press_cb): removed the conditions to
4579         avoid clicks when overshooting. It is not required
4580
4581         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4582         define. Refatored and reviewed the code, now we do not need to
4583         manage velocity in motion_notify.
4584
4585         (hildon_pannable_area_motion_notify_cb): We have moved the code
4586         that controls the area_scroll to the axis_scroll function and get
4587         rid of duplicated code.
4588
4589         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4590
4591         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4592
4593         (hildon_pannable_draw_vscroll),
4594         (hildon_pannable_draw_hscroll): Fixed the problems with the
4595         scrollbar drawing, now we do not use two surfaces, it is easier
4596         and saves resources.
4597
4598         (hildon_pannable_area_get_property): Style modification.
4599
4600         (hildon_pannable_area_class_init): Changed some default values.
4601
4602 2008-06-12  Claudio Saavedra  <csaavedra@igalia.com>
4603
4604         * src/hildon-stackable-window.c: Fix some typos in the
4605         documentation.
4606
4607 2008-06-12  Alberto Garcia  <agarcia@igalia.com>
4608
4609         * src/hildon-dialog.c:
4610         Change indentation style
4611
4612         * src/hildon-note.c
4613         (hildon_note_button_release):
4614         Use root coordinates to check if the release event happened
4615         outside the widget.
4616
4617         * src/hildon-app-menu.c
4618         (hildon_app_menu_button_release):
4619         Remove unnecessary check
4620
4621         * examples/hildon-app-menu-example.c
4622         (button_clicked):
4623         Add cast to fix warning
4624
4625         * src/hildon-app-menu.c
4626         (hildon_app_menu_class_init):
4627         New inner-border style property.
4628         Set all default spacings to 16
4629         (hildon_app_menu_init):
4630         Use vertical-spacing to set the space between filter buttons and
4631         regular menu buttons.
4632         Set the default container border using the inner-border value.
4633
4634         * examples/hildon-app-menu-example.c
4635         (create_menu):
4636         Don't set the menu border explicitly, now we have the inner-border
4637         style property for that.
4638
4639 2008-06-11  Alberto Garcia  <agarcia@igalia.com>
4640
4641         * src/hildon-app-menu.c (hildon_app_menu_init):
4642         Make the window modal
4643
4644         * src/hildon-note.c (hildon_note_map)
4645         * src/hildon-app-menu.c (hildon_app_menu_map):
4646         Destroy the grab window if we're unable to grab the pointer
4647
4648         * src/hildon-app-menu-private.h
4649         * src/hildon-app-menu.c
4650         (hildon_app_menu_init, hildon_app_menu_finalize)
4651         (hildon_app_menu_map, hildon_app_menu_unmap)
4652         (hildon_app_menu_button_release)
4653         (grab_transfer_window_get):
4654         Bring back the grab window
4655         (hildon_app_menu_realize):
4656         Decorate the window, set WM hint for Matchbox
4657
4658         * src/hildon-note.c (hildon_note_realize):
4659         * src/hildon-banner.c (hildon_banner_realize):
4660         Add WM hints for Matchbox
4661
4662 2008-06-10  Alberto Garcia  <agarcia@igalia.com>
4663
4664         * src/hildon-app-menu-private.h
4665         * src/hildon-app-menu.c
4666         (hildon_app_menu_init, hildon_app_menu_finalize)
4667         (hildon_app_menu_map, hildon_app_menu_unmap)
4668         (hildon_app_menu_button_release):
4669         Remove the grab window, it's not needed anymore
4670
4671         * src/hildon-program.c
4672         Fixed typo in documentation
4673
4674         * src/hildon-app-menu.h
4675         * src/hildon-app-menu.c
4676         * examples/hildon-app-menu-example.c
4677         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4678
4679 2008-06-09  Alberto Garcia  <agarcia@igalia.com>
4680
4681         * src/hildon-note.c
4682         Added new transfer_window and close_if_pressed_outside private
4683         attributes.
4684         (hildon_note_rebuild):
4685         Don't add a cancel button to the information note. It will be
4686         closed when tapping outside
4687         Remove the comment about the OK button in the documentation
4688         (hildon_note_realize):
4689         Set the notification type hint
4690         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4691         Grab/ungrab pointer and keyboard if the note has to be closed when
4692         tapping outside
4693         (hildon_note_button_release):
4694         Close the note when tapping outside (if applicable)
4695
4696         * src/hildon-app-menu.c
4697         Grab/ungrab pointer and keyboard on map/unmap
4698         (hildon_app_menu_button_release, hildon_app_menu_class_init):
4699         Close the menu on button release, not button press
4700
4701         * src/hildon-banner.c
4702         (hildon_banner_set_property)
4703         (hildon_banner_check_position):
4704         Make the banner use the full width of the screen
4705         (hildon_banner_show_information)
4706         (hildon_banner_show_information_with_markup):
4707         Don't display an icon by default
4708
4709 2008-06-09  Alejandro G. Castro <alex@igalia.com>
4710
4711         Added fading scrollbars and adapted all the overshooting code to
4712         horizontal scrolling. We have also fixed bugs with overshooting
4713         and current fading implementation.
4714
4715         * src/hildon-pannable-area.c
4716         (hildon_pannable_area_scroll_indicator_fade): Time out function
4717         used to change the transparency of the scrollbars.
4718
4719         (hildon_pannable_area_button_press_cb): Added horizontal overshot
4720         control and fixed a problem with fading, we now remove the fade
4721         timeout before adding a new one.
4722
4723         (hildon_pannable_axis_scroll):
4724         (hildon_pannable_area_scroll):
4725         (hildon_pannable_area_timeout): Added this functions so we can use
4726         the scroll code both for vertical and horizontal.
4727
4728         (hildon_pannable_area_motion_notify_cb):
4729         (hildon_pannable_area_button_release_cb): Added the horizontal
4730         scrolling control, fixed a problem with the overshooting timeout.
4731
4732         (rgb_from_gdkcolor): Added this function, it is used in the cairo
4733         painting of the scrolls.
4734
4735         (hildon_pannable_draw_vscroll):
4736         (hildon_pannable_draw_hscroll):
4737         (hildon_pannable_area_expose_event):
4738         Draw both scrollbars and rectangles in the overshooting area.
4739
4740         (hildon_pannable_area_get_property):
4741         (hildon_pannable_area_set_property):
4742         Modified the overshoot property to overshoot_max
4743
4744         (hildon_pannable_area_map):
4745         Replaced the comments symbols.
4746
4747         (hildon_pannable_area_size_allocate):
4748         (hildon_pannable_area_class_init):
4749         (hildon_pannable_area_init): Added horizontal scroll, fading
4750         effect properties, fixed a problem when overshooting in the bottom
4751         of the widget.
4752
4753         * examples/hildon-pannable-area-example.c:
4754         (get_sawtooth_label): Now we use smaller sawtooths, the effect
4755         looks better in the example.
4756
4757 2008-06-03  Alberto Garcia  <agarcia@igalia.com>
4758
4759         * src/hildon-window.c
4760         * src/hildon-window.h
4761         (hildon_window_class_init)
4762         (hildon_window_unset_program)
4763         (hildon_window_unset_program_real):
4764         Make unset_program a virtual function
4765
4766         * src/hildon-stackable-window.c
4767         * src/hildon-stackable-window.h
4768         Added hildon_stackable_window_go_home()
4769
4770         * examples/Makefile.am
4771         * examples/hildon-stackable-window-example.c
4772         HildonStackableWindow example
4773
4774 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4775
4776         * hildon-pannable-area.c: Added the overshoot property and removed
4777         the OVERSHOOT define. Fixed an indent style error.
4778         (hildon_pannable_area_motion_notify_cb):
4779         (hildon_pannable_area_get_property):
4780         (hildon_pannable_area_set_property): Add overshoot property.
4781
4782         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4783         overshoot property.
4784
4785         (hildon_pannable_area_class_init): Installed the new property.
4786
4787         * hildon-pannable-area-example.c: Added a sawtooth function, this
4788         way it is easier to check the movement in the pannable.
4789         (get_sawtooth_label): Added this function.
4790         (main): Now we get the labels from the new get_sawtooth_label
4791         function.
4792
4793 2008-05-26  Alberto Garcia  <agarcia@igalia.com>
4794
4795         * src/hildon-app-menu.h
4796         * src/hildon-app-menu.c
4797         Renamed API variables for consistency
4798
4799         (hildon_app_menu_popup): Use also the default window size to
4800         decide where to place the menu
4801
4802         (hildon_app_menu_init, hildon_app_menu_class_init): New
4803         external-border style property
4804
4805 2008-05-26  Michael Natterer  <mitch@imendio.com>
4806
4807         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4808         widget_class->tap_and_hold_setup signal slot doesn't exist any
4809         longer, stop overriding it.
4810
4811         (hildon_time_editor_init): g_signal_connect() to the
4812         tap-and-hold-setup signal instead.
4813
4814         (hildon_time_editor_entry_keypress): add cast to fix warning.
4815
4816 2008-05-23  Alberto Garcia  <agarcia@igalia.com>
4817
4818         * doc/hildon-docs.sgml
4819         * doc/hildon.types
4820         * examples/Makefile.am
4821         * examples/hildon-app-menu-example.c
4822         * src/Makefile.am
4823         * src/hildon-app-menu-private.h
4824         * src/hildon-app-menu.c
4825         * src/hildon-app-menu.h
4826         * src/hildon.h
4827         New HildonAppMenu widget
4828
4829 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4830
4831         Rearranged the inheritance of the pannable area, now it inherits
4832         from GtkBin. This will allow us to control the event_window and
4833         the allocation process of the widget, required for some effects.
4834
4835         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4836         GtkBin structures.  * src/hildon-pannable-area.c: Added the
4837         event_window variable.
4838         (hildon_pannable_area_button_press_cb):
4839         (hildon_pannable_area_button_release_cb):
4840         (hildon_pannable_area_motion_notify_cb):
4841         Changed the signature of the method, now we override the event
4842         callback instead of connecting to the signal.
4843
4844         (hildon_pannable_area_realize):
4845         (hildon_pannable_area_unrealize):
4846         (hildon_pannable_area_map):
4847         (hildon_pannable_area_unmap):
4848         (hildon_pannable_area_size_allocate):
4849         Added functions to control the widget construction. We add a
4850         INPUT_ONLY window and we put it over the widgets inside the
4851         container, this event_window handles the events.
4852
4853         (hildon_pannable_area_class_init):
4854         Replaced the signal connections with overrides of the event
4855         callbacks.
4856
4857 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4858
4859         Bouncing effect added when touching the borders, you can change
4860         the elasticity of the border changing the ELASTICITY define.
4861
4862         * src/hildon-pannable-area.c: Added ELASTICITY define.
4863         (hildon_pannable_area_timeout): Added inverse velocity when
4864         touching the border of the child widget, that causes a bounce.
4865
4866 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4867
4868         Improved performance, we now do not go to the X server in order to
4869         get the list of window children. Apparently the effect is the
4870         same, we have to be careful and check if this breaks something in
4871         any corner case.
4872
4873         * src/hildon-pannable-area.c:
4874         (get_ordered_children): Removed this function.
4875         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4876         the children windows function with gdk_window_get_children.
4877
4878 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4879
4880         * src/hildon-pannable-area.c:
4881         (hildon_pannable_area_dispose): Fixed a crash when closing the
4882         window and kinetics is activated.
4883
4884 2008-05-19  Alberto Garcia  <agarcia@igalia.com>
4885
4886         * src/hildon-pannable-area.h
4887         * src/hildon-pannable-area.c
4888         Changed indentation style to meet the one used in Hildon
4889
4890 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4891
4892         Reviewed the interaction of the AUTO mode, now we use the time
4893         attribute of the events and calculate the velocity in the motion,
4894         doing a gimp like calculation. The velocity is calculated in each
4895         motion event using the last velocity and the current one, the
4896         SMOOTH_FACTOR controls the percentage of the new velocity we use.
4897
4898         * src/hildon-pannable-area.c: Replaced the time based algorithm
4899         for the AUTO mode.
4900         (hildon_pannable_area_motion_notify_cb): now we do not launch the
4901         timeout for the AUTO mode when we are still moving the cursor. We
4902         added also the velocity calculation in this function.
4903         (hildon_pannable_area_button_release_cb): launch the timeout in
4904         case we are in AUTO mode. There are still some constants here that
4905         come from the old implementation that should be reviewed and
4906         handled properly.
4907
4908 2008-05-15  Alberto Garcia  <agarcia@igalia.com>
4909
4910         * doc/hildon-docs.sgml
4911         * doc/hildon.types
4912         * src/Makefile.am
4913         * src/hildon-stackable-window.c
4914         * src/hildon-stackable-window.h
4915         * src/hildon.h
4916         New HildonStackableWindow widget
4917
4918         * examples/hildon-dialog-example.c
4919         * examples/hildon-pannable-area-example.c
4920         Updated copyright
4921
4922 2008-05-14  Alberto Garcia  <agarcia@igalia.com>
4923
4924         * src/hildon-dialog.c
4925         (hildon_dialog_new_with_buttons): New constructor.
4926
4927         * examples/hildon-dialog-example.c
4928         (main): Update the example to use the new
4929         hildon_dialog_new_with_buttons().
4930
4931         * examples/hildon-pannable-area-example.c
4932         (main): Update example.
4933
4934 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4935
4936         * doc/hildon-docs.sgml
4937         * doc/hildon.types
4938         Added HildonPannableArea to the documentation.
4939
4940 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4941
4942         * doc/visual_index.xml
4943         Fix reference to HildonLoginDialog in documentation
4944
4945         * doc/hildon-docs.sgml
4946         * doc/hildon.types
4947         * examples/Makefile.am
4948         * examples/hildon-dialog-example.c
4949         * src/Makefile.am
4950         * src/hildon-dialog.c
4951         * src/hildon-dialog.h
4952         * src/hildon.h
4953         New HildonDialog widget.
4954
4955 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4956
4957         * src/hildon-pannable-area.c
4958         Merge latest changes (r4318, r4342) from libmokoui trunk
4959
4960 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4961
4962         * examples/Makefile.am
4963         * examples/hildon-pannable-area-example.c
4964         * src/Makefile.am
4965         * src/hildon-pannable-area.c
4966         * src/hildon-pannable-area.h
4967         * src/hildon.h
4968         New HildonPannableArea widget.
4969
4970 2008-04-15 18:05:19    <timj@imendio.com>
4971
4972         * src/hildon-banner.c: revert the recent change, that introduced
4973         gtk_window_present() calls. this reopens:
4974           Bug 78481 - [freetest] information banners are hidden under browser menu
4975         But resolves another variant of:
4976           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4977
4978 2008-04-15 13:21:13    <timj@imendio.com>
4979
4980         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
4981         recreated its layout, spotted by Kris. this fixes all remaining
4982         artefacts and stability issues with the banner code. in particular:
4983         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4984
4985 2008-04-14 16:52:59    <timj@imendio.com>
4986
4987         * src/hildon-banner.c: guard force_to_wrap_truncated() against
4988         operating on unrealized widgets, fixes:
4989         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4990
4991         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
4992
4993 2008-04-09  Kristian Rietveld  <kris@imendio.com>
4994
4995         Fixes: NB#77775: Media Player, Save Now playing list, too long name
4996         makes banner disappear.
4997         Fixes: NB#79182: info banner flickering with certain message lengts.
4998
4999         * src/hildon-banner.c (hildon_banner_constructor),
5000         (hildon_banner_init), (hildon_banner_set_text),
5001         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5002         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5003         FALSE, reset size requests of label and banner,
5004         (force_to_wrap_truncated): when the text is too wide, always enforce
5005         the maximum possible width instead of recalculating it from the
5006         layout; enforce the maximum banner height of 3 lines,
5007         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5008         nicer wrapping and no truncated chars if space gets tight.
5009
5010         * src/hildon-banner-private.h: add has_been_wrapped and
5011         has_been_truncated fields.
5012
5013 2008-04-07  Sven Herzberg  <sven@imendio.com>
5014
5015         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5016         local values in hildon_date_editor_size_allocate
5017
5018         * src/hildon-date-editor.c: moved the real allocation code into the
5019         if() branch
5020
5021 2008-04-07  Sven Herzberg  <sven@imendio.com>
5022
5023         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5024         local values in hildon_date_editor_size_allocate
5025
5026         * src/hildon-date-editor.c: merged the two if() branches together
5027
5028 2008-04-07  Sven Herzberg  <sven@imendio.com>
5029
5030         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5031         local values in hildon_date_editor_size_allocate
5032
5033         * src/hildon-date-editor.c: changed the arguments of the if()
5034         conditions
5035
5036 2008-04-07  Sven Herzberg  <sven@imendio.com>
5037
5038         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5039         local values in hildon_date_editor_size_allocate
5040
5041         * src/hildon-date-editor.c: split the calculation of the allocation
5042         from the real allocation
5043
5044 2008-03-27  Michael Natterer  <mitch@imendio.com>
5045
5046         Fixes: NB#81696: The passcode is not overwritten even after
5047         selecting
5048
5049         * src/hildon-code-dialog.c
5050         (hildon_code_dialog_button_clicked)
5051         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5052         because that doesn't overwrite selected text. Instead, emit the
5053         "commit" signal on the entry's im_context so the entry's normal
5054         insert logic is triggered. Set the cursor to the end of the entry
5055         after each insert operation so that we *only* insert in the middle
5056         of the text if something was selected.
5057
5058 2008-03-27  Michael Natterer  <mitch@imendio.com>
5059
5060         Enable fixing: NB#79916 and NB#79918: The help topic for Color
5061         selector cannot be opened
5062
5063         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5064         when the popup color selector is created. Please connect to this
5065         signal in order to set the dialog's help ID.
5066
5067 2008-03-25  Sven Herzberg  <sven@imendio.com>
5068
5069         Fixes: MB#1212: Hide info banners (infoprints) on click
5070
5071         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5072         extracted the close event simulation into an extra function
5073         (hildon_banner_button_press_event): simulate a close event and destroy
5074         the widget if the event wasn't handled
5075         (hildon_banner_class_init): added the button_press_event handler
5076         (hildon_banner_init): added button-press events to the widget
5077
5078 2008-03-25  Sven Herzberg  <sven@imendio.com>
5079
5080         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5081         Patch from: Mohammad Anwari  <mdamt@maemo.org>
5082
5083         * src/hildon-banner.c: let the HildonBanners pop up on the left side
5084         instead of the right in RTL mode
5085         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5086         breadcrumb button list in RTL mode
5087         * src/hildon-caption.c: mirror the appearance of the caption widget in
5088         RTL mode
5089         * src/hildon-date-editor.c: mirror appearance of the date editor in
5090         RTL mode
5091         * src/hildon-time-editor.c: mirror appearance of the time editor in
5092         RTL mode
5093         * src/hildon-window.c: fix the position of the popup in RTL mode
5094
5095 2008-03-25  Sven Herzberg  <sven@imendio.com>
5096
5097         Amendment to the fix of NB#22072. Fix compilation.
5098
5099         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5100
5101 2008-03-19  Sven Herzberg  <sven@imendio.com>
5102
5103         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5104         in Info Banner" bug
5105
5106         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5107         timeout id properly when the timeout will disappear this leaves no
5108         artifacts around in the destroy(); there will only be the timeout
5109         created by hildon_banner_ensure_timeout() and adding a new timeout
5110         will also work if the timeout gets removed because the timeout_handler
5111         returned FALSE
5112
5113 2008-03-19  Michael Natterer  <mitch@imendio.com>
5114
5115         Fixes: NB#79791: Cannot set focus to Master volume using stylus
5116
5117         * src/hildon-volumebar.c
5118         * src/hildon-vvolumebar.c
5119         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5120         the widget becomes focussable at all.
5121
5122         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5123         set the focus to wither the mute button or the volumebar.
5124
5125         Remove own "can-focus" property and instead listen to
5126         notify::can-focus in order to update the widget's state.
5127
5128         Implement GtkWidget::focus() and make sure we can also *leave* the
5129         widget, not only enter it, depending on volumebar orientation and
5130         requested focus direction.
5131
5132         Clean up set_mute() to cooperate nicely with all the above.
5133
5134 2008-03-04  Michael Natterer  <mitch@imendio.com>
5135
5136         Fixes: NB#78481: information banners are hidden under browser menu
5137
5138         * src/hildon-banner.c: call gtk_window_present() on the banners so
5139         they are risen if they are already visible.
5140
5141 2008-03-03  Sven Herzberg  <sven@imendio.com>
5142
5143         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5144
5145         * examples/hildon-window-menu-example.c: (main): extended the window
5146         menu example to serve as a testcase for automatically added
5147         accelerator groups, too
5148         * src/hildon-window.c: (hildon_window_add_accel_group),
5149         (hildon_window_set_menu): added patch by Tommi Komulainen
5150
5151 2008-03-03  Sven Herzberg  <sven@imendio.com>
5152
5153         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5154
5155         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5156         knowledge about the border allocators used within GTK+
5157
5158 2008-02-26  Sven Herzberg  <sven@imendio.com>
5159
5160         Fixes: MB#2981: Build with asserts broken
5161
5162         * src/hildon-date-editor.c,
5163         * src/hildon-number-editor.c,
5164         * src/hildon-time-editor.c,
5165         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5166         the proper GType instance check
5167
5168 2008-02-25  Sven Herzberg  <sven@imendio.com>
5169
5170         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5171
5172         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5173         * examples/hildon-window-menu-example.c: (main): explicitly show
5174         the menu item
5175         * src/hildon-window.c:
5176         (hildon_window_set_main_menu): moved most of the code from set_menu()
5177         to this place; skipped the call to gtk_widget_show_all(); also didn't
5178         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5179         (hildon_window_set_menu): removed most of the code, just keep the
5180         questionable gtk_widget_show_all()
5181         * src/hildon-window.h: added the new function and deprecate the old
5182         one
5183
5184 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5185
5186         [2.0.1-1 release]
5187
5188         * NEWS:
5189         * configure.ac:
5190         * debian/changelog: Updating.
5191
5192 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
5193
5194         * configure.ac:
5195         * pkgconfig/Makefile.am:
5196         * pkgconfig/hildon.pc.in:
5197         * src/Makefile.am:
5198
5199         Do not use PACKAGE_VERSION_MAJOR as the API revision,
5200         use newly created API_MAJOR_VERSION.
5201
5202 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5203
5204         [2.0.0-1 release]
5205
5206         * NEWS:
5207         * configure.ac:
5208         * debian/changelog: Updating.
5209
5210 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
5211
5212         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5213
5214         Add outer_border style property, we use it but don't define it (!).
5215
5216         Fixes NB#75310
5217
5218 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
5219
5220         * examples/hildon-bread-crumb-trail-example.c (main):
5221
5222         Add clear button.
5223
5224         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5225
5226         Fix logic for the bread crumb trail node removal.
5227
5228         Fixes: NB#78616
5229
5230 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5231
5232         [1.99.1-1 release]
5233
5234         * NEWS:
5235         * configure.ac:
5236         * debian/changelog: Updating.
5237
5238 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5239
5240         Patch by Alejandro to get/set passwords dialogs accesibility.
5241
5242         * hildon-1/src/hildon-get-password-dialog.c:
5243         * hildon-1/src/hildon-set-password-dialog.c:
5244         Set atk_set_name to the passwd entries in order to allow
5245         accessibility by name on this entries.
5246
5247 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5248
5249         [1.99.0-2 release]
5250
5251         * debian/changelog:
5252         * debian/control: Updating gtk dep.
5253
5254 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
5255
5256         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5257         USE_MAEMO_GTK is enabled.
5258
5259 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
5260
5261         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5262         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5263
5264 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5265
5266         [1.99.0-1 release]
5267
5268         * NEWS:
5269         * configure.ac:
5270         * debian/changelog: Updating.
5271
5272 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5273
5274         * examples/Makefile.am:
5275         * examples/hildon-logical-color-example.c:
5276         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5277         applied + adding a test case. Fixes: NB#71660.
5278
5279 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
5280
5281         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5282         to be visible, fixes warning on map for windows without toolbars.
5283
5284 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
5285
5286         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5287         2.11.0, add a check for that besides the MAEMO_GTK check.
5288
5289 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5290
5291         [1.0.17-1 release]
5292
5293         * NEWS:
5294         * configure.ac:
5295         * debian/changelog: Updating.
5296
5297 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5298
5299         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5300         visibility. Fixes: NB#70842 and MB#615.
5301
5302 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5303
5304         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5305         set the separator as no-show-all so it doesn't unintentionally appear when
5306         someone does a show_all.
5307
5308 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
5309
5310         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5311         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5312         toplevel item. Fixes: NB#62031
5313
5314 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
5315
5316         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5317         fix the name of the function in the docs.
5318
5319 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5320
5321         [1.0.16-1 release]
5322
5323         * NEWS:
5324         * configure.ac:
5325         * debian/changelog: Updating.
5326
5327 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5328
5329         * examples/hildon-banner-long-example.c: Adding a test-case for long
5330         hildon banner.
5331
5332         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5333
5334 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5335
5336         * src/hildon-color-chooser-dialog.c:
5337         * src/hildon-color-chooser.c:
5338         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5339         memory leaks in font selector and color selector. Fixes: NB#70499 and
5340         NB#70474.
5341
5342 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
5343
5344         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5345
5346 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5347
5348         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5349         little bit bigger. Fixes: #NB63694.
5350
5351 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5352
5353         [1.0.15-1 release]
5354
5355         * NEWS:
5356         * configure.ac:
5357         * debian/changelog: Updating.
5358
5359 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5360
5361         * doc/Makefile.am:
5362         * doc/hildon-docs.sgml:
5363         * doc/images/bread-crumb-trail.png:
5364         * doc/images/calendar-popup.png:
5365         * doc/images/caption.png:
5366         * doc/images/code-dialog.png:
5367         * doc/images/color-button.png:
5368         * doc/images/color-chooser-dialog.png:
5369         * doc/images/color-chooser.png:
5370         * doc/images/controlbar.png:
5371         * doc/images/date-editor.png:
5372         * doc/images/font-selection-dialog.png:
5373         * doc/images/get-password-dialog.png:
5374         * doc/images/hvolumebar.png:
5375         * doc/images/login-dialog.png:
5376         * doc/images/note.png:
5377         * doc/images/number-editor.png:
5378         * doc/images/range-editor.png:
5379         * doc/images/seekbar.png:
5380         * doc/images/set-password-dialog.png:
5381         * doc/images/sort-dialog.png:
5382         * doc/images/time-editor.png:
5383         * doc/images/time-picker.png:
5384         * doc/images/vvolumebar.png:
5385         * doc/images/weekday-picker.png: Adding the new generated widget shots.
5386         Adding the bread-crumb-trial and helpers to the documentation.
5387
5388 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5389
5390         * examples/hildon-find-toolbar-example.c:
5391         * src/hildon-find-toolbar.c:
5392         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5393         actually continue firing the other handlers if connected. Adding a new
5394         function:
5395         hildon_find_toolbar_get_last_index that gets the index of the most
5396         recently added (last) item. Fixes: NB#52301.
5397
5398 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5399
5400         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5401         behaviour. Fixes: NB#68610.
5402
5403 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5404
5405         * src/hildon-banner.c: Actually reverting the previous change. It somehow
5406         looks a bit worse.
5407
5408 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5409
5410         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5411         when realizing the banner. Should make the infonbanner effect a bit more
5412         bearable.
5413
5414 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5415
5416         * src/hildon-volumebar.c:
5417         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5418         hildon_volumebar_set_range_insensitive_message and
5419         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5420
5421 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5422
5423         * src/hildon-window.c: Fixing the border freeing on destroy.
5424
5425 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5426
5427         * src/hildon-code-dialog-private.h:
5428         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5429         kw keyboard support in HildonCodeDialog.
5430
5431 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5432
5433         [1.0.14-1 release]
5434
5435         * NEWS:
5436         * configure.ac:
5437         * debian/changelog: Updating.
5438
5439 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5440
5441         * src/hildon-date-editor.c:
5442         * src/hildon-number-editor.c:
5443         * src/hildon-private.c:
5444         * src/hildon-private.h:
5445         * src/hildon-time-editor.c:
5446         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5447         handling in subclassed composite widgets. Fixes: NB#66628.
5448
5449 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5450
5451         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5452         from destroy_ callback as it introduces problems in async dbus signal
5453         handlers. Fixes NB#66673.
5454
5455 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5456
5457         * examples/hildon-hvolumebar-example.c:
5458         * src/hildon-volumebar.c: Improving the focus handling in the
5459         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5460         set_property accessor so that "mute" property can be actually set. I'm
5461         scared that nobody noticed it's totally broken.
5462
5463 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5464
5465         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5466         Fixes NB#66548.
5467
5468 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5469
5470         * src/hildon-calendar.c:
5471         * src/hildon-number-editor.c:
5472         * src/hildon-time-picker.c: Changing the timeout repeat so that it
5473         matches the spec of 6 chars per second. Fixes: NB#60489.
5474
5475 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5476
5477         * src/hildon-helper.c: Really fixing NB#58352. Looks like
5478         gtk_style_lookup_color sometime returns FALSE even though color was
5479         found and values were filled properly. Weird. Removing the warning for the
5480         time being.
5481
5482 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5483
5484         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5485         expand vertically. Adding some extra space to the find toolbar buttons to
5486         make them thumbable. Fixes NB#66060.
5487
5488 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5489
5490         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5491         popup with "Ok" and "Cancel". Fixes NB#59299.
5492
5493 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5494
5495         * src/hildon-calendar.c: Process all window updates before executing next
5496         timeout. Fixes: NB#54146.
5497
5498 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5499
5500         [1.0.13-1 release]
5501
5502         * NEWS:
5503         * configure.ac:
5504         * debian/changelog: Updating.
5505
5506 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5507
5508         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5509         the client event and ignore it, since we use the delete event to close
5510         after timeouts.
5511
5512 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5513
5514         * src/hildon-helper.c: Remove the bogus warning about color not being
5515         found. Fixes NB#58352.
5516
5517 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5518
5519         * examples/Makefile.am:
5520         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5521         HildonSeekbar widget inside a toolbar.
5522
5523 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
5524
5525         * src/hildon-banner.c (hildon_banner_init): mark the banners as
5526         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5527         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5528         don't want to be closed by non-temporary windows on map.
5529
5530         Also use G_DEFINE_TYPE instead of manually typed code.
5531
5532 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5533
5534         [1.0.12-1 release]
5535
5536         * NEWS:
5537         * configure.ac:
5538         * debian/changelog:
5539         * debian/rules: Updating.
5540
5541 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5542
5543         * examples/Makefile.am:
5544         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5545         bug NB#61128. Strangely it works.
5546
5547 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5548
5549         * src/hildon-date-editor.c: When the date editor entry has been changed
5550         but the numbers of characters < max, turn off the skip validation flag.
5551         Prevents a situation when we enter first a valid year and later re-write
5552         it with an invalid one. Fixes NB#60154.
5553
5554 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5555
5556         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5557         code dialog. Fixes NB#64355.
5558
5559 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5560
5561         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5562         switching the page. Fixes NB#49374.
5563
5564         * examples/Makefile.am:
5565         * examples/hildon-wizard-dialog-example.c: Adding an example for
5566         HildonWizardDialog that shows how to handle manual sensitivity setting on
5567         the wizard dialog.
5568
5569 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5570
5571         * configure.ac:
5572         * src/Makefile.am:
5573         * src/hildon-version.h.in:
5574         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5575
5576 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5577
5578         * src/hildon-volumebar.c: Updating the docs.
5579
5580 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5581
5582         [1.0.11-1 release]
5583
5584         * NEWS:
5585         * configure.ac:
5586         * debian/changelog: Updating.
5587
5588 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5589
5590         * src/hildon-find-toolbar.c:
5591         * src/hildon-find-toolbar.h: Adding a few new functions to control the
5592         selected item: hildon_find_toolbar_set_active,
5593         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5594         hildon_find_toolbar_get_active_iter . They correspond to respective
5595         GtkComboBox functions.
5596
5597         * examples/Makefile.am:
5598         * examples/hildon-find-toolbar-example.c: Adding the example to test the
5599         new functionality.
5600
5601 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5602
5603         * examples/Makefile.am:
5604         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5605         theming easily.
5606
5607         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5608         when font size > 32 and we pack a focusable widget inside. Actually using
5609         the default response would work too, but since we don't show default
5610         response state in any way (no theming) it would not be visible to the
5611         user. Fixes NB#63430.
5612
5613 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5614
5615         * src/hildon-date-editor.c: Adding the missing variable setter in the
5616         set_property handler. Fixes NB#54182.
5617
5618 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5619
5620         * src/hildon-window.h: Changing the long key press time from 1500ms to
5621         800ms as requested in NB#63700. I have a bad feeling about this, let's
5622         see... Fixes NB#63700.
5623
5624 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
5625
5626         * src/hildon-time-picker.c (hildon_time_picker_class_init,
5627         hildon_time_picker_map, hildon_time_picker_realize,
5628         hildon_time_picker_style_set): Split the contents of map to more
5629         appropriate functions; set window decorations on realize and update
5630         arrows' size requisitions on style-set. Avoids unnecessary resizing.
5631
5632 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
5633
5634         [1.0.10-2 release]
5635
5636         * NEWS:
5637         * debian/changelog: Updating.
5638
5639 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
5640
5641         * src/Makefile.am: fixed installation of the header files
5642
5643 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5644
5645         [1.0.10-1 release]
5646
5647         * NEWS:
5648         * configure.ac:
5649         * debian/changelog: Updating.
5650
5651 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5652
5653         * configure.ac: Removing some remaining of --enable-xan.
5654
5655 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
5656
5657         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5658         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5659
5660         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5661         2.10.12-osso6 because the move-focus signal needs to be available in
5662         GtkWidget.
5663
5664 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5665
5666         * examples/Makefile.am:
5667         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5668         that makes a HildonVolumebar insensitive before mapping it. Seems to work
5669         fine. Prolly NB#61128 is fixed now.
5670
5671 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5672
5673         * src/hildon-volumebar.c:
5674         * src/hildon-volumebar.h: Adding the
5675         hildon_volumebar_set_range_insensitive_message and
5676         hildon_volumebar_set_range_insensitive_messagef functions to set
5677         insensitive message on the slider of the volumebar. Fixes NB#61129.
5678
5679         * examples/Makefile.am:
5680         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5681         test the new insensitive messsage functionality on HildonVolumebar.
5682
5683 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
5684
5685         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5686         work again.
5687
5688 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
5689
5690         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5691         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5692         button on after clearing the trail.
5693
5694 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5695
5696         * src/hildon-code-dialog.c: Removing the separator from the dialog.
5697
5698 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5699
5700         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5701         by splitting the installed headers in generated and non-generated groups. Use
5702         only the non-generated headers to create the hildon-enum-types.h file.
5703
5704         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5705
5706 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5707
5708         * src/hildon-window.c: Hide the window before performing the destroy.
5709         Should make the app closing a little tiny bit more snappy.
5710
5711 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
5712
5713         * src/hildon-seekbar.c: add gtkrange.h header
5714         * src/hildon-caption.c: remove unused variable
5715
5716 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
5717
5718         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5719         Loic Minier.
5720
5721 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5722
5723         [1.0.9-1 release]
5724
5725         * NEWS:
5726         * configure.ac:
5727         * debian/changelog: Updating.
5728
5729 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
5730
5731         * src/hildon-window.c (hildon_window_window_state_event,
5732         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5733         escape timeout on focus-out-event rather than notify::is-topmost; the
5734         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5735
5736 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5737
5738         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5739         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5740
5741 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5742
5743         * src/hildon-window: actually, you need to use the macro always, there's
5744         no private pointer in the instance structure. We should have cleaned this up
5745         when we had the chance...
5746
5747 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
5748
5749         * src/hildon-window.c: do not get the private date from HildonWindow before
5750         it passes the g_return_if_fail check. Once it's passed the test, there's no
5751         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5752         if you are only going to access the data once. Whitespace cleanups.
5753
5754 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
5755
5756         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5757         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5758
5759 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5760
5761         [1.0.8-1 release]
5762
5763         * NEWS:
5764         * configure.ac:
5765         * debian/changelog: Updating.
5766
5767 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5768
5769         * src/hildon-window.c: When destroying the window, remove (if exists) the
5770         escape timeout handler. Fixes #NB59276.
5771
5772 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5773
5774         * src/hildon-banner.c: When realizing the widget, set the window
5775         transiency. Setting the transiency in the gobject constructor is not
5776         good, as the widget is not realized at that point. Fixes: #NB56624.
5777
5778 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5779
5780         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5781         Add padding for future expansions.
5782
5783 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5784
5785         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5786         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5787         will fake an activation on the previous to the last item of the trail, so
5788         the effect can be overrided by the developer as usual.
5789         Also change the callback for the back button to do the same thing, so its
5790         effect can be overrided too. Fixes: NB#58982
5791
5792 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5793
5794         * src/hildon-caption.c: Implementing the proper focus grabbing in the
5795         HildonCaption. Fixes NB#52379.
5796
5797 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
5798
5799         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5800         the internal state of the trail after the user has had the chance of executing
5801         his handler for the signal. Specifically, it may happen that the activated button
5802         is removed and the user still lets the default handler run. This would segfault
5803         previously.
5804
5805 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5806
5807         * src/hildon-font-selection-dialog.c: When the font is really big, add the
5808         scrollbar to the preview dialog. Fixes NB#54147.
5809
5810 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5811
5812         * src/hildon-date-editor.c: Changing the default max year to 2037. The
5813         max/min year properties can be altered, so the client can modify it
5814         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5815
5816 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5817
5818         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5819         hildonlike by default. Fixing a problem with disappearing arrows when
5820         scrolling through months and years. Fixes NB#54127.
5821
5822 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5823
5824         * examples/hildon-date-editor-example.c: Adding error callback to the date
5825         editor example.
5826
5827 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5828
5829         [1.0.7-1 release]
5830
5831         * NEWS:
5832         * debian/changelog:
5833         * configure.ac: Updating.
5834
5835 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5836
5837         * configure.ac: Adding a special '--enable-xan' configure option that
5838         turns off the -Werror compilation setting. Usefull for development.
5839
5840         * src/hildon-calendar.c:
5841         * src/hildon-number-editor.c:
5842         * src/hildon-time-picker.c: Adding the 5* multiplier to
5843         gtk-timeout-update.
5844
5845 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
5846
5847         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5848         instead of g_object_ref + gtk_object_sink.
5849
5850 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5851
5852         [1.0.6-1 release]
5853
5854         * NEWS:
5855         * configure.ac:
5856         * debian/changelog: Updating.
5857
5858 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5859
5860         * src/hildon-color-chooser-dialog.c:
5861         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5862         straight from Tommi labs.
5863
5864 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5865
5866         * examples/hildon-finger-example.c: Correcting the header file path.
5867
5868         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5869         the changed signal. Fixes a small memory leak.
5870
5871 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5872
5873         * autogen.sh:
5874         * debian/rules:
5875         * src/hildon-banner.c: Importing several usefull fixes from the
5876         ubuntu-mobile branch.
5877
5878 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5879
5880         * examples/Makefile.am:
5881         * examples/hildon-finger-example.c: Adding a finger-checking code
5882         example.
5883
5884         * src/hildon-font-selection-dialog.c: Do not allocate the color
5885         structure using the g_new. Fixes NB#54061.
5886
5887 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5888
5889         * src/hildon-helper.c: Correcting tabs in file.
5890
5891 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
5892
5893         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5894         control the visibility of the children.
5895
5896         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5897
5898 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5899
5900         [1.0.5-1 release]
5901
5902         * NEWS:
5903         * configure.ac:
5904         * debian/changelog: Updating.
5905
5906 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5907
5908         * src/hildon-bread-crumb-trail.c:
5909         (hildon_bread_crumb_trail_size_allocate):
5910
5911         Make the back button always a square.
5912
5913 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
5914
5915         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5916         from the .c file as it's a private file.
5917
5918 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5919
5920         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5921         uses slightly bigger height.
5922
5923         * src/hildon-font-selection-dialog.c: Adding some checks before
5924         freeing memory in the font selection dialog.
5925
5926 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5927
5928         * src/hildon-font-selection-dialog.c: Adding a small check when
5929         freeing memory.
5930
5931         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5932         buttons sensitivity on page switching.
5933
5934 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
5935
5936         * src/hildon-bread-crumb-trail.c: make the add method handle all the
5937         internal details of adding a bread crumb to the trail.
5938
5939 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5940
5941         [1.0.4-1 release]
5942
5943         * README:
5944         * configure.ac:
5945         * debian/changelog: Updating.
5946
5947         * src/hildon-bread-crumb-trail.h:
5948         * src/hildon-bread-crumb.h: Changing the API guard to
5949         HILDON_ENABLE_UNSTABLE_API.
5950
5951 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5952
5953         [1.0.3-1 release]
5954
5955         * NEWS:
5956         * configure.ac:
5957         * debian/changelog:
5958         * debian/rules:
5959         * src/hildon-helper.h: Updating.
5960
5961 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5962
5963         [1.0.2-1 release]
5964
5965         * NEWS:
5966         * configure.ac:
5967         * debian/changelog:
5968
5969 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
5970
5971         * README:
5972         * configure.ac:
5973         * src/hildon-helper.h: Small fix to make the package actually compile.
5974
5975 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
5976
5977         * src/hildon-bread-crumb-trail.h:
5978         * src/hildon-bread-crumb.h:
5979
5980         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
5981         to define ENABLE_UNSTABLE_API in the code that includes these headers.
5982
5983 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
5984
5985         * examples/hildon-bread-crumb-trail-example.c:
5986         * src/Makefile.am:
5987         * src/hildon-bread-crumb-trail.c:
5988         * src/hildon-bread-crumb-trail.h:
5989         * src/hildon-bread-crumb.c:
5990         * src/hildon-bread-crumb.h:
5991         * src/hildon-marshalers.list:
5992         * src/hildon-bread-crumb-widget.c:
5993         * src/hildon-bread-crumb-widget.h:
5994
5995         Slight change in the widget design. The bread crumb trail API is
5996         unchanged, but HildonBreadCrumb is now an interface. A *private*
5997         implementation, hildon-bread-crumb-widget, is provided and used
5998         internally by the trail for the push_text/push_icon functions.
5999
6000         The generic push API is still available, so anyone can implement
6001         and use its own bread crumb widget.
6002
6003 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6004
6005         * debian/rules: Fixing the shlibs.
6006
6007 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6008
6009         * src/hildon-banner.c: Fixing a problem with timed banners having
6010         their parrent destroyed before they are.
6011
6012 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
6013
6014         * src/hildon-bread-crumb.c:
6015         * src/hildon-bread-crumb.h:
6016
6017         Make the get_natural_size function a vfunc.
6018
6019 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6020
6021         * src/hildon-bread-crumb.c:
6022         * src/hildon-bread-crumb-trail.c:
6023
6024         Some cleanups.
6025
6026 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6027
6028         [1.0.1-1 release]
6029
6030         * AUTHORS:
6031         * NEWS:
6032         * configure.ac:
6033         * debian/changelog: Updating for release.
6034
6035 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6036
6037         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6038         don't leak the pango layout.
6039
6040 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
6041
6042         * src/hildon.h:
6043         * examples/hildon-bread-crumb-trail-example.c:
6044
6045         Fix example.
6046
6047 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6048
6049         * debian/changelog: Removing the bug-fixed entries that were actually
6050         resolved as WONTFIX.
6051
6052         * src/hildon-date-editor.c: Removing a redundant check. Fixes
6053         NB#54182.
6054
6055 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6056
6057         * src/hildon-bread-crumb-trail.c:
6058         * src/hildon-bread-crumb-trail.h:
6059         * src/hildon-bread-crumb.c:
6060         * src/hildon-bread-crumb.h:
6061
6062         Untabify.
6063
6064 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
6065
6066         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6067         until it's passed the type check.
6068
6069 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6070
6071         * examples/hildon-bread-crumb-trail-example.c
6072
6073         Add license.
6074
6075 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
6076
6077         * examples/Makefile.am
6078         * examples/hildon-bread-crumb-trail-example.c
6079         * src/Makefile.am
6080         * src/hildon-bread-crumb-trail.c
6081         * src/hildon-bread-crumb-trail.h
6082         * src/hildon-bread-crumb.c
6083         * src/hildon-bread-crumb.h
6084
6085         New HildonBreadCrumbTrail widget.
6086
6087 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
6088
6089         * src/hildon-range-editor.c (hildon_range_editor_init),
6090         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6091         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6092         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6093         hildon_time_editor_class_init, hildon_time_editor_init),
6094         src/hildon-get-password-dialog.c (invalid_input,
6095         hildon_get_password_set_property, hildon_get_password_get_property,
6096         create_contents, hildon_get_password_dialog_set_max_characters),
6097         src/hildon-set-password-dialog.c (create_contents),
6098         src/hildon-date-editor.c (hildon_date_editor_init),
6099         src/hildon-login-dialog.c (hildon_login_dialog_init),
6100         src/hildon-number-editor.c (hildon_number_editor_init),
6101         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6102         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6103         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6104          configure option and adding the respective checks in the code.
6105         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6106         hildon_calendar_drag_data_received): fixed some build warnings.
6107
6108 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
6109
6110         * debian/changelog: A 1.0.0 release notes.
6111