| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.
Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.
libemail-utils/libemail-utils.la
libevolution-utils/libevolution-utils.la
filter/libfilter.la
widgets/e-timezone-dialog/libetimezonedialog.la
widgets/menus/libmenus.la
widgets/misc/libemiscwidgets.la
widgets/table/libetable.la
widgets/text/libetext.la
This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.
And finally, start a Gtk-Doc module for libeutil. It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
|
|
|
|
|
| |
Documentation claims this step is unnecessary with GtkStyleContext,
and indeed the current gtk_style_attach() code does nothing at all.
|
|
|
|
|
|
|
| |
Use gdk_device_grab() and gdk_device_ungrab() instead.
In some cases this requires stashing the grabbed device so it can be
ungrabbed outside of an GdkEvent handler.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prefer dealing with GdkEvent pointers and using accessor functions like
gdk_event_get_button().
This is complicated by the fact that some GtkWidget method declarations
still use GdkEventButton pointers, and synthesizing button events pretty
much requires direct GdkEventButton access. But GDK seems to be nudging
itself toward sealing the GdkEvent union. Likely to happen in GDK4.
Mainly clean up signal handlers and leave method overrides alone for now.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to [1], we don't need to worry about GDK's global lock since
we don't call gdk_threads_init() or gdk_threads_set_lock_functions().
The GDK threads API is being aggressively deprecated by GTK+ developers
so let's just abandon it entirely. I've never really understood when
you're supposed to use it or not use it anyway, so it's good to be rid
of this confusion.
[1] https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00005.html
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Mostly coding style and whitespace changes, to reduce diff noise.
|
| |
|
|
|
|
|
| |
No need to use magic visuals and colormaps anymore, we're all cairo
these days.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Instead of hacky magic, we now use cairo and a naïve implementation of
tweening.
|
|
|
|
|
|
|
| |
Way easier than to try to get the coordinates right.
Includes refactoring to introduce e_map_world_to_render_surface() that
computes coordinates on the background surface to make this stuff
easier.
|
|
|
|
| |
... and use it when zooming out
|
|
|
|
| |
Nothing but a massive code cleanup
|
|
|
|
|
|
|
| |
The in_view() check is broken because it doesn't repaint points that are
1px outside the window. The point take 2 extra pixels in every direction
after all. And gtk_widget_queue_draw_area() will automatically discard
out-of-range rects anyway.
|
|
|
|
| |
Doing performance optimizations on the client is not a good idea...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The signal handler will no-op the operations anyway, because nothing
changed.
|
|
|
|
|
| |
For the zoom, we now use the long-deprecated gtk_widget_draw() to force
repaints.
|
|
|
|
| |
We cannot move parts of the window with GTK3 APIs, so stop doing it.
|
|
|
|
|
|
|
| |
Remove GtkObject::destroy() handler. Move disconnecting
signal handlers to e_map_finalize().
https://bugzilla.gnome.org/show_bug.cgi?id=630766
|
|
|
|
|
|
|
| |
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.
I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
|
| |
|
|
|
|
|
|
|
| |
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.
This is just a start... lots more to do.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp
The GtkAssistant fields are related to bug #596428. We don't
need accessor functions so much as the enhancement described
there implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=615613
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The function is deprecated in GTK+ now. Looks like it was just an
optimization anyway -- the map seems to work fine without it -- but I
left the logic intact in case I'm wrong.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
|
|
|
|
|
|
| |
More changes to come.
svn path=/trunk/; revision=36247
|
|
|
|
| |
svn path=/trunk/; revision=35665
|
|
|
|
|
|
|
|
|
|
| |
2008-06-06 Matthew Barnes <mbarnes@redhat.com>
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637)
svn path=/trunk/; revision=35606
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #529641
* widgets/e-timezone-dialog/e-timezone-dialog.glade:
* widgets/e-dateedit.c (create_children):
* widgets/e-map.c (e_map_new):
Prefer the term "drop-down combination box" to "combo box" per the
GNOME Documentation Style Guide.
svn path=/trunk/; revision=35402
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-29 Kjartan Maraas <kmaraas@gnome.org>
* e-activity-handler.c: (e_activity_handler_new):
* e-canvas.c: (e_canvas_new), (emit_event), (pick_current_item),
(e_canvas_button):
* e-combo-button.c: (menu_detacher), (impl_destroy),
(impl_button_press_event):
* e-combo-cell-editable.c: (e_combo_cell_editable_new):
* e-expander.c: (e_expander_init), (e_expander_size_request),
(e_expander_size_allocate), (e_expander_button_press),
(e_expander_focus):
* e-gui-utils.c: (e_popup_menu),
(e_container_change_tab_order_callback):
* e-image-chooser.c: (image_drag_data_received_cb):
* e-info-label.c: (e_info_label_new):
* e-map.c: (e_map_key_press), (e_map_new), (update_render_pixbuf),
(blowup_window_area), (zoom_do), (set_scroll_area):
* e-pilot-settings.c: (e_pilot_settings_get_source):
* e-printable.c: (e_printable_will_fit):
* e-reflow.c: (items_inserted), (model_changed), (set_empty),
(e_reflow_event), (e_reflow_draw):
* e-search-bar.c: (set_option):
* e-search-bar.h:
* e-unicode.c: (e_xml_get_translated_utf8_string_prop_by_name):
Warning fixes:
- NULL vs 0 vs FALSE
- ANSIfication of function declarations.
- Use non-deprecated GSignal functions
- Don't mix different enum types
svn path=/trunk/; revision=34466
|
|
|
|
|
|
|
|
|
|
| |
2007-09-02 Matthew Barnes <mbarnes@redhat.com>
* Update FSF address in header comments (#469886).
Patch from Tobias Mueller.
svn path=/trunk/; revision=34151
|
|
|
|
| |
svn path=/trunk/; revision=33432
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
* mail/em-migrate.c (emm_setup_initial):
* shell/e-component-registry.c (query_components):
* shell/e-shell-settings-dialog.c (load_pages):
* shell/e-shell-window-commands.c (command_quick_reference):
* tools/killev.c (main):
Use g_get_language_names() instead of gnome_i18n_get_language_list().
* e-util/e-util.c: Remove e_gettext().
* e-util/Makefile.am: Remove e-i18n.h.
svn path=/trunk/; revision=33319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #352450
* misc/e-canvas-background.c:
* misc/e-cursors.c:
* misc/e-map.c:
* misc/e-reflow.c:
* misc/e-task-widget.c:
* misc/gal-combo-box.c:
* table/e-cell-text.c:
* table/e-cell-toggle.c:
* table/e-table-field-chooser-item.c:
* table/e-table-field-chooser.c:
* table/e-table-header-item.c:
* table/e-table-header-utils.c:
* table/e-table-item.c:
* table/e-table.c:
* table/e-tree-memory.c:
* table/e-tree-sorted.c:
* table/e-tree.c:
* table/e-text.c:
Replace deprecated GLib and GDK function calls.
svn path=/trunk/; revision=32783
|
|
|
|
|
|
|
|
|
|
| |
2006-06-07 Federico Mena Quintero <federico@novell.com>
* e-map.c (e_map_class_init): Don't use gtk_signal_new() for the
set_scroll_adjustments signal, and use the correct marshaler.
Fixes bug #331743.
svn path=/trunk/; revision=32091
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-30 Kjartan Maraas <kmaraas@gnome.org>
* e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point):
* menus/gal-view-menus.c:
* misc/e-attachment-bar.c: (calculate_height_width),
(update_remote_file), (e_attachment_bar_get_attachment),
(class_init):
* misc/e-attachment.c: (async_progress_update_cb),
(download_to_local_path):
* misc/e-calendar-item.c: (e_calendar_item_get_arg),
(e_calendar_item_realize), (e_calendar_item_ensure_days_visible):
* misc/e-calendar.c: (e_calendar_drag_motion),
(e_calendar_drag_leave), (e_calendar_focus):
* misc/e-canvas-background.c: (ecb_get_property):
* misc/e-canvas.c: (e_canvas_class_init), (pick_current_item):
* misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup),
(e_cell_date_edit_show_popup):
* misc/e-cell-percent.c:
* misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate):
* misc/e-config-page.c: (e_config_page_class_init):
* misc/e-dateedit.c: (e_date_edit_set_date),
(e_date_edit_set_date_and_time_of_day),
(on_date_popup_date_selected):
* misc/e-dropdown-button.c: (e_dropdown_button_class_init):
* misc/e-expander.c: (get_expander_bounds), (e_expander_expose),
(is_in_expander_panel):
* misc/e-filter-bar.c: (option_changed), (build_items):
* misc/e-image-chooser.c: (e_image_chooser_init),
(image_drag_data_received_cb):
* misc/e-map.c: (e_map_size_allocate), (e_map_button_press),
(e_map_button_release), (e_map_motion), (e_map_zoom_to_location),
(e_map_zoom_out), (update_render_point), (repaint_point),
(zoom_in_smooth):
* misc/e-multi-config-dialog.c: (impl_response):
* misc/e-reflow.c: (e_reflow_realize), (e_reflow_event):
* misc/e-search-bar.c: (clear_search), (search_now_verb_cb),
(entry_activated_cb), (activate_button_clicked_cb),
(clear_button_clicked_cb):
* misc/e-selection-model.c: (e_selection_model_key_press):
* misc/e-send-options.c: (delay_until_date_changed_cb),
(e_sendoptions_get_need_general_options):
* misc/e-unicode.c: (e_stripped_char):
* table/e-cell-progress.c: (eprog_draw_border), (eprog_draw),
(eprog_event):
* table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus),
(ecsb_unfocus), (ecsb_dispose):
* table/e-cell-text.c: (ect_draw), (ect_show_tooltip):
* table/e-cell-toggle.c: (etog_draw), (etog_event):
* table/e-cell-tree.c: (ect_max_width):
* table/e-cell-vbox.c:
* table/e-table-click-to-add.c: (etcta_event):
* table/e-table-config.c: (create_global_store):
* table/e-table-field-chooser-dialog.c:
* table/e-table-field-chooser-item.c: (etfci_find_button),
(etfci_reflow), (etfci_get_property), (etfci_realize):
* table/e-table-field-chooser.c:
(e_table_field_chooser_class_init):
* table/e-table-group-container.c: (etgc_unrealize):
* table/e-table-group.c: (e_table_group_new):
* table/e-table-header-item.c: (e_table_header_item_get_height),
(ethi_realize), (ethi_event):
* table/e-table-header-utils.c: (e_table_draw_elided_string),
(e_table_header_draw_button):
* table/e-table-item.c: (eti_set_property), (eti_get_property),
(eti_draw), (eti_event), (eti_cursor_change):
* table/e-table-scrolled.c: (e_table_scrolled_class_init):
* table/e-table-search.c:
* table/e-table-sort-info.c: (e_table_sort_info_save_to_node):
* table/e-table.c: (table_canvas_reflow_idle),
(table_canvas_size_allocate), (canvas_vbox_event),
(click_to_add_event), (do_drag_motion), (e_table_class_init):
* table/e-tree-scrolled.c: (e_tree_scrolled_class_init):
* table/e-tree.c: (tree_canvas_reflow_idle),
(tree_canvas_size_allocate), (e_tree_drag_get_data),
(do_drag_motion), (e_tree_class_init):
* text/e-text.c: (e_text_set_property), (e_text_draw),
(_do_tooltip), (primary_clear_cb), (_get_position),
(e_text_command): Tons of cleanups of the following sort:
- remove unused vars
- remove extraneous semi-colons
- add some comments where assignments were done without using
the results later
- remove break; statements after return foo;
- add casts in some places to be more type correct
- rename variables with name clashes
- s/if/ifdef in some cases
- mark some code static
- remove some unused functions
- use guint for 1-bit bitfields
svn path=/trunk/; revision=31371
|
|
|
|
|
|
|
|
| |
2005-12-18 Tor Lillqvist <tml@novell.com>
* e-map.c: Construct map file name at run-time.
svn path=/trunk/; revision=30865
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-28 Li Yuan <li.yuan@sun.com>
* e-timezone-dialog/e-timezone-dialog.glade:
Add a name for timezone combox.
* misc/e-calendar.c: (e_calendar_init), (e_calendar_new):
Make accessibility name and description translatable.
Add a atk name for the two buttons so that they can be UI
grabbed by GOK.
* misc/e-dateedit.c: (e_date_edit_new), (create_children):
Add a name for atk object.
Make accessibility name and description translatable.
Add name and description for the date_entry, date_button
and time_combo.
(e_date_edit_show_date_popup), (hide_date_popup):
Grab and ungrab keyboard.
add_relation():
New function to add labelled_by relation for entry
and combobox.
* misc/e-map.c: (e_map_new):
Add a name for world map widget.
Make accessibility name and description translatable.
Set the atk role to image.
* misc/e-multi-config-dialog.c: (e_multi_config_dialog_add_page):
Add an atk name for the page.
svn path=/trunk/; revision=27776
|
|
|
|
|
|
|
|
|
| |
* e-map.c (e_map_destroy): Use
g_signal_handlers_disconnect_by_func since
gtk_signal_disconnect_by_data doesn't seem to work right.
(e_map_set_scroll_adjustments): Likewise.
svn path=/trunk/; revision=20052
|
|
|
|
|
|
|
|
|
|
| |
2002-11-27 Not Zed <NotZed@Ximian.com>
* e-charset-picker.c: Add include of gnome-dialog.h
* *.[ch]: ran fix.sh script over everything.
svn path=/trunk/; revision=18978
|
|
|
|
|
|
|
|
| |
pretty broken).
Weeeeee!
svn path=/trunk/; revision=18503
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-28 Damon Chaplin <damon@ximian.com>
* e-map.c: updated to new version from Ximian Setup Tools.
Fixes bug #7641.
2001-11-27 Damon Chaplin <damon@ximian.com>
* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
return the last valid date entered, even if the field is currently
empty. Fixes bug #15749.
svn path=/trunk/; revision=14817
|
|
|
|
| |
svn path=/trunk/; revision=14241
|
|
2001-06-14 Damon Chaplin <damon@ximian.com>
* e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools.
Hmm. Maybe it should go in gal, but its not a very general widget.
* Makefile.am (INCLUDES): defined MAP_DIR for e-map.c.
(libemiscwidgets_a_SOURCES): added e-map.[hc].
svn path=/trunk/; revision=10221
|