ed12233940e37332444dcc845c7f83d4208ed127
[hildon] / ChangeLog
1 2008-08-04  Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2
3         Release 2.1.3
4
5         * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6         instead of libesd (NB#86876). Volume handling is still an open issue.
7
8         * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
9         cleanups.
10
11 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
12
13         * src/hildon-touch-selector.c: (hildon_touch_selector_init),
14         (hildon_touch_selector_append_column): Make the widget a GtkVBox
15         derived class to ease placement of an entry widget in
16         HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
17         end, where the selector columns are packed now.
18
19 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
20
21         * src/hildon-picker-button.c: Removed the simple _text() API.
22         * src/hildon-picker-button.h: Likewise.
23
24         * src/hildon-touch-selector.h:
25         * src/hildon-touch-selector.c:
26         (hildon_touch_selector_new_text),
27         (hildon_touch_selector_append_text),
28         (hildon_touch_selector_prepend_text),
29         (hildon_touch_selector_insert_text):
30
31         Moved the simple _text() API from HildonPickerButton to
32         HildonTouchPicker, to provide better escalability and not to tie
33         that API to HildonPickerButton.
34
35         * examples/hildon-picker-button-example.c: (main): Example updated.
36
37 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
38
39         * src/hildon-button.c: Updated documentation.
40
41         * examples/hildon-button-example.c: Add the posibility to create
42         the buttons using horizontal layout for title and value.
43
44 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
45
46         * src/hildon-app-menu-private.h
47         * src/hildon-app-menu.c (hildon_app_menu_add_filter)
48         (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
49         GtkSizeGroup for the filters, use the 'homogeneous' property of
50         the box instead.
51
52 2008-07-31  Alberto Garcia  <agarcia@igalia.com>
53
54         * examples/hildon-button-example.c: Updated example.
55
56 2008-07-30  Claudio Saavedra  <csaavedra@igalia.com>
57
58         * doc/hildon-docs.sgml:
59         * doc/hildon.types:
60
61         Update documentation.
62
63         * examples/Makefile.am: Update renamed examples.
64
65         * examples/hildon-picker-button-multicolumn-example.c:
66         (create_touch_selector), (main): Update after the rename.
67
68         * examples/hildon-touch-picker-example.c: Removed.
69         * examples/hildon-touch-selector-example.c: (value_changed),
70         (create_selector), (get_visible_content), (main): Renamed from
71         hildon-touch-picker-example.c
72
73         * src/Makefile.am: Updated renamed files.
74
75         * src/hildon-date-button.c: (hildon_date_button_init),
76         (hildon_date_button_get_date), (hildon_date_button_set_date):
77         * src/hildon-date-selector.c: (hildon_date_selector_init),
78         (_custom_print_func), (_update_day_model),
79         (_manage_selector_change_cb),
80         (hildon_date_selector_select_current_date),
81         (hildon_date_selector_get_date), (hildon_date_selector_select_day):
82         * src/hildon-date-selector.h:
83         * src/hildon-picker-button.c: (hildon_picker_button_get_property),
84         (hildon_picker_button_set_property),
85         (hildon_picker_button_clicked), (hildon_picker_button_class_init),
86         (hildon_picker_button_init), (hildon_picker_button_new_text),
87         (hildon_picker_button_append_text),
88         (hildon_picker_button_prepend_text),
89         (hildon_picker_button_insert_text),
90         (hildon_picker_button_set_selector),
91         (hildon_picker_button_get_selector):
92         * src/hildon-picker-button.h:
93         * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
94         (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
95         (_update_title_on_selector_changed_cb), (requires_done_button),
96         (_hildon_picker_dialog_set_selector),
97         (hildon_picker_dialog_set_selector),
98         (hildon_picker_dialog_get_selector):
99         * src/hildon-picker-dialog.h:
100         * src/hildon-time-button.c: (hildon_time_button_init),
101         (hildon_time_button_get_time), (hildon_time_button_set_time):
102         * src/hildon-time-selector.c: (hildon_time_selector_init),
103         (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
104         (hildon_time_selector_set_time), (hildon_time_selector_get_time):
105         * src/hildon-time-selector.h:
106         * src/hildon.h:
107
108         Massive code updates after the rename.
109
110         * src/hildon-touch-picker.c: Removed.
111         * src/hildon-touch-picker.h: Removed.
112
113         * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
114         (hildon_touch_selector_init), (hildon_touch_selector_map),
115         (hildon_touch_selector_remove), (_default_print_func),
116         (_selection_changed_cb), (_create_new_column),
117         (hildon_touch_selector_new), (hildon_touch_selector_append_column),
118         (hildon_touch_selector_append_text_column),
119         (hildon_touch_selector_remove_column),
120         (hildon_touch_selector_set_column_attributes),
121         (hildon_touch_selector_insert_column),
122         (hildon_touch_selector_get_num_columns),
123         (hildon_touch_selector_get_column_selection_mode),
124         (hildon_touch_selector_set_column_selection_mode),
125         (hildon_touch_selector_set_print_func),
126         (hildon_touch_selector_get_print_func),
127         (hildon_touch_selector_get_active_iter),
128         (hildon_touch_selector_set_active_iter),
129         (hildon_touch_selector_get_selected_rows),
130         (hildon_touch_selector_get_model),
131         (hildon_touch_selector_set_model),
132         (hildon_touch_selector_get_current_text),
133         (_hildon_touch_selector_center_on_selected_items):
134         * src/hildon-touch-selector.h: Renamed from
135         hildon-touch-picker.[ch]
136
137         Rename HildonTouchPicker to HildonTouchSelector. Updated all the
138         references, code examples, and related documentation.
139
140 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
141
142         * doc/hildon-docs.sgml
143         * doc/hildon.types
144         * src/Makefile.am
145         * src/hildon-toggle-button.c
146         * src/hildon-toggle-button.h
147         * src/hildon.h: New HildonToggleButton widget.
148
149 2008-07-30  Alberto Garcia  <agarcia@igalia.com>
150
151         * src/hildon-button.c: Add API documentation.
152         (hildon_button_set_size_groups): Check input parameters
153
154 2008-07-30  Alejandro G. Castro  <alex@igalia.com>
155
156         * src/hildon-pannable-area.c
157         (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
158         effect after reaching the movement thredshold. This way we start
159         using the distance after passing the thredshold.
160
161 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
162
163         * src/hildon-button.c: (hildon_button_set_property): Use the
164         appropriate g_value_get_flags() method.
165
166 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
167
168         * doc/hildon-docs.sgml:
169         * doc/hildon.types:
170
171          Add the touch pickers, picker dialogs, and picker button widgets
172         to the documentation.
173
174 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
175
176         * src/hildon-button.c: (hildon_button_set_property),
177         (hildon_button_class_init): Make "arrangement-flags" a proper
178         G_TYPE_FLAGS derived property.
179
180 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
181
182         * examples/Makefile.am: Add below examples.
183         * examples/hildon-date-button-example.c:
184         * examples/hildon-picker-button-example.c:
185         * examples/hildon-picker-button-multicolumn-example.c:
186         * examples/hildon-time-button-example.c:
187         * examples/hildon-touch-picker-example.c:
188
189         Add examples for the recently added touch pickers,
190         picker dialogs, and picker button widgets.
191
192 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
193
194         * src/hildon-button.c: Add some API documentation
195
196 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
197
198         * src/hildon-button.h
199         * src/hildon-button.c
200         (hildon_button_new)
201         (hildon_button_new_with_text): New constructor to create a button
202         with no text at all.
203         (hildon_button_init, hildon_button_set_arrangement)
204         (hildon_button_set_title, hildon_button_set_value)
205         (hildon_button_set_text)
206         (hildon_button_construct_child): Hide the value when it's not used
207         so the rest of the text is properly aligned.
208         Allow creating buttons with arbitrary widgets inside (not just
209         title/value labels).
210
211         * examples/hildon-button-example.c (vertical_buttons_window)
212         (horizontal_buttons_window): Update example to use new API.
213
214 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
215
216         * src/Makefile.am: Added HildonTimeButton.
217         * src/hildon-time-button.c: Added missing LGPL header.
218         * src/hildon-time-button.h: Added missing LGPL header.
219         * src/hildon.h: Add hildon-time-button.h
220
221         Copied HildonTimeButton from sandbox to trunk. Future work on this
222         widget must take place in trunk.
223
224 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
225
226         * src/Makefile.am: Added HildonDateButton.
227         * src/hildon-date-button.c: Update includes.
228         * src/hildon.h: Add hildon-date-button.h
229
230         Copied HildonDateButton from sandbox to trunk. Future work on this
231         widget must take place in trunk.
232
233 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
234
235         * src/Makefile.am: Added HildonPickerButton.
236         * src/hildon-picker-button.h: Update includes.
237         * src/hildon.h: Add hildon-picker-button.h
238
239         Copied HildonPickerButton from sandbox to trunk. Future work on
240         this widget must take place in trunk.
241
242 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
243
244         * src/Makefile.am: Added HildonPickerDialog.
245         * src/hildon-picker-dialog.c: Update includes.
246         * src/hildon.h: Add hildon-picker-dialog.h
247
248         Copied HildonPickerDialog from sandbox to trunk. Future work
249         on this widget must take place in trunk.
250
251 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
252
253         * src/Makefile.am: Added HildonTimeSelector.
254         * src/hildon.h: Add hildon-time-selector.h
255
256         Copied HildonTimeSelector widget from sandbox to trunk. Future
257         work on this widget must happen in trunk.
258
259 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
260
261         * src/Makefile.am: Added HildonDateSelector.
262         * src/hildon.h: Add hildon-date-selector.h
263
264         Copied HildonDateSelector widget from sandbox to trunk.  Future
265         work on this widget must happen in trunk.
266
267 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
268
269         * src/Makefile.am: Added HildonTouchPicker.
270         * src/hildon-touch-picker.c: Update includes.
271         * src/hildon.h: Add hildon-touch-picker.h
272
273         Copied HildonTouchPicker widget from sandbox to trunk. Future work
274         on this widget must happen in trunk.
275
276 2008-07-29  Claudio Saavedra  <csaavedra@igalia.com>
277
278         * src/hildon-pannable-area.c:
279         (hildon_pannable_area_motion_notify_cb): Fix a typo.
280
281 2008-07-29  Alberto Garcia  <agarcia@igalia.com>
282
283         * examples/hildon-app-menu-example.c (main): Let the window
284         destroy the menu.
285
286 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
287
288         * src/hildon-pannable-area.c
289         (hildon_pannable_area_class_init): Set the min value of the
290         overshoot properties to zero, which points out that not
291         overshooting allowed.
292
293 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
294
295         Modified the procedure to get the widget at a point inside the
296         pannable area when using the movement type signals. Now the user
297         has to call a function to get the child, that way we just
298         calculate the child in case the user really want to use it and not
299         all the time.
300
301         * src/hildon-marshalers.list: Modified the marshallers, now we do
302         not have the widget as a parameter.
303
304         * src/hildon-pannable-area.c
305         (hildon_pannable_area_motion_notify_cb),
306         (hildon_pannable_area_class_init),
307         (hildon_pannable_get_child_widget_at):  Removed the widget
308         parameter from the signal callback. We have also refactored the
309         emission of the signals.
310
311         * src/hildon-pannable-area.h: Added a new method to the API to
312         calculate a widget at a point inside the pannable area,
313         hildon_pannable_get_child_widget_at.
314
315         * examples/hildon-pannable-area-example-4.c
316         (horizontal_movement): Modified the example to use the new API,
317         added condition to control which widget is under the event. This
318         way we can avoid scrolling laterally over other widgets.
319
320 2008-07-29  Alejandro G. Castro  <alex@igalia.com>
321
322         * src/hildon-pannable-area.c
323         (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
324         modes, we stop getting the pointer events due to returning the
325         callback without properly calling the get pointer again. Fixed
326         also an error using the hscroll and vscroll.
327
328 2008-07-28  Alberto Garcia  <agarcia@igalia.com>
329
330         * src/hildon-app-menu-private.h
331         * src/hildon-app-menu.c (hildon_app_menu_button_press)
332         (hildon_app_menu_button_release, hildon_app_menu_init)
333         (hildon_app_menu_class_init): Don't hide the menu on button
334         release if the user didn't press outside first.
335
336         * src/hildon-window.h
337         * src/hildon-window.c (hildon_window_toggle_menu)
338         (hildon_window_toggle_menu_real, hildon_window_class_init): Make
339         hildon_window_toggle_menu a virtual function for the stackable
340         window to override it.
341
342         * src/hildon-stackable-window.h
343         * src/hildon-stackable-window-private.h
344         * src/hildon-stackable-window.c
345         (hildon_stackable_window_realize)
346         (hildon_stackable_window_finalize)
347         (hildon_stackable_window_class_init)
348         (hildon_stackable_window_init)
349         (hildon_stackable_window_set_main_menu): New function to set the
350         app menu of a HildonStackableWindow.
351
352         * examples/hildon-app-menu-example.c: Remove the button to show
353         the app menu, now it'll be shown when clicking on the title bar
354         instead.
355
356 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
357
358         * src/hildon-button.c: (hildon_button_set_arrangement): Do not
359         set the widget name if the arrangement flags do not specify
360         a particular size.
361
362 2008-07-22  Claudio Saavedra  <csaavedra@igalia.com>
363
364         * src/hildon-button.c: (hildon_button_set_property),
365         (hildon_button_class_init), (hildon_button_new_full),
366         (hildon_button_set_arrangement): Added "arrangement-flags"
367         property.
368
369         Make the HildonButtonFlags a construction-only property, to allow
370         subclasses to set them properly.
371
372 2008-07-21 Tim Janik  <timj@imendio.com>
373
374         * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
375         insertion position after backspace, so additional digits are appended,
376         fixes Bug #85874.
377
378 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
379
380         * src/hildon-pannable-area.c,
381         (hildon_pannable_area_get_topmost): Cleaned the code, removed the
382         TODO list, it was complete and removed the g_debug and g_print
383         lines.
384
385 2008-07-17  Alejandro G. Castro  <alex@igalia.com>
386
387         Added the movement modes to the hildon-pannable-area, with this
388         modes the developers can control in which directions the widget
389         can scroll. They can also connect to signals in order to do
390         something when that happens, allowing applications scroll. There
391         is an example uploaded showing how to use it.
392
393         * examples/Makefile.am:
394         * examples/hildon-pannable-area-example-4.c: Added this example of
395         an application using the modes.
396
397         * src/hildon-marshalers.list: Added a new marshaller for the new
398         signals.
399
400         * src/hildon-pannable-area.h: Added new enumerations and flags in
401         order to control the movement modes and the new signals to warn
402         about the movements in the area.
403
404         * src/hildon-pannable-area.c:
405         (hildon_pannable_axis_scroll),
406         (hildon_pannable_area_scroll),
407         (hildon_pannable_area_motion_notify_cb),
408         (hildon_pannable_area_get_property),
409         (hildon_pannable_area_set_property),
410         (hildon_pannable_area_map),
411         (hildon_pannable_area_class_init),
412         (hildon_pannable_area_init),
413         (hildon_pannable_area_jump_to): Added the modes to control the
414         movement in the widget. We have added properties to control it,
415         signals to warn about the movements and refactored some code.
416
417 2008-07-15  Alejandro G. Castro  <alex@igalia.com>
418
419         Changes required in order to allow vfast_factor set to zero to
420         work properly.
421
422         * src/hildon-pannable-area.c:
423         (hildon_pannable_area_button_press_cb): Changed the condition, it
424         is required for not allowing click when vfast_factor is zero.
425         (hildon_pannable_area_timeout): Initialized velocity variables
426         when we stop moving, it was less than 1 but not zero and we need
427         to check zero in some situations.
428         (hildon_pannable_area_class_init): Changed the default value of
429         the speed factor, now the button_press is just sent in case the
430         speed is 2 per cent of the max speed.
431         (hildon_pannable_area_init): Initialization with 0.
432
433 2008-07-04  Alejandro G. Castro  <alex@igalia.com>
434
435         * src/hildon-pannable-area.c,
436         (hildon_pannable_area_get_topmost): replaced
437         gdk_window_get_children with gdk_window_peek_children, this way we
438         do not have to free the list because it is not a copy.
439
440         (hildon_pannable_axis_scroll),
441         (hildon_pannable_area_scroll),
442         (hildon_pannable_area_timeout),
443         (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
444         two parameters that were only used inside the
445         hildon_pannable_area_scroll function.
446
447         * examples/hildon-pannable-area-example.c,
448         (get_sawtooth_label): Fixed small memory leak.
449
450 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
451
452         More checks for the case where the overshoot is bigger than the
453         size of the widget.
454
455         * src/hildon-pannable-area.c:
456         (hildon_pannable_draw_vscroll),
457         (hildon_pannable_draw_hscroll): with this new calculation we avoid
458         to draw the slider of the scrollbar under the other scrollbar.
459         (hildon_pannable_area_expose_event): added new checks to control
460         the drawing of the overshooting area rectangle, in case it is too
461         big for the area of the widget.
462         (hildon_pannable_area_size_allocate): add more checks to avoid
463         setting a position to the child widget outside the area.
464
465 2008-07-03  Alejandro G. Castro  <alex@igalia.com>
466
467         * src/hildon-pannable-area.c
468         (hildon_pannable_area_size_allocate): Added conditions to control
469         when overshooting is bigger than the allocated space for the
470         children, this avoids negative allocations.
471
472 2008-07-02  Alberto Garcia  <agarcia@igalia.com>
473
474         * doc/hildon-docs.sgml
475         * doc/hildon.types
476         * examples/Makefile.am
477         * examples/hildon-button-example.c
478         * src/Makefile.am
479         * src/hildon-button.c
480         * src/hildon-button.h
481         * src/hildon.h: Initial version of the new HildonButton widget,
482         with examples.
483
484 2008-07-02  Claudio Saavedra  <csaavedra@igalia.com>
485
486         * src/hildon-pannable-area.c:
487         (hildon_pannable_area_button_press_cb),
488         (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
489         (hildon_pannable_area_motion_notify_cb),
490         (hildon_pannable_area_button_release_cb),
491         (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
492         (hildon_pannable_area_jump_to_child):
493
494         Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
495
496 2008-07-01  Alberto Garcia  <agarcia@igalia.com>
497
498         * examples/Makefile.am
499         * examples/hildon-pannable-area-touch-grid-example.c
500         * examples/hildon-pannable-area-touch-list-example.c: Examples of
501         the Hildon Touch List and Hildon Touch Grid using the
502         HildonPannableArea widget.
503
504 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
505
506         * src/hildon-pannable-area.c,
507         (hildon_pannable_area_button_press_cb),
508         (hildon_pannable_area_refresh),
509         (hildon_pannable_area_scroll),
510         (hildon_pannable_area_motion_notify_cb),
511         (hildon_pannable_area_button_release_cb),
512         (hildon_pannable_area_expose_event),
513         (hildon_pannable_area_add),
514         (hildon_pannable_area_remove),
515         (hildon_pannable_area_realize),
516         (hildon_pannable_area_size_allocate),
517         (hildon_pannable_area_class_init),
518         (hildon_pannable_area_init),
519         (hildon_pannable_area_scroll_to_child),
520         (hildon_pannable_area_jump_to_child): Fixed the problem of
521         removing the child from the GtkBin, we have rearranged the widget
522         hierarchy, now there is no GtkAlignment which was not doing
523         anything interesting but breaking some of the assumptions of
524         GtkContainer. Now developers if they want to add a GtkAlignment
525         they could, but it is not inside the area.
526
527         We had to review the whole allocation/expose process, now it is
528         improved and we save at least three signals which would be saving
529         some time when rendering the widget. The allocation of the
530         scrollbars is now made in the allocate method as usual.
531
532         We have also added some conditions in order to control when there
533         is no child of the pannable area. Maybe we will need more work
534         here.
535
536 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
537
538         * src/hildon-pannable-area.c,
539         (hildon_pannable_area_dispose): Released the fade-out timeout when
540         disposing the widget.
541
542 2008-06-27  Alejandro G. Castro <alex@ig\alia.com>
543
544         * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
545         zero, we are going to use that property in order to deactivate the
546         overshooting
547         (hildon_pannable_axis_scroll),
548         (hildon_pannable_area_size_allocate): Added conditions to control
549         when overshoot_max is zero. Moved the gtk_adjustment_set_value
550         call, now it is called in all situations and we can remove calls
551         in the allocate method.
552         (hildon_pannable_area_map): Control the situation when
553         overshoot_max is zero, we do not need the timeout.
554         (hildon_pannable_area_class_init): Added documentation in order to
555         point out that setting zero to overshoot_max means deactivate
556         overshooting.
557
558         NOTE: removed trailing whitespaces from my previous comments of
559         the Changelog.
560
561 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
562
563         * src/hildon-pannable-area.c
564         (hildon_pannable_area_get_property),
565         (hildon_pannable_area_set_property),
566         (hildon_pannable_area_map),
567         (hildon_pannable_area_class_init),
568         (hildon_pannable_area_init): Add a boolean "initial-hint" property
569         to cause the widget give a hint about its panning abilities upon
570         realization.
571
572 2008-06-26  Claudio Saavedra  <csaavedra@ig\alia.com>
573
574         * src/hildon-pannable-area.c: Several documentation improvements.
575
576 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
577
578         * src/hildon-program.c
579         * src/hildon-stackable-window.c: Update documentation.
580
581 2008-06-26  Alberto Garcia  <agarcia@ig\alia.com>
582
583         * src/hildon-stackable-window.c (get_previous_window_if_last):
584         Renamed get_last_window()
585         (hildon_stackable_window_map, hildon_stackable_window_unmap)
586         (hildon_stackable_window_unset_program):
587         Simplified code.
588         (get_previous_window_if_last):
589         Detect if the window hasn't been added to a HildonProgram.
590
591 2008-06-26  Alejandro G. Castro <alex@ig\alia.com>
592
593         contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
594
595         * src/hildon-pannable-area.c
596         (hildon_pannable_area_button_press_cb),
597         (hildon_pannable_axis_scroll),
598         (hildon_pannable_area_scroll),
599         (hildon_pannable_area_timeout),
600         (hildon_pannable_calculate_vel_factor),
601         (hildon_pannable_area_get_property),
602         (hildon_pannable_area_set_property),
603         (hildon_pannable_area_class_init),
604         (hildon_pannable_area_init),
605         (hildon_pannable_area_scroll_to),
606         (hildon_pannable_area_jump_to),
607         (hildon_pannable_area_scroll_to_child),
608         (hildon_pannable_area_jump_to_child):
609         * src/hildon-pannable-area.h: Added the new API functions:
610         hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
611         hildon_pannable_area_scroll_to_child,
612         hildon_pannable_area_jump_to_child
613
614
615         * examples/Makefile.am
616         * examples/hildon-pannable-area-example-2.c
617         * examples/hildon-pannable-area-example-3.c: Added these two new
618         examples in order to test and show how the new APIs work.
619
620 2008-06-25  Alberto Garcia  <agarcia@ig\alia.com>
621
622         * examples/hildon-stackable-window-example.c (new_window):
623         * src/Makefile.am (noinst_HEADERS):
624         * src/hildon-program.c (hildon_program_go_to_root_window):
625         * src/hildon-program.h:
626         * src/hildon-stackable-window-private.h:
627         * src/hildon-stackable-window.c:
628         * src/hildon-stackable-window.h:
629         Create hildon-stackable-window-private.h
630         Move hildon_stackable_window_go_to_root_window() to HildonProgram
631
632         * examples/hildon-app-menu-example.c (create_menu):
633         * examples/hildon-hvolumebar-insensitive-example.c (main):
634         * examples/hildon-hvolumebar-timer-example.c (on_idle):
635         * examples/hildon-toolbar-seekbar-example.c (main):
636         * src/hildon-app-menu.c (hildon_app_menu_add_filter):
637         * src/hildon-banner.c (hildon_banner_set_property):
638         * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
639         Fix compilation warnings
640
641         * src/hildon-window.c:
642         Fix typo in doc
643
644 2008-06-24  Alberto Garcia  <agarcia@ig\alia.com>
645
646         * src/hildon-stackable-window.c
647         (hildon_stackable_window_unset_program):
648         Calculate correctly whether to show the previous window if the
649         last one is removed from the stack.
650         (hildon_stackable_window_go_to_root_window):
651         Send delete events starting from the topmost window.
652         Stop if one of the windows is not destroyed.
653         Update doc.
654         (hildon_stackable_window_delete_event)
655         (hildon_stackable_window_class_init):
656         Ignore the delete event if the window is not the topmost one.
657
658 2008-06-24  Alejandro G. Castro <alex@ig\alia.com>
659
660         * src/hildon-pannable-area.c
661         (hildon_pannable_area_expose_event): Fixed a problem when
662         selecting the background color of the scrollbars.
663
664 2008-06-23  Alberto Garcia  <agarcia@ig\alia.com>
665
666         * examples/hildon-stackable-window-example.c
667         * src/hildon-stackable-window.c
668         * src/hildon-stackable-window.h
669         hildon_stackable_window_go_home() renamed to
670         hildon_stackable_window_go_to_root_window()
671         Send delete events to windows rather than closing them with
672         gtk_widget_destroy()
673
674 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
675
676         * src/hildon-pannable-area.c
677         (hildon_pannable_area_button_release_cb): Fix overshooting in
678         accel mode.
679
680 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
681
682         * src/hildon-pannable-area.c
683         (hildon_pannable_area_init): Initially show the scroll indicators.
684         (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
685
686         Add initial effect showing the widget is pannable.
687
688 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
689
690         * src/hildon-pannable-area.c
691         (hildon_pannable_area_class_init)
692         (hildon_pannable_area_set_property)
693         (hildon_pannable_area_get_property)
694         (hildon_pannable_area_button_press_cb):
695         New 'velocity_fast_factor' property to decide which velocity is
696         considered fast.
697
698 2008-06-19  Claudio Saavedra  <csaavedra@ig\alia.com>
699
700         * src/hildon-pannable-area.c
701         (hildon_pannable_draw_hscroll)
702         (hildon_pannable_draw_vscroll):
703         Use float variables to calculate the size of the scrollbars to
704         avoid error propagation and resizing during scrolling.
705
706 2008-06-19  Alberto Garcia  <agarcia@ig\alia.com>
707
708         * src/hildon-pannable-area.c
709         (hildon_pannable_draw_vscroll)
710         (hildon_pannable_draw_hscroll):
711         Define a minimum size for the scroll bars
712
713         * src/hildon-stackable-window.c
714         (hildon_stackable_window_go_home): Fix compilation warning
715         (get_last_window): Minor optimizations
716         (hildon_stackable_window_class_init): Fix initialization of
717         private structure.
718
719 2008-06-18  Alberto Garcia  <agarcia@ig\alia.com>
720
721         * src/hildon-stackable-window.c: Fixed typos in doc
722
723 2008-06-18  Claudio Saavedra  <csaavedra@ig\alia.com>
724
725         * src/hildon-pannable-area.c
726         (hildon_pannable_area_scroll):
727         Calculate here whether we need to scroll instead of using the booleans
728         that tell us whether to /draw/ the scrolling bars.
729
730 2008-06-17  Claudio Saavedra  <csaavedra@ig\alia.com>
731
732         * src/hildon-app-menu.h
733         Update API.
734         * src/hildon-app-menu.c
735         (hildon_app_menu_init, hildon_app_menu_class_init): Remove
736         multiple filter groups related code and API. Now we support only
737         one filter group.
738         * examples/hildon-app-menu-example.c:
739         (create_menu):
740         Update to reflect API changes.
741
742 2008-06-16  Claudio Saavedra  <csaavedra@ig\alia.com>
743
744         * src/hildon-stackable-window.c
745         (hildon_stackable_window_class_init):
746         Add hildon_stackable_window_realize.
747         (hildon_stackable_window_realize):
748         Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
749         the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
750         to apply theming and behavior specific to HildonStackableWindow
751         windows.
752
753 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
754
755         * src/hildon-note.c (hildon_note_button_release):
756         Close information notes also when tapping on them
757
758 2008-06-12  Alejandro G. Castro <alex@ig\alia.com>
759
760         Added BOUNCE_STEPS define to control the overshoot effect. Removed
761         ELASTICITY, refactor and review, fix some issues with drawing
762         scrollbars.
763
764         * src/hildon-pannable-area.c:
765         (hildon_pannable_area_button_press_cb): removed the conditions to
766         avoid clicks when overshooting. It is not required
767
768         (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
769         define. Refatored and reviewed the code, now we do not need to
770         manage velocity in motion_notify.
771
772         (hildon_pannable_area_motion_notify_cb): We have moved the code
773         that controls the area_scroll to the axis_scroll function and get
774         rid of duplicated code.
775
776         (hildon_pannable_area_scroll): Remove the ELASTICITY define.
777
778         (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
779
780         (hildon_pannable_draw_vscroll),
781         (hildon_pannable_draw_hscroll): Fixed the problems with the
782         scrollbar drawing, now we do not use two surfaces, it is easier
783         and saves resources.
784
785         (hildon_pannable_area_get_property): Style modification.
786
787         (hildon_pannable_area_class_init): Changed some default values.
788
789 2008-06-12  Claudio Saavedra  <csaavedra@ig\alia.com>
790
791         * src/hildon-stackable-window.c: Fix some typos in the
792         documentation.
793
794 2008-06-12  Alberto Garcia  <agarcia@ig\alia.com>
795
796         * src/hildon-dialog.c:
797         Change indentation style
798
799         * src/hildon-note.c
800         (hildon_note_button_release):
801         Use root coordinates to check if the release event happened
802         outside the widget.
803
804         * src/hildon-app-menu.c
805         (hildon_app_menu_button_release):
806         Remove unnecessary check
807
808         * examples/hildon-app-menu-example.c
809         (button_clicked):
810         Add cast to fix warning
811
812         * src/hildon-app-menu.c
813         (hildon_app_menu_class_init):
814         New inner-border style property.
815         Set all default spacings to 16
816         (hildon_app_menu_init):
817         Use vertical-spacing to set the space between filter buttons and
818         regular menu buttons.
819         Set the default container border using the inner-border value.
820
821         * examples/hildon-app-menu-example.c
822         (create_menu):
823         Don't set the menu border explicitly, now we have the inner-border
824         style property for that.
825
826 2008-06-11  Alberto Garcia  <agarcia@ig\alia.com>
827
828         * src/hildon-app-menu.c (hildon_app_menu_init):
829         Make the window modal
830
831         * src/hildon-note.c (hildon_note_map)
832         * src/hildon-app-menu.c (hildon_app_menu_map):
833         Destroy the grab window if we're unable to grab the pointer
834
835         * src/hildon-app-menu-private.h
836         * src/hildon-app-menu.c
837         (hildon_app_menu_init, hildon_app_menu_finalize)
838         (hildon_app_menu_map, hildon_app_menu_unmap)
839         (hildon_app_menu_button_release)
840         (grab_transfer_window_get):
841         Bring back the grab window
842         (hildon_app_menu_realize):
843         Decorate the window, set WM hint for Matchbox
844
845         * src/hildon-note.c (hildon_note_realize):
846         * src/hildon-banner.c (hildon_banner_realize):
847         Add WM hints for Matchbox
848
849 2008-06-10  Alberto Garcia  <agarcia@ig\alia.com>
850
851         * src/hildon-app-menu-private.h
852         * src/hildon-app-menu.c
853         (hildon_app_menu_init, hildon_app_menu_finalize)
854         (hildon_app_menu_map, hildon_app_menu_unmap)
855         (hildon_app_menu_button_release):
856         Remove the grab window, it's not needed anymore
857
858         * src/hildon-program.c
859         Fixed typo in documentation
860
861         * src/hildon-app-menu.h
862         * src/hildon-app-menu.c
863         * examples/hildon-app-menu-example.c
864         Remove hildon_app_menu_popup(), use gtk_widget_show() instead
865
866 2008-06-09  Alberto Garcia  <agarcia@ig\alia.com>
867
868         * src/hildon-note.c
869         Added new transfer_window and close_if_pressed_outside private
870         attributes.
871         (hildon_note_rebuild):
872         Don't add a cancel button to the information note. It will be
873         closed when tapping outside
874         Remove the comment about the OK button in the documentation
875         (hildon_note_realize):
876         Set the notification type hint
877         (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
878         Grab/ungrab pointer and keyboard if the note has to be closed when
879         tapping outside
880         (hildon_note_button_release):
881         Close the note when tapping outside (if applicable)
882
883         * src/hildon-app-menu.c
884         Grab/ungrab pointer and keyboard on map/unmap
885         (hildon_app_menu_button_release, hildon_app_menu_class_init):
886         Close the menu on button release, not button press
887
888         * src/hildon-banner.c
889         (hildon_banner_set_property)
890         (hildon_banner_check_position):
891         Make the banner use the full width of the screen
892         (hildon_banner_show_information)
893         (hildon_banner_show_information_with_markup):
894         Don't display an icon by default
895
896 2008-06-09  Alejandro G. Castro <alex@ig\alia.com>
897
898         Added fading scrollbars and adapted all the overshooting code to
899         horizontal scrolling. We have also fixed bugs with overshooting
900         and current fading implementation.
901
902         * src/hildon-pannable-area.c
903         (hildon_pannable_area_scroll_indicator_fade): Time out function
904         used to change the transparency of the scrollbars.
905
906         (hildon_pannable_area_button_press_cb): Added horizontal overshot
907         control and fixed a problem with fading, we now remove the fade
908         timeout before adding a new one.
909
910         (hildon_pannable_axis_scroll):
911         (hildon_pannable_area_scroll):
912         (hildon_pannable_area_timeout): Added this functions so we can use
913         the scroll code both for vertical and horizontal.
914
915         (hildon_pannable_area_motion_notify_cb):
916         (hildon_pannable_area_button_release_cb): Added the horizontal
917         scrolling control, fixed a problem with the overshooting timeout.
918
919         (rgb_from_gdkcolor): Added this function, it is used in the cairo
920         painting of the scrolls.
921
922         (hildon_pannable_draw_vscroll):
923         (hildon_pannable_draw_hscroll):
924         (hildon_pannable_area_expose_event):
925         Draw both scrollbars and rectangles in the overshooting area.
926
927         (hildon_pannable_area_get_property):
928         (hildon_pannable_area_set_property):
929         Modified the overshoot property to overshoot_max
930
931         (hildon_pannable_area_map):
932         Replaced the comments symbols.
933
934         (hildon_pannable_area_size_allocate):
935         (hildon_pannable_area_class_init):
936         (hildon_pannable_area_init): Added horizontal scroll, fading
937         effect properties, fixed a problem when overshooting in the bottom
938         of the widget.
939
940         * examples/hildon-pannable-area-example.c:
941         (get_sawtooth_label): Now we use smaller sawtooths, the effect
942         looks better in the example.
943
944 2008-06-03  Alberto Garcia  <agarcia@ig\alia.com>
945
946         * src/hildon-window.c
947         * src/hildon-window.h
948         (hildon_window_class_init)
949         (hildon_window_unset_program)
950         (hildon_window_unset_program_real):
951         Make unset_program a virtual function
952
953         * src/hildon-stackable-window.c
954         * src/hildon-stackable-window.h
955         Added hildon_stackable_window_go_home()
956
957         * examples/Makefile.am
958         * examples/hildon-stackable-window-example.c
959         HildonStackableWindow example
960
961 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
962
963         * hildon-pannable-area.c: Added the overshoot property and removed
964         the OVERSHOOT define. Fixed an indent style error.
965         (hildon_pannable_area_motion_notify_cb):
966         (hildon_pannable_area_get_property):
967         (hildon_pannable_area_set_property): Add overshoot property.
968
969         (hildon_pannable_area_scroll): replaced OVERSHOOT define with
970         overshoot property.
971
972         (hildon_pannable_area_class_init): Installed the new property.
973
974         * hildon-pannable-area-example.c: Added a sawtooth function, this
975         way it is easier to check the movement in the pannable.
976         (get_sawtooth_label): Added this function.
977         (main): Now we get the labels from the new get_sawtooth_label
978         function.
979
980 2008-05-26  Alberto Garcia  <agarcia@ig\alia.com>
981
982         * src/hildon-app-menu.h
983         * src/hildon-app-menu.c
984         Renamed API variables for consistency
985
986         (hildon_app_menu_popup): Use also the default window size to
987         decide where to place the menu
988
989         (hildon_app_menu_init, hildon_app_menu_class_init): New
990         external-border style property
991
992 2008-05-26  Michael Natterer  <mitch@imendio.com>
993
994         * src/hildon-time-editor.c (hildon_time_editor_class_init): The
995         widget_class->tap_and_hold_setup signal slot doesn't exist any
996         longer, stop overriding it.
997
998         (hildon_time_editor_init): g_signal_connect() to the
999         tap-and-hold-setup signal instead.
1000
1001         (hildon_time_editor_entry_keypress): add cast to fix warning.
1002
1003 2008-05-23  Alberto Garcia  <agarcia@ig\alia.com>
1004
1005         * doc/hildon-docs.sgml
1006         * doc/hildon.types
1007         * examples/Makefile.am
1008         * examples/hildon-app-menu-example.c
1009         * src/Makefile.am
1010         * src/hildon-app-menu-private.h
1011         * src/hildon-app-menu.c
1012         * src/hildon-app-menu.h
1013         * src/hildon.h
1014         New HildonAppMenu widget
1015
1016 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1017
1018         Rearranged the inheritance of the pannable area, now it inherits
1019         from GtkBin. This will allow us to control the event_window and
1020         the allocation process of the widget, required for some effects.
1021
1022         * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1023         GtkBin structures.  * src/hildon-pannable-area.c: Added the
1024         event_window variable.
1025         (hildon_pannable_area_button_press_cb):
1026         (hildon_pannable_area_button_release_cb):
1027         (hildon_pannable_area_motion_notify_cb):
1028         Changed the signature of the method, now we override the event
1029         callback instead of connecting to the signal.
1030
1031         (hildon_pannable_area_realize):
1032         (hildon_pannable_area_unrealize):
1033         (hildon_pannable_area_map):
1034         (hildon_pannable_area_unmap):
1035         (hildon_pannable_area_size_allocate):
1036         Added functions to control the widget construction. We add a
1037         INPUT_ONLY window and we put it over the widgets inside the
1038         container, this event_window handles the events.
1039
1040         (hildon_pannable_area_class_init):
1041         Replaced the signal connections with overrides of the event
1042         callbacks.
1043
1044 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1045
1046         Bouncing effect added when touching the borders, you can change
1047         the elasticity of the border changing the ELASTICITY define.
1048
1049         * src/hildon-pannable-area.c: Added ELASTICITY define.
1050         (hildon_pannable_area_timeout): Added inverse velocity when
1051         touching the border of the child widget, that causes a bounce.
1052
1053 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1054
1055         Improved performance, we now do not go to the X server in order to
1056         get the list of window children. Apparently the effect is the
1057         same, we have to be careful and check if this breaks something in
1058         any corner case.
1059
1060         * src/hildon-pannable-area.c:
1061         (get_ordered_children): Removed this function.
1062         (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1063         the children windows function with gdk_window_get_children.
1064
1065 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1066
1067         * src/hildon-pannable-area.c:
1068         (hildon_pannable_area_dispose): Fixed a crash when closing the
1069         window and kinetics is activated.
1070
1071 2008-05-19  Alberto Garcia  <agarcia@ig\alia.com>
1072
1073         * src/hildon-pannable-area.h
1074         * src/hildon-pannable-area.c
1075         Changed indentation style to meet the one used in Hildon
1076
1077 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1078
1079         Reviewed the interaction of the AUTO mode, now we use the time
1080         attribute of the events and calculate the velocity in the motion,
1081         doing a gimp like calculation. The velocity is calculated in each
1082         motion event using the last velocity and the current one, the
1083         SMOOTH_FACTOR controls the percentage of the new velocity we use.
1084
1085         * src/hildon-pannable-area.c: Replaced the time based algorithm
1086         for the AUTO mode.
1087         (hildon_pannable_area_motion_notify_cb): now we do not launch the
1088         timeout for the AUTO mode when we are still moving the cursor. We
1089         added also the velocity calculation in this function.
1090         (hildon_pannable_area_button_release_cb): launch the timeout in
1091         case we are in AUTO mode. There are still some constants here that
1092         come from the old implementation that should be reviewed and
1093         handled properly.
1094
1095 2008-05-15  Alberto Garcia  <agarcia@ig\alia.com>
1096
1097         * doc/hildon-docs.sgml
1098         * doc/hildon.types
1099         * src/Makefile.am
1100         * src/hildon-stackable-window.c
1101         * src/hildon-stackable-window.h
1102         * src/hildon.h
1103         New HildonStackableWindow widget
1104
1105         * examples/hildon-dialog-example.c
1106         * examples/hildon-pannable-area-example.c
1107         Updated copyright
1108
1109 2008-05-14  Alberto Garcia  <agarcia@ig\alia.com>
1110
1111         * src/hildon-dialog.c
1112         (hildon_dialog_new_with_buttons): New constructor.
1113
1114         * examples/hildon-dialog-example.c
1115         (main): Update the example to use the new
1116         hildon_dialog_new_with_buttons().
1117
1118         * examples/hildon-pannable-area-example.c
1119         (main): Update example.
1120
1121 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1122
1123         * doc/hildon-docs.sgml
1124         * doc/hildon.types
1125         Added HildonPannableArea to the documentation.
1126
1127 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1128
1129         * doc/visual_index.xml
1130         Fix reference to HildonLoginDialog in documentation
1131
1132         * doc/hildon-docs.sgml
1133         * doc/hildon.types
1134         * examples/Makefile.am
1135         * examples/hildon-dialog-example.c
1136         * src/Makefile.am
1137         * src/hildon-dialog.c
1138         * src/hildon-dialog.h
1139         * src/hildon.h
1140         New HildonDialog widget.
1141
1142 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1143
1144         * src/hildon-pannable-area.c
1145         Merge latest changes (r4318, r4342) from libmokoui trunk
1146
1147 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1148
1149         * examples/Makefile.am
1150         * examples/hildon-pannable-area-example.c
1151         * src/Makefile.am
1152         * src/hildon-pannable-area.c
1153         * src/hildon-pannable-area.h
1154         * src/hildon.h
1155         New HildonPannableArea widget.
1156
1157 2008-04-15 18:05:19    <timj@imendio.com>
1158
1159         * src/hildon-banner.c: revert the recent change, that introduced
1160         gtk_window_present() calls. this reopens:
1161           Bug 78481 - [freetest] information banners are hidden under browser menu
1162         But resolves another variant of:
1163           Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1164
1165 2008-04-15 13:21:13    <timj@imendio.com>
1166
1167         * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1168         recreated its layout, spotted by Kris. this fixes all remaining
1169         artefacts and stability issues with the banner code. in particular:
1170         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1171
1172 2008-04-14 16:52:59    <timj@imendio.com>
1173
1174         * src/hildon-banner.c: guard force_to_wrap_truncated() against
1175         operating on unrealized widgets, fixes:
1176         Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1177
1178         * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1179
1180 2008-04-09  Kristian Rietveld  <kris@imendio.com>
1181
1182         Fixes: NB#77775: Media Player, Save Now playing list, too long name
1183         makes banner disappear.
1184         Fixes: NB#79182: info banner flickering with certain message lengts.
1185
1186         * src/hildon-banner.c (hildon_banner_constructor),
1187         (hildon_banner_init), (hildon_banner_set_text),
1188         (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1189         (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1190         FALSE, reset size requests of label and banner,
1191         (force_to_wrap_truncated): when the text is too wide, always enforce
1192         the maximum possible width instead of recalculating it from the
1193         layout; enforce the maximum banner height of 3 lines,
1194         (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1195         nicer wrapping and no truncated chars if space gets tight.
1196
1197         * src/hildon-banner-private.h: add has_been_wrapped and
1198         has_been_truncated fields.
1199
1200 2008-04-07  Sven Herzberg  <sven@imendio.com>
1201
1202         Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1203         local values in hildon_date_editor_size_allocate
1204
1205         * src/hildon-date-editor.c: moved the real allocation code into the
1206         if() branch
1207
1208 2008-04-07  Sven Herzberg  <sven@imendio.com>
1209
1210         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1211         local values in hildon_date_editor_size_allocate
1212
1213         * src/hildon-date-editor.c: merged the two if() branches together
1214
1215 2008-04-07  Sven Herzberg  <sven@imendio.com>
1216
1217         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1218         local values in hildon_date_editor_size_allocate
1219
1220         * src/hildon-date-editor.c: changed the arguments of the if()
1221         conditions
1222
1223 2008-04-07  Sven Herzberg  <sven@imendio.com>
1224
1225         Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1226         local values in hildon_date_editor_size_allocate
1227
1228         * src/hildon-date-editor.c: split the calculation of the allocation
1229         from the real allocation
1230
1231 2008-03-27  Michael Natterer  <mitch@imendio.com>
1232
1233         Fixes: NB#81696: The passcode is not overwritten even after
1234         selecting
1235
1236         * src/hildon-code-dialog.c
1237         (hildon_code_dialog_button_clicked)
1238         (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1239         because that doesn't overwrite selected text. Instead, emit the
1240         "commit" signal on the entry's im_context so the entry's normal
1241         insert logic is triggered. Set the cursor to the end of the entry
1242         after each insert operation so that we *only* insert in the middle
1243         of the text if something was selected.
1244
1245 2008-03-27  Michael Natterer  <mitch@imendio.com>
1246
1247         Enable fixing: NB#79916 and NB#79918: The help topic for Color
1248         selector cannot be opened
1249
1250         * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1251         when the popup color selector is created. Please connect to this
1252         signal in order to set the dialog's help ID.
1253
1254 2008-03-25  Sven Herzberg  <sven@imendio.com>
1255
1256         Fixes: MB#1212: Hide info banners (infoprints) on click
1257
1258         * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1259         extracted the close event simulation into an extra function
1260         (hildon_banner_button_press_event): simulate a close event and destroy
1261         the widget if the event wasn't handled
1262         (hildon_banner_class_init): added the button_press_event handler
1263         (hildon_banner_init): added button-press events to the widget
1264
1265 2008-03-25  Sven Herzberg  <sven@imendio.com>
1266
1267         Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1268         Patch from: Mohammad Anwari  <mdamt@maemo.org>
1269
1270         * src/hildon-banner.c: let the HildonBanners pop up on the left side
1271         instead of the right in RTL mode
1272         * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1273         breadcrumb button list in RTL mode
1274         * src/hildon-caption.c: mirror the appearance of the caption widget in
1275         RTL mode
1276         * src/hildon-date-editor.c: mirror appearance of the date editor in
1277         RTL mode
1278         * src/hildon-time-editor.c: mirror appearance of the time editor in
1279         RTL mode
1280         * src/hildon-window.c: fix the position of the popup in RTL mode
1281
1282 2008-03-25  Sven Herzberg  <sven@imendio.com>
1283
1284         Amendment to the fix of NB#22072. Fix compilation.
1285
1286         * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1287
1288 2008-03-19  Sven Herzberg  <sven@imendio.com>
1289
1290         Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1291         in Info Banner" bug
1292
1293         * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1294         timeout id properly when the timeout will disappear this leaves no
1295         artifacts around in the destroy(); there will only be the timeout
1296         created by hildon_banner_ensure_timeout() and adding a new timeout
1297         will also work if the timeout gets removed because the timeout_handler
1298         returned FALSE
1299
1300 2008-03-19  Michael Natterer  <mitch@imendio.com>
1301
1302         Fixes: NB#79791: Cannot set focus to Master volume using stylus
1303
1304         * src/hildon-volumebar.c
1305         * src/hildon-vvolumebar.c
1306         * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1307         the widget becomes focussable at all.
1308
1309         * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1310         set the focus to wither the mute button or the volumebar.
1311
1312         Remove own "can-focus" property and instead listen to
1313         notify::can-focus in order to update the widget's state.
1314
1315         Implement GtkWidget::focus() and make sure we can also *leave* the
1316         widget, not only enter it, depending on volumebar orientation and
1317         requested focus direction.
1318
1319         Clean up set_mute() to cooperate nicely with all the above.
1320
1321 2008-03-04  Michael Natterer  <mitch@imendio.com>
1322
1323         Fixes: NB#78481: information banners are hidden under browser menu
1324
1325         * src/hildon-banner.c: call gtk_window_present() on the banners so
1326         they are risen if they are already visible.
1327
1328 2008-03-03  Sven Herzberg  <sven@imendio.com>
1329
1330         Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
1331
1332         * examples/hildon-window-menu-example.c: (main): extended the window
1333         menu example to serve as a testcase for automatically added
1334         accelerator groups, too
1335         * src/hildon-window.c: (hildon_window_add_accel_group),
1336         (hildon_window_set_menu): added patch by Tommi Komulainen
1337
1338 2008-03-03  Sven Herzberg  <sven@imendio.com>
1339
1340         Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
1341
1342         * src/hildon-window.c: (hildon_window_get_borders): don't imply any
1343         knowledge about the border allocators used within GTK+
1344
1345 2008-02-26  Sven Herzberg  <sven@imendio.com>
1346
1347         Fixes: MB#2981: Build with asserts broken
1348
1349         * src/hildon-date-editor.c,
1350         * src/hildon-number-editor.c,
1351         * src/hildon-time-editor.c,
1352         * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
1353         the proper GType instance check
1354
1355 2008-02-25  Sven Herzberg  <sven@imendio.com>
1356
1357         Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
1358
1359         * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
1360         * examples/hildon-window-menu-example.c: (main): explicitly show
1361         the menu item
1362         * src/hildon-window.c:
1363         (hildon_window_set_main_menu): moved most of the code from set_menu()
1364         to this place; skipped the call to gtk_widget_show_all(); also didn't
1365         introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
1366         (hildon_window_set_menu): removed most of the code, just keep the
1367         questionable gtk_widget_show_all()
1368         * src/hildon-window.h: added the new function and deprecate the old
1369         one
1370
1371 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
1372
1373         [2.0.1-1 release]
1374
1375         * NEWS:
1376         * configure.ac:
1377         * debian/changelog: Updating.
1378
1379 2008-01-10  Xan Lopez  <xan.lopez@nokia.com>
1380
1381         * configure.ac:
1382         * pkgconfig/Makefile.am:
1383         * pkgconfig/hildon.pc.in:
1384         * src/Makefile.am:
1385
1386         Do not use PACKAGE_VERSION_MAJOR as the API revision,
1387         use newly created API_MAJOR_VERSION.
1388         
1389 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
1390
1391         [2.0.0-1 release]
1392
1393         * NEWS:
1394         * configure.ac:
1395         * debian/changelog: Updating.
1396
1397 2008-01-09  Xan Lopez  <xan.lopez@nokia.com>
1398
1399         * src/hildon-color-chooser.c (hildon_color_chooser_class_init): 
1400
1401         Add outer_border style property, we use it but don't define it (!).
1402
1403         Fixes NB#75310
1404
1405 2007-12-21  Xan Lopez  <xan.lopez@nokia.com>
1406
1407         * examples/hildon-bread-crumb-trail-example.c (main): 
1408
1409         Add clear button.
1410
1411         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove): 
1412
1413         Fix logic for the bread crumb trail node removal.
1414
1415         Fixes: NB#78616
1416
1417 2007-12-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1418
1419         [1.99.1-1 release]
1420
1421         * NEWS:
1422         * configure.ac:
1423         * debian/changelog: Updating.
1424
1425 2007-11-08  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1426
1427         Patch by Alejandro to get/set passwords dialogs accesibility.
1428
1429         * hildon-1/src/hildon-get-password-dialog.c:
1430         * hildon-1/src/hildon-set-password-dialog.c: 
1431         Set atk_set_name to the passwd entries in order to allow 
1432         accessibility by name on this entries.
1433         
1434 2007-10-11  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1435
1436         [1.99.0-2 release]
1437
1438         * debian/changelog:
1439         * debian/control: Updating gtk dep.
1440
1441 2007-10-10  Mohammad Anwari  <Mohammad.Anwari@nokia.com>
1442
1443         * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1444         USE_MAEMO_GTK is enabled.
1445
1446 2007-10-10  Xan Lopez  <xan.lopez@nokia.com>
1447
1448         * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1449         MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1450
1451 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1452
1453         [1.99.0-1 release]
1454
1455         * NEWS:
1456         * configure.ac:
1457         * debian/changelog: Updating.
1458
1459 2007-10-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1460
1461         * examples/Makefile.am:
1462         * examples/hildon-logical-color-example.c:
1463         * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1464         applied + adding a test case. Fixes: NB#71660.
1465
1466 2007-10-08  Xan Lopez  <xan.lopez@nokia.com>
1467
1468         * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1469         to be visible, fixes warning on map for windows without toolbars.
1470
1471 2007-10-02  Xan Lopez  <xan.lopez@nokia.com>
1472
1473         * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1474         2.11.0, add a check for that besides the MAEMO_GTK check.
1475
1476 2007-09-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1477
1478         [1.0.17-1 release]
1479
1480         * NEWS:
1481         * configure.ac:
1482         * debian/changelog: Updating.
1483
1484 2007-09-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1485
1486         * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1487         visibility. Fixes: NB#70842 and MB#615.
1488
1489 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
1490
1491         * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1492         set the separator as no-show-all so it doesn't unintentionally appear when
1493         someone does a show_all.
1494
1495 2007-09-25  Xan Lopez  <xan.lopez@nokia.com>
1496
1497         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1498         (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1499         toplevel item. Fixes: NB#62031
1500
1501 2007-09-24  Xan Lopez  <xan.lopez@nokia.com>
1502
1503         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1504         fix the name of the function in the docs.
1505
1506 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1507
1508         [1.0.16-1 release]
1509
1510         * NEWS:
1511         * configure.ac:
1512         * debian/changelog: Updating.
1513
1514 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1515
1516         * examples/hildon-banner-long-example.c: Adding a test-case for long
1517         hildon banner.
1518
1519         * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1520
1521 2007-09-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1522
1523         * src/hildon-color-chooser-dialog.c:
1524         * src/hildon-color-chooser.c:
1525         * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1526         memory leaks in font selector and color selector. Fixes: NB#70499 and
1527         NB#70474.
1528
1529 2007-09-20  Johan Bilien  <johan.bilien@nokia.com> 
1530
1531         * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1532
1533 2007-09-18  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1534
1535         * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1536         little bit bigger. Fixes: #NB63694.
1537
1538 2007-09-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1539
1540         [1.0.15-1 release]
1541
1542         * NEWS:
1543         * configure.ac:
1544         * debian/changelog: Updating.
1545
1546 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1547
1548         * doc/Makefile.am:
1549         * doc/hildon-docs.sgml:
1550         * doc/images/bread-crumb-trail.png:
1551         * doc/images/calendar-popup.png:
1552         * doc/images/caption.png:
1553         * doc/images/code-dialog.png:
1554         * doc/images/color-button.png:
1555         * doc/images/color-chooser-dialog.png:
1556         * doc/images/color-chooser.png:
1557         * doc/images/controlbar.png:
1558         * doc/images/date-editor.png:
1559         * doc/images/font-selection-dialog.png:
1560         * doc/images/get-password-dialog.png:
1561         * doc/images/hvolumebar.png:
1562         * doc/images/login-dialog.png:
1563         * doc/images/note.png:
1564         * doc/images/number-editor.png:
1565         * doc/images/range-editor.png:
1566         * doc/images/seekbar.png:
1567         * doc/images/set-password-dialog.png:
1568         * doc/images/sort-dialog.png:
1569         * doc/images/time-editor.png:
1570         * doc/images/time-picker.png:
1571         * doc/images/vvolumebar.png:
1572         * doc/images/weekday-picker.png: Adding the new generated widget shots.
1573         Adding the bread-crumb-trial and helpers to the documentation.
1574
1575 2007-09-14  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1576
1577         * examples/hildon-find-toolbar-example.c:
1578         * src/hildon-find-toolbar.c:
1579         * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1580         actually continue firing the other handlers if connected. Adding a new
1581         function:
1582         hildon_find_toolbar_get_last_index that gets the index of the most
1583         recently added (last) item. Fixes: NB#52301.
1584
1585 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1586
1587         * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1588         behaviour. Fixes: NB#68610. 
1589
1590 2007-09-10  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1591
1592         * src/hildon-banner.c: Actually reverting the previous change. It somehow
1593         looks a bit worse.
1594
1595 2007-09-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1596
1597         * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1598         when realizing the banner. Should make the infonbanner effect a bit more
1599         bearable.
1600
1601 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1602
1603         * src/hildon-volumebar.c:
1604         * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1605         hildon_volumebar_set_range_insensitive_message and
1606         hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1607
1608 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1609
1610         * src/hildon-window.c: Fixing the border freeing on destroy.
1611
1612 2007-09-05  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1613
1614         * src/hildon-code-dialog-private.h:
1615         * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1616         kw keyboard support in HildonCodeDialog.
1617
1618 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1619
1620         [1.0.14-1 release]
1621
1622         * NEWS:
1623         * configure.ac:
1624         * debian/changelog: Updating.
1625
1626 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1627
1628         * src/hildon-date-editor.c:
1629         * src/hildon-number-editor.c:
1630         * src/hildon-private.c:
1631         * src/hildon-private.h:
1632         * src/hildon-time-editor.c:
1633         * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1634         handling in subclassed composite widgets. Fixes: NB#66628.
1635
1636 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1637
1638         * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1639         from destroy_ callback as it introduces problems in async dbus signal
1640         handlers. Fixes NB#66673.
1641
1642 2007-08-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1643
1644         * examples/hildon-hvolumebar-example.c:
1645         * src/hildon-volumebar.c: Improving the focus handling in the
1646         volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1647         set_property accessor so that "mute" property can be actually set. I'm
1648         scared that nobody noticed it's totally broken.
1649
1650 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1651
1652         * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1653         Fixes NB#66548.
1654
1655 2007-08-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1656
1657         * src/hildon-calendar.c:
1658         * src/hildon-number-editor.c:
1659         * src/hildon-time-picker.c: Changing the timeout repeat so that it
1660         matches the spec of 6 chars per second. Fixes: NB#60489.
1661
1662 2007-08-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1663
1664         * src/hildon-helper.c: Really fixing NB#58352. Looks like
1665         gtk_style_lookup_color sometime returns FALSE even though color was
1666         found and values were filled properly. Weird. Removing the warning for the
1667         time being.
1668
1669 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1670
1671         * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1672         expand vertically. Adding some extra space to the find toolbar buttons to
1673         make them thumbable. Fixes NB#66060.
1674
1675 2007-08-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1676
1677         * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1678         popup with "Ok" and "Cancel". Fixes NB#59299.
1679
1680 2007-08-20  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1681
1682         * src/hildon-calendar.c: Process all window updates before executing next
1683         timeout. Fixes: NB#54146.
1684
1685 2007-08-17  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1686
1687         [1.0.13-1 release]
1688
1689         * NEWS:
1690         * configure.ac:
1691         * debian/changelog: Updating.
1692
1693 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1694
1695         * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1696         the client event and ignore it, since we use the delete event to close
1697         after timeouts.
1698
1699 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1700
1701         * src/hildon-helper.c: Remove the bogus warning about color not being
1702         found. Fixes NB#58352.
1703
1704 2007-08-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1705
1706         * examples/Makefile.am:
1707         * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1708         HildonSeekbar widget inside a toolbar.
1709
1710 2007-08-16  Xan Lopez  <xan.lopez@nokia.com>
1711
1712         * src/hildon-banner.c (hildon_banner_init): mark the banners as
1713         temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1714         delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1715         don't want to be closed by non-temporary windows on map.
1716
1717         Also use G_DEFINE_TYPE instead of manually typed code.
1718
1719 2007-08-06  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1720
1721         [1.0.12-1 release]
1722
1723         * NEWS:
1724         * configure.ac:
1725         * debian/changelog:
1726         * debian/rules: Updating.
1727
1728 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1729
1730         * examples/Makefile.am:
1731         * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1732         bug NB#61128. Strangely it works.
1733
1734 2007-08-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1735
1736         * src/hildon-date-editor.c: When the date editor entry has been changed
1737         but the numbers of characters < max, turn off the skip validation flag.
1738         Prevents a situation when we enter first a valid year and later re-write
1739         it with an invalid one. Fixes NB#60154.
1740
1741 2007-07-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1742
1743         * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1744         code dialog. Fixes NB#64355.
1745
1746 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1747
1748         * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1749         switching the page. Fixes NB#49374.
1750
1751         * examples/Makefile.am:
1752         * examples/hildon-wizard-dialog-example.c: Adding an example for
1753         HildonWizardDialog that shows how to handle manual sensitivity setting on
1754         the wizard dialog.
1755
1756 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1757
1758         * configure.ac:
1759         * src/Makefile.am:
1760         * src/hildon-version.h.in:
1761         * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1762
1763 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1764
1765         * src/hildon-volumebar.c: Updating the docs.
1766
1767 2007-07-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1768
1769         [1.0.11-1 release]
1770
1771         * NEWS:
1772         * configure.ac:
1773         * debian/changelog: Updating.
1774
1775 2007-07-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1776
1777         * src/hildon-find-toolbar.c:
1778         * src/hildon-find-toolbar.h: Adding a few new functions to control the
1779         selected item: hildon_find_toolbar_set_active,
1780         hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active, 
1781         hildon_find_toolbar_get_active_iter . They correspond to respective
1782         GtkComboBox functions. 
1783
1784         * examples/Makefile.am:
1785         * examples/hildon-find-toolbar-example.c: Adding the example to test the
1786         new functionality.
1787
1788 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1789
1790         * examples/Makefile.am:
1791         * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1792         theming easily.
1793
1794         * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1795         when font size > 32 and we pack a focusable widget inside. Actually using
1796         the default response would work too, but since we don't show default
1797         response state in any way (no theming) it would not be visible to the
1798         user. Fixes NB#63430.
1799
1800 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1801
1802         * src/hildon-date-editor.c: Adding the missing variable setter in the
1803         set_property handler. Fixes NB#54182.
1804
1805 2007-07-23  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1806
1807         * src/hildon-window.h: Changing the long key press time from 1500ms to
1808         800ms as requested in NB#63700. I have a bad feeling about this, let's
1809         see... Fixes NB#63700.
1810
1811 2007-07-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
1812
1813         * src/hildon-time-picker.c (hildon_time_picker_class_init,
1814         hildon_time_picker_map, hildon_time_picker_realize,
1815         hildon_time_picker_style_set): Split the contents of map to more
1816         appropriate functions; set window decorations on realize and update
1817         arrows' size requisitions on style-set. Avoids unnecessary resizing.
1818
1819 2007-07-02  Xan Lopez <xan.lopez@nokia.com>
1820
1821         [1.0.10-2 release]
1822
1823         * NEWS:
1824         * debian/changelog: Updating.
1825
1826 2007-07-02  Johan Bilien  <johan.bilien@nokia.com>
1827
1828         * src/Makefile.am: fixed installation of the header files
1829
1830 2007-06-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1831
1832         [1.0.10-1 release]
1833
1834         * NEWS:
1835         * configure.ac:
1836         * debian/changelog: Updating.
1837
1838 2007-06-27  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1839
1840         * configure.ac: Removing some remaining of --enable-xan.
1841
1842 2007-06-26  Xan Lopez  <xan.lopez@nokia.com>
1843
1844         * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1845         * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1846
1847         Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1848         2.10.12-osso6 because the move-focus signal needs to be available in
1849         GtkWidget.
1850
1851 2007-06-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1852
1853         * examples/Makefile.am:
1854         * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1855         that makes a HildonVolumebar insensitive before mapping it. Seems to work
1856         fine. Prolly NB#61128 is fixed now.
1857
1858 2007-06-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1859
1860         * src/hildon-volumebar.c:
1861         * src/hildon-volumebar.h: Adding the
1862         hildon_volumebar_set_range_insensitive_message and
1863         hildon_volumebar_set_range_insensitive_messagef functions to set
1864         insensitive message on the slider of the volumebar. Fixes NB#61129.
1865
1866         * examples/Makefile.am:
1867         * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1868         test the new insensitive messsage functionality on HildonVolumebar.
1869
1870 2007-06-14  Xan Lopez  <xan.lopez@nokia.com>
1871
1872         * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1873         work again.
1874
1875 2007-06-13  Xan Lopez  <xan.lopez@nokia.com>
1876
1877         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1878         http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1879         button on after clearing the trail.
1880
1881 2007-06-13  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1882
1883         * src/hildon-code-dialog.c: Removing the separator from the dialog.
1884
1885 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1886
1887         * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1888         by splitting the installed headers in generated and non-generated groups. Use
1889         only the non-generated headers to create the hildon-enum-types.h file.
1890
1891         * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1892
1893 2007-06-12  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1894
1895         * src/hildon-window.c: Hide the window before performing the destroy.
1896         Should make the app closing a little tiny bit more snappy. 
1897
1898 2007-06-12  Xan Lopez  <xan.lopez@nokia.com>
1899
1900         * src/hildon-seekbar.c: add gtkrange.h header
1901         * src/hildon-caption.c: remove unused variable
1902
1903 2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>
1904
1905         * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1906         Loic Minier.
1907
1908 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1909
1910         [1.0.9-1 release]
1911
1912         * NEWS:
1913         * configure.ac:
1914         * debian/changelog: Updating.
1915
1916 2007-06-07  Tommi Komulainen  <tommi.komulainen@nokia.com>
1917
1918         * src/hildon-window.c (hildon_window_window_state_event,
1919         hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1920         escape timeout on focus-out-event rather than notify::is-topmost; the
1921         latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1922
1923 2007-06-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1924
1925         * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1926         correct timestamp and button to gtk_menu_popup. Fixes MB#1466. 
1927
1928 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1929
1930         * src/hildon-window: actually, you need to use the macro always, there's
1931         no private pointer in the instance structure. We should have cleaned this up
1932         when we had the chance...
1933         
1934 2007-06-07  Xan Lopez  <xan.lopez@nokia.com>
1935
1936         * src/hildon-window.c: do not get the private date from HildonWindow before
1937         it passes the g_return_if_fail check. Once it's passed the test, there's no
1938         need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1939         if you are only going to access the data once. Whitespace cleanups.
1940
1941 2007-06-04  Xan Lopez  <xan.lopez@nokia.com>
1942
1943         * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1944         * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1945
1946 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1947
1948         [1.0.8-1 release]
1949
1950         * NEWS:
1951         * configure.ac:
1952         * debian/changelog: Updating.
1953
1954 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1955
1956         * src/hildon-window.c: When destroying the window, remove (if exists) the
1957         escape timeout handler. Fixes #NB59276.
1958
1959 2007-06-01  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1960
1961         * src/hildon-banner.c: When realizing the widget, set the window
1962         transiency. Setting the transiency in the gobject constructor is not
1963         good, as the widget is not realized at that point. Fixes: #NB56624.
1964
1965 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1966
1967         * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1968         Add padding for future expansions.
1969
1970 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1971
1972         * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1973         Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1974         will fake an activation on the previous to the last item of the trail, so
1975         the effect can be overrided by the developer as usual.
1976         Also change the callback for the back button to do the same thing, so its
1977         effect can be overrided too. Fixes: NB#58982
1978
1979 2007-05-30  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1980
1981         * src/hildon-caption.c: Implementing the proper focus grabbing in the
1982         HildonCaption. Fixes NB#52379. 
1983
1984 2007-05-30  Xan Lopez  <xan.lopez@nokia.com>
1985
1986         * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1987         the internal state of the trail after the user has had the chance of executing
1988         his handler for the signal. Specifically, it may happen that the activated button
1989         is removed and the user still lets the default handler run. This would segfault
1990         previously.
1991
1992 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1993
1994         * src/hildon-font-selection-dialog.c: When the font is really big, add the
1995         scrollbar to the preview dialog. Fixes NB#54147.
1996
1997 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
1998
1999         * src/hildon-date-editor.c: Changing the default max year to 2037. The
2000         max/min year properties can be altered, so the client can modify it
2001         anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2002
2003 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2004
2005         * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2006         hildonlike by default. Fixing a problem with disappearing arrows when
2007         scrolling through months and years. Fixes NB#54127. 
2008
2009 2007-05-28  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2010
2011         * examples/hildon-date-editor-example.c: Adding error callback to the date
2012         editor example. 
2013
2014 2007-05-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2015
2016         [1.0.7-1 release]
2017
2018         * NEWS:
2019         * debian/changelog:
2020         * configure.ac: Updating.
2021
2022 2007-05-24  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2023
2024         * configure.ac: Adding a special '--enable-xan' configure option that
2025         turns off the -Werror compilation setting. Usefull for development.
2026
2027         * src/hildon-calendar.c:
2028         * src/hildon-number-editor.c:
2029         * src/hildon-time-picker.c: Adding the 5* multiplier to
2030         gtk-timeout-update.
2031
2032 2007-05-24  Xan Lopez  <xan.lopez@nokia.com>
2033
2034         * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2035         instead of g_object_ref + gtk_object_sink.
2036
2037 2007-05-22  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2038
2039         [1.0.6-1 release]
2040
2041         * NEWS:
2042         * configure.ac:
2043         * debian/changelog: Updating.
2044
2045 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2046
2047         * src/hildon-color-chooser-dialog.c:
2048         * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2049         straight from Tommi labs.
2050
2051 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2052
2053         * examples/hildon-finger-example.c: Correcting the header file path.
2054
2055         * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for 
2056         the changed signal. Fixes a small memory leak.
2057
2058 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2059
2060         * autogen.sh:
2061         * debian/rules:
2062         * src/hildon-banner.c: Importing several usefull fixes from the
2063         ubuntu-mobile branch.
2064
2065 2007-05-21  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2066
2067         * examples/Makefile.am:
2068         * examples/hildon-finger-example.c: Adding a finger-checking code
2069         example. 
2070
2071         * src/hildon-font-selection-dialog.c: Do not allocate the color
2072         structure using the g_new. Fixes NB#54061.
2073
2074 2007-05-09  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2075
2076         * src/hildon-helper.c: Correcting tabs in file.
2077
2078 2007-05-08  Xan Lopez  <xan.lopez@nokia.com>
2079
2080         * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2081         control the visibility of the children.
2082
2083         * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2084
2085 2007-05-07  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2086
2087         [1.0.5-1 release]
2088
2089         * NEWS:
2090         * configure.ac:
2091         * debian/changelog: Updating.
2092
2093 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
2094
2095         * src/hildon-bread-crumb-trail.c:
2096         (hildon_bread_crumb_trail_size_allocate): 
2097
2098         Make the back button always a square.
2099
2100 2007-05-04  Xan Lopez  <xan.lopez@nokia.com>
2101
2102         * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2103         from the .c file as it's a private file. 
2104
2105 2007-05-03  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2106
2107         * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2108         uses slightly bigger height.
2109
2110         * src/hildon-font-selection-dialog.c: Adding some checks before
2111         freeing memory in the font selection dialog.
2112
2113 2007-05-02  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2114
2115         * src/hildon-font-selection-dialog.c: Adding a small check when
2116         freeing memory. 
2117
2118         * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2119         buttons sensitivity on page switching.
2120
2121 2007-04-27  Xan Lopez  <xan.lopez@nokia.com>
2122
2123         * src/hildon-bread-crumb-trail.c: make the add method handle all the
2124         internal details of adding a bread crumb to the trail.
2125
2126 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2127
2128         [1.0.4-1 release]
2129
2130         * README:
2131         * configure.ac:
2132         * debian/changelog: Updating.
2133
2134         * src/hildon-bread-crumb-trail.h:
2135         * src/hildon-bread-crumb.h: Changing the API guard to
2136         HILDON_ENABLE_UNSTABLE_API.
2137
2138 2007-04-26  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2139
2140         [1.0.3-1 release]
2141
2142         * NEWS:
2143         * configure.ac:
2144         * debian/changelog:
2145         * debian/rules:
2146         * src/hildon-helper.h: Updating.
2147
2148 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2149
2150         [1.0.2-1 release]
2151
2152         * NEWS:
2153         * configure.ac:
2154         * debian/changelog:
2155
2156 2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2157
2158         * README:
2159         * configure.ac:
2160         * src/hildon-helper.h: Small fix to make the package actually compile.
2161
2162 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
2163
2164         * src/hildon-bread-crumb-trail.h:
2165         * src/hildon-bread-crumb.h:
2166
2167         Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2168         to define ENABLE_UNSTABLE_API in the code that includes these headers.
2169         
2170 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
2171         
2172         * examples/hildon-bread-crumb-trail-example.c:
2173         * src/Makefile.am:
2174         * src/hildon-bread-crumb-trail.c:
2175         * src/hildon-bread-crumb-trail.h:
2176         * src/hildon-bread-crumb.c:
2177         * src/hildon-bread-crumb.h:
2178         * src/hildon-marshalers.list:
2179         * src/hildon-bread-crumb-widget.c:
2180         * src/hildon-bread-crumb-widget.h:
2181
2182         Slight change in the widget design. The bread crumb trail API is
2183         unchanged, but HildonBreadCrumb is now an interface. A *private*
2184         implementation, hildon-bread-crumb-widget, is provided and used
2185         internally by the trail for the push_text/push_icon functions.
2186
2187         The generic push API is still available, so anyone can implement
2188         and use its own bread crumb widget.
2189         
2190 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2191
2192         * debian/rules: Fixing the shlibs.
2193
2194 2007-04-19  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2195
2196         * src/hildon-banner.c: Fixing a problem with timed banners having
2197         their parrent destroyed before they are.
2198
2199 2007-04-17  Xan Lopez  <xan.lopez@nokia.com>
2200
2201         * src/hildon-bread-crumb.c:
2202         * src/hildon-bread-crumb.h:
2203
2204         Make the get_natural_size function a vfunc.
2205
2206 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2207
2208         * src/hildon-bread-crumb.c:
2209         * src/hildon-bread-crumb-trail.c:
2210
2211         Some cleanups.
2212
2213 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2214
2215         [1.0.1-1 release]
2216
2217         * AUTHORS:
2218         * NEWS:
2219         * configure.ac:
2220         * debian/changelog: Updating for release.
2221
2222 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2223
2224         * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2225         don't leak the pango layout.
2226
2227 2007-04-16  Xan Lopez  <xan.lopez@nokia.com>
2228
2229         * src/hildon.h:
2230         * examples/hildon-bread-crumb-trail-example.c:
2231
2232         Fix example.
2233
2234 2007-04-16  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2235
2236         * debian/changelog: Removing the bug-fixed entries that were actually
2237         resolved as WONTFIX.
2238
2239         * src/hildon-date-editor.c: Removing a redundant check. Fixes
2240         NB#54182.
2241
2242 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
2243
2244         * src/hildon-bread-crumb-trail.c:
2245         * src/hildon-bread-crumb-trail.h:
2246         * src/hildon-bread-crumb.c:
2247         * src/hildon-bread-crumb.h:
2248
2249         Untabify.
2250         
2251 2007-04-13  Xan Lopez  <xan.lopez@nokia.com>
2252
2253         * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2254         until it's passed the type check.
2255
2256 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
2257
2258         * examples/hildon-bread-crumb-trail-example.c
2259
2260         Add license.
2261         
2262 2007-04-12  Xan Lopez  <xan.lopez@nokia.com>
2263
2264         * examples/Makefile.am
2265         * examples/hildon-bread-crumb-trail-example.c
2266         * src/Makefile.am
2267         * src/hildon-bread-crumb-trail.c
2268         * src/hildon-bread-crumb-trail.h
2269         * src/hildon-bread-crumb.c
2270         * src/hildon-bread-crumb.h
2271
2272         New HildonBreadCrumbTrail widget.
2273
2274 2007-04-02  Lucas Rocha  <lucas.rocha@nokia.com>
2275
2276         * src/hildon-range-editor.c (hildon_range_editor_init),
2277         src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2278         hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2279         src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2280         hildon_time_editor_class_init, hildon_time_editor_init),
2281         src/hildon-get-password-dialog.c (invalid_input,
2282         hildon_get_password_set_property, hildon_get_password_get_property,
2283         create_contents, hildon_get_password_dialog_set_max_characters),
2284         src/hildon-set-password-dialog.c (create_contents),
2285         src/hildon-date-editor.c (hildon_date_editor_init),
2286         src/hildon-login-dialog.c (hildon_login_dialog_init),
2287         src/hildon-number-editor.c (hildon_number_editor_init),
2288         src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2289         hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2290         the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2291          configure option and adding the respective checks in the code.
2292         * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2293         hildon_calendar_drag_data_received): fixed some build warnings.
2294
2295 2007-03-29  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
2296
2297         * debian/changelog: A 1.0.0 release notes.
2298