741990d56e7be774c2881b12a8c2eaaf1603545e
[hildon] / ChangeLog
1 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
2
3         * examples/hildon-pannable-area-example-2.c: (main): No need to
4         set the cellrenderer height inside hildon touch lists, the theme does
5         that for us.
6
7 2008-09-10  Claudio Saavedra  <csaavedra@igalia.com>
8
9         * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
10         they are integrated in the theme.
11
12 2008-09-09  Alberto Garcia  <agarcia@igalia.com>
13
14         * examples/hildon-entry-example.c: Update the example adding
15         widgets to modify the text and the placeholder of the HildonEntry.
16
17         * src/hildon-entry.c: Show the placeholder everytime the widget
18         is empty and loses the focus.
19
20 2008-09-09  Alejandro G. Castro  <alex@igalia.com>
21
22         Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
23
24         * src/hildon-pannable-area.c,
25         (hildon_pannable_area_size_request): Fixed bug in height
26         requisition, avoid increasing size and add border twice.
27
28 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
29
30         * configure.ac: postrelease version bump.
31
32 2008-09-09  Claudio Saavedra  <csaavedra@igalia.com>
33
34         Release 2.1.8-1.
35
36         * configure.ac: Prerelease version bump.
37         * debian/changelog: update.
38         * debian/rules: make -dbg package contain useful debugging symbols.
39
40 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
41
42         * src/hildon-dialog.h
43         * src/hildon-dialog.c
44         (hildon_dialog_add_button, hildon_dialog_add_buttons):
45         New methods to add buttons with finger size.
46         (hildon_dialog_new_with_buttons):
47         Create buttons with finger size.
48
49         * examples/hildon-dialog-example.c (main): Use HildonDialog
50         methods to add buttons.
51
52 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
53
54         * src/hildon-entry.c: Updated HildonButton documentation.
55
56 2008-09-08  Alberto Garcia  <agarcia@igalia.com>
57
58         * src/hildon-button.c (hildon_button_set_arrangement): Pack the
59         button value label with (FALSE, FALSE) to prevent NB#88126 from
60         being triggered.
61
62 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
63
64         * examples/hildon-pannable-area-example.c,
65         (main): Removed examples panning a vbox inside a pannable
66         area. Check bug NB#87965
67
68 2008-09-08  Alejandro G. Castro  <alex@igalia.com>
69
70         Patch contributed by Kris Rietveld (kris@imendio.com)
71
72         * src/hildon-pannable-area.c,
73         (hildon_pannable_area_get_topmost): replaced the get_geometry with
74         get_size and get_position, this saves an X server roundtrip.
75
76 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
77
78         * doc/hildon-docs.sgml
79         * doc/hildon.types
80         * examples/Makefile.am
81         * examples/hildon-entry-example.c
82         * src/Makefile.am
83         * src/hildon-entry.c
84         * src/hildon-entry.h
85         * src/hildon.h:
86         New HildonEntry widget, with example.
87
88 2008-09-05  Alberto Garcia  <agarcia@igalia.com>
89
90         * src/hildon-button.c (hildon_button_construct_child): Pack the
91         image with expand == fill == FALSE. This is a workaround for a bug
92         in GtkBox.
93
94 2008-09-05  Claudio Saavedra  <csaavedra@igalia.com>
95
96         * examples/hildon-pannable-area-example-2.c: (main): Use the stock
97         labels for the text column, to make it more look more dynamic.
98
99 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
100
101         * src/hildon-time-selector.c
102         Define gettext auxiliar macro N_
103         (_create_minutes_model)
104         (_create_hours_model)
105         (_create_ampm_model): use of strftime in order to fill the model
106         * src/hildon-date-selector.c
107         (hildon_date_selector_finalize):
108         (_locales_init): remove the logic related to get the name of the months
109         using nl_langinfo, as it is not required anymore
110         (_create_day_model)
111         (_create_year_model)
112         (_create_month_model)
113         (_update_day_model): use of strftime in order to fill the model properly
114
115
116 2008-09-04  Alberto Garcia  <agarcia@igalia.com>
117
118         * src/hildon-button.h
119         * src/hildon-button.c (hildon_button_get_image): New method to
120         retrieve the image.
121
122 2008-09-04  Claudio Saavedra  <csaavedra@igalia.com>
123
124         * src/hildon-touch-selector.c:
125         (hildon_touch_selector_remove_column): Remove from the correct parent
126         and also remove the list element and free it.
127         Fixes: NB#88049
128
129 2008-09-04  Alejandro Pinheiro  <apinheiro@igalia.com>
130
131         * src/hildon-time-selector.c
132         (_create_hours_model): change the range on 12h ampm format in order to use
133         a 12-11 range instead of previous 01-12 range
134         (hildon_time_selector_set_time): change the way to select the current time
135         on 12h ampm format, due the change on the range
136         (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
137         Fixes: NB#88036
138
139 2008-09-03  Alejandro Pinheiro  <apinheiro@igalia.com>
140
141         * src/hildon-touch-selector.c
142         (hildon_date_touch_selector_get_selected): fix the selection mode check,
143         in order to allow use this function on multiple row selection mode if
144         the column is different that the first one
145         Fixes: NB#88047
146
147 2008-09-03  Claudio Saavedra  <csaavedra@igalia.com>
148
149         * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
150         to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
151
152 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
153
154         * src/hildon-date-selector.h: clean some comments, now on the .c
155         * src/hildon-date-selector.c
156         (hildon_date_selector_select_month): first implementation
157         (hildon_date_selector_select_day): added documentation, reimplemented
158         using hildon_date_selector_select_current_date to avoid repeat code
159         Fixes: NB#88027
160
161 2008-09-02  Alejandro G. Castro  <alex@igalia.com>
162
163         Reviewed interaction logic based on device experiences, refactored
164         code.
165
166         * src/hildon-pannable-area.c,
167         (hildon_pannable_area_class_init): Updated default vmax speed.
168         (hildon_pannable_area_calculate_velocity): Added this function, it
169         avoids duplicate valocity calculation. Adjusted calculation to
170         avoid problems with zero dist events.
171
172         (hildon_pannable_area_motion_notify_cb): Now we use the
173         calculate_velocity function.
174
175 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
176
177         * src/hildon-date-selector.c
178         (hildon_date_selector_select_current_date): fix the day range check
179         as it failed using the last day of the current month
180         Fixes NB#88023
181
182 2008-09-02  Alejandro Pinheiro  <apinheiro@igalia.com>
183
184         * src/hildon-touch-selector.c
185         (hildon_touch_selector_get_num_columns): added a parameter validation
186         Fixes: NB#88022
187
188 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
189
190         * examples/Makefile.am
191         * examples/hildon-edit-toolbar-example.c: Example of the
192         HildonEditToolbar widget.
193
194 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
195
196         * configure.ac: postrelease version bump.
197
198 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
199
200         Release 2.1.6-1.
201
202         * configure.ac: prerelease version bump.
203         * debian/changelog: update.
204
205 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
206
207         * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
208         renderer to display stock icons in the touch list. Also, set the sizes
209         to the recommended in the style guide.
210
211 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
212         * src/hildon-touch-selector.h
213         (hildon_touch_selector_set_active_iter): renamed, now is
214         hildon_touch_selector_select_iter
215         (hildon_touch_selector_get_active_iter): renamed, now is
216         hildon_touch_selector_get_selected
217         (hildon_touch_selector_unselect_iter): added
218         * src/hildon-touch-selector.c
219         Update after API modification (methods renamed)
220         (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
221         order to avoid problems selecting multiple elements on the column
222         (hildon_touch_selector_unselect_iter): added the implementation
223         * src/hildon-time-selector.c
224         * src/hildon-date-selector.c
225         * src/hildon-touch-selector-entry.c
226         Update methods calls after hildon-touch-selector.h API modification (methods
227         renamed)
228
229 2008-08-29  Alberto Garcia  <agarcia@igalia.com>
230
231         * src/hildon-stackable-window.c
232         (hildon_stackable_window_finalize): Call the parent class's finalize.
233
234 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
235
236         * examples/hildon-touch-selector-example.c: (create_selector): Use
237         gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
238         cell height.
239
240 2008-08-29  Claudio Saavedra  <csaavedra@igalia.com>
241
242         * examples/hildon-touch-selector-example.c: (create_selector): Do not
243         set a cell background color, to respect theming.
244
245 2008-08-28  Alberto Garcia  <agarcia@igalia.com>
246
247         * doc/hildon-docs.sgml
248         * doc/hildon.types
249         * src/Makefile.am
250         * src/hildon-edit-toolbar.c
251         * src/hildon-edit-toolbar.h
252         * src/hildon.h: New HildonEditToolbar widget.
253
254 2008-08-28  Claudio Saavedra  <csaavedra@igalia.com>
255
256         * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded 
257         extra GtkVBox.
258
259 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
260         * src/hildon-touch-selector.c
261         (_create_new_column): use g_object_set instead of two g_object_set_property
262         
263 2008-08-28  Alejandro Pinheiro  <apinheiro@igalia.com>
264         * src/hildon-touch-selector.c
265         (_create_new_column): use of hildon_gtk_tree_view_new to create
266         the treeview, instead of use directly g_object_new
267         (_create_new_column): update the property name "vindicator-mode" for the
268         new one "vscrollbar-policy" 
269         * examples/hildon-date-button-example.c
270         * examples/hildon-picker-button-multicolumn-example.c
271         * examples/hildon-touch-selector-entry-example.c
272         * examples/hildon-touch-selector-example.c
273         * examples/hildon-time-button-example.c
274         * examples/hildon-picker-button-example.c
275         Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
276         to all the treeviews inside a pannable area. 
277         
278 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
279
280         * src/hildon-button.h
281         * src/hildon-button.c (hildon_button_init)
282         (hildon_button_set_arrangement, hildon_button_set_alignment)
283         (hildon_button_set_title_alignment)
284         (hildon_button_set_value_alignment)
285         (hildon_button_set_image_alignment)
286         (hildon_button_construct_child): New methods to set the alignment
287         of the individual components of the button (title, value,
288         image). Also, new method to alter the xscale and yscale properties
289         of the GtkAlignment inside the button, so more complex layouts can
290         be created.
291
292 2008-08-27  Alberto Garcia  <agarcia@igalia.com>
293
294         * src/hildon-button.c (hildon_button_style_set)
295         (hildon_button_class_init, hildon_button_set_arrangement)
296         (hildon_button_construct_child): Apply style properties
297         correctly. Use the 'image-spacing' style property too.
298
299 2008-08-26  Alberto Garcia  <agarcia@igalia.com>
300
301         * src/hildon-app-menu.c (hildon_app_menu_style_set)
302         (hildon_app_menu_init, hildon_app_menu_class_init): Set style
303         correctly.
304
305 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
306
307         * src/hildon-pannable-area.c,
308         (hildon_pannable_area_size_request): Fixed problem with
309         pannable-area size_request.
310
311 2008-08-26  Alejandro G. Castro  <alex@igalia.com>
312
313         Added management for the grab-focus to a child widget, like a
314         range, we need to fade out the scrollbar when releasing.
315
316         * src/hildon-pannable-area.c,
317         (hildon_pannable_area_init): Connected the grab-focus signal to
318         the callback.
319         (hildon_pannable_area_grab_notify): Added this function in order
320         to manage the situation when the grab-focus ends. We have to
321         fade-out the scrollbar.
322
323 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
324
325         * src/hildon-app-menu.c: Minor documentation update.
326
327 2008-08-25  Alberto Garcia  <agarcia@igalia.com>
328
329         * src/hildon-app-menu.c
330         * examples/hildon-app-menu-example.c (create_menu): Update
331         examples and documentation to explain how to connect callbacks.
332
333 2008-08-25  Alejandro Pinheiro <apinheiro@igalia.com>
334
335         * examples/hildon-button-example.c
336         (vertical_buttons_window) (horizontal_buttons_window) (main): use of
337         hildon_stackable_window_new instead of gtk_window_new
338
339 2008-08-22  Alejandro G. Castro  <alex@igalia.com>
340
341         * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
342         (hildon_pannable_area_init), (hildon_pannable_area_get_property),
343         (hildon_pannable_area_set_property),
344         (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
345         (hildon_pannable_area_unrealize),
346         (hildon_pannable_area_size_request),
347         (hildon_pannable_area_size_allocate),
348         (hildon_pannable_area_style_set), (hildon_pannable_area_map),
349         (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
350         (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
351         (hildon_pannable_area_initial_effect),
352         (hildon_pannable_area_redraw),
353         (hildon_pannable_area_scroll_indicator_fade),
354         (hildon_pannable_area_expose_event),
355         (hildon_pannable_area_get_topmost), (synth_crossing),
356         (hildon_pannable_area_button_press_cb),
357         (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
358         (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
359         (hildon_pannable_area_motion_notify_cb),
360         (hildon_pannable_area_button_release_cb),
361         (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
362         (hildon_pannable_area_remove),
363         (hildon_pannable_calculate_vel_factor): Widget refactorization,
364         chage the code layout to a more GtkWidget like. Review the use of
365         variables.
366
367 2008-08-21  Alejandro G. Castro  <alex@igalia.com>
368
369         * examples/hildon-pannable-area-example-4.c,
370         (main): Modified the name of the hindicator_mode to
371         hscrollbar_visible
372
373         * src/hildon-pannable-area.c,
374         (hildon_pannable_area_class_init),
375         (hildon_pannable_area_motion_notify_cb),
376         (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
377         we have reduced the amount of signals and managed reviewed its
378         rationale. Changed the default decelerate value.
379
380         (hildon_pannable_area_add),
381         (hildon_pannable_area_redraw): Refactored functions.
382
383         (hildon_pannable_area_init),
384         (hildon_pannable_area_get_property),
385         (hildon_pannable_area_set_property):
386         (hildon_pannable_draw_vscroll),
387         (hildon_pannable_draw_hscroll),
388         (hildon_pannable_area_initial_effect),
389         (hildon_pannable_area_expose_event),
390         (hildon_pannable_area_scroll),
391         (hildon_pannable_area_button_press_cb),
392         (hildon_pannable_area_realize): Replaced the names hindicator_mode
393         and vindicator_mode with hscrollbar_policy and
394         vscrollbar_policy. Replaced hscroll and vscroll with
395         hscroll_visible and vscroll_visible.
396
397         (hildon_pannable_area_refresh): Refactor the function, remove
398         variables and check the calls to this function, added resize
399         conditions in case the children change their layout.
400
401         (hildon_pannable_area_size_request): Added more detailed
402         size_request calculation.
403
404
405 2008-08-21  Alejandro Pinheiro <apinheiro@igalia.com>
406
407         * src/hildon-color-chooser.c
408         (init_borders): use the correct gtk_border_free instead of g_free, to
409         avoid a crash when this widget is used (ie: the three color selection
410         examples)
411
412 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
413
414         * src/hildon-check-button.c,
415         (hildon_check_button_set_active): Fixed problem when setting the
416         active value, the widget was not redrawn.
417
418 2008-08-20  Alejandro G. Castro  <alex@igalia.com>
419
420         * src/hildon-pannable-area.c,
421         (hildon_pannable_area_refresh),
422         (hildon_pannable_area_scroll),
423         (hildon_pannable_area_motion_notify_cb): Small code style change.
424
425         (hildon_pannable_area_class_init): Default initial_hint set to
426         FALSE, it is not in the specs.
427
428         (hildon_pannable_area_initial_effect),
429         (hildon_pannable_area_expose_event),
430         (hildon_pannable_area_map),
431         (hildon_pannable_area_init): Moved the launching point of the
432         initial effect, it was in map but the sizes where not correct in
433         that method so we do not know if we have the reproduce it. Now it
434         is placed in the expose_event method and uses a variable to
435         reproduce it just once.
436
437 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
438
439         * src/hildon-pannable-area.c,
440         (hildon_pannable_draw_vscroll),
441         (hildon_pannable_draw_hscroll): Fix error calculating the maximum
442         position allowed for the scrollbars.
443
444         (hildon_pannable_area_size_allocate): Small style change.
445
446 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
447
448         * src/hildon-pannable-area.c,
449         (hildon_pannable_area_scroll_indicator_fade),
450         (hildon_pannable_area_button_press_cb),
451         (hildon_pannable_area_button_release_cb),
452         (hildon_pannable_area_scroll_cb),
453         (hildon_pannable_area_expose_event),
454         (hildon_pannable_area_init): Added the define parameter
455         SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
456         and refactor the fade variable.
457
458 2008-08-19  Alejandro G. Castro  <alex@igalia.com>
459
460         * src/hildon-pannable-area.c,
461         (hildon_pannable_area_redraw),
462         (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
463         lines, we were reimplemeting the redraw code.
464
465 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
466
467         * src/hildon-pannable-area.c,
468         (hildon_pannable_area_scroll_cb),
469         (hildon_pannable_area_realize),
470         (hildon_pannable_area_class_init): Added scroll_event management
471         for pannable area, now we can scroll the usual desktop method.
472
473         (hildon_pannable_area_jump_to): Fixed the logic of the method, the
474         initialization of the parameters should depend on idle_id.
475
476         (hildon_pannable_area_init),
477         (hildon_pannable_area_map): Small code style modifications
478
479 2008-08-18  Alejandro G. Castro  <alex@igalia.com>
480
481         * src/hildon-pannable-area.c
482         (hildon_pannable_area_button_press_cb),
483         (hildon_pannable_area_motion_notify_cb),
484         (hildon_pannable_area_button_release_cb),
485         (hildon_pannable_area_size_allocate),
486         (hildon_pannable_area_scroll_to): Improved the timeouts
487         management, we avoid creating them each time.
488
489 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
490
491         * src/hildon-pannable-area.c:
492         (hildon_pannable_area_refresh),
493         (hildon_pannable_area_motion_notify_cb),
494         (hildon_pannable_area_class_init):
495         * src/hildon-pannable-area.h:
496         * src/hildon-touch-selector.c
497         (_create_new_column):
498         * examples/hildon-pannable-area-example-4.c:
499         (horizontal_movement),
500         (vertical_movement),
501         (main):
502         Replaced the names of enums in the HildonPannableArea:
503            -  HILDON_PANNABLE_AREA_MOV_MODE_* ->
504               HILDON_MOVEMENT_MODE_*
505            -  HILDON_PANNABLE_AREA_MOV_* ->
506               HILDON_MOVEMENT_*
507            - Removed HildonPannableAreaIndicatorMode, now we
508              use GtkPolicyType
509
510 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
511
512         * examples/hildon-pannable-area-touch-grid-example.c
513         * examples/hildon-pannable-area-touch-list-example.c: Fix
514         compilation warnings.
515
516 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
517
518         * src/hildon-gtk.c (hildon_gtk_button_new)
519         (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
520         (hildon_gtk_radio_button_new_from_widget): Make buttons show their
521         images overriding the value of the "gtk-button-images" setting.
522
523 2008-08-14  Alberto Garcia  <agarcia@igalia.com>
524
525         * src/hildon-check-button.c (hildon_check_button_new):
526         Instead of using a custom container, display the label and the
527         checkbox using the standard GtkButton API.
528
529         * examples/hildon-check-button-example.c (main): Don't use
530         hildon_check_button_set_label() anymore
531
532         * src/hildon-check-button.h
533         * src/hildon-check-button.c
534         (hildon_check_button_set_label, hildon_check_button_get_label):
535         Set as deprecated, now we're using gtk_button_{get,set}_label()
536
537 2008-08-14  Alejandro G. Castro  <alex@igalia.com>
538
539         * src/hildon-pannable-area.c,
540         (hildon_pannable_area_get_topmost): Fixed bug with click in the
541         GtkTreeview first line we detected it after the inclusion of the
542         GtkWindowImpl in gtk+. We now check if the window is visible, not
543         just if the pointer is over the window.
544         (hildon_pannable_axis_scroll),
545         (hildon_pannable_area_expose_event): Small style changes.
546
547 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
548
549         * src/hildon-button.c: Update documentation.
550
551 2008-08-13  Alberto Garcia  <agarcia@igalia.com>
552
553         * examples/hildon-button-example.c: Add a switch to show images in
554         the buttons.
555
556 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
557
558         * doc/hildon-docs.sgml: Some docs reorganization.
559
560 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
561
562         * examples/hildon-pannable-area-touch-list-example.c
563         (create_tree_view)
564         * examples/hildon-pannable-area-touch-grid-example.c
565         (create_icon_view): Use gtk_{tree,icon}_view_new() and
566         hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
567         Fix memory leak when setting the tree model.
568
569 2008-08-12  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
570
571         Released 2.1.4
572
573 2008-08-12  Claudio Saavedra  <csaavedra@igalia.com>
574
575         * doc/hildon.types: Remove duplicated hildon_window_get_type
576         * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
577         documentation comment.
578
579 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
580
581         * doc/Makefile.am: Complete list of private headers.
582
583 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
584
585         * doc/hildon-docs.sgml
586         * src/hildon-app-menu.c
587         * src/hildon-bread-crumb.c
588         * src/hildon-button.c
589         * src/hildon-gtk.c
590         * src/hildon-program.c
591         * src/hildon-stackable-window.c
592         * src/hildon-window.c: Lots of documentation updates.
593
594 2008-08-12  Alberto Garcia  <agarcia@igalia.com>
595
596         * debian/control: Depend on Gtk 2:2.12.9-0osso3
597
598         * configure.ac: Require Gtk+ 2.12.9 at least
599
600 2008-08-12  Alejandro G. Castro  <alex@igalia.com>
601
602         * src/hildon-pannable-area.c
603         (hildon_pannable_area_scroll_indicator_fade),
604         (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
605         to protect the return of this timeout callbacks, avoiding deadlocks.
606
607 2008-08-12  Christian Dywan  <christian@imendio.com>
608
609         * src/hildon-*.c
610         * src/hildon-*.h: Ensure a consistent include order,
611         include <gtk/gtk.h> instead of particular files and
612         only include the topmost header in the gtk stack. See NB #39857
613
614 2008-08-12  Christian Dywan  <christian@imendio.com>
615
616         * src/hildon-picker-dialog.c
617         * src/hildon-touch-selector.c: Fix warnings about unused and
618         uninitialized variables.
619
620 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
621
622         * examples/Makefile.am
623         * examples/hildon-check-button-example.c: Example of the hildon
624         check button.
625
626 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
627
628         * src/hildon-window.h
629         * src/hildon-window.c (hildon_window_class_init)
630         (hildon_window_unset_program): Don't make
631         hildon_window_unset_program a virtual function anymore.
632
633         * src/hildon-stackable-window.c: Update documentation
634
635 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
636
637         * doc/Makefile.am
638         * doc/hildon-docs.sgml
639         * doc/visual_index.xml
640         * src/hildon-defines.c
641         * src/hildon-gtk.c
642         * src/hildon-helper.c
643         * src/hildon-range-editor.c: Lots of documentation fixes.
644
645 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
646
647         * examples/hildon-picker-button-multicolumn-example.c
648         (create_touch_selector): Fix compilation warning.
649
650 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
651
652         * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
653         (hildon_pannable_area_button_release_cb)
654         (hildon_pannable_get_child_widget_at): Fix compilation warnings.
655
656 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
657
658         * src/hildon-button.c (hildon_button_add_image_size_group): Fix
659         assertion.
660
661 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
662
663         * src/hildon-bread-crumb-trail.h
664         * src/hildon-date-editor.c
665         * src/hildon-date-selector.c
666         * src/hildon-pannable-area.c
667         * src/hildon-picker-dialog.c
668         * src/hildon-time-selector.c
669         * src/hildon-touch-selector-entry.c
670         * src/hildon-touch-selector.c
671         * src/hildon-touch-selector.h: Misc documentation fixes
672
673 2008-08-11  Alberto Garcia  <agarcia@igalia.com>
674
675         * examples/hildon-date-editor-example.c (main): Updated date
676         editor example.
677
678         * examples/hildon-note-example.c (on_confirmation_clicked):
679         Updated confirmation note example.
680
681         * src/hildon-date-editor.c
682         * src/hildon-note.c: Updated sample programs in documentation.
683         Fixes: NB#87437
684
685 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
686
687         * src/hildon-date-button.h:
688         * src/hildon-picker-button.h:
689         * src/hildon-time-button.c:
690         * src/hildon-time-button.h:
691
692         Some declarations changes to allow gtk-doc to document the widgets
693         properly.
694
695 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
696
697         * src/hildon-date-button.c: Document the widget.
698         * src/hildon-time-button.c: Document the widget.
699
700 2008-08-08  Claudio Saavedra  <csaavedra@igalia.com>
701
702         * src/hildon-picker-button.c: Document the widget.
703         * src/hildon-touch-selector-entry.c: Document the widget.
704
705 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
706
707         * doc/hildon-docs.sgml
708         * src/Makefile.am
709         * src/hildon.h
710         * src/hildon-check-button.h
711         * src/hildon-check-button.c: New functions to create the Hildon
712         Touch Checkbox.
713
714         * src/hildon-gtk.h
715         * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
716
717 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
718
719         * src/hildon-button.h
720         * src/hildon-button.c
721         (hildon_button_add_title_size_group)
722         (hildon_button_add_value_size_group)
723         (hildon_button_add_image_size_group)
724         (hildon_button_add_size_groups): New functions to set size groups
725         for the button labels and image.
726         (hildon_button_new_full): Removed
727
728 2008-08-08  Alejandro Pinheiro <apinheiro@igalia.com>
729
730         * src/hildon-time-selector.c
731         (_check_ampm_format): use of g_warning instead of g_error with a gconf error
732         in order to avoid a crash if gconf is not available
733
734 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
735
736         * src/hildon-button.c (hildon_button_set_arrangement)
737         (hildon_button_construct_child): Don't construct the button child
738         before setting the arrangement.
739
740 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
741
742         * src/hildon-program-private.h
743         * src/hildon-program.c
744         * src/hildon-program.h
745         (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
746         (hildon_program_peek_window_stack)
747         (hildon_program_pop_window_stack)
748         (hildon_program_go_to_root_window): HildonProgram now has a
749         separate list for stackable windows. Functions are provided to
750         manage that list with a stack-like API.
751
752         * src/hildon-stackable-window.c: Stackable window management is
753         now much simpler with the new HildonProgram API. Windows no
754         longer need to be manually added to the program, they're
755         automatically pushed to the top of the stack when shown.
756
757         * examples/hildon-stackable-window-example.c: Updated example to
758         reflect the API changes.
759
760 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
761
762         * src/hildon-touch-selector.c: Comment out unimplemented
763         hildon_touch_selector_insert_column() to avoid a compile warning.
764
765 2008-08-07  Claudio Saavedra  <csaavedra@igalia.com>
766
767         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
768         (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
769         (hildon_touch_selector_set_column_selection_mode),
770         (_hildon_touch_selector_set_model),
771         (hildon_touch_selector_set_model):
772
773         Complete review of HildonTouchSelector documentation.
774
775 2008-08-08  Alberto Garcia  <agarcia@igalia.com>
776
777         * doc/hildon-docs.sgml
778         * src/Makefile.am
779         * src/hildon.h
780         * src/hildon-gtk.h
781         * src/hildon-gtk.c: Convenience functions for standard Gtk
782         widgets, used to easily perform frequent operations.
783
784         * src/hildon-button-helpers.h
785         * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
786
787         * src/hildon-helper.h
788         * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
789         hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
790
791         * src/hildon-button.h
792         * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
793
794 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
795
796         * src/hildon-button.c (hildon_button_init)
797         (hildon_button_set_arrangement, hildon_button_construct_child):
798         Pack the image and the labels inside the same GtkAlignment so
799         gtk_button_set_alignment() can be used
800
801 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
802
803         * src/hildon-button.h
804         * src/hildon-button.c
805         (hildon_button_init, hildon_button_set_image)
806         (hildon_button_set_image_position)
807         (hildon_button_construct_child): New functions to add an image to
808         the HildonButton.
809
810 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
811
812         * src/hildon-date-button.c
813         * src/hildon-picker-button.c
814         * src/hildon-time-button.c
815         * src/hildon-button.c:
816         (hildon_button_class_init): "size-flags" renamed to "size"
817         (hildon_button_set_title): Hide the title label if set to NULL.
818
819 2008-08-07  Alberto Garcia  <agarcia@igalia.com>
820
821         HildonButtonFlags split into HildonButtonArrangement (to set the
822         button layout) and HildonSizeType (which can be used for any
823         widget).
824
825         * src/hildon-button.h
826         * src/hildon-button.c
827         (hildon_button_class_init)
828         (hildon_button_set_arrangement)
829         (hildon_button_set_property): New "size-flags"
830         property. "arrangement-flags" renamed to "arrangement".
831         (hildon_button_new, hildon_button_new_with_text)
832         (hildon_button_new_full): Constructors updated to reflect type changes.
833
834         * src/hildon-helper.h
835         * src/hildon-helper.c (hildon_helper_set_theme_size): New function
836         to set the size of a widget.
837
838         * src/Makefile.am
839         * src/hildon.h
840         * src/hildon-button-helpers.c
841         * src/hildon-button-helpers.h: New hildon-button-helpers module.
842
843         * src/hildon-date-button.c
844         * src/hildon-date-button.h
845         * src/hildon-picker-button.c
846         * src/hildon-picker-button.h
847         * src/hildon-time-button.c
848         * src/hildon-time-button.h: Updated widgets to reflect
849         HildonButton API changes.
850
851         * examples/hildon-button-example.c
852         * examples/hildon-date-button-example.c
853         * examples/hildon-picker-button-example.c
854         * examples/hildon-picker-button-multicolumn-example.c
855         * examples/hildon-time-button-example.c
856         * examples/hildon-touch-selector-entry-example.c
857         * examples/hildon-touch-selector-example.c: Updated examples to
858         reflect HildonButton API changes.
859
860 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
861
862         * doc/hildon-docs.sgml:
863         * doc/hildon.types:
864         * examples/Makefile.am:
865         * examples/hildon-touch-selector-entry-example.c:
866         * src/Makefile.am:
867         * src/hildon-touch-selector-entry.c:
868         * src/hildon-touch-selector-entry.h:
869         * src/hildon.h:
870
871         Moved HildonTouchSelectorEntry from sandbox. Added its
872         documentation and examples.
873
874 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
875
876         * src/hildon-touch-selector.h:
877         * examples/hildon-picker-button-multicolumn-example.c:
878         (hildon_touch_selector_append_text_column): Add a gboolean
879         parameter to determine if text must be centered in the column.
880
881         * src/hildon-date-selector.c: (hildon_date_selector_init):
882         * src/hildon-time-selector.c: (hildon_time_selector_init):
883         * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
884         (create_touch_selector): Update widgets and example to reflect
885         the API change.
886
887 2008-08-06  Claudio Saavedra  <csaavedra@igalia.com>
888
889         * src/hildon-touch-selector.c:
890         (hildon_touch_selector_set_active_iter): Set also the cursor in
891         the active row.
892
893 2008-08-06  Alberto Garcia  <agarcia@igalia.com>
894
895         * doc/hildon-docs.sgml
896         * doc/hildon.types
897         * src/Makefile.am
898         * src/hildon-toggle-button.c
899         * src/hildon-toggle-button.h
900         * src/hildon.h: Removed HildonToggleButton widget, a derived
901         class is not necessary for this.
902
903 2008-08-06  Alejandro G. Castro  <alex@igalia.com>
904
905         * src/hildon-pannable-area.c,
906         (hildon_pannable_area_realize),
907         (hildon_pannable_area_size_allocate): Code refactoring, add tests
908         for negative sizes.
909
910 2008-08-05  Claudio Saavedra  <csaavedra@igalia.com>
911
912         * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
913         "done" button the default widget for the dialog.
914
915 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
916
917         * src/hildon-touch-selector.c:
918         (hildon_touch_selector_class_init),
919         (hildon_touch_selector_get_property),
920         (_hildon_touch_selector_set_model),
921         (_hildon_touch_selector_has_multiple_selection),
922         (hildon_touch_selector_has_multiple_selection):
923         Add a "has-multiple-selection" property with a virtual
924         has_multiple_selection() method to allow derived classes to
925         override the default value for it. See the method and property
926         documentation for details.
927
928         * src/hildon-touch-selector.h: Add the new API.
929
930         * src/hildon-picker-dialog.c: (requires_done_button): Call
931         hildon_touch_selector_has_multiple_selection() instead of
932         determining the need for a button itself.
933
934 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
935
936         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
937         (_hildon_touch_selector_set_model),
938         (hildon_touch_selector_set_model): Move working code to
939         _hildon_touch_selector_set_mode(). Call the class method instead.
940
941         * src/hildon-touch-selector.h: Add (*set_model) to
942         HildonTouchSelectorClass.
943
944         Make hildon_touch_selector_set_model() a virtual method, so that
945         derived classes can extend it and do fancy stuff with the model.
946
947 2008-08-04  Claudio Saavedra  <csaavedra@igalia.com>
948
949         * configure.ac: Set back the tarname in AC_INIT to hildon.
950
951 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
952
953         Release 2.1.3
954
955         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
956         instead of libesd (NB#86876). Volume handling is still an open issue.
957
958         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
959         cleanups.
960
961 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
962
963         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
964         (hildon_touch_selector_append_column): Make the widget a GtkVBox
965         derived class to ease placement of an entry widget in
966         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
967         end, where the selector columns are packed now.
968
969 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
970
971         * src/hildon-picker-button.c: Removed the simple _text() API.
972         * src/hildon-picker-button.h: Likewise.
973
974         * src/hildon-touch-selector.h:
975         * src/hildon-touch-selector.c:
976         (hildon_touch_selector_new_text),
977         (hildon_touch_selector_append_text),
978         (hildon_touch_selector_prepend_text),
979         (hildon_touch_selector_insert_text):
980
981         Moved the simple _text() API from HildonPickerButton to
982         HildonTouchPicker, to provide better escalability and not to tie
983         that API to HildonPickerButton.
984
985         * examples/hildon-picker-button-example.c: (main): Example updated.
986
987 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
988
989         * src/hildon-button.c: Updated documentation.
990
991         * examples/hildon-button-example.c: Add the posibility to create
992         the buttons using horizontal layout for title and value.
993
994 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
995
996         * src/hildon-app-menu-private.h
997         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
998         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
999         GtkSizeGroup for the filters, use the 'homogeneous' property of
1000         the box instead.
1001
1002 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
1003
1004         * examples/hildon-button-example.c: Updated example.
1005
1006 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
1007
1008         * doc/hildon-docs.sgml:
1009         * doc/hildon.types:
1010
1011         Update documentation.
1012
1013         * examples/Makefile.am: Update renamed examples.
1014
1015         * examples/hildon-picker-button-multicolumn-example.c:
1016         (create_touch_selector), (main): Update after the rename.
1017
1018         * examples/hildon-touch-picker-example.c: Removed.
1019         * examples/hildon-touch-selector-example.c: (value_changed),
1020         (create_selector), (get_visible_content), (main): Renamed from
1021         hildon-touch-picker-example.c
1022
1023         * src/Makefile.am: Updated renamed files.
1024
1025         * src/hildon-date-button.c: (hildon_date_button_init),
1026         (hildon_date_button_get_date), (hildon_date_button_set_date):
1027         * src/hildon-date-selector.c: (hildon_date_selector_init),
1028         (_custom_print_func), (_update_day_model),
1029         (_manage_selector_change_cb),
1030         (hildon_date_selector_select_current_date),
1031         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1032         * src/hildon-date-selector.h:
1033         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1034         (hildon_picker_button_set_property),
1035         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1036         (hildon_picker_button_init), (hildon_picker_button_new_text),
1037         (hildon_picker_button_append_text),
1038         (hildon_picker_button_prepend_text),
1039         (hildon_picker_button_insert_text),
1040         (hildon_picker_button_set_selector),
1041         (hildon_picker_button_get_selector):
1042         * src/hildon-picker-button.h:
1043         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1044         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1045         (_update_title_on_selector_changed_cb), (requires_done_button),
1046         (_hildon_picker_dialog_set_selector),
1047         (hildon_picker_dialog_set_selector),
1048         (hildon_picker_dialog_get_selector):
1049         * src/hildon-picker-dialog.h:
1050         * src/hildon-time-button.c: (hildon_time_button_init),
1051         (hildon_time_button_get_time), (hildon_time_button_set_time):
1052         * src/hildon-time-selector.c: (hildon_time_selector_init),
1053         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1054         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1055         * src/hildon-time-selector.h:
1056         * src/hildon.h:
1057
1058         Massive code updates after the rename.
1059
1060         * src/hildon-touch-picker.c: Removed.
1061         * src/hildon-touch-picker.h: Removed.
1062
1063         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1064         (hildon_touch_selector_init), (hildon_touch_selector_map),
1065         (hildon_touch_selector_remove), (_default_print_func),
1066         (_selection_changed_cb), (_create_new_column),
1067         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1068         (hildon_touch_selector_append_text_column),
1069         (hildon_touch_selector_remove_column),
1070         (hildon_touch_selector_set_column_attributes),
1071         (hildon_touch_selector_insert_column),
1072         (hildon_touch_selector_get_num_columns),
1073         (hildon_touch_selector_get_column_selection_mode),
1074         (hildon_touch_selector_set_column_selection_mode),
1075         (hildon_touch_selector_set_print_func),
1076         (hildon_touch_selector_get_print_func),
1077         (hildon_touch_selector_get_active_iter),
1078         (hildon_touch_selector_set_active_iter),
1079         (hildon_touch_selector_get_selected_rows),
1080         (hildon_touch_selector_get_model),
1081         (hildon_touch_selector_set_model),
1082         (hildon_touch_selector_get_current_text),
1083         (_hildon_touch_selector_center_on_selected_items):
1084         * src/hildon-touch-selector.h: Renamed from
1085         hildon-touch-picker.[ch]
1086
1087         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1088         references, code examples, and related documentation.
1089
1090 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
1091
1092         * doc/hildon-docs.sgml
1093         * doc/hildon.types
1094         * src/Makefile.am
1095         * src/hildon-toggle-button.c
1096         * src/hildon-toggle-button.h
1097         * src/hildon.h: New HildonToggleButton widget.
1098
1099 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
1100
1101         * src/hildon-button.c: Add API documentation.
1102         (hildon_button_set_size_groups): Check input parameters
1103
1104 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
1105
1106         * src/hildon-pannable-area.c
1107         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1108         effect after reaching the movement thredshold. This way we start
1109         using the distance after passing the thredshold.
1110
1111 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1112
1113         * src/hildon-button.c: (hildon_button_set_property): Use the
1114         appropriate g_value_get_flags() method.
1115
1116 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1117
1118         * doc/hildon-docs.sgml:
1119         * doc/hildon.types:
1120
1121          Add the touch pickers, picker dialogs, and picker button widgets
1122         to the documentation.
1123
1124 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1125
1126         * src/hildon-button.c: (hildon_button_set_property),
1127         (hildon_button_class_init): Make "arrangement-flags" a proper
1128         G_TYPE_FLAGS derived property.
1129
1130 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1131
1132         * examples/Makefile.am: Add below examples.
1133         * examples/hildon-date-button-example.c:
1134         * examples/hildon-picker-button-example.c:
1135         * examples/hildon-picker-button-multicolumn-example.c:
1136         * examples/hildon-time-button-example.c:
1137         * examples/hildon-touch-picker-example.c:
1138
1139         Add examples for the recently added touch pickers,
1140         picker dialogs, and picker button widgets.
1141
1142 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1143
1144         * src/hildon-button.c: Add some API documentation
1145
1146 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1147
1148         * src/hildon-button.h
1149         * src/hildon-button.c
1150         (hildon_button_new)
1151         (hildon_button_new_with_text): New constructor to create a button
1152         with no text at all.
1153         (hildon_button_init, hildon_button_set_arrangement)
1154         (hildon_button_set_title, hildon_button_set_value)
1155         (hildon_button_set_text)
1156         (hildon_button_construct_child): Hide the value when it's not used
1157         so the rest of the text is properly aligned.
1158         Allow creating buttons with arbitrary widgets inside (not just
1159         title/value labels).
1160
1161         * examples/hildon-button-example.c (vertical_buttons_window)
1162         (horizontal_buttons_window): Update example to use new API.
1163
1164 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1165
1166         * src/Makefile.am: Added HildonTimeButton.
1167         * src/hildon-time-button.c: Added missing LGPL header.
1168         * src/hildon-time-button.h: Added missing LGPL header.
1169         * src/hildon.h: Add hildon-time-button.h
1170
1171         Copied HildonTimeButton from sandbox to trunk. Future work on this
1172         widget must take place in trunk.
1173
1174 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1175
1176         * src/Makefile.am: Added HildonDateButton.
1177         * src/hildon-date-button.c: Update includes.
1178         * src/hildon.h: Add hildon-date-button.h
1179
1180         Copied HildonDateButton from sandbox to trunk. Future work on this
1181         widget must take place in trunk.
1182
1183 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1184
1185         * src/Makefile.am: Added HildonPickerButton.
1186         * src/hildon-picker-button.h: Update includes.
1187         * src/hildon.h: Add hildon-picker-button.h
1188
1189         Copied HildonPickerButton from sandbox to trunk. Future work on
1190         this widget must take place in trunk.
1191
1192 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1193
1194         * src/Makefile.am: Added HildonPickerDialog.
1195         * src/hildon-picker-dialog.c: Update includes.
1196         * src/hildon.h: Add hildon-picker-dialog.h
1197
1198         Copied HildonPickerDialog from sandbox to trunk. Future work
1199         on this widget must take place in trunk.
1200
1201 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1202
1203         * src/Makefile.am: Added HildonTimeSelector.
1204         * src/hildon.h: Add hildon-time-selector.h
1205
1206         Copied HildonTimeSelector widget from sandbox to trunk. Future
1207         work on this widget must happen in trunk.
1208
1209 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1210
1211         * src/Makefile.am: Added HildonDateSelector.
1212         * src/hildon.h: Add hildon-date-selector.h
1213
1214         Copied HildonDateSelector widget from sandbox to trunk.  Future
1215         work on this widget must happen in trunk.
1216
1217 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1218
1219         * src/Makefile.am: Added HildonTouchPicker.
1220         * src/hildon-touch-picker.c: Update includes.
1221         * src/hildon.h: Add hildon-touch-picker.h
1222
1223         Copied HildonTouchPicker widget from sandbox to trunk. Future work
1224         on this widget must happen in trunk.
1225
1226 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
1227
1228         * src/hildon-pannable-area.c:
1229         (hildon_pannable_area_motion_notify_cb): Fix a typo.
1230
1231 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
1232
1233         * examples/hildon-app-menu-example.c (main): Let the window
1234         destroy the menu.
1235
1236 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1237
1238         * src/hildon-pannable-area.c
1239         (hildon_pannable_area_class_init): Set the min value of the
1240         overshoot properties to zero, which points out that not
1241         overshooting allowed.
1242
1243 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1244
1245         Modified the procedure to get the widget at a point inside the
1246         pannable area when using the movement type signals. Now the user
1247         has to call a function to get the child, that way we just
1248         calculate the child in case the user really want to use it and not
1249         all the time.
1250
1251         * src/hildon-marshalers.list: Modified the marshallers, now we do
1252         not have the widget as a parameter.
1253
1254         * src/hildon-pannable-area.c
1255         (hildon_pannable_area_motion_notify_cb),
1256         (hildon_pannable_area_class_init),
1257         (hildon_pannable_get_child_widget_at):  Removed the widget
1258         parameter from the signal callback. We have also refactored the
1259         emission of the signals.
1260
1261         * src/hildon-pannable-area.h: Added a new method to the API to
1262         calculate a widget at a point inside the pannable area,
1263         hildon_pannable_get_child_widget_at.
1264
1265         * examples/hildon-pannable-area-example-4.c
1266         (horizontal_movement): Modified the example to use the new API,
1267         added condition to control which widget is under the event. This
1268         way we can avoid scrolling laterally over other widgets.
1269
1270 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
1271
1272         * src/hildon-pannable-area.c
1273         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1274         modes, we stop getting the pointer events due to returning the
1275         callback without properly calling the get pointer again. Fixed
1276         also an error using the hscroll and vscroll.
1277
1278 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
1279
1280         * src/hildon-app-menu-private.h
1281         * src/hildon-app-menu.c (hildon_app_menu_button_press)
1282         (hildon_app_menu_button_release, hildon_app_menu_init)
1283         (hildon_app_menu_class_init): Don't hide the menu on button
1284         release if the user didn't press outside first.
1285
1286         * src/hildon-window.h
1287         * src/hildon-window.c (hildon_window_toggle_menu)
1288         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1289         hildon_window_toggle_menu a virtual function for the stackable
1290         window to override it.
1291
1292         * src/hildon-stackable-window.h
1293         * src/hildon-stackable-window-private.h
1294         * src/hildon-stackable-window.c
1295         (hildon_stackable_window_realize)
1296         (hildon_stackable_window_finalize)
1297         (hildon_stackable_window_class_init)
1298         (hildon_stackable_window_init)
1299         (hildon_stackable_window_set_main_menu): New function to set the
1300         app menu of a HildonStackableWindow.
1301
1302         * examples/hildon-app-menu-example.c: Remove the button to show
1303         the app menu, now it'll be shown when clicking on the title bar
1304         instead.
1305
1306 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
1307
1308         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1309         set the widget name if the arrangement flags do not specify
1310         a particular size.
1311
1312 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
1313
1314         * src/hildon-button.c: (hildon_button_set_property),
1315         (hildon_button_class_init), (hildon_button_new_full),
1316         (hildon_button_set_arrangement): Added "arrangement-flags"
1317         property.
1318
1319         Make the HildonButtonFlags a construction-only property, to allow
1320         subclasses to set them properly.
1321
1322 2008-07-21 Tim Janik  <timj@imendio.com>
1323
1324         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1325         insertion position after backspace, so additional digits are appended,
1326         fixes Bug #85874.
1327
1328 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
1329
1330         * src/hildon-pannable-area.c,
1331         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1332         TODO list, it was complete and removed the g_debug and g_print
1333         lines.
1334
1335 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
1336
1337         Added the movement modes to the hildon-pannable-area, with this
1338         modes the developers can control in which directions the widget
1339         can scroll. They can also connect to signals in order to do
1340         something when that happens, allowing applications scroll. There
1341         is an example uploaded showing how to use it.
1342
1343         * examples/Makefile.am:
1344         * examples/hildon-pannable-area-example-4.c: Added this example of
1345         an application using the modes.
1346
1347         * src/hildon-marshalers.list: Added a new marshaller for the new
1348         signals.
1349
1350         * src/hildon-pannable-area.h: Added new enumerations and flags in
1351         order to control the movement modes and the new signals to warn
1352         about the movements in the area.
1353
1354         * src/hildon-pannable-area.c:
1355         (hildon_pannable_axis_scroll),
1356         (hildon_pannable_area_scroll),
1357         (hildon_pannable_area_motion_notify_cb),
1358         (hildon_pannable_area_get_property),
1359         (hildon_pannable_area_set_property),
1360         (hildon_pannable_area_map),
1361         (hildon_pannable_area_class_init),
1362         (hildon_pannable_area_init),
1363         (hildon_pannable_area_jump_to): Added the modes to control the
1364         movement in the widget. We have added properties to control it,
1365         signals to warn about the movements and refactored some code.
1366
1367 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
1368
1369         Changes required in order to allow vfast_factor set to zero to
1370         work properly.
1371
1372         * src/hildon-pannable-area.c:
1373         (hildon_pannable_area_button_press_cb): Changed the condition, it
1374         is required for not allowing click when vfast_factor is zero.
1375         (hildon_pannable_area_timeout): Initialized velocity variables
1376         when we stop moving, it was less than 1 but not zero and we need
1377         to check zero in some situations.
1378         (hildon_pannable_area_class_init): Changed the default value of
1379         the speed factor, now the button_press is just sent in case the
1380         speed is 2 per cent of the max speed.
1381         (hildon_pannable_area_init): Initialization with 0.
1382
1383 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
1384
1385         * src/hildon-pannable-area.c,
1386         (hildon_pannable_area_get_topmost): replaced
1387         gdk_window_get_children with gdk_window_peek_children, this way we
1388         do not have to free the list because it is not a copy.
1389
1390         (hildon_pannable_axis_scroll),
1391         (hildon_pannable_area_scroll),
1392         (hildon_pannable_area_timeout),
1393         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1394         two parameters that were only used inside the
1395         hildon_pannable_area_scroll function.
1396
1397         * examples/hildon-pannable-area-example.c,
1398         (get_sawtooth_label): Fixed small memory leak.
1399
1400 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
1401
1402         More checks for the case where the overshoot is bigger than the
1403         size of the widget.
1404
1405         * src/hildon-pannable-area.c:
1406         (hildon_pannable_draw_vscroll),
1407         (hildon_pannable_draw_hscroll): with this new calculation we avoid
1408         to draw the slider of the scrollbar under the other scrollbar.
1409         (hildon_pannable_area_expose_event): added new checks to control
1410         the drawing of the overshooting area rectangle, in case it is too
1411         big for the area of the widget.
1412         (hildon_pannable_area_size_allocate): add more checks to avoid
1413         setting a position to the child widget outside the area.
1414
1415 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
1416
1417         * src/hildon-pannable-area.c
1418         (hildon_pannable_area_size_allocate): Added conditions to control
1419         when overshooting is bigger than the allocated space for the
1420         children, this avoids negative allocations.
1421
1422 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
1423
1424         * doc/hildon-docs.sgml
1425         * doc/hildon.types
1426         * examples/Makefile.am
1427         * examples/hildon-button-example.c
1428         * src/Makefile.am
1429         * src/hildon-button.c
1430         * src/hildon-button.h
1431         * src/hildon.h: Initial version of the new HildonButton widget,
1432         with examples.
1433
1434 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
1435
1436         * src/hildon-pannable-area.c:
1437         (hildon_pannable_area_button_press_cb),
1438         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1439         (hildon_pannable_area_motion_notify_cb),
1440         (hildon_pannable_area_button_release_cb),
1441         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1442         (hildon_pannable_area_jump_to_child):
1443
1444         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1445
1446 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
1447
1448         * examples/Makefile.am
1449         * examples/hildon-pannable-area-touch-grid-example.c
1450         * examples/hildon-pannable-area-touch-list-example.c: Examples of
1451         the Hildon Touch List and Hildon Touch Grid using the
1452         HildonPannableArea widget.
1453
1454 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1455
1456         * src/hildon-pannable-area.c,
1457         (hildon_pannable_area_button_press_cb),
1458         (hildon_pannable_area_refresh),
1459         (hildon_pannable_area_scroll),
1460         (hildon_pannable_area_motion_notify_cb),
1461         (hildon_pannable_area_button_release_cb),
1462         (hildon_pannable_area_expose_event),
1463         (hildon_pannable_area_add),
1464         (hildon_pannable_area_remove),
1465         (hildon_pannable_area_realize),
1466         (hildon_pannable_area_size_allocate),
1467         (hildon_pannable_area_class_init),
1468         (hildon_pannable_area_init),
1469         (hildon_pannable_area_scroll_to_child),
1470         (hildon_pannable_area_jump_to_child): Fixed the problem of
1471         removing the child from the GtkBin, we have rearranged the widget
1472         hierarchy, now there is no GtkAlignment which was not doing
1473         anything interesting but breaking some of the assumptions of
1474         GtkContainer. Now developers if they want to add a GtkAlignment
1475         they could, but it is not inside the area.
1476
1477         We had to review the whole allocation/expose process, now it is
1478         improved and we save at least three signals which would be saving
1479         some time when rendering the widget. The allocation of the
1480         scrollbars is now made in the allocate method as usual.
1481
1482         We have also added some conditions in order to control when there
1483         is no child of the pannable area. Maybe we will need more work
1484         here.
1485
1486 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1487
1488         * src/hildon-pannable-area.c,
1489         (hildon_pannable_area_dispose): Released the fade-out timeout when
1490         disposing the widget.
1491
1492 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
1493
1494         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1495         zero, we are going to use that property in order to deactivate the
1496         overshooting
1497         (hildon_pannable_axis_scroll),
1498         (hildon_pannable_area_size_allocate): Added conditions to control
1499         when overshoot_max is zero. Moved the gtk_adjustment_set_value
1500         call, now it is called in all situations and we can remove calls
1501         in the allocate method.
1502         (hildon_pannable_area_map): Control the situation when
1503         overshoot_max is zero, we do not need the timeout.
1504         (hildon_pannable_area_class_init): Added documentation in order to
1505         point out that setting zero to overshoot_max means deactivate
1506         overshooting.
1507
1508         NOTE: removed trailing whitespaces from my previous comments of
1509         the Changelog.
1510
1511 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
1512
1513         * src/hildon-pannable-area.c
1514         (hildon_pannable_area_get_property),
1515         (hildon_pannable_area_set_property),
1516         (hildon_pannable_area_map),
1517         (hildon_pannable_area_class_init),
1518         (hildon_pannable_area_init): Add a boolean "initial-hint" property
1519         to cause the widget give a hint about its panning abilities upon
1520         realization.
1521
1522 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
1523
1524         * src/hildon-pannable-area.c: Several documentation improvements.
1525
1526 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
1527
1528         * src/hildon-program.c
1529         * src/hildon-stackable-window.c: Update documentation.
1530
1531 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
1532
1533         * src/hildon-stackable-window.c (get_previous_window_if_last):
1534         Renamed get_last_window()
1535         (hildon_stackable_window_map, hildon_stackable_window_unmap)
1536         (hildon_stackable_window_unset_program):
1537         Simplified code.
1538         (get_previous_window_if_last):
1539         Detect if the window hasn't been added to a HildonProgram.
1540
1541 2008-06-26  Alejandro G. Castro <alex@ig\alia.com>
1542
1543         contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1544
1545         * src/hildon-pannable-area.c
1546         (hildon_pannable_area_button_press_cb),
1547         (hildon_pannable_axis_scroll),
1548         (hildon_pannable_area_scroll),
1549         (hildon_pannable_area_timeout),
1550         (hildon_pannable_calculate_vel_factor),
1551         (hildon_pannable_area_get_property),
1552         (hildon_pannable_area_set_property),
1553         (hildon_pannable_area_class_init),
1554         (hildon_pannable_area_init),
1555         (hildon_pannable_area_scroll_to),
1556         (hildon_pannable_area_jump_to),
1557         (hildon_pannable_area_scroll_to_child),
1558         (hildon_pannable_area_jump_to_child):
1559         * src/hildon-pannable-area.h: Added the new API functions:
1560         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1561         hildon_pannable_area_scroll_to_child,
1562         hildon_pannable_area_jump_to_child
1563
1564
1565         * examples/Makefile.am
1566         * examples/hildon-pannable-area-example-2.c
1567         * examples/hildon-pannable-area-example-3.c: Added these two new
1568         examples in order to test and show how the new APIs work.
1569
1570 2008-06-25  Alberto Garcia  <agarcia@ig\alia.com>
1571
1572         * examples/hildon-stackable-window-example.c (new_window):
1573         * src/Makefile.am (noinst_HEADERS):
1574         * src/hildon-program.c (hildon_program_go_to_root_window):
1575         * src/hildon-program.h:
1576         * src/hildon-stackable-window-private.h:
1577         * src/hildon-stackable-window.c:
1578         * src/hildon-stackable-window.h:
1579         Create hildon-stackable-window-private.h
1580         Move hildon_stackable_window_go_to_root_window() to HildonProgram
1581
1582         * examples/hildon-app-menu-example.c (create_menu):
1583         * examples/hildon-hvolumebar-insensitive-example.c (main):
1584         * examples/hildon-hvolumebar-timer-example.c (on_idle):
1585         * examples/hildon-toolbar-seekbar-example.c (main):
1586         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1587         * src/hildon-banner.c (hildon_banner_set_property):
1588         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1589         Fix compilation warnings
1590
1591         * src/hildon-window.c:
1592         Fix typo in doc
1593
1594 2008-06-24  Alberto Garcia  <agarcia@ig\alia.com>
1595
1596         * src/hildon-stackable-window.c
1597         (hildon_stackable_window_unset_program):
1598         Calculate correctly whether to show the previous window if the
1599         last one is removed from the stack.
1600         (hildon_stackable_window_go_to_root_window):
1601         Send delete events starting from the topmost window.
1602         Stop if one of the windows is not destroyed.
1603         Update doc.
1604         (hildon_stackable_window_delete_event)
1605         (hildon_stackable_window_class_init):
1606         Ignore the delete event if the window is not the topmost one.
1607
1608 2008-06-24  Alejandro G. Castro <alex@ig\alia.com>
1609
1610         * src/hildon-pannable-area.c
1611         (hildon_pannable_area_expose_event): Fixed a problem when
1612         selecting the background color of the scrollbars.
1613
1614 2008-06-23  Alberto Garcia  <agarcia@ig\alia.com>
1615
1616         * examples/hildon-stackable-window-example.c
1617         * src/hildon-stackable-window.c
1618         * src/hildon-stackable-window.h
1619         hildon_stackable_window_go_home() renamed to
1620         hildon_stackable_window_go_to_root_window()
1621         Send delete events to windows rather than closing them with
1622         gtk_widget_destroy()
1623
1624 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1625
1626         * src/hildon-pannable-area.c
1627         (hildon_pannable_area_button_release_cb): Fix overshooting in
1628         accel mode.
1629
1630 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
1631
1632         * src/hildon-pannable-area.c
1633         (hildon_pannable_area_init): Initially show the scroll indicators.
1634         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1635
1636         Add initial effect showing the widget is pannable.
1637
1638 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1639
1640         * src/hildon-pannable-area.c
1641         (hildon_pannable_area_class_init)
1642         (hildon_pannable_area_set_property)
1643         (hildon_pannable_area_get_property)
1644         (hildon_pannable_area_button_press_cb):
1645         New 'velocity_fast_factor' property to decide which velocity is
1646         considered fast.
1647
1648 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
1649
1650         * src/hildon-pannable-area.c
1651         (hildon_pannable_draw_hscroll)
1652         (hildon_pannable_draw_vscroll):
1653         Use float variables to calculate the size of the scrollbars to
1654         avoid error propagation and resizing during scrolling.
1655
1656 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
1657
1658         * src/hildon-pannable-area.c
1659         (hildon_pannable_draw_vscroll)
1660         (hildon_pannable_draw_hscroll):
1661         Define a minimum size for the scroll bars
1662
1663         * src/hildon-stackable-window.c
1664         (hildon_stackable_window_go_home): Fix compilation warning
1665         (get_last_window): Minor optimizations
1666         (hildon_stackable_window_class_init): Fix initialization of
1667         private structure.
1668
1669 2008-06-18  Alberto Garcia  <agarcia@ig\alia.com>
1670
1671         * src/hildon-stackable-window.c: Fixed typos in doc
1672
1673 2008-06-18  Claudio Saavedra  <csaavedra@ig\alia.com>
1674
1675         * src/hildon-pannable-area.c
1676         (hildon_pannable_area_scroll):
1677         Calculate here whether we need to scroll instead of using the booleans
1678         that tell us whether to /draw/ the scrolling bars.
1679
1680 2008-06-17  Claudio Saavedra  <csaavedra@ig\alia.com>
1681
1682         * src/hildon-app-menu.h
1683         Update API.
1684         * src/hildon-app-menu.c
1685         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1686         multiple filter groups related code and API. Now we support only
1687         one filter group.
1688         * examples/hildon-app-menu-example.c:
1689         (create_menu):
1690         Update to reflect API changes.
1691
1692 2008-06-16  Claudio Saavedra  <csaavedra@ig\alia.com>
1693
1694         * src/hildon-stackable-window.c
1695         (hildon_stackable_window_class_init):
1696         Add hildon_stackable_window_realize.
1697         (hildon_stackable_window_realize):
1698         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1699         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1700         to apply theming and behavior specific to HildonStackableWindow
1701         windows.
1702
1703 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
1704
1705         * src/hildon-note.c (hildon_note_button_release):
1706         Close information notes also when tapping on them
1707
1708 2008-06-12  Alejandro G. Castro <alex@ig\alia.com>
1709
1710         Added BOUNCE_STEPS define to control the overshoot effect. Removed
1711         ELASTICITY, refactor and review, fix some issues with drawing
1712         scrollbars.
1713
1714         * src/hildon-pannable-area.c:
1715         (hildon_pannable_area_button_press_cb): removed the conditions to
1716         avoid clicks when overshooting. It is not required
1717
1718         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1719         define. Refatored and reviewed the code, now we do not need to
1720         manage velocity in motion_notify.
1721
1722         (hildon_pannable_area_motion_notify_cb): We have moved the code
1723         that controls the area_scroll to the axis_scroll function and get
1724         rid of duplicated code.
1725
1726         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1727
1728         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1729
1730         (hildon_pannable_draw_vscroll),
1731         (hildon_pannable_draw_hscroll): Fixed the problems with the
1732         scrollbar drawing, now we do not use two surfaces, it is easier
1733         and saves resources.
1734
1735         (hildon_pannable_area_get_property): Style modification.
1736
1737         (hildon_pannable_area_class_init): Changed some default values.
1738
1739 2008-06-12  Claudio Saavedra  <csaavedra@ig\alia.com>
1740
1741         * src/hildon-stackable-window.c: Fix some typos in the
1742         documentation.
1743
1744 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
1745
1746         * src/hildon-dialog.c:
1747         Change indentation style
1748
1749         * src/hildon-note.c
1750         (hildon_note_button_release):
1751         Use root coordinates to check if the release event happened
1752         outside the widget.
1753
1754         * src/hildon-app-menu.c
1755         (hildon_app_menu_button_release):
1756         Remove unnecessary check
1757
1758         * examples/hildon-app-menu-example.c
1759         (button_clicked):
1760         Add cast to fix warning
1761
1762         * src/hildon-app-menu.c
1763         (hildon_app_menu_class_init):
1764         New inner-border style property.
1765         Set all default spacings to 16
1766         (hildon_app_menu_init):
1767         Use vertical-spacing to set the space between filter buttons and
1768         regular menu buttons.
1769         Set the default container border using the inner-border value.
1770
1771         * examples/hildon-app-menu-example.c
1772         (create_menu):
1773         Don't set the menu border explicitly, now we have the inner-border
1774         style property for that.
1775
1776 2008-06-11  Alberto Garcia  <agarcia@ig\alia.com>
1777
1778         * src/hildon-app-menu.c (hildon_app_menu_init):
1779         Make the window modal
1780
1781         * src/hildon-note.c (hildon_note_map)
1782         * src/hildon-app-menu.c (hildon_app_menu_map):
1783         Destroy the grab window if we're unable to grab the pointer
1784
1785         * src/hildon-app-menu-private.h
1786         * src/hildon-app-menu.c
1787         (hildon_app_menu_init, hildon_app_menu_finalize)
1788         (hildon_app_menu_map, hildon_app_menu_unmap)
1789         (hildon_app_menu_button_release)
1790         (grab_transfer_window_get):
1791         Bring back the grab window
1792         (hildon_app_menu_realize):
1793         Decorate the window, set WM hint for Matchbox
1794
1795         * src/hildon-note.c (hildon_note_realize):
1796         * src/hildon-banner.c (hildon_banner_realize):
1797         Add WM hints for Matchbox
1798
1799 2008-06-10  Alberto Garcia  <agarcia@ig\alia.com>
1800
1801         * src/hildon-app-menu-private.h
1802         * src/hildon-app-menu.c
1803         (hildon_app_menu_init, hildon_app_menu_finalize)
1804         (hildon_app_menu_map, hildon_app_menu_unmap)
1805         (hildon_app_menu_button_release):
1806         Remove the grab window, it's not needed anymore
1807
1808         * src/hildon-program.c
1809         Fixed typo in documentation
1810
1811         * src/hildon-app-menu.h
1812         * src/hildon-app-menu.c
1813         * examples/hildon-app-menu-example.c
1814         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1815
1816 2008-06-09  Alberto Garcia  <agarcia@ig\alia.com>
1817
1818         * src/hildon-note.c
1819         Added new transfer_window and close_if_pressed_outside private
1820         attributes.
1821         (hildon_note_rebuild):
1822         Don't add a cancel button to the information note. It will be
1823         closed when tapping outside
1824         Remove the comment about the OK button in the documentation
1825         (hildon_note_realize):
1826         Set the notification type hint
1827         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1828         Grab/ungrab pointer and keyboard if the note has to be closed when
1829         tapping outside
1830         (hildon_note_button_release):
1831         Close the note when tapping outside (if applicable)
1832
1833         * src/hildon-app-menu.c
1834         Grab/ungrab pointer and keyboard on map/unmap
1835         (hildon_app_menu_button_release, hildon_app_menu_class_init):
1836         Close the menu on button release, not button press
1837
1838         * src/hildon-banner.c
1839         (hildon_banner_set_property)
1840         (hildon_banner_check_position):
1841         Make the banner use the full width of the screen
1842         (hildon_banner_show_information)
1843         (hildon_banner_show_information_with_markup):
1844         Don't display an icon by default
1845
1846 2008-06-09  Alejandro G. Castro <alex@ig\alia.com>
1847
1848         Added fading scrollbars and adapted all the overshooting code to
1849         horizontal scrolling. We have also fixed bugs with overshooting
1850         and current fading implementation.
1851
1852         * src/hildon-pannable-area.c
1853         (hildon_pannable_area_scroll_indicator_fade): Time out function
1854         used to change the transparency of the scrollbars.
1855
1856         (hildon_pannable_area_button_press_cb): Added horizontal overshot
1857         control and fixed a problem with fading, we now remove the fade
1858         timeout before adding a new one.
1859
1860         (hildon_pannable_axis_scroll):
1861         (hildon_pannable_area_scroll):
1862         (hildon_pannable_area_timeout): Added this functions so we can use
1863         the scroll code both for vertical and horizontal.
1864
1865         (hildon_pannable_area_motion_notify_cb):
1866         (hildon_pannable_area_button_release_cb): Added the horizontal
1867         scrolling control, fixed a problem with the overshooting timeout.
1868
1869         (rgb_from_gdkcolor): Added this function, it is used in the cairo
1870         painting of the scrolls.
1871
1872         (hildon_pannable_draw_vscroll):
1873         (hildon_pannable_draw_hscroll):
1874         (hildon_pannable_area_expose_event):
1875         Draw both scrollbars and rectangles in the overshooting area.
1876
1877         (hildon_pannable_area_get_property):
1878         (hildon_pannable_area_set_property):
1879         Modified the overshoot property to overshoot_max
1880
1881         (hildon_pannable_area_map):
1882         Replaced the comments symbols.
1883
1884         (hildon_pannable_area_size_allocate):
1885         (hildon_pannable_area_class_init):
1886         (hildon_pannable_area_init): Added horizontal scroll, fading
1887         effect properties, fixed a problem when overshooting in the bottom
1888         of the widget.
1889
1890         * examples/hildon-pannable-area-example.c:
1891         (get_sawtooth_label): Now we use smaller sawtooths, the effect
1892         looks better in the example.
1893
1894 2008-06-03  Alberto Garcia  <agarcia@ig\alia.com>
1895
1896         * src/hildon-window.c
1897         * src/hildon-window.h
1898         (hildon_window_class_init)
1899         (hildon_window_unset_program)
1900         (hildon_window_unset_program_real):
1901         Make unset_program a virtual function
1902
1903         * src/hildon-stackable-window.c
1904         * src/hildon-stackable-window.h
1905         Added hildon_stackable_window_go_home()
1906
1907         * examples/Makefile.am
1908         * examples/hildon-stackable-window-example.c
1909         HildonStackableWindow example
1910
1911 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1912
1913         * hildon-pannable-area.c: Added the overshoot property and removed
1914         the OVERSHOOT define. Fixed an indent style error.
1915         (hildon_pannable_area_motion_notify_cb):
1916         (hildon_pannable_area_get_property):
1917         (hildon_pannable_area_set_property): Add overshoot property.
1918
1919         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1920         overshoot property.
1921
1922         (hildon_pannable_area_class_init): Installed the new property.
1923
1924         * hildon-pannable-area-example.c: Added a sawtooth function, this
1925         way it is easier to check the movement in the pannable.
1926         (get_sawtooth_label): Added this function.
1927         (main): Now we get the labels from the new get_sawtooth_label
1928         function.
1929
1930 2008-05-26  Alberto Garcia  <agarcia@ig\alia.com>
1931
1932         * src/hildon-app-menu.h
1933         * src/hildon-app-menu.c
1934         Renamed API variables for consistency
1935
1936         (hildon_app_menu_popup): Use also the default window size to
1937         decide where to place the menu
1938
1939         (hildon_app_menu_init, hildon_app_menu_class_init): New
1940         external-border style property
1941
1942 2008-05-26  Michael Natterer  <mitch@imendio.com>
1943
1944         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1945         widget_class->tap_and_hold_setup signal slot doesn't exist any
1946         longer, stop overriding it.
1947
1948         (hildon_time_editor_init): g_signal_connect() to the
1949         tap-and-hold-setup signal instead.
1950
1951         (hildon_time_editor_entry_keypress): add cast to fix warning.
1952
1953 2008-05-23  Alberto Garcia  <agarcia@ig\alia.com>
1954
1955         * doc/hildon-docs.sgml
1956         * doc/hildon.types
1957         * examples/Makefile.am
1958         * examples/hildon-app-menu-example.c
1959         * src/Makefile.am
1960         * src/hildon-app-menu-private.h
1961         * src/hildon-app-menu.c
1962         * src/hildon-app-menu.h
1963         * src/hildon.h
1964         New HildonAppMenu widget
1965
1966 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1967
1968         Rearranged the inheritance of the pannable area, now it inherits
1969         from GtkBin. This will allow us to control the event_window and
1970         the allocation process of the widget, required for some effects.
1971
1972         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1973         GtkBin structures.  * src/hildon-pannable-area.c: Added the
1974         event_window variable.
1975         (hildon_pannable_area_button_press_cb):
1976         (hildon_pannable_area_button_release_cb):
1977         (hildon_pannable_area_motion_notify_cb):
1978         Changed the signature of the method, now we override the event
1979         callback instead of connecting to the signal.
1980
1981         (hildon_pannable_area_realize):
1982         (hildon_pannable_area_unrealize):
1983         (hildon_pannable_area_map):
1984         (hildon_pannable_area_unmap):
1985         (hildon_pannable_area_size_allocate):
1986         Added functions to control the widget construction. We add a
1987         INPUT_ONLY window and we put it over the widgets inside the
1988         container, this event_window handles the events.
1989
1990         (hildon_pannable_area_class_init):
1991         Replaced the signal connections with overrides of the event
1992         callbacks.
1993
1994 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1995
1996         Bouncing effect added when touching the borders, you can change
1997         the elasticity of the border changing the ELASTICITY define.
1998
1999         * src/hildon-pannable-area.c: Added ELASTICITY define.
2000         (hildon_pannable_area_timeout): Added inverse velocity when
2001         touching the border of the child widget, that causes a bounce.
2002
2003 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
2004
2005         Improved performance, we now do not go to the X server in order to
2006         get the list of window children. Apparently the effect is the
2007         same, we have to be careful and check if this breaks something in
2008         any corner case.
2009
2010         * src/hildon-pannable-area.c:
2011         (get_ordered_children): Removed this function.
2012         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2013         the children windows function with gdk_window_get_children.
2014
2015 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
2016
2017         * src/hildon-pannable-area.c:
2018         (hildon_pannable_area_dispose): Fixed a crash when closing the
2019         window and kinetics is activated.
2020
2021 2008-05-19  Alberto Garcia  <agarcia@ig\alia.com>
2022
2023         * src/hildon-pannable-area.h
2024         * src/hildon-pannable-area.c
2025         Changed indentation style to meet the one used in Hildon
2026
2027 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
2028
2029         Reviewed the interaction of the AUTO mode, now we use the time
2030         attribute of the events and calculate the velocity in the motion,
2031         doing a gimp like calculation. The velocity is calculated in each
2032         motion event using the last velocity and the current one, the
2033         SMOOTH_FACTOR controls the percentage of the new velocity we use.
2034
2035         * src/hildon-pannable-area.c: Replaced the time based algorithm
2036         for the AUTO mode.
2037         (hildon_pannable_area_motion_notify_cb): now we do not launch the
2038         timeout for the AUTO mode when we are still moving the cursor. We
2039         added also the velocity calculation in this function.
2040         (hildon_pannable_area_button_release_cb): launch the timeout in
2041         case we are in AUTO mode. There are still some constants here that
2042         come from the old implementation that should be reviewed and
2043         handled properly.
2044
2045 2008-05-15  Alberto Garcia  <agarcia@ig\alia.com>
2046
2047         * doc/hildon-docs.sgml
2048         * doc/hildon.types
2049         * src/Makefile.am
2050         * src/hildon-stackable-window.c
2051         * src/hildon-stackable-window.h
2052         * src/hildon.h
2053         New HildonStackableWindow widget
2054
2055         * examples/hildon-dialog-example.c
2056         * examples/hildon-pannable-area-example.c
2057         Updated copyright
2058
2059 2008-05-14  Alberto Garcia  <agarcia@ig\alia.com>
2060
2061         * src/hildon-dialog.c
2062         (hildon_dialog_new_with_buttons): New constructor.
2063
2064         * examples/hildon-dialog-example.c
2065         (main): Update the example to use the new
2066         hildon_dialog_new_with_buttons().
2067
2068         * examples/hildon-pannable-area-example.c
2069         (main): Update example.
2070
2071 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2072
2073         * doc/hildon-docs.sgml
2074         * doc/hildon.types
2075         Added HildonPannableArea to the documentation.
2076
2077 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2078
2079         * doc/visual_index.xml
2080         Fix reference to HildonLoginDialog in documentation
2081
2082         * doc/hildon-docs.sgml
2083         * doc/hildon.types
2084         * examples/Makefile.am
2085         * examples/hildon-dialog-example.c
2086         * src/Makefile.am
2087         * src/hildon-dialog.c
2088         * src/hildon-dialog.h
2089         * src/hildon.h
2090         New HildonDialog widget.
2091
2092 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2093
2094         * src/hildon-pannable-area.c
2095         Merge latest changes (r4318, r4342) from libmokoui trunk
2096
2097 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2098
2099         * examples/Makefile.am
2100         * examples/hildon-pannable-area-example.c
2101         * src/Makefile.am
2102         * src/hildon-pannable-area.c
2103         * src/hildon-pannable-area.h
2104         * src/hildon.h
2105         New HildonPannableArea widget.
2106
2107 2008-04-15 18:05:19    <timj@imendio.com>
2108
2109         * src/hildon-banner.c: revert the recent change, that introduced
2110         gtk_window_present() calls. this reopens:
2111           Bug 78481 - [freetest] information banners are hidden under browser menu
2112         But resolves another variant of:
2113           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2114
2115 2008-04-15 13:21:13    <timj@imendio.com>
2116
2117         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2118         recreated its layout, spotted by Kris. this fixes all remaining
2119         artefacts and stability issues with the banner code. in particular:
2120         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2121
2122 2008-04-14 16:52:59    <timj@imendio.com>
2123
2124         * src/hildon-banner.c: guard force_to_wrap_truncated() against
2125         operating on unrealized widgets, fixes:
2126         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2127
2128         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2129
2130 2008-04-09  Kristian Rietveld  <kris@imendio.com>
2131
2132         Fixes: NB#77775: Media Player, Save Now playing list, too long name
2133         makes banner disappear.
2134         Fixes: NB#79182: info banner flickering with certain message lengts.
2135
2136         * src/hildon-banner.c (hildon_banner_constructor),
2137         (hildon_banner_init), (hildon_banner_set_text),
2138         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2139         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2140         FALSE, reset size requests of label and banner,
2141         (force_to_wrap_truncated): when the text is too wide, always enforce
2142         the maximum possible width instead of recalculating it from the
2143         layout; enforce the maximum banner height of 3 lines,
2144         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2145         nicer wrapping and no truncated chars if space gets tight.
2146
2147         * src/hildon-banner-private.h: add has_been_wrapped and
2148         has_been_truncated fields.
2149
2150 2008-04-07  Sven Herzberg  <sven@imendio.com>
2151
2152         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2153         local values in hildon_date_editor_size_allocate
2154
2155         * src/hildon-date-editor.c: moved the real allocation code into the
2156         if() branch
2157
2158 2008-04-07  Sven Herzberg  <sven@imendio.com>
2159
2160         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2161         local values in hildon_date_editor_size_allocate
2162
2163         * src/hildon-date-editor.c: merged the two if() branches together
2164
2165 2008-04-07  Sven Herzberg  <sven@imendio.com>
2166
2167         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2168         local values in hildon_date_editor_size_allocate
2169
2170         * src/hildon-date-editor.c: changed the arguments of the if()
2171         conditions
2172
2173 2008-04-07  Sven Herzberg  <sven@imendio.com>
2174
2175         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2176         local values in hildon_date_editor_size_allocate
2177
2178         * src/hildon-date-editor.c: split the calculation of the allocation
2179         from the real allocation
2180
2181 2008-03-27  Michael Natterer  <mitch@imendio.com>
2182
2183         Fixes: NB#81696: The passcode is not overwritten even after
2184         selecting
2185
2186         * src/hildon-code-dialog.c
2187         (hildon_code_dialog_button_clicked)
2188         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2189         because that doesn't overwrite selected text. Instead, emit the
2190         "commit" signal on the entry's im_context so the entry's normal
2191         insert logic is triggered. Set the cursor to the end of the entry
2192         after each insert operation so that we *only* insert in the middle
2193         of the text if something was selected.
2194
2195 2008-03-27  Michael Natterer  <mitch@imendio.com>
2196
2197         Enable fixing: NB#79916 and NB#79918: The help topic for Color
2198         selector cannot be opened
2199
2200         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2201         when the popup color selector is created. Please connect to this
2202         signal in order to set the dialog's help ID.
2203
2204 2008-03-25  Sven Herzberg  <sven@imendio.com>
2205
2206         Fixes: MB#1212: Hide info banners (infoprints) on click
2207
2208         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2209         extracted the close event simulation into an extra function
2210         (hildon_banner_button_press_event): simulate a close event and destroy
2211         the widget if the event wasn't handled
2212         (hildon_banner_class_init): added the button_press_event handler
2213         (hildon_banner_init): added button-press events to the widget
2214
2215 2008-03-25  Sven Herzberg  <sven@imendio.com>
2216
2217         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2218         Patch from: Mohammad Anwari  <mdamt@maemo.org>
2219
2220         * src/hildon-banner.c: let the HildonBanners pop up on the left side
2221         instead of the right in RTL mode
2222         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2223         breadcrumb button list in RTL mode
2224         * src/hildon-caption.c: mirror the appearance of the caption widget in
2225         RTL mode
2226         * src/hildon-date-editor.c: mirror appearance of the date editor in
2227         RTL mode
2228         * src/hildon-time-editor.c: mirror appearance of the time editor in
2229         RTL mode
2230         * src/hildon-window.c: fix the position of the popup in RTL mode
2231
2232 2008-03-25  Sven Herzberg  <sven@imendio.com>
2233
2234         Amendment to the fix of NB#22072. Fix compilation.
2235
2236         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2237
2238 2008-03-19  Sven Herzberg  <sven@imendio.com>
2239
2240         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2241         in Info Banner" bug
2242
2243         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2244         timeout id properly when the timeout will disappear this leaves no
2245         artifacts around in the destroy(); there will only be the timeout
2246         created by hildon_banner_ensure_timeout() and adding a new timeout
2247         will also work if the timeout gets removed because the timeout_handler
2248         returned FALSE
2249
2250 2008-03-19  Michael Natterer  <mitch@imendio.com>
2251
2252         Fixes: NB#79791: Cannot set focus to Master volume using stylus
2253
2254         * src/hildon-volumebar.c
2255         * src/hildon-vvolumebar.c
2256         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2257         the widget becomes focussable at all.
2258
2259         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2260         set the focus to wither the mute button or the volumebar.
2261
2262         Remove own "can-focus" property and instead listen to
2263         notify::can-focus in order to update the widget's state.
2264
2265         Implement GtkWidget::focus() and make sure we can also *leave* the
2266         widget, not only enter it, depending on volumebar orientation and
2267         requested focus direction.
2268
2269         Clean up set_mute() to cooperate nicely with all the above.
2270
2271 2008-03-04  Michael Natterer  <mitch@imendio.com>
2272
2273         Fixes: NB#78481: information banners are hidden under browser menu
2274
2275         * src/hildon-banner.c: call gtk_window_present() on the banners so
2276         they are risen if they are already visible.
2277
2278 2008-03-03  Sven Herzberg  <sven@imendio.com>
2279
2280         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2281
2282         * examples/hildon-window-menu-example.c: (main): extended the window
2283         menu example to serve as a testcase for automatically added
2284         accelerator groups, too
2285         * src/hildon-window.c: (hildon_window_add_accel_group),
2286         (hildon_window_set_menu): added patch by Tommi Komulainen
2287
2288 2008-03-03  Sven Herzberg  <sven@imendio.com>
2289
2290         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2291
2292         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2293         knowledge about the border allocators used within GTK+
2294
2295 2008-02-26  Sven Herzberg  <sven@imendio.com>
2296
2297         Fixes: MB#2981: Build with asserts broken
2298
2299         * src/hildon-date-editor.c,
2300         * src/hildon-number-editor.c,
2301         * src/hildon-time-editor.c,
2302         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2303         the proper GType instance check
2304
2305 2008-02-25  Sven Herzberg  <sven@imendio.com>
2306
2307         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2308
2309         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2310         * examples/hildon-window-menu-example.c: (main): explicitly show
2311         the menu item
2312         * src/hildon-window.c:
2313         (hildon_window_set_main_menu): moved most of the code from set_menu()
2314         to this place; skipped the call to gtk_widget_show_all(); also didn't
2315         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2316         (hildon_window_set_menu): removed most of the code, just keep the
2317         questionable gtk_widget_show_all()
2318         * src/hildon-window.h: added the new function and deprecate the old
2319         one
2320
2321 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
2322
2323         [2.0.1-1 release]
2324
2325         * NEWS:
2326         * configure.ac:
2327         * debian/changelog: Updating.
2328
2329 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
2330
2331         * configure.ac:
2332         * pkgconfig/Makefile.am:
2333         * pkgconfig/hildon.pc.in:
2334         * src/Makefile.am:
2335
2336         Do not use PACKAGE_VERSION_MAJOR as the API revision,
2337         use newly created API_MAJOR_VERSION.
2338
2339 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
2340
2341         [2.0.0-1 release]
2342
2343         * NEWS:
2344         * configure.ac:
2345         * debian/changelog: Updating.
2346
2347 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
2348
2349         * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2350
2351         Add outer_border style property, we use it but don't define it (!).
2352
2353         Fixes NB#75310
2354
2355 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
2356
2357         * examples/hildon-bread-crumb-trail-example.c (main):
2358
2359         Add clear button.
2360
2361         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2362
2363         Fix logic for the bread crumb trail node removal.
2364
2365         Fixes: NB#78616
2366
2367 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2368
2369         [1.99.1-1 release]
2370
2371         * NEWS:
2372         * configure.ac:
2373         * debian/changelog: Updating.
2374
2375 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2376
2377         Patch by Alejandro to get/set passwords dialogs accesibility.
2378
2379         * hildon-1/src/hildon-get-password-dialog.c:
2380         * hildon-1/src/hildon-set-password-dialog.c:
2381         Set atk_set_name to the passwd entries in order to allow
2382         accessibility by name on this entries.
2383
2384 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2385
2386         [1.99.0-2 release]
2387
2388         * debian/changelog:
2389         * debian/control: Updating gtk dep.
2390
2391 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
2392
2393         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2394         USE_MAEMO_GTK is enabled.
2395
2396 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
2397
2398         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2399         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2400
2401 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2402
2403         [1.99.0-1 release]
2404
2405         * NEWS:
2406         * configure.ac:
2407         * debian/changelog: Updating.
2408
2409 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2410
2411         * examples/Makefile.am:
2412         * examples/hildon-logical-color-example.c:
2413         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2414         applied + adding a test case. Fixes: NB#71660.
2415
2416 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
2417
2418         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2419         to be visible, fixes warning on map for windows without toolbars.
2420
2421 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
2422
2423         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2424         2.11.0, add a check for that besides the MAEMO_GTK check.
2425
2426 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2427
2428         [1.0.17-1 release]
2429
2430         * NEWS:
2431         * configure.ac:
2432         * debian/changelog: Updating.
2433
2434 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2435
2436         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2437         visibility. Fixes: NB#70842 and MB#615.
2438
2439 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
2440
2441         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2442         set the separator as no-show-all so it doesn't unintentionally appear when
2443         someone does a show_all.
2444
2445 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
2446
2447         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2448         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2449         toplevel item. Fixes: NB#62031
2450
2451 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
2452
2453         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2454         fix the name of the function in the docs.
2455
2456 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2457
2458         [1.0.16-1 release]
2459
2460         * NEWS:
2461         * configure.ac:
2462         * debian/changelog: Updating.
2463
2464 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2465
2466         * examples/hildon-banner-long-example.c: Adding a test-case for long
2467         hildon banner.
2468
2469         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2470
2471 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2472
2473         * src/hildon-color-chooser-dialog.c:
2474         * src/hildon-color-chooser.c:
2475         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2476         memory leaks in font selector and color selector. Fixes: NB#70499 and
2477         NB#70474.
2478
2479 2007-09-20  Johan Bilien  <johan.bilien@nokia.com>
2480
2481         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2482
2483 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2484
2485         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2486         little bit bigger. Fixes: #NB63694.
2487
2488 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2489
2490         [1.0.15-1 release]
2491
2492         * NEWS:
2493         * configure.ac:
2494         * debian/changelog: Updating.
2495
2496 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2497
2498         * doc/Makefile.am:
2499         * doc/hildon-docs.sgml:
2500         * doc/images/bread-crumb-trail.png:
2501         * doc/images/calendar-popup.png:
2502         * doc/images/caption.png:
2503         * doc/images/code-dialog.png:
2504         * doc/images/color-button.png:
2505         * doc/images/color-chooser-dialog.png:
2506         * doc/images/color-chooser.png:
2507         * doc/images/controlbar.png:
2508         * doc/images/date-editor.png:
2509         * doc/images/font-selection-dialog.png:
2510         * doc/images/get-password-dialog.png:
2511         * doc/images/hvolumebar.png:
2512         * doc/images/login-dialog.png:
2513         * doc/images/note.png:
2514         * doc/images/number-editor.png:
2515         * doc/images/range-editor.png:
2516         * doc/images/seekbar.png:
2517         * doc/images/set-password-dialog.png:
2518         * doc/images/sort-dialog.png:
2519         * doc/images/time-editor.png:
2520         * doc/images/time-picker.png:
2521         * doc/images/vvolumebar.png:
2522         * doc/images/weekday-picker.png: Adding the new generated widget shots.
2523         Adding the bread-crumb-trial and helpers to the documentation.
2524
2525 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2526
2527         * examples/hildon-find-toolbar-example.c:
2528         * src/hildon-find-toolbar.c:
2529         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2530         actually continue firing the other handlers if connected. Adding a new
2531         function:
2532         hildon_find_toolbar_get_last_index that gets the index of the most
2533         recently added (last) item. Fixes: NB#52301.
2534
2535 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2536
2537         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2538         behaviour. Fixes: NB#68610.
2539
2540 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2541
2542         * src/hildon-banner.c: Actually reverting the previous change. It somehow
2543         looks a bit worse.
2544
2545 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2546
2547         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2548         when realizing the banner. Should make the infonbanner effect a bit more
2549         bearable.
2550
2551 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2552
2553         * src/hildon-volumebar.c:
2554         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2555         hildon_volumebar_set_range_insensitive_message and
2556         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2557
2558 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2559
2560         * src/hildon-window.c: Fixing the border freeing on destroy.
2561
2562 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2563
2564         * src/hildon-code-dialog-private.h:
2565         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2566         kw keyboard support in HildonCodeDialog.
2567
2568 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2569
2570         [1.0.14-1 release]
2571
2572         * NEWS:
2573         * configure.ac:
2574         * debian/changelog: Updating.
2575
2576 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2577
2578         * src/hildon-date-editor.c:
2579         * src/hildon-number-editor.c:
2580         * src/hildon-private.c:
2581         * src/hildon-private.h:
2582         * src/hildon-time-editor.c:
2583         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2584         handling in subclassed composite widgets. Fixes: NB#66628.
2585
2586 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2587
2588         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2589         from destroy_ callback as it introduces problems in async dbus signal
2590         handlers. Fixes NB#66673.
2591
2592 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2593
2594         * examples/hildon-hvolumebar-example.c:
2595         * src/hildon-volumebar.c: Improving the focus handling in the
2596         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2597         set_property accessor so that "mute" property can be actually set. I'm
2598         scared that nobody noticed it's totally broken.
2599
2600 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2601
2602         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2603         Fixes NB#66548.
2604
2605 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2606
2607         * src/hildon-calendar.c:
2608         * src/hildon-number-editor.c:
2609         * src/hildon-time-picker.c: Changing the timeout repeat so that it
2610         matches the spec of 6 chars per second. Fixes: NB#60489.
2611
2612 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2613
2614         * src/hildon-helper.c: Really fixing NB#58352. Looks like
2615         gtk_style_lookup_color sometime returns FALSE even though color was
2616         found and values were filled properly. Weird. Removing the warning for the
2617         time being.
2618
2619 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2620
2621         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2622         expand vertically. Adding some extra space to the find toolbar buttons to
2623         make them thumbable. Fixes NB#66060.
2624
2625 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2626
2627         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2628         popup with "Ok" and "Cancel". Fixes NB#59299.
2629
2630 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2631
2632         * src/hildon-calendar.c: Process all window updates before executing next
2633         timeout. Fixes: NB#54146.
2634
2635 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2636
2637         [1.0.13-1 release]
2638
2639         * NEWS:
2640         * configure.ac:
2641         * debian/changelog: Updating.
2642
2643 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
2644
2645         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2646         the client event and ignore it, since we use the delete event to close
2647         after timeouts.
2648
2649 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2650
2651         * src/hildon-helper.c: Remove the bogus warning about color not being
2652         found. Fixes NB#58352.
2653
2654 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2655
2656         * examples/Makefile.am:
2657         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2658         HildonSeekbar widget inside a toolbar.
2659
2660 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
2661
2662         * src/hildon-banner.c (hildon_banner_init): mark the banners as
2663         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2664         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2665         don't want to be closed by non-temporary windows on map.
2666
2667         Also use G_DEFINE_TYPE instead of manually typed code.
2668
2669 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2670
2671         [1.0.12-1 release]
2672
2673         * NEWS:
2674         * configure.ac:
2675         * debian/changelog:
2676         * debian/rules: Updating.
2677
2678 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2679
2680         * examples/Makefile.am:
2681         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2682         bug NB#61128. Strangely it works.
2683
2684 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2685
2686         * src/hildon-date-editor.c: When the date editor entry has been changed
2687         but the numbers of characters < max, turn off the skip validation flag.
2688         Prevents a situation when we enter first a valid year and later re-write
2689         it with an invalid one. Fixes NB#60154.
2690
2691 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2692
2693         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2694         code dialog. Fixes NB#64355.
2695
2696 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2697
2698         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2699         switching the page. Fixes NB#49374.
2700
2701         * examples/Makefile.am:
2702         * examples/hildon-wizard-dialog-example.c: Adding an example for
2703         HildonWizardDialog that shows how to handle manual sensitivity setting on
2704         the wizard dialog.
2705
2706 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2707
2708         * configure.ac:
2709         * src/Makefile.am:
2710         * src/hildon-version.h.in:
2711         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2712
2713 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2714
2715         * src/hildon-volumebar.c: Updating the docs.
2716
2717 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2718
2719         [1.0.11-1 release]
2720
2721         * NEWS:
2722         * configure.ac:
2723         * debian/changelog: Updating.
2724
2725 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2726
2727         * src/hildon-find-toolbar.c:
2728         * src/hildon-find-toolbar.h: Adding a few new functions to control the
2729         selected item: hildon_find_toolbar_set_active,
2730         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2731         hildon_find_toolbar_get_active_iter . They correspond to respective
2732         GtkComboBox functions.
2733
2734         * examples/Makefile.am:
2735         * examples/hildon-find-toolbar-example.c: Adding the example to test the
2736         new functionality.
2737
2738 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2739
2740         * examples/Makefile.am:
2741         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2742         theming easily.
2743
2744         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2745         when font size > 32 and we pack a focusable widget inside. Actually using
2746         the default response would work too, but since we don't show default
2747         response state in any way (no theming) it would not be visible to the
2748         user. Fixes NB#63430.
2749
2750 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2751
2752         * src/hildon-date-editor.c: Adding the missing variable setter in the
2753         set_property handler. Fixes NB#54182.
2754
2755 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2756
2757         * src/hildon-window.h: Changing the long key press time from 1500ms to
2758         800ms as requested in NB#63700. I have a bad feeling about this, let's
2759         see... Fixes NB#63700.
2760
2761 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
2762
2763         * src/hildon-time-picker.c (hildon_time_picker_class_init,
2764         hildon_time_picker_map, hildon_time_picker_realize,
2765         hildon_time_picker_style_set): Split the contents of map to more
2766         appropriate functions; set window decorations on realize and update
2767         arrows' size requisitions on style-set. Avoids unnecessary resizing.
2768
2769 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
2770
2771         [1.0.10-2 release]
2772
2773         * NEWS:
2774         * debian/changelog: Updating.
2775
2776 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
2777
2778         * src/Makefile.am: fixed installation of the header files
2779
2780 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2781
2782         [1.0.10-1 release]
2783
2784         * NEWS:
2785         * configure.ac:
2786         * debian/changelog: Updating.
2787
2788 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2789
2790         * configure.ac: Removing some remaining of --enable-xan.
2791
2792 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
2793
2794         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2795         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2796
2797         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2798         2.10.12-osso6 because the move-focus signal needs to be available in
2799         GtkWidget.
2800
2801 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2802
2803         * examples/Makefile.am:
2804         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2805         that makes a HildonVolumebar insensitive before mapping it. Seems to work
2806         fine. Prolly NB#61128 is fixed now.
2807
2808 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2809
2810         * src/hildon-volumebar.c:
2811         * src/hildon-volumebar.h: Adding the
2812         hildon_volumebar_set_range_insensitive_message and
2813         hildon_volumebar_set_range_insensitive_messagef functions to set
2814         insensitive message on the slider of the volumebar. Fixes NB#61129.
2815
2816         * examples/Makefile.am:
2817         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2818         test the new insensitive messsage functionality on HildonVolumebar.
2819
2820 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
2821
2822         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2823         work again.
2824
2825 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
2826
2827         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2828         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2829         button on after clearing the trail.
2830
2831 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2832
2833         * src/hildon-code-dialog.c: Removing the separator from the dialog.
2834
2835 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
2836
2837         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2838         by splitting the installed headers in generated and non-generated groups. Use
2839         only the non-generated headers to create the hildon-enum-types.h file.
2840
2841         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2842
2843 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2844
2845         * src/hildon-window.c: Hide the window before performing the destroy.
2846         Should make the app closing a little tiny bit more snappy.
2847
2848 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
2849
2850         * src/hildon-seekbar.c: add gtkrange.h header
2851         * src/hildon-caption.c: remove unused variable
2852
2853 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
2854
2855         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2856         Loic Minier.
2857
2858 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2859
2860         [1.0.9-1 release]
2861
2862         * NEWS:
2863         * configure.ac:
2864         * debian/changelog: Updating.
2865
2866 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
2867
2868         * src/hildon-window.c (hildon_window_window_state_event,
2869         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2870         escape timeout on focus-out-event rather than notify::is-topmost; the
2871         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2872
2873 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2874
2875         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2876         correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2877
2878 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
2879
2880         * src/hildon-window: actually, you need to use the macro always, there's
2881         no private pointer in the instance structure. We should have cleaned this up
2882         when we had the chance...
2883
2884 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
2885
2886         * src/hildon-window.c: do not get the private date from HildonWindow before
2887         it passes the g_return_if_fail check. Once it's passed the test, there's no
2888         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2889         if you are only going to access the data once. Whitespace cleanups.
2890
2891 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
2892
2893         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2894         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2895
2896 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2897
2898         [1.0.8-1 release]
2899
2900         * NEWS:
2901         * configure.ac:
2902         * debian/changelog: Updating.
2903
2904 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2905
2906         * src/hildon-window.c: When destroying the window, remove (if exists) the
2907         escape timeout handler. Fixes #NB59276.
2908
2909 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2910
2911         * src/hildon-banner.c: When realizing the widget, set the window
2912         transiency. Setting the transiency in the gobject constructor is not
2913         good, as the widget is not realized at that point. Fixes: #NB56624.
2914
2915 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2916
2917         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2918         Add padding for future expansions.
2919
2920 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2921
2922         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2923         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2924         will fake an activation on the previous to the last item of the trail, so
2925         the effect can be overrided by the developer as usual.
2926         Also change the callback for the back button to do the same thing, so its
2927         effect can be overrided too. Fixes: NB#58982
2928
2929 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2930
2931         * src/hildon-caption.c: Implementing the proper focus grabbing in the
2932         HildonCaption. Fixes NB#52379.
2933
2934 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
2935
2936         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2937         the internal state of the trail after the user has had the chance of executing
2938         his handler for the signal. Specifically, it may happen that the activated button
2939         is removed and the user still lets the default handler run. This would segfault
2940         previously.
2941
2942 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2943
2944         * src/hildon-font-selection-dialog.c: When the font is really big, add the
2945         scrollbar to the preview dialog. Fixes NB#54147.
2946
2947 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2948
2949         * src/hildon-date-editor.c: Changing the default max year to 2037. The
2950         max/min year properties can be altered, so the client can modify it
2951         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2952
2953 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2954
2955         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2956         hildonlike by default. Fixing a problem with disappearing arrows when
2957         scrolling through months and years. Fixes NB#54127.
2958
2959 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2960
2961         * examples/hildon-date-editor-example.c: Adding error callback to the date
2962         editor example.
2963
2964 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2965
2966         [1.0.7-1 release]
2967
2968         * NEWS:
2969         * debian/changelog:
2970         * configure.ac: Updating.
2971
2972 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2973
2974         * configure.ac: Adding a special '--enable-xan' configure option that
2975         turns off the -Werror compilation setting. Usefull for development.
2976
2977         * src/hildon-calendar.c:
2978         * src/hildon-number-editor.c:
2979         * src/hildon-time-picker.c: Adding the 5* multiplier to
2980         gtk-timeout-update.
2981
2982 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
2983
2984         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2985         instead of g_object_ref + gtk_object_sink.
2986
2987 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2988
2989         [1.0.6-1 release]
2990
2991         * NEWS:
2992         * configure.ac:
2993         * debian/changelog: Updating.
2994
2995 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
2996
2997         * src/hildon-color-chooser-dialog.c:
2998         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2999         straight from Tommi labs.
3000
3001 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3002
3003         * examples/hildon-finger-example.c: Correcting the header file path.
3004
3005         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3006         the changed signal. Fixes a small memory leak.
3007
3008 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3009
3010         * autogen.sh:
3011         * debian/rules:
3012         * src/hildon-banner.c: Importing several usefull fixes from the
3013         ubuntu-mobile branch.
3014
3015 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3016
3017         * examples/Makefile.am:
3018         * examples/hildon-finger-example.c: Adding a finger-checking code
3019         example.
3020
3021         * src/hildon-font-selection-dialog.c: Do not allocate the color
3022         structure using the g_new. Fixes NB#54061.
3023
3024 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3025
3026         * src/hildon-helper.c: Correcting tabs in file.
3027
3028 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
3029
3030         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3031         control the visibility of the children.
3032
3033         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3034
3035 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3036
3037         [1.0.5-1 release]
3038
3039         * NEWS:
3040         * configure.ac:
3041         * debian/changelog: Updating.
3042
3043 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
3044
3045         * src/hildon-bread-crumb-trail.c:
3046         (hildon_bread_crumb_trail_size_allocate):
3047
3048         Make the back button always a square.
3049
3050 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
3051
3052         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3053         from the .c file as it's a private file.
3054
3055 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3056
3057         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3058         uses slightly bigger height.
3059
3060         * src/hildon-font-selection-dialog.c: Adding some checks before
3061         freeing memory in the font selection dialog.
3062
3063 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3064
3065         * src/hildon-font-selection-dialog.c: Adding a small check when
3066         freeing memory.
3067
3068         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3069         buttons sensitivity on page switching.
3070
3071 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
3072
3073         * src/hildon-bread-crumb-trail.c: make the add method handle all the
3074         internal details of adding a bread crumb to the trail.
3075
3076 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3077
3078         [1.0.4-1 release]
3079
3080         * README:
3081         * configure.ac:
3082         * debian/changelog: Updating.
3083
3084         * src/hildon-bread-crumb-trail.h:
3085         * src/hildon-bread-crumb.h: Changing the API guard to
3086         HILDON_ENABLE_UNSTABLE_API.
3087
3088 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3089
3090         [1.0.3-1 release]
3091
3092         * NEWS:
3093         * configure.ac:
3094         * debian/changelog:
3095         * debian/rules:
3096         * src/hildon-helper.h: Updating.
3097
3098 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3099
3100         [1.0.2-1 release]
3101
3102         * NEWS:
3103         * configure.ac:
3104         * debian/changelog:
3105
3106 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3107
3108         * README:
3109         * configure.ac:
3110         * src/hildon-helper.h: Small fix to make the package actually compile.
3111
3112 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
3113
3114         * src/hildon-bread-crumb-trail.h:
3115         * src/hildon-bread-crumb.h:
3116
3117         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3118         to define ENABLE_UNSTABLE_API in the code that includes these headers.
3119
3120 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
3121
3122         * examples/hildon-bread-crumb-trail-example.c:
3123         * src/Makefile.am:
3124         * src/hildon-bread-crumb-trail.c:
3125         * src/hildon-bread-crumb-trail.h:
3126         * src/hildon-bread-crumb.c:
3127         * src/hildon-bread-crumb.h:
3128         * src/hildon-marshalers.list:
3129         * src/hildon-bread-crumb-widget.c:
3130         * src/hildon-bread-crumb-widget.h:
3131
3132         Slight change in the widget design. The bread crumb trail API is
3133         unchanged, but HildonBreadCrumb is now an interface. A *private*
3134         implementation, hildon-bread-crumb-widget, is provided and used
3135         internally by the trail for the push_text/push_icon functions.
3136
3137         The generic push API is still available, so anyone can implement
3138         and use its own bread crumb widget.
3139
3140 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3141
3142         * debian/rules: Fixing the shlibs.
3143
3144 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3145
3146         * src/hildon-banner.c: Fixing a problem with timed banners having
3147         their parrent destroyed before they are.
3148
3149 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
3150
3151         * src/hildon-bread-crumb.c:
3152         * src/hildon-bread-crumb.h:
3153
3154         Make the get_natural_size function a vfunc.
3155
3156 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3157
3158         * src/hildon-bread-crumb.c:
3159         * src/hildon-bread-crumb-trail.c:
3160
3161         Some cleanups.
3162
3163 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3164
3165         [1.0.1-1 release]
3166
3167         * AUTHORS:
3168         * NEWS:
3169         * configure.ac:
3170         * debian/changelog: Updating for release.
3171
3172 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3173
3174         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3175         don't leak the pango layout.
3176
3177 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
3178
3179         * src/hildon.h:
3180         * examples/hildon-bread-crumb-trail-example.c:
3181
3182         Fix example.
3183
3184 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3185
3186         * debian/changelog: Removing the bug-fixed entries that were actually
3187         resolved as WONTFIX.
3188
3189         * src/hildon-date-editor.c: Removing a redundant check. Fixes
3190         NB#54182.
3191
3192 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
3193
3194         * src/hildon-bread-crumb-trail.c:
3195         * src/hildon-bread-crumb-trail.h:
3196         * src/hildon-bread-crumb.c:
3197         * src/hildon-bread-crumb.h:
3198
3199         Untabify.
3200
3201 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
3202
3203         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3204         until it's passed the type check.
3205
3206 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
3207
3208         * examples/hildon-bread-crumb-trail-example.c
3209
3210         Add license.
3211
3212 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
3213
3214         * examples/Makefile.am
3215         * examples/hildon-bread-crumb-trail-example.c
3216         * src/Makefile.am
3217         * src/hildon-bread-crumb-trail.c
3218         * src/hildon-bread-crumb-trail.h
3219         * src/hildon-bread-crumb.c
3220         * src/hildon-bread-crumb.h
3221
3222         New HildonBreadCrumbTrail widget.
3223
3224 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
3225
3226         * src/hildon-range-editor.c (hildon_range_editor_init),
3227         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3228         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3229         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3230         hildon_time_editor_class_init, hildon_time_editor_init),
3231         src/hildon-get-password-dialog.c (invalid_input,
3232         hildon_get_password_set_property, hildon_get_password_get_property,
3233         create_contents, hildon_get_password_dialog_set_max_characters),
3234         src/hildon-set-password-dialog.c (create_contents),
3235         src/hildon-date-editor.c (hildon_date_editor_init),
3236         src/hildon-login-dialog.c (hildon_login_dialog_init),
3237         src/hildon-number-editor.c (hildon_number_editor_init),
3238         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3239         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3240         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3241          configure option and adding the respective checks in the code.
3242         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3243         hildon_calendar_drag_data_received): fixed some build warnings.
3244
3245 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com>
3246
3247         * debian/changelog: A 1.0.0 release notes.
3248