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