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