1 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5 (hildon_touch_selector_set_column_selection_mode),
6 (_hildon_touch_selector_set_model),
7 (hildon_touch_selector_set_model):
9 Complete review of HildonTouchSelector documentation.
11 2008-08-08 Alberto Garcia <agarcia@igalia.com>
13 * doc/hildon-docs.sgml
17 * src/hildon-gtk.c: Convenience functions for standard Gtk
18 widgets, used to easily perform frequent operations.
20 * src/hildon-button-helpers.h
21 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
24 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
25 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
28 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
30 2008-08-07 Alberto Garcia <agarcia@igalia.com>
32 * src/hildon-button.c (hildon_button_init)
33 (hildon_button_set_arrangement, hildon_button_construct_child):
34 Pack the image and the labels inside the same GtkAlignment so
35 gtk_button_set_alignment() can be used
37 2008-08-07 Alberto Garcia <agarcia@igalia.com>
41 (hildon_button_init, hildon_button_set_image)
42 (hildon_button_set_image_position)
43 (hildon_button_construct_child): New functions to add an image to
46 2008-08-07 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-date-button.c
49 * src/hildon-picker-button.c
50 * src/hildon-time-button.c
51 * src/hildon-button.c:
52 (hildon_button_class_init): "size-flags" renamed to "size"
53 (hildon_button_set_title): Hide the title label if set to NULL.
55 2008-08-07 Alberto Garcia <agarcia@igalia.com>
57 HildonButtonFlags split into HildonButtonArrangement (to set the
58 button layout) and HildonSizeType (which can be used for any
63 (hildon_button_class_init)
64 (hildon_button_set_arrangement)
65 (hildon_button_set_property): New "size-flags"
66 property. "arrangement-flags" renamed to "arrangement".
67 (hildon_button_new, hildon_button_new_with_text)
68 (hildon_button_new_full): Constructors updated to reflect type changes.
71 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
72 to set the size of a widget.
76 * src/hildon-button-helpers.c
77 * src/hildon-button-helpers.h: New hildon-button-helpers module.
79 * src/hildon-date-button.c
80 * src/hildon-date-button.h
81 * src/hildon-picker-button.c
82 * src/hildon-picker-button.h
83 * src/hildon-time-button.c
84 * src/hildon-time-button.h: Updated widgets to reflect
85 HildonButton API changes.
87 * examples/hildon-button-example.c
88 * examples/hildon-date-button-example.c
89 * examples/hildon-picker-button-example.c
90 * examples/hildon-picker-button-multicolumn-example.c
91 * examples/hildon-time-button-example.c
92 * examples/hildon-touch-selector-entry-example.c
93 * examples/hildon-touch-selector-example.c: Updated examples to
94 reflect HildonButton API changes.
96 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
98 * doc/hildon-docs.sgml:
100 * examples/Makefile.am:
101 * examples/hildon-touch-selector-entry-example.c:
103 * src/hildon-touch-selector-entry.c:
104 * src/hildon-touch-selector-entry.h:
107 Moved HildonTouchSelectorEntry from sandbox. Added its
108 documentation and examples.
110 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
112 * src/hildon-touch-selector.h:
113 * examples/hildon-picker-button-multicolumn-example.c:
114 (hildon_touch_selector_append_text_column): Add a gboolean
115 parameter to determine if text must be centered in the column.
117 * src/hildon-date-selector.c: (hildon_date_selector_init):
118 * src/hildon-time-selector.c: (hildon_time_selector_init):
119 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
120 (create_touch_selector): Update widgets and example to reflect
123 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
125 * src/hildon-touch-selector.c:
126 (hildon_touch_selector_set_active_iter): Set also the cursor in
129 2008-08-06 Alberto Garcia <agarcia@igalia.com>
131 * doc/hildon-docs.sgml
134 * src/hildon-toggle-button.c
135 * src/hildon-toggle-button.h
136 * src/hildon.h: Removed HildonToggleButton widget, a derived
137 class is not necessary for this.
139 2008-08-06 Alejandro G. Castro <alex@igalia.com>
141 * src/hildon-pannable-area.c,
142 (hildon_pannable_area_realize),
143 (hildon_pannable_area_size_allocate): Code refactoring, add tests
146 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
148 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
149 "done" button the default widget for the dialog.
151 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-touch-selector.c:
154 (hildon_touch_selector_class_init),
155 (hildon_touch_selector_get_property),
156 (_hildon_touch_selector_set_model),
157 (_hildon_touch_selector_has_multiple_selection),
158 (hildon_touch_selector_has_multiple_selection):
159 Add a "has-multiple-selection" property with a virtual
160 has_multiple_selection() method to allow derived classes to
161 override the default value for it. See the method and property
162 documentation for details.
164 * src/hildon-touch-selector.h: Add the new API.
166 * src/hildon-picker-dialog.c: (requires_done_button): Call
167 hildon_touch_selector_has_multiple_selection() instead of
168 determining the need for a button itself.
170 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
172 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
173 (_hildon_touch_selector_set_model),
174 (hildon_touch_selector_set_model): Move working code to
175 _hildon_touch_selector_set_mode(). Call the class method instead.
177 * src/hildon-touch-selector.h: Add (*set_model) to
178 HildonTouchSelectorClass.
180 Make hildon_touch_selector_set_model() a virtual method, so that
181 derived classes can extend it and do fancy stuff with the model.
183 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: Set back the tarname in AC_INIT to hildon.
187 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
191 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
192 instead of libesd (NB#86876). Volume handling is still an open issue.
194 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
197 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
199 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
200 (hildon_touch_selector_append_column): Make the widget a GtkVBox
201 derived class to ease placement of an entry widget in
202 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
203 end, where the selector columns are packed now.
205 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
207 * src/hildon-picker-button.c: Removed the simple _text() API.
208 * src/hildon-picker-button.h: Likewise.
210 * src/hildon-touch-selector.h:
211 * src/hildon-touch-selector.c:
212 (hildon_touch_selector_new_text),
213 (hildon_touch_selector_append_text),
214 (hildon_touch_selector_prepend_text),
215 (hildon_touch_selector_insert_text):
217 Moved the simple _text() API from HildonPickerButton to
218 HildonTouchPicker, to provide better escalability and not to tie
219 that API to HildonPickerButton.
221 * examples/hildon-picker-button-example.c: (main): Example updated.
223 2008-07-31 Alberto Garcia <agarcia@igalia.com>
225 * src/hildon-button.c: Updated documentation.
227 * examples/hildon-button-example.c: Add the posibility to create
228 the buttons using horizontal layout for title and value.
230 2008-07-31 Alberto Garcia <agarcia@igalia.com>
232 * src/hildon-app-menu-private.h
233 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
234 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
235 GtkSizeGroup for the filters, use the 'homogeneous' property of
238 2008-07-31 Alberto Garcia <agarcia@igalia.com>
240 * examples/hildon-button-example.c: Updated example.
242 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
244 * doc/hildon-docs.sgml:
247 Update documentation.
249 * examples/Makefile.am: Update renamed examples.
251 * examples/hildon-picker-button-multicolumn-example.c:
252 (create_touch_selector), (main): Update after the rename.
254 * examples/hildon-touch-picker-example.c: Removed.
255 * examples/hildon-touch-selector-example.c: (value_changed),
256 (create_selector), (get_visible_content), (main): Renamed from
257 hildon-touch-picker-example.c
259 * src/Makefile.am: Updated renamed files.
261 * src/hildon-date-button.c: (hildon_date_button_init),
262 (hildon_date_button_get_date), (hildon_date_button_set_date):
263 * src/hildon-date-selector.c: (hildon_date_selector_init),
264 (_custom_print_func), (_update_day_model),
265 (_manage_selector_change_cb),
266 (hildon_date_selector_select_current_date),
267 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
268 * src/hildon-date-selector.h:
269 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
270 (hildon_picker_button_set_property),
271 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
272 (hildon_picker_button_init), (hildon_picker_button_new_text),
273 (hildon_picker_button_append_text),
274 (hildon_picker_button_prepend_text),
275 (hildon_picker_button_insert_text),
276 (hildon_picker_button_set_selector),
277 (hildon_picker_button_get_selector):
278 * src/hildon-picker-button.h:
279 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
280 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
281 (_update_title_on_selector_changed_cb), (requires_done_button),
282 (_hildon_picker_dialog_set_selector),
283 (hildon_picker_dialog_set_selector),
284 (hildon_picker_dialog_get_selector):
285 * src/hildon-picker-dialog.h:
286 * src/hildon-time-button.c: (hildon_time_button_init),
287 (hildon_time_button_get_time), (hildon_time_button_set_time):
288 * src/hildon-time-selector.c: (hildon_time_selector_init),
289 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
290 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
291 * src/hildon-time-selector.h:
294 Massive code updates after the rename.
296 * src/hildon-touch-picker.c: Removed.
297 * src/hildon-touch-picker.h: Removed.
299 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
300 (hildon_touch_selector_init), (hildon_touch_selector_map),
301 (hildon_touch_selector_remove), (_default_print_func),
302 (_selection_changed_cb), (_create_new_column),
303 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
304 (hildon_touch_selector_append_text_column),
305 (hildon_touch_selector_remove_column),
306 (hildon_touch_selector_set_column_attributes),
307 (hildon_touch_selector_insert_column),
308 (hildon_touch_selector_get_num_columns),
309 (hildon_touch_selector_get_column_selection_mode),
310 (hildon_touch_selector_set_column_selection_mode),
311 (hildon_touch_selector_set_print_func),
312 (hildon_touch_selector_get_print_func),
313 (hildon_touch_selector_get_active_iter),
314 (hildon_touch_selector_set_active_iter),
315 (hildon_touch_selector_get_selected_rows),
316 (hildon_touch_selector_get_model),
317 (hildon_touch_selector_set_model),
318 (hildon_touch_selector_get_current_text),
319 (_hildon_touch_selector_center_on_selected_items):
320 * src/hildon-touch-selector.h: Renamed from
321 hildon-touch-picker.[ch]
323 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
324 references, code examples, and related documentation.
326 2008-07-30 Alberto Garcia <agarcia@igalia.com>
328 * doc/hildon-docs.sgml
331 * src/hildon-toggle-button.c
332 * src/hildon-toggle-button.h
333 * src/hildon.h: New HildonToggleButton widget.
335 2008-07-30 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-button.c: Add API documentation.
338 (hildon_button_set_size_groups): Check input parameters
340 2008-07-30 Alejandro G. Castro <alex@igalia.com>
342 * src/hildon-pannable-area.c
343 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
344 effect after reaching the movement thredshold. This way we start
345 using the distance after passing the thredshold.
347 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
349 * src/hildon-button.c: (hildon_button_set_property): Use the
350 appropriate g_value_get_flags() method.
352 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
354 * doc/hildon-docs.sgml:
357 Add the touch pickers, picker dialogs, and picker button widgets
358 to the documentation.
360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-button.c: (hildon_button_set_property),
363 (hildon_button_class_init): Make "arrangement-flags" a proper
364 G_TYPE_FLAGS derived property.
366 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
368 * examples/Makefile.am: Add below examples.
369 * examples/hildon-date-button-example.c:
370 * examples/hildon-picker-button-example.c:
371 * examples/hildon-picker-button-multicolumn-example.c:
372 * examples/hildon-time-button-example.c:
373 * examples/hildon-touch-picker-example.c:
375 Add examples for the recently added touch pickers,
376 picker dialogs, and picker button widgets.
378 2008-07-29 Alberto Garcia <agarcia@igalia.com>
380 * src/hildon-button.c: Add some API documentation
382 2008-07-29 Alberto Garcia <agarcia@igalia.com>
384 * src/hildon-button.h
385 * src/hildon-button.c
387 (hildon_button_new_with_text): New constructor to create a button
389 (hildon_button_init, hildon_button_set_arrangement)
390 (hildon_button_set_title, hildon_button_set_value)
391 (hildon_button_set_text)
392 (hildon_button_construct_child): Hide the value when it's not used
393 so the rest of the text is properly aligned.
394 Allow creating buttons with arbitrary widgets inside (not just
397 * examples/hildon-button-example.c (vertical_buttons_window)
398 (horizontal_buttons_window): Update example to use new API.
400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
402 * src/Makefile.am: Added HildonTimeButton.
403 * src/hildon-time-button.c: Added missing LGPL header.
404 * src/hildon-time-button.h: Added missing LGPL header.
405 * src/hildon.h: Add hildon-time-button.h
407 Copied HildonTimeButton from sandbox to trunk. Future work on this
408 widget must take place in trunk.
410 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
412 * src/Makefile.am: Added HildonDateButton.
413 * src/hildon-date-button.c: Update includes.
414 * src/hildon.h: Add hildon-date-button.h
416 Copied HildonDateButton from sandbox to trunk. Future work on this
417 widget must take place in trunk.
419 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
421 * src/Makefile.am: Added HildonPickerButton.
422 * src/hildon-picker-button.h: Update includes.
423 * src/hildon.h: Add hildon-picker-button.h
425 Copied HildonPickerButton from sandbox to trunk. Future work on
426 this widget must take place in trunk.
428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
430 * src/Makefile.am: Added HildonPickerDialog.
431 * src/hildon-picker-dialog.c: Update includes.
432 * src/hildon.h: Add hildon-picker-dialog.h
434 Copied HildonPickerDialog from sandbox to trunk. Future work
435 on this widget must take place in trunk.
437 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
439 * src/Makefile.am: Added HildonTimeSelector.
440 * src/hildon.h: Add hildon-time-selector.h
442 Copied HildonTimeSelector widget from sandbox to trunk. Future
443 work on this widget must happen in trunk.
445 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
447 * src/Makefile.am: Added HildonDateSelector.
448 * src/hildon.h: Add hildon-date-selector.h
450 Copied HildonDateSelector widget from sandbox to trunk. Future
451 work on this widget must happen in trunk.
453 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
455 * src/Makefile.am: Added HildonTouchPicker.
456 * src/hildon-touch-picker.c: Update includes.
457 * src/hildon.h: Add hildon-touch-picker.h
459 Copied HildonTouchPicker widget from sandbox to trunk. Future work
460 on this widget must happen in trunk.
462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
464 * src/hildon-pannable-area.c:
465 (hildon_pannable_area_motion_notify_cb): Fix a typo.
467 2008-07-29 Alberto Garcia <agarcia@igalia.com>
469 * examples/hildon-app-menu-example.c (main): Let the window
472 2008-07-29 Alejandro G. Castro <alex@igalia.com>
474 * src/hildon-pannable-area.c
475 (hildon_pannable_area_class_init): Set the min value of the
476 overshoot properties to zero, which points out that not
477 overshooting allowed.
479 2008-07-29 Alejandro G. Castro <alex@igalia.com>
481 Modified the procedure to get the widget at a point inside the
482 pannable area when using the movement type signals. Now the user
483 has to call a function to get the child, that way we just
484 calculate the child in case the user really want to use it and not
487 * src/hildon-marshalers.list: Modified the marshallers, now we do
488 not have the widget as a parameter.
490 * src/hildon-pannable-area.c
491 (hildon_pannable_area_motion_notify_cb),
492 (hildon_pannable_area_class_init),
493 (hildon_pannable_get_child_widget_at): Removed the widget
494 parameter from the signal callback. We have also refactored the
495 emission of the signals.
497 * src/hildon-pannable-area.h: Added a new method to the API to
498 calculate a widget at a point inside the pannable area,
499 hildon_pannable_get_child_widget_at.
501 * examples/hildon-pannable-area-example-4.c
502 (horizontal_movement): Modified the example to use the new API,
503 added condition to control which widget is under the event. This
504 way we can avoid scrolling laterally over other widgets.
506 2008-07-29 Alejandro G. Castro <alex@igalia.com>
508 * src/hildon-pannable-area.c
509 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
510 modes, we stop getting the pointer events due to returning the
511 callback without properly calling the get pointer again. Fixed
512 also an error using the hscroll and vscroll.
514 2008-07-28 Alberto Garcia <agarcia@igalia.com>
516 * src/hildon-app-menu-private.h
517 * src/hildon-app-menu.c (hildon_app_menu_button_press)
518 (hildon_app_menu_button_release, hildon_app_menu_init)
519 (hildon_app_menu_class_init): Don't hide the menu on button
520 release if the user didn't press outside first.
522 * src/hildon-window.h
523 * src/hildon-window.c (hildon_window_toggle_menu)
524 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
525 hildon_window_toggle_menu a virtual function for the stackable
526 window to override it.
528 * src/hildon-stackable-window.h
529 * src/hildon-stackable-window-private.h
530 * src/hildon-stackable-window.c
531 (hildon_stackable_window_realize)
532 (hildon_stackable_window_finalize)
533 (hildon_stackable_window_class_init)
534 (hildon_stackable_window_init)
535 (hildon_stackable_window_set_main_menu): New function to set the
536 app menu of a HildonStackableWindow.
538 * examples/hildon-app-menu-example.c: Remove the button to show
539 the app menu, now it'll be shown when clicking on the title bar
542 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
545 set the widget name if the arrangement flags do not specify
548 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
550 * src/hildon-button.c: (hildon_button_set_property),
551 (hildon_button_class_init), (hildon_button_new_full),
552 (hildon_button_set_arrangement): Added "arrangement-flags"
555 Make the HildonButtonFlags a construction-only property, to allow
556 subclasses to set them properly.
558 2008-07-21 Tim Janik <timj@imendio.com>
560 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
561 insertion position after backspace, so additional digits are appended,
564 2008-07-17 Alejandro G. Castro <alex@igalia.com>
566 * src/hildon-pannable-area.c,
567 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
568 TODO list, it was complete and removed the g_debug and g_print
571 2008-07-17 Alejandro G. Castro <alex@igalia.com>
573 Added the movement modes to the hildon-pannable-area, with this
574 modes the developers can control in which directions the widget
575 can scroll. They can also connect to signals in order to do
576 something when that happens, allowing applications scroll. There
577 is an example uploaded showing how to use it.
579 * examples/Makefile.am:
580 * examples/hildon-pannable-area-example-4.c: Added this example of
581 an application using the modes.
583 * src/hildon-marshalers.list: Added a new marshaller for the new
586 * src/hildon-pannable-area.h: Added new enumerations and flags in
587 order to control the movement modes and the new signals to warn
588 about the movements in the area.
590 * src/hildon-pannable-area.c:
591 (hildon_pannable_axis_scroll),
592 (hildon_pannable_area_scroll),
593 (hildon_pannable_area_motion_notify_cb),
594 (hildon_pannable_area_get_property),
595 (hildon_pannable_area_set_property),
596 (hildon_pannable_area_map),
597 (hildon_pannable_area_class_init),
598 (hildon_pannable_area_init),
599 (hildon_pannable_area_jump_to): Added the modes to control the
600 movement in the widget. We have added properties to control it,
601 signals to warn about the movements and refactored some code.
603 2008-07-15 Alejandro G. Castro <alex@igalia.com>
605 Changes required in order to allow vfast_factor set to zero to
608 * src/hildon-pannable-area.c:
609 (hildon_pannable_area_button_press_cb): Changed the condition, it
610 is required for not allowing click when vfast_factor is zero.
611 (hildon_pannable_area_timeout): Initialized velocity variables
612 when we stop moving, it was less than 1 but not zero and we need
613 to check zero in some situations.
614 (hildon_pannable_area_class_init): Changed the default value of
615 the speed factor, now the button_press is just sent in case the
616 speed is 2 per cent of the max speed.
617 (hildon_pannable_area_init): Initialization with 0.
619 2008-07-04 Alejandro G. Castro <alex@igalia.com>
621 * src/hildon-pannable-area.c,
622 (hildon_pannable_area_get_topmost): replaced
623 gdk_window_get_children with gdk_window_peek_children, this way we
624 do not have to free the list because it is not a copy.
626 (hildon_pannable_axis_scroll),
627 (hildon_pannable_area_scroll),
628 (hildon_pannable_area_timeout),
629 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
630 two parameters that were only used inside the
631 hildon_pannable_area_scroll function.
633 * examples/hildon-pannable-area-example.c,
634 (get_sawtooth_label): Fixed small memory leak.
636 2008-07-03 Alejandro G. Castro <alex@igalia.com>
638 More checks for the case where the overshoot is bigger than the
641 * src/hildon-pannable-area.c:
642 (hildon_pannable_draw_vscroll),
643 (hildon_pannable_draw_hscroll): with this new calculation we avoid
644 to draw the slider of the scrollbar under the other scrollbar.
645 (hildon_pannable_area_expose_event): added new checks to control
646 the drawing of the overshooting area rectangle, in case it is too
647 big for the area of the widget.
648 (hildon_pannable_area_size_allocate): add more checks to avoid
649 setting a position to the child widget outside the area.
651 2008-07-03 Alejandro G. Castro <alex@igalia.com>
653 * src/hildon-pannable-area.c
654 (hildon_pannable_area_size_allocate): Added conditions to control
655 when overshooting is bigger than the allocated space for the
656 children, this avoids negative allocations.
658 2008-07-02 Alberto Garcia <agarcia@igalia.com>
660 * doc/hildon-docs.sgml
662 * examples/Makefile.am
663 * examples/hildon-button-example.c
665 * src/hildon-button.c
666 * src/hildon-button.h
667 * src/hildon.h: Initial version of the new HildonButton widget,
670 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-pannable-area.c:
673 (hildon_pannable_area_button_press_cb),
674 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
675 (hildon_pannable_area_motion_notify_cb),
676 (hildon_pannable_area_button_release_cb),
677 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
678 (hildon_pannable_area_jump_to_child):
680 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
682 2008-07-01 Alberto Garcia <agarcia@igalia.com>
684 * examples/Makefile.am
685 * examples/hildon-pannable-area-touch-grid-example.c
686 * examples/hildon-pannable-area-touch-list-example.c: Examples of
687 the Hildon Touch List and Hildon Touch Grid using the
688 HildonPannableArea widget.
690 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
692 * src/hildon-pannable-area.c,
693 (hildon_pannable_area_button_press_cb),
694 (hildon_pannable_area_refresh),
695 (hildon_pannable_area_scroll),
696 (hildon_pannable_area_motion_notify_cb),
697 (hildon_pannable_area_button_release_cb),
698 (hildon_pannable_area_expose_event),
699 (hildon_pannable_area_add),
700 (hildon_pannable_area_remove),
701 (hildon_pannable_area_realize),
702 (hildon_pannable_area_size_allocate),
703 (hildon_pannable_area_class_init),
704 (hildon_pannable_area_init),
705 (hildon_pannable_area_scroll_to_child),
706 (hildon_pannable_area_jump_to_child): Fixed the problem of
707 removing the child from the GtkBin, we have rearranged the widget
708 hierarchy, now there is no GtkAlignment which was not doing
709 anything interesting but breaking some of the assumptions of
710 GtkContainer. Now developers if they want to add a GtkAlignment
711 they could, but it is not inside the area.
713 We had to review the whole allocation/expose process, now it is
714 improved and we save at least three signals which would be saving
715 some time when rendering the widget. The allocation of the
716 scrollbars is now made in the allocate method as usual.
718 We have also added some conditions in order to control when there
719 is no child of the pannable area. Maybe we will need more work
722 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
724 * src/hildon-pannable-area.c,
725 (hildon_pannable_area_dispose): Released the fade-out timeout when
726 disposing the widget.
728 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
730 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
731 zero, we are going to use that property in order to deactivate the
733 (hildon_pannable_axis_scroll),
734 (hildon_pannable_area_size_allocate): Added conditions to control
735 when overshoot_max is zero. Moved the gtk_adjustment_set_value
736 call, now it is called in all situations and we can remove calls
737 in the allocate method.
738 (hildon_pannable_area_map): Control the situation when
739 overshoot_max is zero, we do not need the timeout.
740 (hildon_pannable_area_class_init): Added documentation in order to
741 point out that setting zero to overshoot_max means deactivate
744 NOTE: removed trailing whitespaces from my previous comments of
747 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
749 * src/hildon-pannable-area.c
750 (hildon_pannable_area_get_property),
751 (hildon_pannable_area_set_property),
752 (hildon_pannable_area_map),
753 (hildon_pannable_area_class_init),
754 (hildon_pannable_area_init): Add a boolean "initial-hint" property
755 to cause the widget give a hint about its panning abilities upon
758 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
760 * src/hildon-pannable-area.c: Several documentation improvements.
762 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
764 * src/hildon-program.c
765 * src/hildon-stackable-window.c: Update documentation.
767 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
769 * src/hildon-stackable-window.c (get_previous_window_if_last):
770 Renamed get_last_window()
771 (hildon_stackable_window_map, hildon_stackable_window_unmap)
772 (hildon_stackable_window_unset_program):
774 (get_previous_window_if_last):
775 Detect if the window hasn't been added to a HildonProgram.
777 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
779 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
781 * src/hildon-pannable-area.c
782 (hildon_pannable_area_button_press_cb),
783 (hildon_pannable_axis_scroll),
784 (hildon_pannable_area_scroll),
785 (hildon_pannable_area_timeout),
786 (hildon_pannable_calculate_vel_factor),
787 (hildon_pannable_area_get_property),
788 (hildon_pannable_area_set_property),
789 (hildon_pannable_area_class_init),
790 (hildon_pannable_area_init),
791 (hildon_pannable_area_scroll_to),
792 (hildon_pannable_area_jump_to),
793 (hildon_pannable_area_scroll_to_child),
794 (hildon_pannable_area_jump_to_child):
795 * src/hildon-pannable-area.h: Added the new API functions:
796 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
797 hildon_pannable_area_scroll_to_child,
798 hildon_pannable_area_jump_to_child
801 * examples/Makefile.am
802 * examples/hildon-pannable-area-example-2.c
803 * examples/hildon-pannable-area-example-3.c: Added these two new
804 examples in order to test and show how the new APIs work.
806 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
808 * examples/hildon-stackable-window-example.c (new_window):
809 * src/Makefile.am (noinst_HEADERS):
810 * src/hildon-program.c (hildon_program_go_to_root_window):
811 * src/hildon-program.h:
812 * src/hildon-stackable-window-private.h:
813 * src/hildon-stackable-window.c:
814 * src/hildon-stackable-window.h:
815 Create hildon-stackable-window-private.h
816 Move hildon_stackable_window_go_to_root_window() to HildonProgram
818 * examples/hildon-app-menu-example.c (create_menu):
819 * examples/hildon-hvolumebar-insensitive-example.c (main):
820 * examples/hildon-hvolumebar-timer-example.c (on_idle):
821 * examples/hildon-toolbar-seekbar-example.c (main):
822 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
823 * src/hildon-banner.c (hildon_banner_set_property):
824 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
825 Fix compilation warnings
827 * src/hildon-window.c:
830 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
832 * src/hildon-stackable-window.c
833 (hildon_stackable_window_unset_program):
834 Calculate correctly whether to show the previous window if the
835 last one is removed from the stack.
836 (hildon_stackable_window_go_to_root_window):
837 Send delete events starting from the topmost window.
838 Stop if one of the windows is not destroyed.
840 (hildon_stackable_window_delete_event)
841 (hildon_stackable_window_class_init):
842 Ignore the delete event if the window is not the topmost one.
844 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
846 * src/hildon-pannable-area.c
847 (hildon_pannable_area_expose_event): Fixed a problem when
848 selecting the background color of the scrollbars.
850 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
852 * examples/hildon-stackable-window-example.c
853 * src/hildon-stackable-window.c
854 * src/hildon-stackable-window.h
855 hildon_stackable_window_go_home() renamed to
856 hildon_stackable_window_go_to_root_window()
857 Send delete events to windows rather than closing them with
860 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
862 * src/hildon-pannable-area.c
863 (hildon_pannable_area_button_release_cb): Fix overshooting in
866 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
868 * src/hildon-pannable-area.c
869 (hildon_pannable_area_init): Initially show the scroll indicators.
870 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
872 Add initial effect showing the widget is pannable.
874 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
876 * src/hildon-pannable-area.c
877 (hildon_pannable_area_class_init)
878 (hildon_pannable_area_set_property)
879 (hildon_pannable_area_get_property)
880 (hildon_pannable_area_button_press_cb):
881 New 'velocity_fast_factor' property to decide which velocity is
884 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
886 * src/hildon-pannable-area.c
887 (hildon_pannable_draw_hscroll)
888 (hildon_pannable_draw_vscroll):
889 Use float variables to calculate the size of the scrollbars to
890 avoid error propagation and resizing during scrolling.
892 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
894 * src/hildon-pannable-area.c
895 (hildon_pannable_draw_vscroll)
896 (hildon_pannable_draw_hscroll):
897 Define a minimum size for the scroll bars
899 * src/hildon-stackable-window.c
900 (hildon_stackable_window_go_home): Fix compilation warning
901 (get_last_window): Minor optimizations
902 (hildon_stackable_window_class_init): Fix initialization of
905 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
907 * src/hildon-stackable-window.c: Fixed typos in doc
909 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
911 * src/hildon-pannable-area.c
912 (hildon_pannable_area_scroll):
913 Calculate here whether we need to scroll instead of using the booleans
914 that tell us whether to /draw/ the scrolling bars.
916 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
918 * src/hildon-app-menu.h
920 * src/hildon-app-menu.c
921 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
922 multiple filter groups related code and API. Now we support only
924 * examples/hildon-app-menu-example.c:
926 Update to reflect API changes.
928 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
930 * src/hildon-stackable-window.c
931 (hildon_stackable_window_class_init):
932 Add hildon_stackable_window_realize.
933 (hildon_stackable_window_realize):
934 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
935 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
936 to apply theming and behavior specific to HildonStackableWindow
939 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
941 * src/hildon-note.c (hildon_note_button_release):
942 Close information notes also when tapping on them
944 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
946 Added BOUNCE_STEPS define to control the overshoot effect. Removed
947 ELASTICITY, refactor and review, fix some issues with drawing
950 * src/hildon-pannable-area.c:
951 (hildon_pannable_area_button_press_cb): removed the conditions to
952 avoid clicks when overshooting. It is not required
954 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
955 define. Refatored and reviewed the code, now we do not need to
956 manage velocity in motion_notify.
958 (hildon_pannable_area_motion_notify_cb): We have moved the code
959 that controls the area_scroll to the axis_scroll function and get
960 rid of duplicated code.
962 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
964 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
966 (hildon_pannable_draw_vscroll),
967 (hildon_pannable_draw_hscroll): Fixed the problems with the
968 scrollbar drawing, now we do not use two surfaces, it is easier
971 (hildon_pannable_area_get_property): Style modification.
973 (hildon_pannable_area_class_init): Changed some default values.
975 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
977 * src/hildon-stackable-window.c: Fix some typos in the
980 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
982 * src/hildon-dialog.c:
983 Change indentation style
986 (hildon_note_button_release):
987 Use root coordinates to check if the release event happened
990 * src/hildon-app-menu.c
991 (hildon_app_menu_button_release):
992 Remove unnecessary check
994 * examples/hildon-app-menu-example.c
996 Add cast to fix warning
998 * src/hildon-app-menu.c
999 (hildon_app_menu_class_init):
1000 New inner-border style property.
1001 Set all default spacings to 16
1002 (hildon_app_menu_init):
1003 Use vertical-spacing to set the space between filter buttons and
1004 regular menu buttons.
1005 Set the default container border using the inner-border value.
1007 * examples/hildon-app-menu-example.c
1009 Don't set the menu border explicitly, now we have the inner-border
1010 style property for that.
1012 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1014 * src/hildon-app-menu.c (hildon_app_menu_init):
1015 Make the window modal
1017 * src/hildon-note.c (hildon_note_map)
1018 * src/hildon-app-menu.c (hildon_app_menu_map):
1019 Destroy the grab window if we're unable to grab the pointer
1021 * src/hildon-app-menu-private.h
1022 * src/hildon-app-menu.c
1023 (hildon_app_menu_init, hildon_app_menu_finalize)
1024 (hildon_app_menu_map, hildon_app_menu_unmap)
1025 (hildon_app_menu_button_release)
1026 (grab_transfer_window_get):
1027 Bring back the grab window
1028 (hildon_app_menu_realize):
1029 Decorate the window, set WM hint for Matchbox
1031 * src/hildon-note.c (hildon_note_realize):
1032 * src/hildon-banner.c (hildon_banner_realize):
1033 Add WM hints for Matchbox
1035 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1037 * src/hildon-app-menu-private.h
1038 * src/hildon-app-menu.c
1039 (hildon_app_menu_init, hildon_app_menu_finalize)
1040 (hildon_app_menu_map, hildon_app_menu_unmap)
1041 (hildon_app_menu_button_release):
1042 Remove the grab window, it's not needed anymore
1044 * src/hildon-program.c
1045 Fixed typo in documentation
1047 * src/hildon-app-menu.h
1048 * src/hildon-app-menu.c
1049 * examples/hildon-app-menu-example.c
1050 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1052 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1055 Added new transfer_window and close_if_pressed_outside private
1057 (hildon_note_rebuild):
1058 Don't add a cancel button to the information note. It will be
1059 closed when tapping outside
1060 Remove the comment about the OK button in the documentation
1061 (hildon_note_realize):
1062 Set the notification type hint
1063 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1064 Grab/ungrab pointer and keyboard if the note has to be closed when
1066 (hildon_note_button_release):
1067 Close the note when tapping outside (if applicable)
1069 * src/hildon-app-menu.c
1070 Grab/ungrab pointer and keyboard on map/unmap
1071 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1072 Close the menu on button release, not button press
1074 * src/hildon-banner.c
1075 (hildon_banner_set_property)
1076 (hildon_banner_check_position):
1077 Make the banner use the full width of the screen
1078 (hildon_banner_show_information)
1079 (hildon_banner_show_information_with_markup):
1080 Don't display an icon by default
1082 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1084 Added fading scrollbars and adapted all the overshooting code to
1085 horizontal scrolling. We have also fixed bugs with overshooting
1086 and current fading implementation.
1088 * src/hildon-pannable-area.c
1089 (hildon_pannable_area_scroll_indicator_fade): Time out function
1090 used to change the transparency of the scrollbars.
1092 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1093 control and fixed a problem with fading, we now remove the fade
1094 timeout before adding a new one.
1096 (hildon_pannable_axis_scroll):
1097 (hildon_pannable_area_scroll):
1098 (hildon_pannable_area_timeout): Added this functions so we can use
1099 the scroll code both for vertical and horizontal.
1101 (hildon_pannable_area_motion_notify_cb):
1102 (hildon_pannable_area_button_release_cb): Added the horizontal
1103 scrolling control, fixed a problem with the overshooting timeout.
1105 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1106 painting of the scrolls.
1108 (hildon_pannable_draw_vscroll):
1109 (hildon_pannable_draw_hscroll):
1110 (hildon_pannable_area_expose_event):
1111 Draw both scrollbars and rectangles in the overshooting area.
1113 (hildon_pannable_area_get_property):
1114 (hildon_pannable_area_set_property):
1115 Modified the overshoot property to overshoot_max
1117 (hildon_pannable_area_map):
1118 Replaced the comments symbols.
1120 (hildon_pannable_area_size_allocate):
1121 (hildon_pannable_area_class_init):
1122 (hildon_pannable_area_init): Added horizontal scroll, fading
1123 effect properties, fixed a problem when overshooting in the bottom
1126 * examples/hildon-pannable-area-example.c:
1127 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1128 looks better in the example.
1130 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1132 * src/hildon-window.c
1133 * src/hildon-window.h
1134 (hildon_window_class_init)
1135 (hildon_window_unset_program)
1136 (hildon_window_unset_program_real):
1137 Make unset_program a virtual function
1139 * src/hildon-stackable-window.c
1140 * src/hildon-stackable-window.h
1141 Added hildon_stackable_window_go_home()
1143 * examples/Makefile.am
1144 * examples/hildon-stackable-window-example.c
1145 HildonStackableWindow example
1147 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1149 * hildon-pannable-area.c: Added the overshoot property and removed
1150 the OVERSHOOT define. Fixed an indent style error.
1151 (hildon_pannable_area_motion_notify_cb):
1152 (hildon_pannable_area_get_property):
1153 (hildon_pannable_area_set_property): Add overshoot property.
1155 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1158 (hildon_pannable_area_class_init): Installed the new property.
1160 * hildon-pannable-area-example.c: Added a sawtooth function, this
1161 way it is easier to check the movement in the pannable.
1162 (get_sawtooth_label): Added this function.
1163 (main): Now we get the labels from the new get_sawtooth_label
1166 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1168 * src/hildon-app-menu.h
1169 * src/hildon-app-menu.c
1170 Renamed API variables for consistency
1172 (hildon_app_menu_popup): Use also the default window size to
1173 decide where to place the menu
1175 (hildon_app_menu_init, hildon_app_menu_class_init): New
1176 external-border style property
1178 2008-05-26 Michael Natterer <mitch@imendio.com>
1180 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1181 widget_class->tap_and_hold_setup signal slot doesn't exist any
1182 longer, stop overriding it.
1184 (hildon_time_editor_init): g_signal_connect() to the
1185 tap-and-hold-setup signal instead.
1187 (hildon_time_editor_entry_keypress): add cast to fix warning.
1189 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1191 * doc/hildon-docs.sgml
1193 * examples/Makefile.am
1194 * examples/hildon-app-menu-example.c
1196 * src/hildon-app-menu-private.h
1197 * src/hildon-app-menu.c
1198 * src/hildon-app-menu.h
1200 New HildonAppMenu widget
1202 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1204 Rearranged the inheritance of the pannable area, now it inherits
1205 from GtkBin. This will allow us to control the event_window and
1206 the allocation process of the widget, required for some effects.
1208 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1209 GtkBin structures. * src/hildon-pannable-area.c: Added the
1210 event_window variable.
1211 (hildon_pannable_area_button_press_cb):
1212 (hildon_pannable_area_button_release_cb):
1213 (hildon_pannable_area_motion_notify_cb):
1214 Changed the signature of the method, now we override the event
1215 callback instead of connecting to the signal.
1217 (hildon_pannable_area_realize):
1218 (hildon_pannable_area_unrealize):
1219 (hildon_pannable_area_map):
1220 (hildon_pannable_area_unmap):
1221 (hildon_pannable_area_size_allocate):
1222 Added functions to control the widget construction. We add a
1223 INPUT_ONLY window and we put it over the widgets inside the
1224 container, this event_window handles the events.
1226 (hildon_pannable_area_class_init):
1227 Replaced the signal connections with overrides of the event
1230 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1232 Bouncing effect added when touching the borders, you can change
1233 the elasticity of the border changing the ELASTICITY define.
1235 * src/hildon-pannable-area.c: Added ELASTICITY define.
1236 (hildon_pannable_area_timeout): Added inverse velocity when
1237 touching the border of the child widget, that causes a bounce.
1239 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1241 Improved performance, we now do not go to the X server in order to
1242 get the list of window children. Apparently the effect is the
1243 same, we have to be careful and check if this breaks something in
1246 * src/hildon-pannable-area.c:
1247 (get_ordered_children): Removed this function.
1248 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1249 the children windows function with gdk_window_get_children.
1251 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1253 * src/hildon-pannable-area.c:
1254 (hildon_pannable_area_dispose): Fixed a crash when closing the
1255 window and kinetics is activated.
1257 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1259 * src/hildon-pannable-area.h
1260 * src/hildon-pannable-area.c
1261 Changed indentation style to meet the one used in Hildon
1263 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1265 Reviewed the interaction of the AUTO mode, now we use the time
1266 attribute of the events and calculate the velocity in the motion,
1267 doing a gimp like calculation. The velocity is calculated in each
1268 motion event using the last velocity and the current one, the
1269 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1271 * src/hildon-pannable-area.c: Replaced the time based algorithm
1273 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1274 timeout for the AUTO mode when we are still moving the cursor. We
1275 added also the velocity calculation in this function.
1276 (hildon_pannable_area_button_release_cb): launch the timeout in
1277 case we are in AUTO mode. There are still some constants here that
1278 come from the old implementation that should be reviewed and
1281 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1283 * doc/hildon-docs.sgml
1286 * src/hildon-stackable-window.c
1287 * src/hildon-stackable-window.h
1289 New HildonStackableWindow widget
1291 * examples/hildon-dialog-example.c
1292 * examples/hildon-pannable-area-example.c
1295 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1297 * src/hildon-dialog.c
1298 (hildon_dialog_new_with_buttons): New constructor.
1300 * examples/hildon-dialog-example.c
1301 (main): Update the example to use the new
1302 hildon_dialog_new_with_buttons().
1304 * examples/hildon-pannable-area-example.c
1305 (main): Update example.
1307 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1309 * doc/hildon-docs.sgml
1311 Added HildonPannableArea to the documentation.
1313 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1315 * doc/visual_index.xml
1316 Fix reference to HildonLoginDialog in documentation
1318 * doc/hildon-docs.sgml
1320 * examples/Makefile.am
1321 * examples/hildon-dialog-example.c
1323 * src/hildon-dialog.c
1324 * src/hildon-dialog.h
1326 New HildonDialog widget.
1328 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1330 * src/hildon-pannable-area.c
1331 Merge latest changes (r4318, r4342) from libmokoui trunk
1333 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1335 * examples/Makefile.am
1336 * examples/hildon-pannable-area-example.c
1338 * src/hildon-pannable-area.c
1339 * src/hildon-pannable-area.h
1341 New HildonPannableArea widget.
1343 2008-04-15 18:05:19 <timj@imendio.com>
1345 * src/hildon-banner.c: revert the recent change, that introduced
1346 gtk_window_present() calls. this reopens:
1347 Bug 78481 - [freetest] information banners are hidden under browser menu
1348 But resolves another variant of:
1349 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1351 2008-04-15 13:21:13 <timj@imendio.com>
1353 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1354 recreated its layout, spotted by Kris. this fixes all remaining
1355 artefacts and stability issues with the banner code. in particular:
1356 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1358 2008-04-14 16:52:59 <timj@imendio.com>
1360 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1361 operating on unrealized widgets, fixes:
1362 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1364 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1366 2008-04-09 Kristian Rietveld <kris@imendio.com>
1368 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1369 makes banner disappear.
1370 Fixes: NB#79182: info banner flickering with certain message lengts.
1372 * src/hildon-banner.c (hildon_banner_constructor),
1373 (hildon_banner_init), (hildon_banner_set_text),
1374 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1375 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1376 FALSE, reset size requests of label and banner,
1377 (force_to_wrap_truncated): when the text is too wide, always enforce
1378 the maximum possible width instead of recalculating it from the
1379 layout; enforce the maximum banner height of 3 lines,
1380 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1381 nicer wrapping and no truncated chars if space gets tight.
1383 * src/hildon-banner-private.h: add has_been_wrapped and
1384 has_been_truncated fields.
1386 2008-04-07 Sven Herzberg <sven@imendio.com>
1388 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1389 local values in hildon_date_editor_size_allocate
1391 * src/hildon-date-editor.c: moved the real allocation code into the
1394 2008-04-07 Sven Herzberg <sven@imendio.com>
1396 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1397 local values in hildon_date_editor_size_allocate
1399 * src/hildon-date-editor.c: merged the two if() branches together
1401 2008-04-07 Sven Herzberg <sven@imendio.com>
1403 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1404 local values in hildon_date_editor_size_allocate
1406 * src/hildon-date-editor.c: changed the arguments of the if()
1409 2008-04-07 Sven Herzberg <sven@imendio.com>
1411 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1412 local values in hildon_date_editor_size_allocate
1414 * src/hildon-date-editor.c: split the calculation of the allocation
1415 from the real allocation
1417 2008-03-27 Michael Natterer <mitch@imendio.com>
1419 Fixes: NB#81696: The passcode is not overwritten even after
1422 * src/hildon-code-dialog.c
1423 (hildon_code_dialog_button_clicked)
1424 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1425 because that doesn't overwrite selected text. Instead, emit the
1426 "commit" signal on the entry's im_context so the entry's normal
1427 insert logic is triggered. Set the cursor to the end of the entry
1428 after each insert operation so that we *only* insert in the middle
1429 of the text if something was selected.
1431 2008-03-27 Michael Natterer <mitch@imendio.com>
1433 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1434 selector cannot be opened
1436 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1437 when the popup color selector is created. Please connect to this
1438 signal in order to set the dialog's help ID.
1440 2008-03-25 Sven Herzberg <sven@imendio.com>
1442 Fixes: MB#1212: Hide info banners (infoprints) on click
1444 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1445 extracted the close event simulation into an extra function
1446 (hildon_banner_button_press_event): simulate a close event and destroy
1447 the widget if the event wasn't handled
1448 (hildon_banner_class_init): added the button_press_event handler
1449 (hildon_banner_init): added button-press events to the widget
1451 2008-03-25 Sven Herzberg <sven@imendio.com>
1453 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1454 Patch from: Mohammad Anwari <mdamt@maemo.org>
1456 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1457 instead of the right in RTL mode
1458 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1459 breadcrumb button list in RTL mode
1460 * src/hildon-caption.c: mirror the appearance of the caption widget in
1462 * src/hildon-date-editor.c: mirror appearance of the date editor in
1464 * src/hildon-time-editor.c: mirror appearance of the time editor in
1466 * src/hildon-window.c: fix the position of the popup in RTL mode
1468 2008-03-25 Sven Herzberg <sven@imendio.com>
1470 Amendment to the fix of NB#22072. Fix compilation.
1472 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1474 2008-03-19 Sven Herzberg <sven@imendio.com>
1476 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1479 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1480 timeout id properly when the timeout will disappear this leaves no
1481 artifacts around in the destroy(); there will only be the timeout
1482 created by hildon_banner_ensure_timeout() and adding a new timeout
1483 will also work if the timeout gets removed because the timeout_handler
1486 2008-03-19 Michael Natterer <mitch@imendio.com>
1488 Fixes: NB#79791: Cannot set focus to Master volume using stylus
1490 * src/hildon-volumebar.c
1491 * src/hildon-vvolumebar.c
1492 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1493 the widget becomes focussable at all.
1495 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1496 set the focus to wither the mute button or the volumebar.
1498 Remove own "can-focus" property and instead listen to
1499 notify::can-focus in order to update the widget's state.
1501 Implement GtkWidget::focus() and make sure we can also *leave* the
1502 widget, not only enter it, depending on volumebar orientation and
1503 requested focus direction.
1505 Clean up set_mute() to cooperate nicely with all the above.
1507 2008-03-04 Michael Natterer <mitch@imendio.com>
1509 Fixes: NB#78481: information banners are hidden under browser menu
1511 * src/hildon-banner.c: call gtk_window_present() on the banners so
1512 they are risen if they are already visible.
1514 2008-03-03 Sven Herzberg <sven@imendio.com>
1516 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
1518 * examples/hildon-window-menu-example.c: (main): extended the window
1519 menu example to serve as a testcase for automatically added
1520 accelerator groups, too
1521 * src/hildon-window.c: (hildon_window_add_accel_group),
1522 (hildon_window_set_menu): added patch by Tommi Komulainen
1524 2008-03-03 Sven Herzberg <sven@imendio.com>
1526 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
1528 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
1529 knowledge about the border allocators used within GTK+
1531 2008-02-26 Sven Herzberg <sven@imendio.com>
1533 Fixes: MB#2981: Build with asserts broken
1535 * src/hildon-date-editor.c,
1536 * src/hildon-number-editor.c,
1537 * src/hildon-time-editor.c,
1538 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
1539 the proper GType instance check
1541 2008-02-25 Sven Herzberg <sven@imendio.com>
1543 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
1545 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
1546 * examples/hildon-window-menu-example.c: (main): explicitly show
1548 * src/hildon-window.c:
1549 (hildon_window_set_main_menu): moved most of the code from set_menu()
1550 to this place; skipped the call to gtk_widget_show_all(); also didn't
1551 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
1552 (hildon_window_set_menu): removed most of the code, just keep the
1553 questionable gtk_widget_show_all()
1554 * src/hildon-window.h: added the new function and deprecate the old
1557 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
1563 * debian/changelog: Updating.
1565 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
1568 * pkgconfig/Makefile.am:
1569 * pkgconfig/hildon.pc.in:
1572 Do not use PACKAGE_VERSION_MAJOR as the API revision,
1573 use newly created API_MAJOR_VERSION.
1575 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
1581 * debian/changelog: Updating.
1583 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
1585 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
1587 Add outer_border style property, we use it but don't define it (!).
1591 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
1593 * examples/hildon-bread-crumb-trail-example.c (main):
1597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
1599 Fix logic for the bread crumb trail node removal.
1603 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1609 * debian/changelog: Updating.
1611 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1613 Patch by Alejandro to get/set passwords dialogs accesibility.
1615 * hildon-1/src/hildon-get-password-dialog.c:
1616 * hildon-1/src/hildon-set-password-dialog.c:
1617 Set atk_set_name to the passwd entries in order to allow
1618 accessibility by name on this entries.
1620 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1625 * debian/control: Updating gtk dep.
1627 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
1629 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1630 USE_MAEMO_GTK is enabled.
1632 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
1634 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1635 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1637 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1643 * debian/changelog: Updating.
1645 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1647 * examples/Makefile.am:
1648 * examples/hildon-logical-color-example.c:
1649 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1650 applied + adding a test case. Fixes: NB#71660.
1652 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
1654 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1655 to be visible, fixes warning on map for windows without toolbars.
1657 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1659 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1660 2.11.0, add a check for that besides the MAEMO_GTK check.
1662 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1668 * debian/changelog: Updating.
1670 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1672 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1673 visibility. Fixes: NB#70842 and MB#615.
1675 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1677 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1678 set the separator as no-show-all so it doesn't unintentionally appear when
1679 someone does a show_all.
1681 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1683 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1684 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1685 toplevel item. Fixes: NB#62031
1687 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1689 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1690 fix the name of the function in the docs.
1692 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1698 * debian/changelog: Updating.
1700 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1702 * examples/hildon-banner-long-example.c: Adding a test-case for long
1705 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1707 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1709 * src/hildon-color-chooser-dialog.c:
1710 * src/hildon-color-chooser.c:
1711 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1712 memory leaks in font selector and color selector. Fixes: NB#70499 and
1715 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1717 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1719 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1721 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1722 little bit bigger. Fixes: #NB63694.
1724 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1730 * debian/changelog: Updating.
1732 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1735 * doc/hildon-docs.sgml:
1736 * doc/images/bread-crumb-trail.png:
1737 * doc/images/calendar-popup.png:
1738 * doc/images/caption.png:
1739 * doc/images/code-dialog.png:
1740 * doc/images/color-button.png:
1741 * doc/images/color-chooser-dialog.png:
1742 * doc/images/color-chooser.png:
1743 * doc/images/controlbar.png:
1744 * doc/images/date-editor.png:
1745 * doc/images/font-selection-dialog.png:
1746 * doc/images/get-password-dialog.png:
1747 * doc/images/hvolumebar.png:
1748 * doc/images/login-dialog.png:
1749 * doc/images/note.png:
1750 * doc/images/number-editor.png:
1751 * doc/images/range-editor.png:
1752 * doc/images/seekbar.png:
1753 * doc/images/set-password-dialog.png:
1754 * doc/images/sort-dialog.png:
1755 * doc/images/time-editor.png:
1756 * doc/images/time-picker.png:
1757 * doc/images/vvolumebar.png:
1758 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1759 Adding the bread-crumb-trial and helpers to the documentation.
1761 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1763 * examples/hildon-find-toolbar-example.c:
1764 * src/hildon-find-toolbar.c:
1765 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1766 actually continue firing the other handlers if connected. Adding a new
1768 hildon_find_toolbar_get_last_index that gets the index of the most
1769 recently added (last) item. Fixes: NB#52301.
1771 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1773 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1774 behaviour. Fixes: NB#68610.
1776 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1778 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1781 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1783 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1784 when realizing the banner. Should make the infonbanner effect a bit more
1787 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1789 * src/hildon-volumebar.c:
1790 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1791 hildon_volumebar_set_range_insensitive_message and
1792 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1794 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1796 * src/hildon-window.c: Fixing the border freeing on destroy.
1798 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1800 * src/hildon-code-dialog-private.h:
1801 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1802 kw keyboard support in HildonCodeDialog.
1804 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1810 * debian/changelog: Updating.
1812 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1814 * src/hildon-date-editor.c:
1815 * src/hildon-number-editor.c:
1816 * src/hildon-private.c:
1817 * src/hildon-private.h:
1818 * src/hildon-time-editor.c:
1819 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1820 handling in subclassed composite widgets. Fixes: NB#66628.
1822 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1824 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1825 from destroy_ callback as it introduces problems in async dbus signal
1826 handlers. Fixes NB#66673.
1828 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1830 * examples/hildon-hvolumebar-example.c:
1831 * src/hildon-volumebar.c: Improving the focus handling in the
1832 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1833 set_property accessor so that "mute" property can be actually set. I'm
1834 scared that nobody noticed it's totally broken.
1836 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1838 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1841 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1843 * src/hildon-calendar.c:
1844 * src/hildon-number-editor.c:
1845 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1846 matches the spec of 6 chars per second. Fixes: NB#60489.
1848 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1850 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1851 gtk_style_lookup_color sometime returns FALSE even though color was
1852 found and values were filled properly. Weird. Removing the warning for the
1855 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1857 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1858 expand vertically. Adding some extra space to the find toolbar buttons to
1859 make them thumbable. Fixes NB#66060.
1861 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1863 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1864 popup with "Ok" and "Cancel". Fixes NB#59299.
1866 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1868 * src/hildon-calendar.c: Process all window updates before executing next
1869 timeout. Fixes: NB#54146.
1871 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1877 * debian/changelog: Updating.
1879 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1881 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1882 the client event and ignore it, since we use the delete event to close
1885 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1887 * src/hildon-helper.c: Remove the bogus warning about color not being
1888 found. Fixes NB#58352.
1890 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1892 * examples/Makefile.am:
1893 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1894 HildonSeekbar widget inside a toolbar.
1896 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1898 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1899 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1900 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1901 don't want to be closed by non-temporary windows on map.
1903 Also use G_DEFINE_TYPE instead of manually typed code.
1905 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1912 * debian/rules: Updating.
1914 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1916 * examples/Makefile.am:
1917 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1918 bug NB#61128. Strangely it works.
1920 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1922 * src/hildon-date-editor.c: When the date editor entry has been changed
1923 but the numbers of characters < max, turn off the skip validation flag.
1924 Prevents a situation when we enter first a valid year and later re-write
1925 it with an invalid one. Fixes NB#60154.
1927 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1929 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1930 code dialog. Fixes NB#64355.
1932 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1934 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1935 switching the page. Fixes NB#49374.
1937 * examples/Makefile.am:
1938 * examples/hildon-wizard-dialog-example.c: Adding an example for
1939 HildonWizardDialog that shows how to handle manual sensitivity setting on
1942 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1946 * src/hildon-version.h.in:
1947 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1949 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1951 * src/hildon-volumebar.c: Updating the docs.
1953 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1959 * debian/changelog: Updating.
1961 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1963 * src/hildon-find-toolbar.c:
1964 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1965 selected item: hildon_find_toolbar_set_active,
1966 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1967 hildon_find_toolbar_get_active_iter . They correspond to respective
1968 GtkComboBox functions.
1970 * examples/Makefile.am:
1971 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1974 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1976 * examples/Makefile.am:
1977 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1980 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1981 when font size > 32 and we pack a focusable widget inside. Actually using
1982 the default response would work too, but since we don't show default
1983 response state in any way (no theming) it would not be visible to the
1984 user. Fixes NB#63430.
1986 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1988 * src/hildon-date-editor.c: Adding the missing variable setter in the
1989 set_property handler. Fixes NB#54182.
1991 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1993 * src/hildon-window.h: Changing the long key press time from 1500ms to
1994 800ms as requested in NB#63700. I have a bad feeling about this, let's
1995 see... Fixes NB#63700.
1997 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1999 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2000 hildon_time_picker_map, hildon_time_picker_realize,
2001 hildon_time_picker_style_set): Split the contents of map to more
2002 appropriate functions; set window decorations on realize and update
2003 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2005 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2010 * debian/changelog: Updating.
2012 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2014 * src/Makefile.am: fixed installation of the header files
2016 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2022 * debian/changelog: Updating.
2024 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2026 * configure.ac: Removing some remaining of --enable-xan.
2028 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2030 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2031 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2033 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2034 2.10.12-osso6 because the move-focus signal needs to be available in
2037 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2039 * examples/Makefile.am:
2040 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2041 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2042 fine. Prolly NB#61128 is fixed now.
2044 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2046 * src/hildon-volumebar.c:
2047 * src/hildon-volumebar.h: Adding the
2048 hildon_volumebar_set_range_insensitive_message and
2049 hildon_volumebar_set_range_insensitive_messagef functions to set
2050 insensitive message on the slider of the volumebar. Fixes NB#61129.
2052 * examples/Makefile.am:
2053 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2054 test the new insensitive messsage functionality on HildonVolumebar.
2056 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2058 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2061 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2063 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2064 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2065 button on after clearing the trail.
2067 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2069 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2071 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2073 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2074 by splitting the installed headers in generated and non-generated groups. Use
2075 only the non-generated headers to create the hildon-enum-types.h file.
2077 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2079 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2081 * src/hildon-window.c: Hide the window before performing the destroy.
2082 Should make the app closing a little tiny bit more snappy.
2084 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2086 * src/hildon-seekbar.c: add gtkrange.h header
2087 * src/hildon-caption.c: remove unused variable
2089 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2091 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2094 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2100 * debian/changelog: Updating.
2102 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2104 * src/hildon-window.c (hildon_window_window_state_event,
2105 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2106 escape timeout on focus-out-event rather than notify::is-topmost; the
2107 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2109 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2111 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2112 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2114 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2116 * src/hildon-window: actually, you need to use the macro always, there's
2117 no private pointer in the instance structure. We should have cleaned this up
2118 when we had the chance...
2120 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2122 * src/hildon-window.c: do not get the private date from HildonWindow before
2123 it passes the g_return_if_fail check. Once it's passed the test, there's no
2124 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2125 if you are only going to access the data once. Whitespace cleanups.
2127 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2129 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2130 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2132 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2138 * debian/changelog: Updating.
2140 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2142 * src/hildon-window.c: When destroying the window, remove (if exists) the
2143 escape timeout handler. Fixes #NB59276.
2145 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2147 * src/hildon-banner.c: When realizing the widget, set the window
2148 transiency. Setting the transiency in the gobject constructor is not
2149 good, as the widget is not realized at that point. Fixes: #NB56624.
2151 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2153 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2154 Add padding for future expansions.
2156 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2158 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2159 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2160 will fake an activation on the previous to the last item of the trail, so
2161 the effect can be overrided by the developer as usual.
2162 Also change the callback for the back button to do the same thing, so its
2163 effect can be overrided too. Fixes: NB#58982
2165 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2167 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2168 HildonCaption. Fixes NB#52379.
2170 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2172 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2173 the internal state of the trail after the user has had the chance of executing
2174 his handler for the signal. Specifically, it may happen that the activated button
2175 is removed and the user still lets the default handler run. This would segfault
2178 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2180 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2181 scrollbar to the preview dialog. Fixes NB#54147.
2183 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2185 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2186 max/min year properties can be altered, so the client can modify it
2187 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2189 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2191 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2192 hildonlike by default. Fixing a problem with disappearing arrows when
2193 scrolling through months and years. Fixes NB#54127.
2195 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2197 * examples/hildon-date-editor-example.c: Adding error callback to the date
2200 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2206 * configure.ac: Updating.
2208 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2210 * configure.ac: Adding a special '--enable-xan' configure option that
2211 turns off the -Werror compilation setting. Usefull for development.
2213 * src/hildon-calendar.c:
2214 * src/hildon-number-editor.c:
2215 * src/hildon-time-picker.c: Adding the 5* multiplier to
2218 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2220 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2221 instead of g_object_ref + gtk_object_sink.
2223 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2229 * debian/changelog: Updating.
2231 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2233 * src/hildon-color-chooser-dialog.c:
2234 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2235 straight from Tommi labs.
2237 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2239 * examples/hildon-finger-example.c: Correcting the header file path.
2241 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2242 the changed signal. Fixes a small memory leak.
2244 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2248 * src/hildon-banner.c: Importing several usefull fixes from the
2249 ubuntu-mobile branch.
2251 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2253 * examples/Makefile.am:
2254 * examples/hildon-finger-example.c: Adding a finger-checking code
2257 * src/hildon-font-selection-dialog.c: Do not allocate the color
2258 structure using the g_new. Fixes NB#54061.
2260 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2262 * src/hildon-helper.c: Correcting tabs in file.
2264 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2266 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2267 control the visibility of the children.
2269 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2271 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2277 * debian/changelog: Updating.
2279 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2281 * src/hildon-bread-crumb-trail.c:
2282 (hildon_bread_crumb_trail_size_allocate):
2284 Make the back button always a square.
2286 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2288 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2289 from the .c file as it's a private file.
2291 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2293 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2294 uses slightly bigger height.
2296 * src/hildon-font-selection-dialog.c: Adding some checks before
2297 freeing memory in the font selection dialog.
2299 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2301 * src/hildon-font-selection-dialog.c: Adding a small check when
2304 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2305 buttons sensitivity on page switching.
2307 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2309 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2310 internal details of adding a bread crumb to the trail.
2312 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2318 * debian/changelog: Updating.
2320 * src/hildon-bread-crumb-trail.h:
2321 * src/hildon-bread-crumb.h: Changing the API guard to
2322 HILDON_ENABLE_UNSTABLE_API.
2324 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2332 * src/hildon-helper.h: Updating.
2334 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2342 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2346 * src/hildon-helper.h: Small fix to make the package actually compile.
2348 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2350 * src/hildon-bread-crumb-trail.h:
2351 * src/hildon-bread-crumb.h:
2353 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2354 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2356 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2358 * examples/hildon-bread-crumb-trail-example.c:
2360 * src/hildon-bread-crumb-trail.c:
2361 * src/hildon-bread-crumb-trail.h:
2362 * src/hildon-bread-crumb.c:
2363 * src/hildon-bread-crumb.h:
2364 * src/hildon-marshalers.list:
2365 * src/hildon-bread-crumb-widget.c:
2366 * src/hildon-bread-crumb-widget.h:
2368 Slight change in the widget design. The bread crumb trail API is
2369 unchanged, but HildonBreadCrumb is now an interface. A *private*
2370 implementation, hildon-bread-crumb-widget, is provided and used
2371 internally by the trail for the push_text/push_icon functions.
2373 The generic push API is still available, so anyone can implement
2374 and use its own bread crumb widget.
2376 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2378 * debian/rules: Fixing the shlibs.
2380 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2382 * src/hildon-banner.c: Fixing a problem with timed banners having
2383 their parrent destroyed before they are.
2385 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2387 * src/hildon-bread-crumb.c:
2388 * src/hildon-bread-crumb.h:
2390 Make the get_natural_size function a vfunc.
2392 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2394 * src/hildon-bread-crumb.c:
2395 * src/hildon-bread-crumb-trail.c:
2399 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2406 * debian/changelog: Updating for release.
2408 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2410 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2411 don't leak the pango layout.
2413 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2416 * examples/hildon-bread-crumb-trail-example.c:
2420 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2422 * debian/changelog: Removing the bug-fixed entries that were actually
2423 resolved as WONTFIX.
2425 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2428 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2430 * src/hildon-bread-crumb-trail.c:
2431 * src/hildon-bread-crumb-trail.h:
2432 * src/hildon-bread-crumb.c:
2433 * src/hildon-bread-crumb.h:
2437 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2439 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2440 until it's passed the type check.
2442 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2444 * examples/hildon-bread-crumb-trail-example.c
2448 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2450 * examples/Makefile.am
2451 * examples/hildon-bread-crumb-trail-example.c
2453 * src/hildon-bread-crumb-trail.c
2454 * src/hildon-bread-crumb-trail.h
2455 * src/hildon-bread-crumb.c
2456 * src/hildon-bread-crumb.h
2458 New HildonBreadCrumbTrail widget.
2460 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2462 * src/hildon-range-editor.c (hildon_range_editor_init),
2463 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2464 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2465 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2466 hildon_time_editor_class_init, hildon_time_editor_init),
2467 src/hildon-get-password-dialog.c (invalid_input,
2468 hildon_get_password_set_property, hildon_get_password_get_property,
2469 create_contents, hildon_get_password_dialog_set_max_characters),
2470 src/hildon-set-password-dialog.c (create_contents),
2471 src/hildon-date-editor.c (hildon_date_editor_init),
2472 src/hildon-login-dialog.c (hildon_login_dialog_init),
2473 src/hildon-number-editor.c (hildon_number_editor_init),
2474 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2475 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2476 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2477 configure option and adding the respective checks in the code.
2478 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2479 hildon_calendar_drag_data_received): fixed some build warnings.
2481 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2483 * debian/changelog: A 1.0.0 release notes.