1 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3 Changes required in order to allow vfast_factor set to zero to
6 * src/hildon-pannable-area.c:
7 (hildon_pannable_area_button_press_cb): Changed the condition, it
8 is required for not allowing click when vfast_factor is zero.
9 (hildon_pannable_area_timeout): Initialized velocity variables
10 when we stop moving, it was less than 1 but not zero and we need
11 to check zero in some situations.
12 (hildon_pannable_area_class_init): Changed the default value of
13 the speed factor, now the button_press is just sent in case the
14 speed is 2 per cent of the max speed.
15 (hildon_pannable_area_init): Initialization with 0.
17 2008-07-04 Alejandro G. Castro <alex@igalia.com>
19 * src/hildon-pannable-area.c,
20 (hildon_pannable_area_get_topmost): replaced
21 gdk_window_get_children with gdk_window_peek_children, this way we
22 do not have to free the list because it is not a copy.
24 (hildon_pannable_axis_scroll),
25 (hildon_pannable_area_scroll),
26 (hildon_pannable_area_timeout),
27 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
28 two parameters that were only used inside the
29 hildon_pannable_area_scroll function.
31 * examples/hildon-pannable-area-example.c,
32 (get_sawtooth_label): Fixed small memory leak.
34 2008-07-03 Alejandro G. Castro <alex@igalia.com>
36 More checks for the case where the overshoot is bigger than the
39 * src/hildon-pannable-area.c:
40 (hildon_pannable_draw_vscroll),
41 (hildon_pannable_draw_hscroll): with this new calculation we avoid
42 to draw the slider of the scrollbar under the other scrollbar.
43 (hildon_pannable_area_expose_event): added new checks to control
44 the drawing of the overshooting area rectangle, in case it is too
45 big for the area of the widget.
46 (hildon_pannable_area_size_allocate): add more checks to avoid
47 setting a position to the child widget outside the area.
49 2008-07-03 Alejandro G. Castro <alex@igalia.com>
51 * src/hildon-pannable-area.c
52 (hildon_pannable_area_size_allocate): Added conditions to control
53 when overshooting is bigger than the allocated space for the
54 children, this avoids negative allocations.
56 2008-07-02 Alberto Garcia <agarcia@igalia.com>
58 * doc/hildon-docs.sgml
60 * examples/Makefile.am
61 * examples/hildon-button-example.c
65 * src/hildon.h: Initial version of the new HildonButton widget,
68 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
70 * src/hildon-pannable-area.c:
71 (hildon_pannable_area_button_press_cb),
72 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
73 (hildon_pannable_area_motion_notify_cb),
74 (hildon_pannable_area_button_release_cb),
75 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
76 (hildon_pannable_area_jump_to_child):
78 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
80 2008-07-01 Alberto Garcia <agarcia@igalia.com>
82 * examples/Makefile.am
83 * examples/hildon-pannable-area-touch-grid-example.c
84 * examples/hildon-pannable-area-touch-list-example.c: Examples of
85 the Hildon Touch List and Hildon Touch Grid using the
86 HildonPannableArea widget.
88 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
90 * src/hildon-pannable-area.c,
91 (hildon_pannable_area_button_press_cb),
92 (hildon_pannable_area_refresh),
93 (hildon_pannable_area_scroll),
94 (hildon_pannable_area_motion_notify_cb),
95 (hildon_pannable_area_button_release_cb),
96 (hildon_pannable_area_expose_event),
97 (hildon_pannable_area_add),
98 (hildon_pannable_area_remove),
99 (hildon_pannable_area_realize),
100 (hildon_pannable_area_size_allocate),
101 (hildon_pannable_area_class_init),
102 (hildon_pannable_area_init),
103 (hildon_pannable_area_scroll_to_child),
104 (hildon_pannable_area_jump_to_child): Fixed the problem of
105 removing the child from the GtkBin, we have rearranged the widget
106 hierarchy, now there is no GtkAlignment which was not doing
107 anything interesting but breaking some of the assumptions of
108 GtkContainer. Now developers if they want to add a GtkAlignment
109 they could, but it is not inside the area.
111 We had to review the whole allocation/expose process, now it is
112 improved and we save at least three signals which would be saving
113 some time when rendering the widget. The allocation of the
114 scrollbars is now made in the allocate method as usual.
116 We have also added some conditions in order to control when there
117 is no child of the pannable area. Maybe we will need more work
120 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
122 * src/hildon-pannable-area.c,
123 (hildon_pannable_area_dispose): Released the fade-out timeout when
124 disposing the widget.
126 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
128 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
129 zero, we are going to use that property in order to deactivate the
131 (hildon_pannable_axis_scroll),
132 (hildon_pannable_area_size_allocate): Added conditions to control
133 when overshoot_max is zero. Moved the gtk_adjustment_set_value
134 call, now it is called in all situations and we can remove calls
135 in the allocate method.
136 (hildon_pannable_area_map): Control the situation when
137 overshoot_max is zero, we do not need the timeout.
138 (hildon_pannable_area_class_init): Added documentation in order to
139 point out that setting zero to overshoot_max means deactivate
142 NOTE: removed trailing whitespaces from my previous comments of
145 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
147 * src/hildon-pannable-area.c
148 (hildon_pannable_area_get_property),
149 (hildon_pannable_area_set_property),
150 (hildon_pannable_area_map),
151 (hildon_pannable_area_class_init),
152 (hildon_pannable_area_init): Add a boolean "initial-hint" property
153 to cause the widget give a hint about its panning abilities upon
156 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
158 * src/hildon-pannable-area.c: Several documentation improvements.
160 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
162 * src/hildon-program.c
163 * src/hildon-stackable-window.c: Update documentation.
165 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
167 * src/hildon-stackable-window.c (get_previous_window_if_last):
168 Renamed get_last_window()
169 (hildon_stackable_window_map, hildon_stackable_window_unmap)
170 (hildon_stackable_window_unset_program):
172 (get_previous_window_if_last):
173 Detect if the window hasn't been added to a HildonProgram.
175 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
177 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
179 * src/hildon-pannable-area.c
180 (hildon_pannable_area_button_press_cb),
181 (hildon_pannable_axis_scroll),
182 (hildon_pannable_area_scroll),
183 (hildon_pannable_area_timeout),
184 (hildon_pannable_calculate_vel_factor),
185 (hildon_pannable_area_get_property),
186 (hildon_pannable_area_set_property),
187 (hildon_pannable_area_class_init),
188 (hildon_pannable_area_init),
189 (hildon_pannable_area_scroll_to),
190 (hildon_pannable_area_jump_to),
191 (hildon_pannable_area_scroll_to_child),
192 (hildon_pannable_area_jump_to_child):
193 * src/hildon-pannable-area.h: Added the new API functions:
194 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
195 hildon_pannable_area_scroll_to_child,
196 hildon_pannable_area_jump_to_child
199 * examples/Makefile.am
200 * examples/hildon-pannable-area-example-2.c
201 * examples/hildon-pannable-area-example-3.c: Added these two new
202 examples in order to test and show how the new APIs work.
204 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
206 * examples/hildon-stackable-window-example.c (new_window):
207 * src/Makefile.am (noinst_HEADERS):
208 * src/hildon-program.c (hildon_program_go_to_root_window):
209 * src/hildon-program.h:
210 * src/hildon-stackable-window-private.h:
211 * src/hildon-stackable-window.c:
212 * src/hildon-stackable-window.h:
213 Create hildon-stackable-window-private.h
214 Move hildon_stackable_window_go_to_root_window() to HildonProgram
216 * examples/hildon-app-menu-example.c (create_menu):
217 * examples/hildon-hvolumebar-insensitive-example.c (main):
218 * examples/hildon-hvolumebar-timer-example.c (on_idle):
219 * examples/hildon-toolbar-seekbar-example.c (main):
220 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
221 * src/hildon-banner.c (hildon_banner_set_property):
222 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
223 Fix compilation warnings
225 * src/hildon-window.c:
228 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
230 * src/hildon-stackable-window.c
231 (hildon_stackable_window_unset_program):
232 Calculate correctly whether to show the previous window if the
233 last one is removed from the stack.
234 (hildon_stackable_window_go_to_root_window):
235 Send delete events starting from the topmost window.
236 Stop if one of the windows is not destroyed.
238 (hildon_stackable_window_delete_event)
239 (hildon_stackable_window_class_init):
240 Ignore the delete event if the window is not the topmost one.
242 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
244 * src/hildon-pannable-area.c
245 (hildon_pannable_area_expose_event): Fixed a problem when
246 selecting the background color of the scrollbars.
248 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
250 * examples/hildon-stackable-window-example.c
251 * src/hildon-stackable-window.c
252 * src/hildon-stackable-window.h
253 hildon_stackable_window_go_home() renamed to
254 hildon_stackable_window_go_to_root_window()
255 Send delete events to windows rather than closing them with
258 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
260 * src/hildon-pannable-area.c
261 (hildon_pannable_area_button_release_cb): Fix overshooting in
264 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
266 * src/hildon-pannable-area.c
267 (hildon_pannable_area_init): Initially show the scroll indicators.
268 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
270 Add initial effect showing the widget is pannable.
272 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
274 * src/hildon-pannable-area.c
275 (hildon_pannable_area_class_init)
276 (hildon_pannable_area_set_property)
277 (hildon_pannable_area_get_property)
278 (hildon_pannable_area_button_press_cb):
279 New 'velocity_fast_factor' property to decide which velocity is
282 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
284 * src/hildon-pannable-area.c
285 (hildon_pannable_draw_hscroll)
286 (hildon_pannable_draw_vscroll):
287 Use float variables to calculate the size of the scrollbars to
288 avoid error propagation and resizing during scrolling.
290 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
292 * src/hildon-pannable-area.c
293 (hildon_pannable_draw_vscroll)
294 (hildon_pannable_draw_hscroll):
295 Define a minimum size for the scroll bars
297 * src/hildon-stackable-window.c
298 (hildon_stackable_window_go_home): Fix compilation warning
299 (get_last_window): Minor optimizations
300 (hildon_stackable_window_class_init): Fix initialization of
303 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
305 * src/hildon-stackable-window.c: Fixed typos in doc
307 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
309 * src/hildon-pannable-area.c
310 (hildon_pannable_area_scroll):
311 Calculate here whether we need to scroll instead of using the booleans
312 that tell us whether to /draw/ the scrolling bars.
314 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
316 * src/hildon-app-menu.h
318 * src/hildon-app-menu.c
319 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
320 multiple filter groups related code and API. Now we support only
322 * examples/hildon-app-menu-example.c:
324 Update to reflect API changes.
326 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
328 * src/hildon-stackable-window.c
329 (hildon_stackable_window_class_init):
330 Add hildon_stackable_window_realize.
331 (hildon_stackable_window_realize):
332 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
333 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
334 to apply theming and behavior specific to HildonStackableWindow
337 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
339 * src/hildon-note.c (hildon_note_button_release):
340 Close information notes also when tapping on them
342 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
344 Added BOUNCE_STEPS define to control the overshoot effect. Removed
345 ELASTICITY, refactor and review, fix some issues with drawing
348 * src/hildon-pannable-area.c:
349 (hildon_pannable_area_button_press_cb): removed the conditions to
350 avoid clicks when overshooting. It is not required
352 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
353 define. Refatored and reviewed the code, now we do not need to
354 manage velocity in motion_notify.
356 (hildon_pannable_area_motion_notify_cb): We have moved the code
357 that controls the area_scroll to the axis_scroll function and get
358 rid of duplicated code.
360 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
362 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
364 (hildon_pannable_draw_vscroll),
365 (hildon_pannable_draw_hscroll): Fixed the problems with the
366 scrollbar drawing, now we do not use two surfaces, it is easier
369 (hildon_pannable_area_get_property): Style modification.
371 (hildon_pannable_area_class_init): Changed some default values.
373 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
375 * src/hildon-stackable-window.c: Fix some typos in the
378 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
380 * src/hildon-dialog.c:
381 Change indentation style
384 (hildon_note_button_release):
385 Use root coordinates to check if the release event happened
388 * src/hildon-app-menu.c
389 (hildon_app_menu_button_release):
390 Remove unnecessary check
392 * examples/hildon-app-menu-example.c
394 Add cast to fix warning
396 * src/hildon-app-menu.c
397 (hildon_app_menu_class_init):
398 New inner-border style property.
399 Set all default spacings to 16
400 (hildon_app_menu_init):
401 Use vertical-spacing to set the space between filter buttons and
402 regular menu buttons.
403 Set the default container border using the inner-border value.
405 * examples/hildon-app-menu-example.c
407 Don't set the menu border explicitly, now we have the inner-border
408 style property for that.
410 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
412 * src/hildon-app-menu.c (hildon_app_menu_init):
413 Make the window modal
415 * src/hildon-note.c (hildon_note_map)
416 * src/hildon-app-menu.c (hildon_app_menu_map):
417 Destroy the grab window if we're unable to grab the pointer
419 * src/hildon-app-menu-private.h
420 * src/hildon-app-menu.c
421 (hildon_app_menu_init, hildon_app_menu_finalize)
422 (hildon_app_menu_map, hildon_app_menu_unmap)
423 (hildon_app_menu_button_release)
424 (grab_transfer_window_get):
425 Bring back the grab window
426 (hildon_app_menu_realize):
427 Decorate the window, set WM hint for Matchbox
429 * src/hildon-note.c (hildon_note_realize):
430 * src/hildon-banner.c (hildon_banner_realize):
431 Add WM hints for Matchbox
433 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
435 * src/hildon-app-menu-private.h
436 * src/hildon-app-menu.c
437 (hildon_app_menu_init, hildon_app_menu_finalize)
438 (hildon_app_menu_map, hildon_app_menu_unmap)
439 (hildon_app_menu_button_release):
440 Remove the grab window, it's not needed anymore
442 * src/hildon-program.c
443 Fixed typo in documentation
445 * src/hildon-app-menu.h
446 * src/hildon-app-menu.c
447 * examples/hildon-app-menu-example.c
448 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
450 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
453 Added new transfer_window and close_if_pressed_outside private
455 (hildon_note_rebuild):
456 Don't add a cancel button to the information note. It will be
457 closed when tapping outside
458 Remove the comment about the OK button in the documentation
459 (hildon_note_realize):
460 Set the notification type hint
461 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
462 Grab/ungrab pointer and keyboard if the note has to be closed when
464 (hildon_note_button_release):
465 Close the note when tapping outside (if applicable)
467 * src/hildon-app-menu.c
468 Grab/ungrab pointer and keyboard on map/unmap
469 (hildon_app_menu_button_release, hildon_app_menu_class_init):
470 Close the menu on button release, not button press
472 * src/hildon-banner.c
473 (hildon_banner_set_property)
474 (hildon_banner_check_position):
475 Make the banner use the full width of the screen
476 (hildon_banner_show_information)
477 (hildon_banner_show_information_with_markup):
478 Don't display an icon by default
480 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
482 Added fading scrollbars and adapted all the overshooting code to
483 horizontal scrolling. We have also fixed bugs with overshooting
484 and current fading implementation.
486 * src/hildon-pannable-area.c
487 (hildon_pannable_area_scroll_indicator_fade): Time out function
488 used to change the transparency of the scrollbars.
490 (hildon_pannable_area_button_press_cb): Added horizontal overshot
491 control and fixed a problem with fading, we now remove the fade
492 timeout before adding a new one.
494 (hildon_pannable_axis_scroll):
495 (hildon_pannable_area_scroll):
496 (hildon_pannable_area_timeout): Added this functions so we can use
497 the scroll code both for vertical and horizontal.
499 (hildon_pannable_area_motion_notify_cb):
500 (hildon_pannable_area_button_release_cb): Added the horizontal
501 scrolling control, fixed a problem with the overshooting timeout.
503 (rgb_from_gdkcolor): Added this function, it is used in the cairo
504 painting of the scrolls.
506 (hildon_pannable_draw_vscroll):
507 (hildon_pannable_draw_hscroll):
508 (hildon_pannable_area_expose_event):
509 Draw both scrollbars and rectangles in the overshooting area.
511 (hildon_pannable_area_get_property):
512 (hildon_pannable_area_set_property):
513 Modified the overshoot property to overshoot_max
515 (hildon_pannable_area_map):
516 Replaced the comments symbols.
518 (hildon_pannable_area_size_allocate):
519 (hildon_pannable_area_class_init):
520 (hildon_pannable_area_init): Added horizontal scroll, fading
521 effect properties, fixed a problem when overshooting in the bottom
524 * examples/hildon-pannable-area-example.c:
525 (get_sawtooth_label): Now we use smaller sawtooths, the effect
526 looks better in the example.
528 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
530 * src/hildon-window.c
531 * src/hildon-window.h
532 (hildon_window_class_init)
533 (hildon_window_unset_program)
534 (hildon_window_unset_program_real):
535 Make unset_program a virtual function
537 * src/hildon-stackable-window.c
538 * src/hildon-stackable-window.h
539 Added hildon_stackable_window_go_home()
541 * examples/Makefile.am
542 * examples/hildon-stackable-window-example.c
543 HildonStackableWindow example
545 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
547 * hildon-pannable-area.c: Added the overshoot property and removed
548 the OVERSHOOT define. Fixed an indent style error.
549 (hildon_pannable_area_motion_notify_cb):
550 (hildon_pannable_area_get_property):
551 (hildon_pannable_area_set_property): Add overshoot property.
553 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
556 (hildon_pannable_area_class_init): Installed the new property.
558 * hildon-pannable-area-example.c: Added a sawtooth function, this
559 way it is easier to check the movement in the pannable.
560 (get_sawtooth_label): Added this function.
561 (main): Now we get the labels from the new get_sawtooth_label
564 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
566 * src/hildon-app-menu.h
567 * src/hildon-app-menu.c
568 Renamed API variables for consistency
570 (hildon_app_menu_popup): Use also the default window size to
571 decide where to place the menu
573 (hildon_app_menu_init, hildon_app_menu_class_init): New
574 external-border style property
576 2008-05-26 Michael Natterer <mitch@imendio.com>
578 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
579 widget_class->tap_and_hold_setup signal slot doesn't exist any
580 longer, stop overriding it.
582 (hildon_time_editor_init): g_signal_connect() to the
583 tap-and-hold-setup signal instead.
585 (hildon_time_editor_entry_keypress): add cast to fix warning.
587 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
589 * doc/hildon-docs.sgml
591 * examples/Makefile.am
592 * examples/hildon-app-menu-example.c
594 * src/hildon-app-menu-private.h
595 * src/hildon-app-menu.c
596 * src/hildon-app-menu.h
598 New HildonAppMenu widget
600 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
602 Rearranged the inheritance of the pannable area, now it inherits
603 from GtkBin. This will allow us to control the event_window and
604 the allocation process of the widget, required for some effects.
606 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
607 GtkBin structures. * src/hildon-pannable-area.c: Added the
608 event_window variable.
609 (hildon_pannable_area_button_press_cb):
610 (hildon_pannable_area_button_release_cb):
611 (hildon_pannable_area_motion_notify_cb):
612 Changed the signature of the method, now we override the event
613 callback instead of connecting to the signal.
615 (hildon_pannable_area_realize):
616 (hildon_pannable_area_unrealize):
617 (hildon_pannable_area_map):
618 (hildon_pannable_area_unmap):
619 (hildon_pannable_area_size_allocate):
620 Added functions to control the widget construction. We add a
621 INPUT_ONLY window and we put it over the widgets inside the
622 container, this event_window handles the events.
624 (hildon_pannable_area_class_init):
625 Replaced the signal connections with overrides of the event
628 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
630 Bouncing effect added when touching the borders, you can change
631 the elasticity of the border changing the ELASTICITY define.
633 * src/hildon-pannable-area.c: Added ELASTICITY define.
634 (hildon_pannable_area_timeout): Added inverse velocity when
635 touching the border of the child widget, that causes a bounce.
637 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
639 Improved performance, we now do not go to the X server in order to
640 get the list of window children. Apparently the effect is the
641 same, we have to be careful and check if this breaks something in
644 * src/hildon-pannable-area.c:
645 (get_ordered_children): Removed this function.
646 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
647 the children windows function with gdk_window_get_children.
649 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
651 * src/hildon-pannable-area.c:
652 (hildon_pannable_area_dispose): Fixed a crash when closing the
653 window and kinetics is activated.
655 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
657 * src/hildon-pannable-area.h
658 * src/hildon-pannable-area.c
659 Changed indentation style to meet the one used in Hildon
661 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
663 Reviewed the interaction of the AUTO mode, now we use the time
664 attribute of the events and calculate the velocity in the motion,
665 doing a gimp like calculation. The velocity is calculated in each
666 motion event using the last velocity and the current one, the
667 SMOOTH_FACTOR controls the percentage of the new velocity we use.
669 * src/hildon-pannable-area.c: Replaced the time based algorithm
671 (hildon_pannable_area_motion_notify_cb): now we do not launch the
672 timeout for the AUTO mode when we are still moving the cursor. We
673 added also the velocity calculation in this function.
674 (hildon_pannable_area_button_release_cb): launch the timeout in
675 case we are in AUTO mode. There are still some constants here that
676 come from the old implementation that should be reviewed and
679 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
681 * doc/hildon-docs.sgml
684 * src/hildon-stackable-window.c
685 * src/hildon-stackable-window.h
687 New HildonStackableWindow widget
689 * examples/hildon-dialog-example.c
690 * examples/hildon-pannable-area-example.c
693 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
695 * src/hildon-dialog.c
696 (hildon_dialog_new_with_buttons): New constructor.
698 * examples/hildon-dialog-example.c
699 (main): Update the example to use the new
700 hildon_dialog_new_with_buttons().
702 * examples/hildon-pannable-area-example.c
703 (main): Update example.
705 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
707 * doc/hildon-docs.sgml
709 Added HildonPannableArea to the documentation.
711 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
713 * doc/visual_index.xml
714 Fix reference to HildonLoginDialog in documentation
716 * doc/hildon-docs.sgml
718 * examples/Makefile.am
719 * examples/hildon-dialog-example.c
721 * src/hildon-dialog.c
722 * src/hildon-dialog.h
724 New HildonDialog widget.
726 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
728 * src/hildon-pannable-area.c
729 Merge latest changes (r4318, r4342) from libmokoui trunk
731 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
733 * examples/Makefile.am
734 * examples/hildon-pannable-area-example.c
736 * src/hildon-pannable-area.c
737 * src/hildon-pannable-area.h
739 New HildonPannableArea widget.
741 2008-04-15 18:05:19 <timj@imendio.com>
743 * src/hildon-banner.c: revert the recent change, that introduced
744 gtk_window_present() calls. this reopens:
745 Bug 78481 - [freetest] information banners are hidden under browser menu
746 But resolves another variant of:
747 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
749 2008-04-15 13:21:13 <timj@imendio.com>
751 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
752 recreated its layout, spotted by Kris. this fixes all remaining
753 artefacts and stability issues with the banner code. in particular:
754 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
756 2008-04-14 16:52:59 <timj@imendio.com>
758 * src/hildon-banner.c: guard force_to_wrap_truncated() against
759 operating on unrealized widgets, fixes:
760 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
762 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
764 2008-04-09 Kristian Rietveld <kris@imendio.com>
766 Fixes: NB#77775: Media Player, Save Now playing list, too long name
767 makes banner disappear.
768 Fixes: NB#79182: info banner flickering with certain message lengts.
770 * src/hildon-banner.c (hildon_banner_constructor),
771 (hildon_banner_init), (hildon_banner_set_text),
772 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
773 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
774 FALSE, reset size requests of label and banner,
775 (force_to_wrap_truncated): when the text is too wide, always enforce
776 the maximum possible width instead of recalculating it from the
777 layout; enforce the maximum banner height of 3 lines,
778 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
779 nicer wrapping and no truncated chars if space gets tight.
781 * src/hildon-banner-private.h: add has_been_wrapped and
782 has_been_truncated fields.
784 2008-04-07 Sven Herzberg <sven@imendio.com>
786 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
787 local values in hildon_date_editor_size_allocate
789 * src/hildon-date-editor.c: moved the real allocation code into the
792 2008-04-07 Sven Herzberg <sven@imendio.com>
794 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
795 local values in hildon_date_editor_size_allocate
797 * src/hildon-date-editor.c: merged the two if() branches together
799 2008-04-07 Sven Herzberg <sven@imendio.com>
801 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
802 local values in hildon_date_editor_size_allocate
804 * src/hildon-date-editor.c: changed the arguments of the if()
807 2008-04-07 Sven Herzberg <sven@imendio.com>
809 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
810 local values in hildon_date_editor_size_allocate
812 * src/hildon-date-editor.c: split the calculation of the allocation
813 from the real allocation
815 2008-03-27 Michael Natterer <mitch@imendio.com>
817 Fixes: NB#81696: The passcode is not overwritten even after
820 * src/hildon-code-dialog.c
821 (hildon_code_dialog_button_clicked)
822 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
823 because that doesn't overwrite selected text. Instead, emit the
824 "commit" signal on the entry's im_context so the entry's normal
825 insert logic is triggered. Set the cursor to the end of the entry
826 after each insert operation so that we *only* insert in the middle
827 of the text if something was selected.
829 2008-03-27 Michael Natterer <mitch@imendio.com>
831 Enable fixing: NB#79916 and NB#79918: The help topic for Color
832 selector cannot be opened
834 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
835 when the popup color selector is created. Please connect to this
836 signal in order to set the dialog's help ID.
838 2008-03-25 Sven Herzberg <sven@imendio.com>
840 Fixes: MB#1212: Hide info banners (infoprints) on click
842 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
843 extracted the close event simulation into an extra function
844 (hildon_banner_button_press_event): simulate a close event and destroy
845 the widget if the event wasn't handled
846 (hildon_banner_class_init): added the button_press_event handler
847 (hildon_banner_init): added button-press events to the widget
849 2008-03-25 Sven Herzberg <sven@imendio.com>
851 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
852 Patch from: Mohammad Anwari <mdamt@maemo.org>
854 * src/hildon-banner.c: let the HildonBanners pop up on the left side
855 instead of the right in RTL mode
856 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
857 breadcrumb button list in RTL mode
858 * src/hildon-caption.c: mirror the appearance of the caption widget in
860 * src/hildon-date-editor.c: mirror appearance of the date editor in
862 * src/hildon-time-editor.c: mirror appearance of the time editor in
864 * src/hildon-window.c: fix the position of the popup in RTL mode
866 2008-03-25 Sven Herzberg <sven@imendio.com>
868 Amendment to the fix of NB#22072. Fix compilation.
870 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
872 2008-03-19 Sven Herzberg <sven@imendio.com>
874 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
877 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
878 timeout id properly when the timeout will disappear this leaves no
879 artifacts around in the destroy(); there will only be the timeout
880 created by hildon_banner_ensure_timeout() and adding a new timeout
881 will also work if the timeout gets removed because the timeout_handler
884 2008-03-19 Michael Natterer <mitch@imendio.com>
886 Fixes: NB#79791: Cannot set focus to Master volume using stylus
888 * src/hildon-volumebar.c
889 * src/hildon-vvolumebar.c
890 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
891 the widget becomes focussable at all.
893 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
894 set the focus to wither the mute button or the volumebar.
896 Remove own "can-focus" property and instead listen to
897 notify::can-focus in order to update the widget's state.
899 Implement GtkWidget::focus() and make sure we can also *leave* the
900 widget, not only enter it, depending on volumebar orientation and
901 requested focus direction.
903 Clean up set_mute() to cooperate nicely with all the above.
905 2008-03-04 Michael Natterer <mitch@imendio.com>
907 Fixes: NB#78481: information banners are hidden under browser menu
909 * src/hildon-banner.c: call gtk_window_present() on the banners so
910 they are risen if they are already visible.
912 2008-03-03 Sven Herzberg <sven@imendio.com>
914 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
916 * examples/hildon-window-menu-example.c: (main): extended the window
917 menu example to serve as a testcase for automatically added
918 accelerator groups, too
919 * src/hildon-window.c: (hildon_window_add_accel_group),
920 (hildon_window_set_menu): added patch by Tommi Komulainen
922 2008-03-03 Sven Herzberg <sven@imendio.com>
924 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
926 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
927 knowledge about the border allocators used within GTK+
929 2008-02-26 Sven Herzberg <sven@imendio.com>
931 Fixes: MB#2981: Build with asserts broken
933 * src/hildon-date-editor.c,
934 * src/hildon-number-editor.c,
935 * src/hildon-time-editor.c,
936 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
937 the proper GType instance check
939 2008-02-25 Sven Herzberg <sven@imendio.com>
941 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
943 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
944 * examples/hildon-window-menu-example.c: (main): explicitly show
946 * src/hildon-window.c:
947 (hildon_window_set_main_menu): moved most of the code from set_menu()
948 to this place; skipped the call to gtk_widget_show_all(); also didn't
949 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
950 (hildon_window_set_menu): removed most of the code, just keep the
951 questionable gtk_widget_show_all()
952 * src/hildon-window.h: added the new function and deprecate the old
955 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
961 * debian/changelog: Updating.
963 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
966 * pkgconfig/Makefile.am:
967 * pkgconfig/hildon.pc.in:
970 Do not use PACKAGE_VERSION_MAJOR as the API revision,
971 use newly created API_MAJOR_VERSION.
973 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
979 * debian/changelog: Updating.
981 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
983 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
985 Add outer_border style property, we use it but don't define it (!).
989 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
991 * examples/hildon-bread-crumb-trail-example.c (main):
995 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
997 Fix logic for the bread crumb trail node removal.
1001 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1007 * debian/changelog: Updating.
1009 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1011 Patch by Alejandro to get/set passwords dialogs accesibility.
1013 * hildon-1/src/hildon-get-password-dialog.c:
1014 * hildon-1/src/hildon-set-password-dialog.c:
1015 Set atk_set_name to the passwd entries in order to allow
1016 accessibility by name on this entries.
1018 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1023 * debian/control: Updating gtk dep.
1025 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
1027 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1028 USE_MAEMO_GTK is enabled.
1030 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
1032 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1033 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1035 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1041 * debian/changelog: Updating.
1043 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1045 * examples/Makefile.am:
1046 * examples/hildon-logical-color-example.c:
1047 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1048 applied + adding a test case. Fixes: NB#71660.
1050 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
1052 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1053 to be visible, fixes warning on map for windows without toolbars.
1055 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1057 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1058 2.11.0, add a check for that besides the MAEMO_GTK check.
1060 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1066 * debian/changelog: Updating.
1068 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1070 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1071 visibility. Fixes: NB#70842 and MB#615.
1073 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1075 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1076 set the separator as no-show-all so it doesn't unintentionally appear when
1077 someone does a show_all.
1079 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1081 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1082 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1083 toplevel item. Fixes: NB#62031
1085 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1087 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1088 fix the name of the function in the docs.
1090 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1096 * debian/changelog: Updating.
1098 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1100 * examples/hildon-banner-long-example.c: Adding a test-case for long
1103 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1105 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1107 * src/hildon-color-chooser-dialog.c:
1108 * src/hildon-color-chooser.c:
1109 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1110 memory leaks in font selector and color selector. Fixes: NB#70499 and
1113 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1115 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1117 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1119 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1120 little bit bigger. Fixes: #NB63694.
1122 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1128 * debian/changelog: Updating.
1130 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1133 * doc/hildon-docs.sgml:
1134 * doc/images/bread-crumb-trail.png:
1135 * doc/images/calendar-popup.png:
1136 * doc/images/caption.png:
1137 * doc/images/code-dialog.png:
1138 * doc/images/color-button.png:
1139 * doc/images/color-chooser-dialog.png:
1140 * doc/images/color-chooser.png:
1141 * doc/images/controlbar.png:
1142 * doc/images/date-editor.png:
1143 * doc/images/font-selection-dialog.png:
1144 * doc/images/get-password-dialog.png:
1145 * doc/images/hvolumebar.png:
1146 * doc/images/login-dialog.png:
1147 * doc/images/note.png:
1148 * doc/images/number-editor.png:
1149 * doc/images/range-editor.png:
1150 * doc/images/seekbar.png:
1151 * doc/images/set-password-dialog.png:
1152 * doc/images/sort-dialog.png:
1153 * doc/images/time-editor.png:
1154 * doc/images/time-picker.png:
1155 * doc/images/vvolumebar.png:
1156 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1157 Adding the bread-crumb-trial and helpers to the documentation.
1159 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1161 * examples/hildon-find-toolbar-example.c:
1162 * src/hildon-find-toolbar.c:
1163 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1164 actually continue firing the other handlers if connected. Adding a new
1166 hildon_find_toolbar_get_last_index that gets the index of the most
1167 recently added (last) item. Fixes: NB#52301.
1169 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1171 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1172 behaviour. Fixes: NB#68610.
1174 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1176 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1179 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1181 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1182 when realizing the banner. Should make the infonbanner effect a bit more
1185 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1187 * src/hildon-volumebar.c:
1188 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1189 hildon_volumebar_set_range_insensitive_message and
1190 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1192 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1194 * src/hildon-window.c: Fixing the border freeing on destroy.
1196 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1198 * src/hildon-code-dialog-private.h:
1199 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1200 kw keyboard support in HildonCodeDialog.
1202 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1208 * debian/changelog: Updating.
1210 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1212 * src/hildon-date-editor.c:
1213 * src/hildon-number-editor.c:
1214 * src/hildon-private.c:
1215 * src/hildon-private.h:
1216 * src/hildon-time-editor.c:
1217 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1218 handling in subclassed composite widgets. Fixes: NB#66628.
1220 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1222 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1223 from destroy_ callback as it introduces problems in async dbus signal
1224 handlers. Fixes NB#66673.
1226 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1228 * examples/hildon-hvolumebar-example.c:
1229 * src/hildon-volumebar.c: Improving the focus handling in the
1230 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1231 set_property accessor so that "mute" property can be actually set. I'm
1232 scared that nobody noticed it's totally broken.
1234 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1236 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1239 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1241 * src/hildon-calendar.c:
1242 * src/hildon-number-editor.c:
1243 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1244 matches the spec of 6 chars per second. Fixes: NB#60489.
1246 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1248 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1249 gtk_style_lookup_color sometime returns FALSE even though color was
1250 found and values were filled properly. Weird. Removing the warning for the
1253 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1255 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1256 expand vertically. Adding some extra space to the find toolbar buttons to
1257 make them thumbable. Fixes NB#66060.
1259 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1261 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1262 popup with "Ok" and "Cancel". Fixes NB#59299.
1264 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1266 * src/hildon-calendar.c: Process all window updates before executing next
1267 timeout. Fixes: NB#54146.
1269 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1275 * debian/changelog: Updating.
1277 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1279 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1280 the client event and ignore it, since we use the delete event to close
1283 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1285 * src/hildon-helper.c: Remove the bogus warning about color not being
1286 found. Fixes NB#58352.
1288 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1290 * examples/Makefile.am:
1291 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1292 HildonSeekbar widget inside a toolbar.
1294 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1296 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1297 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1298 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1299 don't want to be closed by non-temporary windows on map.
1301 Also use G_DEFINE_TYPE instead of manually typed code.
1303 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1310 * debian/rules: Updating.
1312 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1314 * examples/Makefile.am:
1315 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1316 bug NB#61128. Strangely it works.
1318 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1320 * src/hildon-date-editor.c: When the date editor entry has been changed
1321 but the numbers of characters < max, turn off the skip validation flag.
1322 Prevents a situation when we enter first a valid year and later re-write
1323 it with an invalid one. Fixes NB#60154.
1325 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1327 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1328 code dialog. Fixes NB#64355.
1330 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1332 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1333 switching the page. Fixes NB#49374.
1335 * examples/Makefile.am:
1336 * examples/hildon-wizard-dialog-example.c: Adding an example for
1337 HildonWizardDialog that shows how to handle manual sensitivity setting on
1340 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1344 * src/hildon-version.h.in:
1345 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1347 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1349 * src/hildon-volumebar.c: Updating the docs.
1351 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1357 * debian/changelog: Updating.
1359 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1361 * src/hildon-find-toolbar.c:
1362 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1363 selected item: hildon_find_toolbar_set_active,
1364 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1365 hildon_find_toolbar_get_active_iter . They correspond to respective
1366 GtkComboBox functions.
1368 * examples/Makefile.am:
1369 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1372 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1374 * examples/Makefile.am:
1375 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1378 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1379 when font size > 32 and we pack a focusable widget inside. Actually using
1380 the default response would work too, but since we don't show default
1381 response state in any way (no theming) it would not be visible to the
1382 user. Fixes NB#63430.
1384 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1386 * src/hildon-date-editor.c: Adding the missing variable setter in the
1387 set_property handler. Fixes NB#54182.
1389 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1391 * src/hildon-window.h: Changing the long key press time from 1500ms to
1392 800ms as requested in NB#63700. I have a bad feeling about this, let's
1393 see... Fixes NB#63700.
1395 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1397 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1398 hildon_time_picker_map, hildon_time_picker_realize,
1399 hildon_time_picker_style_set): Split the contents of map to more
1400 appropriate functions; set window decorations on realize and update
1401 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1403 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1408 * debian/changelog: Updating.
1410 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1412 * src/Makefile.am: fixed installation of the header files
1414 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1420 * debian/changelog: Updating.
1422 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1424 * configure.ac: Removing some remaining of --enable-xan.
1426 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1428 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1429 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1431 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1432 2.10.12-osso6 because the move-focus signal needs to be available in
1435 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1437 * examples/Makefile.am:
1438 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1439 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1440 fine. Prolly NB#61128 is fixed now.
1442 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1444 * src/hildon-volumebar.c:
1445 * src/hildon-volumebar.h: Adding the
1446 hildon_volumebar_set_range_insensitive_message and
1447 hildon_volumebar_set_range_insensitive_messagef functions to set
1448 insensitive message on the slider of the volumebar. Fixes NB#61129.
1450 * examples/Makefile.am:
1451 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1452 test the new insensitive messsage functionality on HildonVolumebar.
1454 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1456 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1459 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1461 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1462 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1463 button on after clearing the trail.
1465 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1467 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1469 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1471 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1472 by splitting the installed headers in generated and non-generated groups. Use
1473 only the non-generated headers to create the hildon-enum-types.h file.
1475 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1477 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1479 * src/hildon-window.c: Hide the window before performing the destroy.
1480 Should make the app closing a little tiny bit more snappy.
1482 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1484 * src/hildon-seekbar.c: add gtkrange.h header
1485 * src/hildon-caption.c: remove unused variable
1487 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1489 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1492 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1498 * debian/changelog: Updating.
1500 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1502 * src/hildon-window.c (hildon_window_window_state_event,
1503 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1504 escape timeout on focus-out-event rather than notify::is-topmost; the
1505 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1507 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1509 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1510 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1512 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1514 * src/hildon-window: actually, you need to use the macro always, there's
1515 no private pointer in the instance structure. We should have cleaned this up
1516 when we had the chance...
1518 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1520 * src/hildon-window.c: do not get the private date from HildonWindow before
1521 it passes the g_return_if_fail check. Once it's passed the test, there's no
1522 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1523 if you are only going to access the data once. Whitespace cleanups.
1525 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1527 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1528 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1530 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1536 * debian/changelog: Updating.
1538 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1540 * src/hildon-window.c: When destroying the window, remove (if exists) the
1541 escape timeout handler. Fixes #NB59276.
1543 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1545 * src/hildon-banner.c: When realizing the widget, set the window
1546 transiency. Setting the transiency in the gobject constructor is not
1547 good, as the widget is not realized at that point. Fixes: #NB56624.
1549 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1551 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1552 Add padding for future expansions.
1554 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1556 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1557 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1558 will fake an activation on the previous to the last item of the trail, so
1559 the effect can be overrided by the developer as usual.
1560 Also change the callback for the back button to do the same thing, so its
1561 effect can be overrided too. Fixes: NB#58982
1563 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1565 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1566 HildonCaption. Fixes NB#52379.
1568 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1570 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1571 the internal state of the trail after the user has had the chance of executing
1572 his handler for the signal. Specifically, it may happen that the activated button
1573 is removed and the user still lets the default handler run. This would segfault
1576 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1578 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1579 scrollbar to the preview dialog. Fixes NB#54147.
1581 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1583 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1584 max/min year properties can be altered, so the client can modify it
1585 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1587 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1589 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1590 hildonlike by default. Fixing a problem with disappearing arrows when
1591 scrolling through months and years. Fixes NB#54127.
1593 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1595 * examples/hildon-date-editor-example.c: Adding error callback to the date
1598 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1604 * configure.ac: Updating.
1606 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1608 * configure.ac: Adding a special '--enable-xan' configure option that
1609 turns off the -Werror compilation setting. Usefull for development.
1611 * src/hildon-calendar.c:
1612 * src/hildon-number-editor.c:
1613 * src/hildon-time-picker.c: Adding the 5* multiplier to
1616 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1618 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1619 instead of g_object_ref + gtk_object_sink.
1621 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1627 * debian/changelog: Updating.
1629 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1631 * src/hildon-color-chooser-dialog.c:
1632 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1633 straight from Tommi labs.
1635 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1637 * examples/hildon-finger-example.c: Correcting the header file path.
1639 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
1640 the changed signal. Fixes a small memory leak.
1642 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1646 * src/hildon-banner.c: Importing several usefull fixes from the
1647 ubuntu-mobile branch.
1649 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1651 * examples/Makefile.am:
1652 * examples/hildon-finger-example.c: Adding a finger-checking code
1655 * src/hildon-font-selection-dialog.c: Do not allocate the color
1656 structure using the g_new. Fixes NB#54061.
1658 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1660 * src/hildon-helper.c: Correcting tabs in file.
1662 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
1664 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1665 control the visibility of the children.
1667 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1669 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1675 * debian/changelog: Updating.
1677 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1679 * src/hildon-bread-crumb-trail.c:
1680 (hildon_bread_crumb_trail_size_allocate):
1682 Make the back button always a square.
1684 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1686 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1687 from the .c file as it's a private file.
1689 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1691 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1692 uses slightly bigger height.
1694 * src/hildon-font-selection-dialog.c: Adding some checks before
1695 freeing memory in the font selection dialog.
1697 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1699 * src/hildon-font-selection-dialog.c: Adding a small check when
1702 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1703 buttons sensitivity on page switching.
1705 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
1707 * src/hildon-bread-crumb-trail.c: make the add method handle all the
1708 internal details of adding a bread crumb to the trail.
1710 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1716 * debian/changelog: Updating.
1718 * src/hildon-bread-crumb-trail.h:
1719 * src/hildon-bread-crumb.h: Changing the API guard to
1720 HILDON_ENABLE_UNSTABLE_API.
1722 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1730 * src/hildon-helper.h: Updating.
1732 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1740 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1744 * src/hildon-helper.h: Small fix to make the package actually compile.
1746 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1748 * src/hildon-bread-crumb-trail.h:
1749 * src/hildon-bread-crumb.h:
1751 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1752 to define ENABLE_UNSTABLE_API in the code that includes these headers.
1754 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1756 * examples/hildon-bread-crumb-trail-example.c:
1758 * src/hildon-bread-crumb-trail.c:
1759 * src/hildon-bread-crumb-trail.h:
1760 * src/hildon-bread-crumb.c:
1761 * src/hildon-bread-crumb.h:
1762 * src/hildon-marshalers.list:
1763 * src/hildon-bread-crumb-widget.c:
1764 * src/hildon-bread-crumb-widget.h:
1766 Slight change in the widget design. The bread crumb trail API is
1767 unchanged, but HildonBreadCrumb is now an interface. A *private*
1768 implementation, hildon-bread-crumb-widget, is provided and used
1769 internally by the trail for the push_text/push_icon functions.
1771 The generic push API is still available, so anyone can implement
1772 and use its own bread crumb widget.
1774 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1776 * debian/rules: Fixing the shlibs.
1778 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1780 * src/hildon-banner.c: Fixing a problem with timed banners having
1781 their parrent destroyed before they are.
1783 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
1785 * src/hildon-bread-crumb.c:
1786 * src/hildon-bread-crumb.h:
1788 Make the get_natural_size function a vfunc.
1790 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1792 * src/hildon-bread-crumb.c:
1793 * src/hildon-bread-crumb-trail.c:
1797 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1804 * debian/changelog: Updating for release.
1806 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1808 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1809 don't leak the pango layout.
1811 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1814 * examples/hildon-bread-crumb-trail-example.c:
1818 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1820 * debian/changelog: Removing the bug-fixed entries that were actually
1821 resolved as WONTFIX.
1823 * src/hildon-date-editor.c: Removing a redundant check. Fixes
1826 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1828 * src/hildon-bread-crumb-trail.c:
1829 * src/hildon-bread-crumb-trail.h:
1830 * src/hildon-bread-crumb.c:
1831 * src/hildon-bread-crumb.h:
1835 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1837 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1838 until it's passed the type check.
1840 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1842 * examples/hildon-bread-crumb-trail-example.c
1846 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1848 * examples/Makefile.am
1849 * examples/hildon-bread-crumb-trail-example.c
1851 * src/hildon-bread-crumb-trail.c
1852 * src/hildon-bread-crumb-trail.h
1853 * src/hildon-bread-crumb.c
1854 * src/hildon-bread-crumb.h
1856 New HildonBreadCrumbTrail widget.
1858 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
1860 * src/hildon-range-editor.c (hildon_range_editor_init),
1861 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1862 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1863 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1864 hildon_time_editor_class_init, hildon_time_editor_init),
1865 src/hildon-get-password-dialog.c (invalid_input,
1866 hildon_get_password_set_property, hildon_get_password_get_property,
1867 create_contents, hildon_get_password_dialog_set_max_characters),
1868 src/hildon-set-password-dialog.c (create_contents),
1869 src/hildon-date-editor.c (hildon_date_editor_init),
1870 src/hildon-login-dialog.c (hildon_login_dialog_init),
1871 src/hildon-number-editor.c (hildon_number_editor_init),
1872 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1873 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1874 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1875 configure option and adding the respective checks in the code.
1876 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1877 hildon_calendar_drag_data_received): fixed some build warnings.
1879 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1881 * debian/changelog: A 1.0.0 release notes.