| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Not only is get_font_options() no longer needed, it's actually doing the
wrong thing by reading settings through GConfClient instead of GSettings.
But it turns out, thanks to the tighter Cairo integration in GTK3, the
widgets that call get_font_options() can be made to work correctly by
simply removing this hack. Love it when that happens.
|
| |
|
| |
|
|
|
|
|
| |
I thought this might be the cause of bug #643089.
Turns out it wasn't, but it's a good thing to do anyway.
|
|
|
|
|
| |
As of GLib 2.28 all GObject virtual methods, including constructed(),
are safe to chain up to unconditionally. Remove unnecessary checks.
|
|
|
|
| |
GCC learned how to find dead assignments.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplifies the drawing code a bit.
Public API removed:
GnomeCanvas.center_scroll_region (is always TRUE)
GnomeCanvas.pixels_per_unit (is always 1.0)
gnome_canvas_set_center_scroll_region()
gnome_canvas_get_center_scroll_region()
gnome_canvas_set_pixels_per_unit()
|
|
|
|
|
|
| |
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fill color properties should be write-only, not read-only.
|
| |
|
|
|
|
|
|
|
| |
- "color" and "color-gdk" properties aren't readable (Their values would
be wrong if an alpha channel was set).
- Use the rgba color when rendering
- Don't allocate the color in the colormap anymore.
|
| |
|
| |
|
|
|
|
|
| |
Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t
and no longer pass the clip_path (what was it used for anyway?).
|
| |
|
|
|
|
|
|
|
|
| |
Previously the function returned the distance to the nearest item. Now
it only returns an item that is hit. This slightly changes semantics
(button events are no longer dispatched to the nearest item, but only to
the item actually clicked on), but makes the code way simpler and
actually does what one would expect.
|
|
|
|
| |
It's never set, so just replace it with its default value 0 everywhere.
|
| |
|
|
|
|
| |
The anti-aliased code was never used, so remove it.
|
|
|
|
| |
gtk+-3.0 removed it for being "unused".
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
API was deprecated and removed in less than two hours! Sheesh!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Work around the issue of GnomeCanvasItem amending its own flags to
GtkObject::flags (which is sealed) by giving it its own flags field.
This breaks libgnomecanvas ABI and API, but I see no other way.
This commit didn't work the first time because gnome-pilot libraries
were still pulling in the system-wide libgnomecanvas, and that was
interfereing with our bundled version which has a different ABI.
But gnome-pilot integration was dropped in the previous commit, so
everything is now using the bundled libgnomecanvas.
|
|
|
|
|
|
|
| |
This reverts commit fd8b55edaa88906b588aa07d9eadcacd34a7a774.
Something in this commit seriously hosed ETable, making Evolution pretty
much unusable. Reverting this until I can track down the problem.
|
| |
|
| |
|
|
|
|
|
|
| |
Work around the issue of GnomeCanvasItem amending its own flags to
GtkObject::flags (which is sealed) by giving it its own flags field.
This breaks libgnomecanvas ABI and API, but I see no other way.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Several GtkWidget macros were recently deprecated.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Collect all shell modules into a new top-level 'modules' directory:
$(top_srcdir)/modules/addressbook
$(top_srcdir)/modules/calendar
$(top_srcdir)/modules/mail
Nothing is allowed to link to these, not plugins nor other modules.
THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.
- Mimic the libevolution-mail-shared library from master (except drop
the "shared" suffix) and have libevolution-mail-importers and all
mail-related plugins link to it.
- Discard the a11y subdirectories and have the files live alongside
their counterpart widgets.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
a11y/widgets/ea-combo-button.c
a11y/widgets/ea-combo-button.h
addressbook/gui/component/addressbook-component.c
addressbook/gui/component/addressbook-component.h
addressbook/gui/component/addressbook-view.c
addressbook/gui/component/addressbook-view.h
addressbook/gui/component/component-factory.c
addressbook/gui/widgets/e-addressbook-view.c
addressbook/gui/widgets/eab-contact-display.c
addressbook/gui/widgets/eab-gui-util.h
addressbook/gui/widgets/eab-menu.c
addressbook/gui/widgets/eab-menu.h
addressbook/gui/widgets/eab-popup-control.c
addressbook/gui/widgets/eab-popup-control.h
addressbook/gui/widgets/eab-popup.c
addressbook/gui/widgets/eab-popup.h
calendar/gui/cal-search-bar.c
calendar/gui/calendar-commands.c
calendar/gui/calendar-component.c
calendar/gui/comp-editor-factory.c
calendar/gui/comp-editor-factory.h
calendar/gui/control-factory.c
calendar/gui/dialogs/comp-editor.c
calendar/gui/e-cal-component-memo-preview.c
calendar/gui/e-cal-component-memo-preview.h
calendar/gui/e-calendar-table.c
calendar/gui/e-memo-table.c
calendar/gui/e-memos.c
calendar/gui/e-tasks.c
calendar/gui/gnome-cal.c
calendar/gui/gnome-cal.h
calendar/gui/itip-bonobo-control.c
calendar/gui/itip-bonobo-control.h
calendar/gui/main.c
calendar/gui/memos-component.c
calendar/gui/memos-control.c
calendar/gui/memos-control.h
calendar/gui/migration.c
calendar/gui/migration.h
calendar/gui/tasks-component.c
calendar/gui/tasks-control.c
calendar/importers/main.c
composer/Makefile.am
composer/e-composer-header-table.c
composer/e-composer-header.c
composer/e-composer-header.h
composer/e-composer-name-header.c
composer/e-composer-private.c
composer/e-composer-text-header.c
composer/e-msg-composer.c
composer/e-msg-composer.h
e-util/e-corba-utils.h
e-util/e-logger.c
e-util/e-logger.h
e-util/e-util-labels.c
e-util/e-util-labels.h
em-format/em-format.c
mail/Makefile.am
mail/e-mail-shell-migrate.c
mail/em-account-editor.c
mail/em-account-editor.h
mail/em-composer-prefs.c
mail/em-composer-utils.c
mail/em-composer-utils.h
mail/em-folder-browser.c
mail/em-folder-tree-model.c
mail/em-folder-tree.c
mail/em-folder-tree.h
mail/em-folder-utils.c
mail/em-folder-utils.h
mail/em-folder-view.c
mail/em-format-html-display.c
mail/em-format-html.c
mail/em-mailer-prefs.c
mail/em-mailer-prefs.h
mail/em-message-browser.c
mail/em-message-browser.h
mail/em-network-prefs.h
mail/em-popup.c
mail/em-utils.c
mail/importers/Makefile.am
mail/mail-component-factory.c
mail/mail-component.c
mail/mail-config-factory.c
mail/mail-config-factory.h
mail/mail-config.c
mail/mail-dialogs.glade
mail/mail-types.h
plugins/calendar-weather/calendar-weather.c
plugins/mail-account-disable/mail-account-disable.c
plugins/select-one-source/select-one-source.c
po/POTFILES.in
shell/e-component-registry.c
shell/e-component-registry.h
shell/e-component-view.c
shell/e-component-view.h
shell/e-corba-config-page.c
shell/e-corba-config-page.h
shell/e-shell-constants.h
shell/e-shell-settings-dialog.c
shell/e-shell-settings-dialog.h
shell/e-shell-window-commands.c
shell/e-shell-window.c
shell/e-shell.h
shell/e-sidebar.c
shell/e-sidebar.h
shell/e-user-creatable-items-handler.c
shell/e-user-creatable-items-handler.h
shell/es-menu.c
shell/es-menu.h
shell/evolution-component.h
shell/evolution-config-control.c
shell/evolution-config-control.h
shell/evolution-listener.c
shell/evolution-listener.h
shell/evolution-shell-component-utils.c
shell/evolution-shell-component-utils.h
shell/importer/evolution-importer-client.c
shell/importer/evolution-importer-client.h
shell/importer/evolution-importer-listener.c
shell/importer/evolution-importer-listener.h
shell/importer/evolution-importer.c
shell/importer/evolution-importer.h
shell/importer/evolution-intelligent-importer.c
shell/importer/evolution-intelligent-importer.h
shell/importer/intelligent.c
shell/main.c
shell/test/evolution-test-component.c
shell/test/evolution-test-component.h
widgets/menus/gal-view-instance.c
widgets/menus/gal-view-menus.c
widgets/menus/gal-view-menus.h
widgets/misc/Makefile.am
widgets/misc/e-activity-handler.c
widgets/misc/e-activity-handler.h
widgets/misc/e-charset-picker.c
widgets/misc/e-combo-button.c
widgets/misc/e-combo-button.h
widgets/misc/e-config-page.h
widgets/misc/e-dropdown-button.c
widgets/misc/e-dropdown-button.h
widgets/misc/e-filter-bar.c
widgets/misc/e-info-label.c
widgets/misc/e-info-label.h
widgets/misc/e-multi-config-dialog.c
widgets/misc/e-multi-config-dialog.h
widgets/misc/e-search-bar.c
widgets/misc/e-search-bar.h
widgets/misc/e-task-bar.c
widgets/misc/e-task-bar.h
widgets/misc/e-task-widget.c
widgets/misc/e-task-widget.h
widgets/misc/test-dropdown-button.c
widgets/misc/test-error.c
widgets/misc/test-info-label.c
widgets/table/e-table-example-1.c
|
| |/ |
|
| | |
|
|/
|
|
|
| |
There still left two things opened, search for KILL-BONOBO to find them.
One is in calendar's Makefile.am, one in composer.
|
|
|
|
|
|
| |
According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to
the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a
timeout in seconds is desired.
|
| |
|
|
|
|
|
|
|
|
| |
Stop including top-level libgnome[ui] headers -- <gnome.h>,
<libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>. Instead, include
specific header files so we can track them easier.
Also, remove several unshipped test programs. Mostly ETable stuff.
|
|
|
|
|
| |
Oops, last commit only included the -new- files.
This also removes EExpander, which is no longer used.
|
|
|
|
|
|
| |
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-25 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #576694
* widgets/table/e-cell-text.c (build_layout):
* widgets/text/e-text.c (reset_layout):
Handle absolute font sizes correctly.
svn path=/trunk/; revision=37474
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-14 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #571734
* widgets/text/e-text.c:
Remove unneeded #include <libart_lgpl/...>.
svn path=/trunk/; revision=37271
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #559041
* widgets/text/e-text.c (e_text_class_init):
Add translator comment for "im_context" property.
svn path=/trunk/; revision=36725
|
|
|
|
| |
svn path=/trunk/; revision=36641
|
|
|
|
| |
svn path=/trunk/; revision=36539
|
|
|
|
| |
svn path=/trunk/; revision=36313
|
|
|
|
|
|
| |
More changes to come.
svn path=/trunk/; revision=36247
|
|
|
|
| |
svn path=/trunk/; revision=36116
|
|
|
|
| |
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-06-03 Kjartan Maraas <kmaraas@gnome.org>
* text/e-text-model-test.c: (main):
* text/e-text-test.c: (main):
gdk_rgb_get_cmap -> gdk_rgb_get_colormap
svn path=/trunk/; revision=35589
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-25 Danny Baumann <dannybaumann@web.de>
** Fix for bug #529893
* widgets/misc/e-dateedit.c (create_children):
* widgets/misc/e-combo-cell-editable.c (build_popup):
* widgets/misc/e-cell-date-edit.c (e_cell_date_edit_init):
* widgets/table/e-table-header-item.c: (make_shaped_window_from_xpm):
* widgets/table/e-cell-combo.c: (e_cell_combo_init):
* widgets/table/e-cell-text.c: (ect_show_tooltip):
* widgets/text/e-text.c: (_do_tooltip):
* calendar/gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
Properly set type hints for popup windows.
svn path=/trunk/; revision=35416
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-19 Milan Crha <mcrha@redhat.com>
** Fix for bug #383438
* text/e-text.c: (e_text_point):
Report "mouse over" even with no text entered.
svn path=/trunk/; revision=35056
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-03 Matthew Barnes <mbarnes@redhat.com>
* pluginsattachment-reminder.c
(org_gnome_evolution_attachment_reminder):
Fix a compiler warning.
* widgets/text/e-text.c (update_im_cursor_position):
* widgets/text/e-text.c (e_text_get_cursor_locations):
Remove these unused functions to silence compiler warnings.
svn path=/trunk/; revision=34952
|
|
|
|
|
|
| |
(Cleanly remove pre-edit buffer on pressing backspace in day-view, for non-ascii characters as well)
svn path=/trunk/; revision=34809
|
|
|
|
|
|
|
|
|
| |
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #341085
* calendar/gui/e-day-view.c: (e_day_view_reshape_day_event):
Use 'x_offset' instead of changing event size when has icons.
* widgets/text/e-text.c: (get_bounds), (e_text_draw): Use 'x_offset' and
'y_offset' only for text drawing, not for changing bounds of EText.
svn path=/trunk/; revision=34504
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* e-timezone-dialog/e-timezone-dialog.c: (get_local_offset),
(get_local_timezone), (on_map_visibility_changed),
(on_map_button_pressed), (get_zone_from_point),
(e_timezone_dialog_set_timezone), (on_combo_changed):
* menus/gal-view-factory.c: (gal_view_factory_get_title):
* text/Makefile.am:
* text/e-text.c: (e_text_event), (popup_targets_received),
(next_word), (find_offset_into_line), (_get_position),
(e_text_class_init):
* text/e.entry.[ch]
* text/e-completion.[ch]
* text/e-text-model-uri.[ch]
* text/e-completion-view.[ch]
* text/e-completion-callbacks.[ch]
* text/e-completion-match.[ch]
* text/e-table-text-model.[ch]: Remove all of these. They
are now unused.
Warning fixes:
- NULL vs 0 vs FALSE
- ANSIfication of function declarations
svn path=/trunk/; revision=34468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-09 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #437579
* addressbook/conduit/address-conduit.c:
* addressbook/gui/component/addressbook-config.c:
* addressbook/gui/contact-editor/e-contact-editor.c:
* addressbook/gui/widgets/eab-gui-util.c:
* calendar/conduits/calendar/calendar-conduit.c:
* calendar/conduits/memo/memo-conduit.c:
* calendar/conduits/todo/todo-conduit.c:
* calendar/gui/dialogs/alarm-dialog.c:
* calendar/gui/dialogs/event-page.c:
* calendar/gui/dialogs/memo-page.c:
* calendar/gui/dialogs/task-page.c:
* calendar/gui/e-day-view-layout.c:
* calendar/gui/e-day-view-layout.h:
* calendar/gui/print.c:
* e-util/e-pilot-map.c:
* e-util/e-plugin.c:
* e-util/e-profile-event.c:
* e-util/e-signature.c:
* filter/filter-file.c:
* mail/e-searching-tokenizer.c:
* mail/em-folder-browser.c:
* mail/em-format-html.c:
* mail/em-format-view.c:
* mail/em-format.c:
* mail/em-mailer-prefs.c:
* mail/em-mailer-prefs.h:
* mail/mail-session.c:
* mail/mail-session.h:
* mail/mail-vfolder.c:
* mail/message-list.c:
* plugins/bbdb/bbdb.c:
* plugins/bbdb/gaimbuddies.c:
* plugins/calendar-http/calendar-http.c:
* plugins/exchange-operations/exchange-user-dialog.c:
* plugins/face/face.c:
* shell/e-shell-window.c:
* shell/e-shell.c:
* smime/lib/e-cert-db.c:
* tools/killev.c:
* widgets/misc/e-cursors.c:
* widgets/misc/e-spinner.c:
* widgets/misc/e-unicode.c:
* widgets/table/e-table-field-chooser-item.c:
* widgets/table/e-table-header-item.c:
* widgets/table/e-table-header-item.h:
* widgets/table/e-table-header-utils.c:
* widgets/table/e-table.c:
* widgets/text/e-text.c:
Fix various compiler warnings. Patch from Milan Crha.
svn path=/trunk/; revision=34368
|
|
|
|
|
|
|
| |
Use GObject's marshalers whenever possible.
svn path=/trunk/; revision=34324
|
|
|
|
|
|
|
|
|
|
| |
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=34142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #309166
* text/e-text.c (_get_updated_position): Modified the way movement
of cursor is handled across grapheme clusters.
* text/e-text.c (_get_position): Uses the new function for forward
and backward movement of characters (simple or grapheme clusters).
Patch by Mayank Jain.
svn path=/trunk/; revision=34083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #303878
* widgets/text/e-text.h: preedit_pos: new value.
* widgets/text/e-text.c: (e_text_get_cursor_locations):
New function. Get the cursor locations.
(update_im_cursor_position): New function.
Set the cursor location to IMContext.
(insert_preedit_text): Call update_im_cursor_position when draw
preedit text.
(e_text_preedit_changed_cb): Set the preedit cursor position to
preedit_pos.
Patch by Hiroyuki Ikezoe and makuchaku.
svn path=/trunk/; revision=34081
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fix for bug #455799
Remove all .cvsignore and update svn:ignore porperty in whole
directories.
svn path=/trunk/; revision=33945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
* e-util/e-util.h: Remove E_MAKE_TYPE macro.
* e-util/e-bit-array.c:
* e-util/e-sorter-array.c:
* e-util/e-sorter.c:
* e-util/e-text-event-processor-emacs-like.c:
* e-util/e-text-event-processor.c:
* widgets/menus/gal-define-views-dialog.c:
* widgets/menus/gal-define-views-model.c:
* widgets/menus/gal-view-collection.c:
* widgets/menus/gal-view-etable.c:
* widgets/menus/gal-view-factory-etable.c:
* widgets/menus/gal-view-factory.c:
* widgets/menus/gal-view-instance-save-as-dialog.c:
* widgets/menus/gal-view-instance.c:
* widgets/menus/gal-view-new-dialog.c:
* widgets/menus/gal-view.c:
* widgets/misc/e-canvas-background.c:
* widgets/misc/e-canvas-vbox.c:
* widgets/misc/e-canvas.c:
* widgets/misc/e-printable.c:
* widgets/misc/e-reflow-model.c:
* widgets/misc/e-reflow.c:
* widgets/misc/e-selection-model-array.c:
* widgets/misc/e-selection-model-simple.c:
* widgets/misc/e-selection-model.c:
* widgets/table/e-cell-checkbox.c:
* widgets/table/e-cell-combo.c:
* widgets/table/e-cell-date.c:
* widgets/table/e-cell-float.c:
* widgets/table/e-cell-hbox.c:
* widgets/table/e-cell-number.c:
* widgets/table/e-cell-pixbuf.c:
* widgets/table/e-cell-popup.c:
* widgets/table/e-cell-progress.c:
* widgets/table/e-cell-size.c:
* widgets/table/e-cell-spin-button.c:
* widgets/table/e-cell-text.c:
* widgets/table/e-cell-toggle.c:
* widgets/table/e-cell-tree.c:
* widgets/table/e-cell-vbox.c:
* widgets/table/e-cell.c:
* widgets/table/e-table-click-to-add.c:
* widgets/table/e-table-col.c:
* widgets/table/e-table-column-specification.c:
* widgets/table/e-table-column.c:
* widgets/table/e-table-config-field.c:
* widgets/table/e-table-config.c:
* widgets/table/e-table-extras.c:
* widgets/table/e-table-field-chooser-dialog.c:
* widgets/table/e-table-field-chooser-item.c:
* widgets/table/e-table-field-chooser.c:
* widgets/table/e-table-group-container.c:
* widgets/table/e-table-group-leaf.c:
* widgets/table/e-table-group.c:
* widgets/table/e-table-header-item.c:
* widgets/table/e-table-header.c:
* widgets/table/e-table-item.c:
* widgets/table/e-table-memory-callbacks.c:
* widgets/table/e-table-memory-store.c:
* widgets/table/e-table-memory.c:
* widgets/table/e-table-model.c:
* widgets/table/e-table-one.c:
* widgets/table/e-table-scrolled.c:
* widgets/table/e-table-search.c:
* widgets/table/e-table-selection-model.c:
* widgets/table/e-table-simple.c:
* widgets/table/e-table-sort-info.c:
* widgets/table/e-table-sorted-variable.c:
* widgets/table/e-table-sorted.c:
* widgets/table/e-table-sorter.c:
* widgets/table/e-table-specification.c:
* widgets/table/e-table-state.c:
* widgets/table/e-table-subset-variable.c:
* widgets/table/e-table-subset.c:
* widgets/table/e-table-without.c:
* widgets/table/e-table.c:
* widgets/table/e-tree-memory-callbacks.c:
* widgets/table/e-tree-memory.c:
* widgets/table/e-tree-model.c:
* widgets/table/e-tree-scrolled.c:
* widgets/table/e-tree-selection-model.c:
* widgets/table/e-tree-simple.c:
* widgets/table/e-tree-sorted-variable.c:
* widgets/table/e-tree-sorted.c:
* widgets/table/e-tree-table-adapter.c:
* widgets/table/e-tree.c:
* widgets/text/e-completion-callbacks.c:
* widgets/text/e-completion-view.c:
* widgets/text/e-completion.c:
* widgets/text/e-entry.c:
* widgets/text/e-table-text-model.c:
* widgets/text/e-text-model-uri.c:
* widgets/text/e-text-model.c:
* widgets/text/e-text.c:
Use G_DEFINE_TYPE instead of E_MAKE_TYPE.
svn path=/trunk/; revision=33864
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-27 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Collect all the required package versions in one place and
explicitly require GTK+ 2.10 or higher. (#380354)
* Adapt various Makefile.am files.
svn path=/trunk/; revision=33863
|
|
|
|
|
|
|
|
|
| |
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
* text/e-text.c: (e_text_dispose): Plugged memory leak.
svn path=/trunk/; revision=33848
|
|
|
|
|
|
| |
* text/e-text.c: (e_text_copy_clipboard): Remove needless g_strndup().
svn path=/trunk/; revision=33819
|
|
|
|
|
|
| |
* text/e-text.c: (primary_get_cb): Remove needless g_strndup().
svn path=/trunk/; revision=33806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-24 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #424562
* e-util/eggtrayicon.c:
* e-util/eggtrayicon.h:
Evolution requires GTK+ 2.10 now so kill this widget.
* e-util/Makefile.am:
Remove eggtrayicon.c and eggtrayicon.h.
* calendar/gui/dialogs/recur-comp.c (recur_component_dialog):
* e-util/e-dialog-utils.c (e_notice):
* plugins/calendar-weather/calendar-weather.c
(e_calendar_weather_location):
* widgets/text/e-text.c (e_text_copy_clipboard),
(e_text_update_primary_selection), (e_text_paste), (e_text_do_popup):
Remove check for obsolete GTK+ version.
* gui/alarm-notify/alarm-queue.c:
EggTrayIcon is dead; always use GtkStatusIcon.
svn path=/trunk/; revision=33573
|
|
|
|
| |
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-02-08 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #357216
* widgets/text/e-entry.c: Remove "font", "fontset", and "gdk_font"
properties, since they forward gets and sets to non-existant
properties in entry->item.
* widgets/table/e-table-field-chooser-item.c:
* widgets/table/e-table-field-chooser-item.h:
* widgets/table/e-table-group-container.c:
* widgets/table/e-table-group-container.h:
Replace deprecated GdkFont with PangoFontDescription.
* widgets/table/e-table-header-item.c:
* widgets/table/e-table-header-item.h:
Replace deprecated GdkFont with PangoFontDescription.
Rename "fontset" property to "font-desc", and change the property
type to a boxed PangoFontDescription.
svn path=/trunk/; revision=33185
|
|
|
|
|
|
|
|
|
|
|
| |
2006-09-27 Matthew Barnes <mbarnes@redhat.com>
Fixes bug #357970
* text/e-text.c (e_text_unrealize): Don't call deprecated GLib / GDK
functions.
svn path=/trunk/; revision=33050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
** Fixes 342313.
* text/e-text.c: Use GTK_CHECK_VERSION instead of GTK_2_2.
svn path=/trunk/; revision=32365
|
|
|
|
| |
svn path=/trunk/; revision=32359
|
|
|
|
|
|
|
|
|
|
| |
2006-07-10 Harish Krishnaswamy <kharish@novell.com>
* table/e-cell-text.c: (ect_unrealize), (build_layout):
* text/e-text.c: (reset_layout): Revert the previous
patch. Requires rework.
svn path=/trunk/; revision=32272
|
|
|
|
|
|
|
|
|
|
| |
2006-07-10 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
Added code for Resize Transparency with Cairo drawing.
Added code to render ECell and EText text items with
antialiasing, hinting and sub-pixel ordering with cairo.
svn path=/trunk/; revision=32270
|
|
|
|
|
|
|
|
|
|
| |
2006-07-06 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #341354.
* text/e-text.c: (e_text_preedit_changed_cb):
Plugged memory leak.
svn path=/trunk/; revision=32252
|
|
|
|
| |
svn path=/trunk/; revision=31372
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-15 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #220286
* text/e-text.c: (tooltip_ungrab), (_do_tooltip), (e_text_event):
Added a ungrab for keyboard, so that it hides the tooltip.
svn path=/trunk/; revision=31185
|
|
|
|
|
|
|
|
| |
2006-01-11 Harish Krishnaswamy <kharish@novell.com>
* Fix code style cruft from the previous commit
svn path=/trunk/; revision=31140
|
|
|
|
|
|
|
|
|
| |
2006-01-11 Johnny Jacob <johnnyjacob@gmail.com>
* text/e-text.c (e_text_set_property): Add the width to
the pango layout.
svn path=/trunk/; revision=31138
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-28 Tor Lillqvist <tml@novell.com>
* text/Makefile.am: On Win32, use bootstrap import library for
libemiscwidgets, which hasn't been built yet when we come
here. Drop several overlapping CFLAGS. EXTRA_GNOME_CFLAGS
should be enough. Install in privsolib instead of privlib (no
difference on Unix). Use NO_UNDEFINED. Link with all needed
libraries to satisfy the -no-undefined used on Windows.
svn path=/trunk/; revision=30409
|
|
|
|
|
|
|
|
| |
2005-08-21 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* Resolve #309074
svn path=/trunk/; revision=30179
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-23 Kaushal Kumar <kakumar@novell.com>
* e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
addressbook/gui/search/Makefile.am,
plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.
Updated the include paths to use misc instead of widgets/misc.
svn path=/trunk/; revision=29574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-29 Tor Lillqvist <tml@novell.com>
Port to Windows, initial commit:
* configure.in: Check for Win32, define Automake conditional
OS_WIN32. Check for regexec() perhaps in separate -lregex, define
REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0
>= 2.6) so that we can use the gstdio wrappers for full support of
non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has
ne special meaning.
* gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency.
* gal-zip.in: New file, used to build zipfile format distribution
of gal for Win32.
* configure.in
* Makefile.am: Add gal-zip(.in).
* */Makefile.am
* */*.c: Harmonize -I and #include conventions. (Of course, this
hasn't anything to do with Windows porting as such, I just got
carried away...) Use only -I$(top_srcdir). Use paths to gal
headers staring with "gal", except for headers from the same
directory as the .c file, which are included as such. Include all
gal headers using doublequotes. Sort #includes and remove
duplicates and obvious redundancies. Include config.h first
without any HAVE_CONFIG_H, then system headers, then other GNOME
lib headers, than gal's own headers. Just include gtk.h instead of
separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h
to use e_gettext() consistently.
* gal/Makefile.am: Use -no-undefined on Win32 so that libtool
agrees to build a shared library. Because of the bidirectional
dependency between libgal and libgal-a11y we can build libgal-a11y
sanely as a shared library on Win32, so we don't install any
separate libgal-a11y at all. So, on Win32, link the stuff that
goes into libgal-a11y also into libgal. Link with REGEX_LIBS.
* gal/a11y/Makefile.am: See above. Just build a dummy static
libgal-a11y on Win32 (can't convince Automake not to build the
library at all on one platform using Automake ifdef,
apparently). Then (this is a gross hack) explicitly remove the
library after installation in the install-data-local rule.
* gal/e-table/Makefile.am
* gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to
GAL_GLADEDIR for consistency.
* gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C
library, but its localtime() *is* thread-safe.
* gal/e-table/e-cell-text.c
* gal/e-table/e-cell-tree.c
* gal/e-table/e-cell-vbox.c
* gal/e-text/e-text.c
* gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h.
* gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib
macro None (whose value is zero), use the corresponding
zero-valued enums from the appropriate GDK type.
* gal/e-table/e-table-config.c
* gal/e-table/e-table-field-chooser.c
* gal/menus/gal-define-views-dialog.c
* gal/menus/gal-view-instance-save-as-dialog.c
* gal/menus/gal-view-new-dialog.c
* gal/widgets/e-categories-master-list-array.c
* gal/widgets/e-categories-master-list-dialog.c
* gal/widgets/e-categories.c: Use g_build_filename() to construct
pathnames at run-time instead of compile-time. On Windows the
macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in
order to support installing in a freely chosen location.
* gal/e-table/e-table-item.c
* gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use
GDK_GRAB_SUCCESS (which has the same value).
* gal/e-table/e-table-specification.c (e_table_specification_load_from_file)
* gal/e-table/e-table.c (e_table_load_specification)
* gal/e-table/e-tree-table-adapter.c (open_file)
* gal/menus/gal-view-instance.c (load_current_view)
* gal/menus/gal-view-instance.c (load_current_view): On Win32,
convert filename to the locale character set before passing to
xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio
wrappers.
* gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define
GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for
e-win32-reloc.c. Include e-win32-reloc.c on Win32.
* gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on
Windows.
* gal/util/e-util.c
* gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable
mkstemp(). Use GLib pathname manipulation functions. Use gstdio
wrappers.
* gal/util/e-util-private.h: New file. Contains just Win32 bits
for now that redefine the directory names from the Makefile as
functions calls.
* gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain()
and functions to support freely chosen installation location on
Windows.
* gal/util/e-xml-utils.c: No fsync() in the Microsoft C library.
* gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for
consistency with the sibling Makefile.am files.
* gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use
GDK_GRAB_ALREADY_GRABBED.
svn path=/trunk/; revision=29249
|
|
|
|
|
|
|
|
|
|
| |
2005-03-14 Theppitak Karoonboonyanan <theppitak@gmail.com>
* gal/e-text/e-text.c (e_text_retrieve_surrounding_cb)
(e_text_delete_surrounding_cb): bounds check the selection
beginning.
svn path=/trunk/; revision=29008
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Harry Lu <harry.lu@sun.com>
Some code clean work.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(gal_a11y_e_table_click_to_add_init): new function to
register type only when a11y is enabled.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(gal_a11y_e_table_item_init): ditto.
* gal/a11y/e-table/gal-a11y-e-table.c: (gal_a11y_e_table_init): ditto.
* gal/a11y/e-table/gal-a11y-e-table.h:
* gal/a11y/e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_init): ditto.
* gal/a11y/e-table/gal-a11y-e-tree.h:
* gal/a11y/e-text/gal-a11y-e-text.c: (gal_a11y_e_text_init): ditto.
* gal/a11y/e-text/gal-a11y-e-text.h:
* gal/a11y/factory.c: useless file removed.
* gal/a11y/init.c: useless file removed.
* gal/e-text/e-text.c: (e_text_class_init): move a11y registry
call to a11y code.
svn path=/trunk/; revision=28702
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-21 Rodney Dawes <dobey@novell.com>
* gal/e-text/e-text.c (_do_tooltip): Don't pass in the "fill_color"
property for creating the canvas item for the tooltip
* gal/widgets/e-reflow.c (set_empty): Don't pass in the "fill_color"
property for creating the EText canvas item
Fixes #9413
svn path=/trunk/; revision=28501
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-29 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Bugzilla #63731
* gal/e-text/e-text.c (insert_preedit_text): For multilple ETexts
sharing the same GnomeCanvas im_context, prevent updating all childern
in case preedit for one changed.
(e_text_event): Don't disconnect the signal to a EText if it is
out of focus and still having preedit. Save it and disconnect it when
another EText comes into focus.
svn path=/trunk/; revision=27085
|
|
|
|
|
|
|
| |
2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Rollback for fix #63731
svn path=/trunk/; revision=27028
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Bugzilla #63731
* gal/e-text/e-text.h: Remove unneeded
text->im_context_signals_registered.
* gal/e-text/e-text.c (e_text_init): Removed
text->im_context_signals_registered
(e_text_event): Remove text->im_context
signals handler connect/disconnect from here.
(e_text_set_property): Added them here, now they will be invoked
only @ text->im_context creation time, or re-set or at e_text_dispose.
Also focus_out events does not affect the signals as they used to.
svn path=/trunk/; revision=27024
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-23 Chris Toshok <toshok@ximian.com>
[ probable fix for the remaining portion of #45931 ]
* gal/e-text/e-entry.c (e_entry_show_popup): only return early if
we're trying to pop up the view while the entry is unfocused. if
we're trying to pop it down, carry on as normal.
svn path=/trunk/; revision=27009
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-08-04 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (e_entry_refresh_popup): nuke, unnecessary.
(e_entry_start_completion): set item_chosen to FALSE.
(added_cb): nuke, unnecessary.
(full_cb): only show the popup if the user hasn't chosen an entry.
(activate_cb): set item_chosen to TRUE.
svn path=/trunk/; revision=26832
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-11 Radek Doulik <rodo@ximian.com>
* gal/e-text/e-entry.c (canvas_size_request): hardcode the border
size. it is hardcoded in e-text as well. Even using style values
in e-text will not help as style values might differ between EText
and EEntry. I think it will be best to rewrite EEntry for evo 2.1
so that it derives from GtkEntry and only adds the auto completion
feature
Fixes part of #42864
svn path=/trunk/; revision=26309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-10 Radek Doulik <rodo@ximian.com>
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
(idle_do_action): added cast
* gal/a11y/e-table/gal-a11y-e-cell-tree.c
(gal_a11y_e_cell_tree_new): added cast
* gal/a11y/e-table/gal-a11y-e-cell.c: added #include
<gtk/gtkwindow.h>
* gal/e-text/e-text.c (_get_position): removed unused variable
* gal/e-text/e-completion.c: #if 0'ed e_completion_sort
* tests/test-text.c (create_entry): removed unused variables
added #include "gal/widgets/e-canvas-utils.h"
added #include "gal/e-text/e-text-model.h"
(create_text): removed unused variables
(create_ro_text): ditto
* tests/test-table-1.c (create_table): added cast
* tests/test-completion.c (main): added cast
* gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if
check fails
added #include <string.h> for strlen
(et_get_text_after_offset): fixed typo defalut --> default
(et_get_text_at_offset): ditto
(et_get_character_extents): removed unused variables
(et_set_selection): ditto
(_et_command_cb): added default: label to quiet compiler
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c
(gal_a11y_e_table_click_to_add_factory_create_accessible): return
NULL if check fails
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
(idle_do_action): fixed wrong cast
(idle_do_action): removed unused variables
(etcta_ref_child): return NULL if check fails
(gal_a11y_e_table_click_to_add_new): ditto
(gal_a11y_e_table_click_to_add_new): removed unused variable
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c
(gal_a11y_e_table_item_factory_create_accessible): return NULL if
fails
(gal_a11y_e_table_item_factory_create_accessible): added cast
(gal_a11y_e_table_item_factory_create_accessible): removed unused
variable
* gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed
unused variable
(eti_get_parent): ditto
(eti_get_n_children): ditto
(eti_ref_child): ditto
(eti_get_index_in_parent): ditto
(eti_ref_accessible_at_point): return value (NULL)
(cell_destroyed): removed unused variable
(cell_destroyed): ditto
(table_add_row_selection): ditto
added #inclued <string.h> for memset, memmove
(eti_rows_inserted): removed unused variable
(eti_rows_deleted): ditto
(eti_header_structure_changed): ditto
* gal/a11y/e-table/gal-a11y-e-cell-popup.c
(gal_a11y_e_cell_popup_class_init): removed unused variable
added #include "gal-a11y-e-cell-registry.h"
(popup_cell_action): removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action):
removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include
"gal-a11y-e-cell-registry.h"
(gal_a11y_e_cell_tree_new): add cast
(gal_a11y_e_cell_tree_new): removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include
<string.h>
(ect_remove_selection): removed unused variable
(ect_copy_text): added cast
(ect_delete_text): ditto
(ect_paste_text): ditto
(ect_init): ditto
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast
(eti_grab_focus): ditto
(eti_grab_focus): return TRUE (grab was successful)
added #include <atk/atkstateset.h>
* gal/a11y/e-table/gal-a11y-e-tree.c: added #include
"gal-a11y-e-table-item.h"
(gal_a11y_e_tree_new): removed unused variable
* gal/e-text/e-text.c (_do_tooltip): removed unused variable
(e_text_event): added cast
(primary_clear_cb): removed unused variable
(_get_position): ditto
(_get_position): ditto
#if 0'ed unused prototypes
* gal/e-text/e-text-model.c (e_text_model_real_insert_length):
removed unused variables
* gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's
not used anywhere
* gal/widgets/e-reflow.c (items_inserted): remove unused variables
* gal/widgets/e-categories.c (e_categories_get_property): remove
unused variable
* gal/widgets/e-categories-master-list-dialog.c
(dialog_destroyed): added cast
* gal/widgets/e-categories-master-list-combo.c
(ecmlc_ecml_changed): remove unused variable
* gal/widgets/color-palette.c: include string.h for memset
prototype
svn path=/trunk/; revision=26289
|
|
|
|
|
|
|
|
|
|
| |
2004-06-09 Radek Doulik <rodo@ximian.com>
* gal/e-text/e-text.c (capitalize): process only if len > 0
Fixes #51078
svn path=/trunk/; revision=26270
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-01 Chris Toshok <toshok@ximian.com>
[ fixes bug #51897 ]
* gal/e-text/e-text.c (insert_preedit_text): only reset the layout
attrs if there is some preedit text to insert. also, try getting
text->layout's attributes before creating a new list. this will
keep us from overwriting existing attributes and wiping out the
underlining for objects.
svn path=/trunk/; revision=25294
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_command): it's possible to get to
this function without the EText ever being realized. Since we
create the layout in realize(), let's just create it here too.
Fixes crash bug 46165 (aka "The Bug with a million dups").
svn path=/trunk/; revision=24579
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-27 Rodney Dawes <dobey@ximian.com>
* gal/e-text/e-text.c (popup_targets_received): Use button->time for
the mouse click event, so that the popup stays up on button release
Fixes #47548
svn path=/trunk/; revision=24483
|
|
|
|
|
|
|
|
|
| |
2004-01-27 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (popup_targets_received): fix double free of
the button event.
svn path=/trunk/; revision=24481
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-06 JP Rosevear <jpr@ximian.com>
* gal/e-text/e-text.c (popup_targets_received): free event
(e_text_do_popup): copy the event so we have good data
Fixes #51956
svn path=/trunk/; revision=24071
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-14 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* Support for preedit in e-text widgets.
* gal/gal/e-text/e-text.c: Added e_text_preedit_changed_cb and
insert_preedit_text.
* Modified the following functions.
(e_text_draw) Calls insert_preedit_text also cursor pos @ the end of
text->selection_start + text->preedit_len
(e_text_event) Added hooks for preedit_cb
(e_text_init) Inits text->preedit_len
(e_text_retrieve_surrounding_cb) Removed printf
(e_text_delete_surrounding_cb) Correct params for
gtk_editable_delete_text to make it work.
* gal/gal/e-text/e-text.h: Added preedit_len in struct _EText
2003-09-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
* Fix for "44222 task summary entry widget not i18ned". The following
files are changed.
* gal/gal/e-table/e-cell-text.c: Lots of changes for i18n
selection/input support. Added these functions for input method support.
(e_cell_text_preedit_changed_cb)
(e_cell_text_commit_cb)
(e_cell_text_retrieve_surrounding_cb)
(e_cell_text_delete_surrounding_cb)
(layout_with_preedit) This function inserts the preedit string
with the right attribs to the layout text.
(build_attr_list) Creates the PangoAttrList with bold/stikeout/underline
as applicable for the current ECellText.
The following functions are modified.
(ect_stop_editing): disconnect signal handlers when editing stops
(ect_draw): Changes for including the preedit only to the currently
selected row/col. Also display the cursor at the end of preedit text.
(ect_event): Connects the IM callbacks to the key press event.
Disconnect when not in editing mode. Also a special flag to see
when Enter key pressed in preedit mode, the text is committed only
not a new row is created. This woks in conjunction with the changes
made in the eti_event in e-table-item.c file and e-cell.h.
(ect_height): Changes due to parameters changing for generate_layout
(ect_enter_edit): Initialization of im_context for a cell text and
assoociated flags.
(ect_max_width): Changes due to parameters changing for
generate_layout.
(ect_max_width_by_row): Changes due to parameters changing for
generate_layout.
(ect_show_tooltip): Changes due to parameters changing for
generate_layout.
(e_cell_text_construct): check whether paramters are NULL.
(get_position_from_xy): Changes due to parameters changing for
generate_layout.
(_insert): Set the selection_start as the minimum of strlen(edit->text)
and selection_start. Used to correct the preedit_string length
which may have added to the selection_start.
(e_cell_text_view_command): When inserting, if in the preedit mode
do not delete the selection.
(_selection_get): Set utf8 data instead of string data.
(_selection_received): Take in UTF8_ATOM inaddition to
GDK_SELECTION_TYPE_STRING.
(e_cell_text_view_get_selection): Make utf8 data when acting as a
selection source.
* gal/e-table/e-cell-text.h : Included <gtk/gtkmenu.h>
* gal/e-table/e-cell.h: Added enum E_CELL_PREEDIT to ECellFlags
* gal/e-table/e-table-item.c: (eti_event) Changes for not committing
the edited text as a seperate row in preedit mode.
* gal/e-table/e-table.c: (table_canvas_focus_event_cb) To have
proper im_context focus for the ecanvas holding the e-table.
svn path=/trunk/; revision=22882
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-08 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-text/gal-a11y-e-text-factory.h: GalA11yETextFactory
should inherit from AtkObjectFactory not AtkObject. (#47097).
* gal/a11y/e-text/gal-a11y-e-text.c (et_class_init): Set value
for "component_parent_iface". (#47097)
* gal/e-text/e-text.c (e_text_class_init): Added registration
code for GalA11yETextFactory. (#47097)
svn path=/trunk/; revision=22551
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-10 Maxx Cao <maxx.cao@sun.com>
* gal/e-text/e-text.c (e_text_event): filter S-F10 key binding, and
show popup menu.
(popup_menu_placement_cb): function added to adjust popup menu position.+ (popup_targets_received): show popup menu in different ways, according
to whether it's invoked by mouse click or key binding.
svn path=/trunk/; revision=22204
|
|
|
|
|
|
|
| |
* gal/e-text/e-text.h: add missing e_text_copy_clipboard()
prototype
svn path=/trunk/; revision=21899
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-13 Chris Toshok <toshok@ximian.com>
[ fixes several utf8/pango related problems, including bugs
#41288, #42596, #42604 ]
* configure.in (GAL_CURRENT): bump to 3, per mkestner.
(GAL_REVISION): drop to 0, per mkestner.
* gal/e-text/e-text.c (reset_layout_attrs): we need to convert the
start/end bounds of the object to byte indices for the attribute.
(reset_layout): in the layout == NULL case don't create the layout
then immediately set it again with the same text. also, we need
to convert selection_start to a byte index before calling
pango_layout_get_cursor_pos.
(e_text_draw): remove some #ifdef 0'd code, move the calculation
of our initial clip_rect below the xpos/ypos assignments so we
don't duplicate the expression. Fix the selection drawing in the
multiline case so that it actually works, instead of assuming that
all ETexts only have 1 line *boggle*.
(get_position_from_xy): this needs to return a utf8 offset.
(e_text_copy_clipboard): convert sel_start/sel_end to byte indices
before copying.
(primary_get_cb): same.
(paste_received): validate the input here, and drop the length
parameter from e_text_insert.
(next_word): convert from an utf8 offset on entry to this
function, and return a utf8 offset when we're done. also, remove
the call the g_unichar_validate. we validate at all points where
text is inserted.
(find_offset_into_line): new function used in the backward/forward
line code. find the utf8 offset into a line (the number of utf8
characters from a prior \n or beginning of the string.)
(_get_position): in general there are lots of changes here because
text->selection_start/text->selection_end are utf8 offsets, not
byte offsets. fix E_TEP_START_OF_LINE so that hitting Ctrl-a when
you're at the beginning of a line doesn't take you to the
beginning of the previous line. fix E_TEP_END_OF_LINE in an
analogous fashion. for E_TEP_FORWARD_CHARACTER we just increment
by 1. for E_TEP_BACKWARD_CHARACTER we just decrement by 1. for
E_TEP_BACKWARD_WORD we drop the g_unichar_validate call and
simplify things a bit. reimplement
E_TEP_FORWARD_LINE/E_TEP_BACKWARD_LINE so they find the current
offset into the line, then scan forward/backward for the next/prev
line, and put us at the right offset on that line. fix
E_TEP_SELECT_WORD so double clicking in the space between words
doesn't select both words - if you double click on the trailing
edge of the space, it selects the next word. leading edge selects
the previous one. for E_TEP_SELECT_ALL use g_utf8_strlen.
(e_text_insert): everything that calls this passes a \0 terminated
string, so we assume it's \0 terminated (the old code did as well,
with calls to strlen) and drop the length parameter. also make
sure this is all utf8 happy.
(capitalize): use g_utf8_offset_to_pointer instead of just adding
text->text and start/end, and remove the validate call. also fix
the call to e_text_model_delete and use e_text_model_insert_length
instead of e_text_model_insert.
(e_text_command): for E_TEP_INSERT, validate the input. for
E_TEP_CAPS just use MAX instead of the neat little hack. also,
fix the scrolling so that it scrolls properly in both X and Y
directions (there are still some hiccups but it's much much better
than previously).
(e_text_commit_cb): validate the input here.
* gal/e-text/e-text-model.c (struct _ETextModelPrivate): just use
a GString here and get rid of MAX_LENGTH.
(e_text_model_dispose): free GString.
(e_text_model_real_validate_position): clean this up a bit.
(e_text_model_real_get_text): return the contents of the GString.
(e_text_model_real_get_text_length): use g_utf8_strlen here.
(e_text_model_real_set_text): convert to GString
(e_text_model_real_insert): just call e_text_model_insert_length
here instead of duplicating the function.
(e_text_model_real_insert_length): convert to utf8/gstring.
i.e. convert @position and @length to a bytes and use
g_string_insert_len.
(e_text_model_real_delete): same, with g_string_erase.
(e_text_model_get_text_length): use g_utf8_strlen
(e_text_model_strdup_nth_object): convert the length of the object
to bytes before copying.
(e_text_model_get_nth_object_bounds): calculate start/end properly
for u
svn path=/trunk/; revision=21163
|
|
|
|
|
|
|
|
|
|
| |
2003-05-05 Jeremy Katz <katzj@redhat.com>
* gal/e-text/e-completion-callbacks.c
(e_completion_callbacks_new): Fix prototype.
* gal/e-text/e-completion-callbacks.h: Likewise.
svn path=/trunk/; revision=21110
|
|
|
|
| |
svn path=/trunk/; revision=21105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-01 Mike Kestner <mkestner@ximian.com>
* gal/e-text/e-completion-callbacks.c (e_completion_callbacks_new):
return the instantiated object. [bug #42156]
2003-05-01 Mike Kestner <mkestner@ximian.com>
* e-cell-combo.c (e_cell_combo_selection_changed): new
(e_cell_combo_init): connect to selection_changed on popup_list
(e_cell_combo_do_popup): block selection_changed while popping up
[bug #40996]
svn path=/trunk/; revision=21042
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
gal/e-text/e-text.[ch] : break EFont dependency
svn path=/trunk/; revision=20763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (e_entry_init): set handle_popup to TRUE on
the EText.
* gal/e-text/e-text.c (e_text_set_property): add setter for
handle_popup.
(e_text_get_property): add getter for handle_popup.
(e_text_event): only do our special popup handling if handle_popup
is true. otherwise, pass the event along.
(e_text_class_init): install the handle_popup property.
(e_text_init): init handle_popup to FALSE, so we get default
behavior in most cases.
* gal/e-text/e-text.h: add "handle_popup" field, so the user of an
EText can decide whether to handle popups themselves.
svn path=/trunk/; revision=20664
|
|
|
|
|
|
|
|
|
| |
2003-04-03 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_commit_cb): emit a keypress signal.
yes, i know this might not correspond to a single keypress, but..
svn path=/trunk/; revision=20659
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_copy_clipboard): ifdef
gtk_widget_get_clipboard since we need to build against gtk 2.0.
(e_text_update_primary_selection): same.
(e_text_paste): same.
(e_text_do_popup): same.
svn path=/trunk/; revision=20657
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_event): only connect the signals if
!im_context_signals_registered.
(e_text_init): init im_context_signals_registered = FALSE.
* gal/e-text/e-text.c (struct _EText): add
im_context_signals_registered.
svn path=/trunk/; revision=20656
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_dispose): just disconnect based on
DATA, so we only need 1 call.
(e_text_event): same.
svn path=/trunk/; revision=20655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Chris Toshok <toshok@ximian.com>
[ either fixes #39702 or comes damn, damn close. also, fixes EText
to not suck *nearly* as much. ]
* gal/util/e-marshal.list: add NONE:POINTER,INT,OBJECT.
* gal/e-text/e-entry.h: (struct _EEntryClass): popup ->
populate_popup.
* gal/e-text/e-entry.c (proxy_changed): rename, the old name was
too damn long.
(proxy_activate): same.
(proxy_populate_popup): same, and change from popup to
populate_popup.
(e_entry_init): track change to cb names, and populate_popup.
also, pass the ECanvas's im_context to the EText.
(e_entry_class_init): POPUP -> POPULATE_POPUP.
* gal/e-text/e-text.h (struct _EText): remove the old selection
stuff, and add im_context/reset_im_context fields.
(struct _ETextClass): popup -> populate_popup.
* gal/e-text/e-text.c (e_text_dispose): remove all the
GtkInvisible based selection stuff, and disconnect from/unref the
im_context.
(e_text_set_property): add "im_context" handling.
(e_text_get_property): same.
(e_text_event): connect/disconnect from the IM context's signals
in the FOCUS_CHANGE handler. in the KEY_PRESS/RELEASE handler,
use gtk_im_context_filter_keypress if we have an im_context.
also, use e_text_do_popup now instead of just emitting the "popup"
signal.
(e_text_copy_clipboard): new function.
(e_text_delete_selection): new function.
(e_text_cut_clipboard): new function.
(e_text_paste_clipboard): new function.
(e_text_select_all): new function.
(primary_get_cb): new function, handle requests for the primary
selection when we're the owner.
(primary_clear_cb): new function, unfinished.
(e_text_update_primary_selection): new function.
(paste_received): new function, insert pasted text.
(e_text_paste): new function,
(popup_menu_detach): new function, not needed really.
(popup_targets_received): new function, pop up the popup once we
have the selection information necessary to sensitize the c/c/p
buttons.
(e_text_do_popup): new function, request the selection.
(e_text_reset_im_context): new function.
(e_text_command): for E_TEP_SELECT, call
e_text_update_primary_selection. for E_TEP_DELETE/INSERT,
_delete_selection -> e_text_delete_selection. for E_TEP_COPY,
call e_text_copy_clipboard. for E_TEP_PASTE/E_TEP_GET_SELECTION
call e_text_paste.
(e_text_class_init): change the "popup" signal to
"populate_popup". Also, add the "im_context" property.
(e_text_commit_cb): new function. IM context callback.
(e_text_retrieve_surrounding_cb): new function. IM context
callback.
(e_text_delete_surrounding_cb): new function. IM context
callback. unfinished.
svn path=/trunk/; revision=20653
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_draw): stop drawing that annoying
focus rectangle.
svn path=/trunk/; revision=20626
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-01 Chris Toshok <toshok@ximian.com>
[ fixes bug #39508 ]
* gal/e-text/e-text.c (e_text_command): add back in some suitably
pango-ized code to get EText's scrolling horizontally as you move
the cursor.
svn path=/trunk/; revision=20625
|
|
|
|
|
|
|
|
|
|
| |
2003-03-26 Not Zed <NotZed@Ximian.com>
* gal/e-text/e-entry.c (e_entry_show_popup): set the popup to
insensitive when we pop it down. hack to force it to lose focus,
fix for #39719.
svn path=/trunk/; revision=20531
|
|
|
|
|
|
|
|
| |
2003-03-10 Jeffrey Stedfast <fejj@ximian.com>
* gal/e-text/e-text.c: Added prototype for show_pango_rectangle()
svn path=/trunk/; revision=20233
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-07 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (e_text_draw): fix drawing bugs, and disable
the stupid looking focus rect, since I can't find a theme that
uses them.
(e_text_event): force redraw in the focus-out case if the cursor
is shown (so we can erase it), and also trick ourselves into
drawing it immediately (by setting it to FALSE) in the focus-in
case.
svn path=/trunk/; revision=20223
|
|
|
|
|
|
|
|
|
| |
2003-02-24 Hans Petter Jansson <hpj@ximian.com>
* gal/e-text/e-text.c (e_text_dispose): Don't unref the GtkInvisible -
instead, destroy it.
svn path=/trunk/; revision=20040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-09 Chris Toshok <toshok@ximian.com>
* tests/.cvsignore: ignore test-completion.
* tests/test-completion.c: new program, completion test.
* tests/Makefile.am (noinst_PROGRAMS): add test-completion.
* gal/e-text/Makefile.am: remove e-completion-test from the build
here, moving it to ../../tests.
* gal/e-text/e-completion.c (e_completion_class_init): we've
removed the restart, cancel, clear, and lost signals. Also, we've
renamed some so it's easier to tell from the name which it is
(virtual func or signal.)
(e_completion_dispose): remove call to clear_search_stack, as we
don't do auto-refinement anymore.
(e_completion_clear): gone.
(e_completion_push_search): gone.
(e_completion_pop_search): gone.
(e_completion_clear_search_stack): gone.
(e_completion_refine_search): gone.
(e_completion_unrefine_search): gone.
(e_completion_begin_search): substantially clear this up, since we
don't have the refinement stuff anymore. Also, the call to
request_completion is a virtual function call, not a signal.
(e_completion_match_count): always return matches->len here, never
match_count, which is gone (with the refinement stuff)
(e_completion_foreach_match): remove the hit_count stuff.
(e_completion_restart): gone.
(e_completion_lost_match): gone.
(e_completion_end_search): remove the sorting stuff from here (and
the call to restart.) the etable sorting stuff will have to take
up the slack, but for now there's no reason to restart the search
here.
* gal/e-text/e-completion.h (struct _ECompletionClass): straighten
out what's a virtual function and what's a signal, instead of
using signals for both. Also, remove the auto_refine stuff, as
it's not used.
* gal/e-text/e-completion-view.c (e_completion_view_size_request):
make the damn drop down window bigger (100 pixels, or the
requisition height, whichever is bigger.)
(e_completion_view_disconnect): remove handling for signals that
are gone.
(restart_completion_cb): gone.
(cancel_completion_cb): gone.
(clear_completion_cb): gone.
(lost_completion_cb): gone.
(e_completion_view_construct): track new names of ECompletion
signals.
* gal/e-text/e-completion-view.h (struct _ECompletionView): remove
restart_signal_id, cancel_signal_id, clear_signal_id, and
lost_signal_id.
* gal/e-text/e-entry.c (get_borders): new function, ala gtkentry.
(canvas_size_request): use get_borders instead of computing it
here.
(e_entry_init): remove duplicate assignment of
emulate_label_resize.
(e_entry_show_popup): remove some ifdef'ed crap.
(e_entry_start_completion): don't cancel the completion before
starting again. This keeps the popup from disappearing.
* gal/e-text/e-completion-match.c (e_completion_match_construct):
no more hit_count.
* gal/e-text/e-completion-match.h (struct _ECompletionMatch):
remove hit_count.
* gal/e-text/e-completion-callbacks.[ch]: new class so we can use
callbacks instead of subclassing.
svn path=/trunk/; revision=19859
|
|
|
|
| |
svn path=/trunk/; revision=19735
|
|
|
|
|
|
|
|
| |
e_text_destroy; chain up to ::dispose instead of ::destroy.
(e_text_dispose, e_text_class_init): Override ::dispose, not
::destroy.
svn path=/trunk/; revision=19577
|
|
|
|
|
|
|
|
|
| |
2003-01-17 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (show_pango_rectangle): reverse part of the
patch from 1/15.
svn path=/trunk/; revision=19510
|
|
|
|
|
|
|
|
|
| |
2003-01-17 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (canvas_size_request): pass
pango_context_get_language to pango_context_get_metrics.
svn path=/trunk/; revision=19507
|
|
|
|
|
|
|
|
|
|
| |
2003-01-15 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c (show_pango_rectangle): apply the patch
NotZed and I came up with to fix the height of the evolution
composer entries.
svn path=/trunk/; revision=19486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-15 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-completion-view.c (begin_completion_cb): add call
to e_table_model_pre_change here to reduce spew.
(cancel_completion_cb): same.
(completion_cb): same.
(end_completion_cb): same.
(clear_completion_cb): same.
(lost_completion_cb): same.
svn path=/trunk/; revision=19478
|
|
|
|
|
|
|
|
|
| |
2003-01-14 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-entry.c (canvas_size_request): use PangoFontMetrics
here instead of using the ascent/descent of the GtkStyle's font.
svn path=/trunk/; revision=19468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-08 Chris Toshok <toshok@ximian.com>
* tests/test-text.c: lots of stuff, add 2 e-text widgets, 1
readonly, the other writable (that uses the uri model..)
* gal/e-text/e-text.[ch]: lots of pango changes. we don't do
*anything* with gdk/e fonts now. everything is pango. There are
still some issues while editting but display should more or less
work properly now, and without all the performance problems.
* gal/e-text/e-completion-view.c (e_completion_view_expose_event):
use gtk_widget_send_expose instead of gtk_widget_event so we don't
get the annoying gtk warning.
* gal/e-text/e-entry.c (e_entry_dispose): make sure both the gdk
and gtk grabs are removed.
(e_entry_class_init): fill_color_gdk is a boxed type, not pointer.
* gal/e-text/e-text-model-uri.h (E_TYPE_TEXT_MODEL_URI): oops,
this should be e_text_model_uri_get_type, not
e_text_model_get_type.
svn path=/trunk/; revision=19054
|
|
|
|
|
|
|
|
|
|
| |
2002-11-29 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.c: rework this from the gal-2 branch, clahey's
patch, and the stuff i'd done since. it's working *MUCH* better
now.
svn path=/trunk/; revision=18957
|
|
|
|
|
|
|
|
| |
2002-11-19 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-text.[ch]: commit clahey's original pango work.
svn path=/trunk/; revision=18850
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-16 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo.
* gal/widgets/e-categories-master-list-dialog.c: switch to
GtkDialogism's.
* gal/widgets/gal-categories.[ch]: same.
* gal/widgets/e-categories-master-list-dialog.glade: libglade-convert.
* gal/widgets/e-categories.glade: same.
* gal/util/e-text-event-processor.[ch]: subclass this from
GObject.
* gal/util/e-text-event-processor-emacs-like.[ch]: clean up the
gtk cruft a bit.
* gal/e-text/e-text.c (_get_tep): remove the _sink call.
(e_text_init): same.
* gal/e-text/e-text-model.[ch]: subclass this from GObject instead
of GtkObject.
svn path=/trunk/; revision=18808
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-16 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-completion-test.c: Lots of GObject work.
* gal/e-text/e-completion-view.[ch]: same.
* gal/e-text/e-completion.[ch]: same.
* gal/e-text/e-entry.[ch]: same.
* gal/e-text/e-table-text-model.[ch]: same.
* gal/e-text/e-text-model-uri.[ch]: same.
* gal/e-text/e-text-model.[ch]: same.
* gal/e-text/e-text-test.c: same.
* gal/e-text/e-text.[ch]: same.
svn path=/trunk/; revision=18800
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* gal/e-text/e-completion-view.c (e_completion_view_destroy): only
clear choices if cv->choices != NULL.
(e_completion_view_disconnect): zero out cancel_signal_id.
svn path=/trunk/; revision=18718
|
|
|
|
|
|
| |
merging the gal-2 branch back to the trunk.
svn path=/trunk/; revision=18471
|
|
|
|
|
|
|
|
|
|
| |
2002-09-10 JP Rosevear <jpr@ximian.com>
* gal/e-text/e-text.c (line_splitter): take a clip_height and use
it to set the maximum number of lines if necessary
(split_into_lines): pass clip_height arg
svn path=/trunk/; revision=18032
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-05 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c: Added debugging printfs.
(e_text_request_paste): Fixed the order of setting
last_type_request before calling gtk_selection_convert due to a
reentrancy bug.
svn path=/trunk/; revision=17119
|
|
|
|
|
|
|
|
|
| |
2002-06-03 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_style_set):
Reflow and redraw when the style gets set.
svn path=/trunk/; revision=17086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to
e_canvas_item_grab.
* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h
(e_canvas_item_grab, e_canvas_item_ungrab): Added these functions.
From gal/e-table/ChangeLog:
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Switched from
gnome_canvas_item_grab to e_canvas_item_grab.
svn path=/trunk/; revision=16738
|
|
|
|
|
|
|
|
|
| |
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_draw): Make the style here match the
proper widget style to emulate a label or an entry.
svn path=/trunk/; revision=16670
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-completion-view.c (simple_spec),
gal/widgets/e-categories-master-list-dialog.c (SPEC),
gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain
here.
* gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the
different cases.
From gal/e-table/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c, e-table-config.h, e-table-specification.c,
e-table-specification.h, e-table-utils.c, e-table-utils.h,
e-table.c, e-table.h: Made these pay attention to the
gettext-domain in the etspec.
* e-table-config.c: Set the gettext-domain in the etspec here.
From gal/menus/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-dialog.c (SPEC),
gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain
here.
svn path=/trunk/; revision=16658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-25 Christopher James Lahey <clahey@ximian.com>
* gal/e-paned/e-paned.c, gal/e-text/e-entry.c,
gal/util/e-bit-array.c, gal/util/e-sorter-array.c,
gal/util/e-sorter.c, gal/util/e-text-event-processor.c,
gal/widgets/color-group.c, gal/widgets/color-palette.c,
gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas.c,
gal/widgets/e-canvas.h,
gal/widgets/e-categories-master-list-array.c,
gal/widgets/e-categories-master-list-combo.c,
gal/widgets/e-categories-master-list-dialog-model.c,
gal/widgets/e-categories-master-list-dialog.c,
gal/widgets/e-categories.c, gal/widgets/e-reflow-model.c,
gal/widgets/e-reflow.c, gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-simple.c,
gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-stack.c,
gal/widgets/widget-color-combo.c,
gal/widgets/widget-pixmap-combo.c: Ansification patch from danw.
svn path=/trunk/; revision=16589
|
|
|
|
|
|
|
| |
* gal/e-text/e-entry.c (e_entry_show_popup): Don't show the popup
if the entry->item doesn't have focus.
svn path=/trunk/; revision=16345
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-28 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c
(e_completion_view_key_press_handler): If tab is hit and the
cursor is still in the entry, move down into the entry otherwise
unbrowse.
svn path=/trunk/; revision=15878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.19.99.5.
* gal/Makefile.am (libgal_la_LIBADD): Added
menus/gal-view-instance-save-as-dialog.lo.
* gal/e-text/e-text.c (next_word): Contains refactored code from
the E_TEP_FORWARD_WORD case of e_text_command.
(e_text_command): Implemented E_TEP_CAPS.
From gal/menus/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (glade_DATA): Added
gal-view-instance-save-as-dialog.glade.
(libgalmenus_la_SOURCES): Added
gal-view-instance-save-as-dialog.c.
(libgalmenusinclude_HEADERS): Added
gal-view-instance-save-as-dialog.h.
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_append_with_title): Added this new version of
the append function that sets the title and returns the new id as
well.
(gal_view_collection_set_nth_view): Added this function to save
over another view.
(gal_view_collection_get_default_view,
gal_view_collection_set_default_view): Added the concept of a
default view for GalViewCollections.
* gal-view-etable.c, gal-view-etable.h
(gal_view_etable_attach_table, gal_view_etable_attach_tree,
gal_view_etable_detach): Added functions to set the state of a
table or tree and then send GalView "changed" signals whenever
that state changes.
(gal_view_etable_set_state): New function to set the ETableState
of a GalViewETable.
* gal-view-instance-save-as-dialog.c,
gal-view-instance-save-as-dialog.glade,
gal-view-instance-save-as-dialog.h: New dialog to save the current
custom view as a named view.
* gal-view-instance.c, gal-view-instance.h
(gal_view_instance_set_custom_view): New function to set the state
of an instance to custom view and set the custom view to a
particular GalView.
(gal_view_instance_exists): New function to check if this
particular instance has ever been opened before. Use before
gal_view_instance_load.
(gal_view_instance_save_as): New function to open a save as
dialog.
(gal_view_instance_load): Added this function which used to be
part of _construct. This function can be called multiple times,
and those extra times will be ignored. This is so you can set a
default view before loading.
(gal_view_instance_get_default_view,
gal_view_instance_set_default_view): Set the default view for this
instance. If unset, this falls back to the default view for the
corresponding GalViewCollection.
svn path=/trunk/; revision=15590
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-20 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_text_model_changed): Request a
reflow and an update when the text model changes. Fixes Ximian
bug #16459.
(e_text_set_arg): (ARG_TEXT) Don't set the number of lines to one
here.
svn path=/trunk/; revision=15411
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-16 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h,
gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h,
gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h,
gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h,
gal/widgets/gtk-combo-stack.h: Added #include
<libgnome/gnome-defs.h>.
svn path=/trunk/; revision=15340
|
|
|
|
|
|
|
|
|
| |
2002-01-14 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (line_splitter): Handle the case of a 0
length string properly here.
svn path=/trunk/; revision=15323
|
|
|
|
|
|
|
|
|
|
| |
2001-12-27 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (split_into_lines): Reworked to fix bugs
related to breaking text on newlines. Some fairly substantial
code duplication was removed in the process.
svn path=/trunk/; revision=15219
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-10 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (text_width_with_objects): Don't crash if
the text string is NULL.
(text_draw_with_objects): Don't crash if the text string is NULL.
(Fixes #16359)
svn path=/trunk/; revision=14954
|
|
|
|
|
|
|
|
|
| |
2001-11-08 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (full_cb): Only popup entries that have
focus. Fixes the lingering completion popup bug.
svn path=/trunk/; revision=14626
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_reflow): Calc height here if we need
it to check the y position of the cursor.
svn path=/trunk/; revision=14443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (e_entry_make_completion_window_transient):
Added. Makes our popup window a transient of the toplevel.
(e_entry_enable_completion_full): Try to make our popup a
transient.
(e_entry_realize): Also try to make our popup a transient here, in
case the entry wasn't packed before we enabled completion. This
is all an attempt to fix bug #13791.
svn path=/trunk/; revision=14390
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (e_entry_destroy): destroy our
completion_view_popup... we've been leaking them all of this time.
This should fix the mysterious bug #13900.
svn path=/trunk/; revision=14381
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-match.c (e_completion_match_set_text):
Silently drop match strings that contain invalid utf-8... not a
good thing to do, but better than any of the currently available
alternatives.
svn path=/trunk/; revision=14364
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_stop_editing): Set text->revert =
NULL here.
(e_text_cancel_editing): Only revert if text->revert is non-null.
svn path=/trunk/; revision=14334
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number here to 0.15.99.7.
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_stop_editing):
Exported this function.
(e_text_cancel_editing): New function. Allows you to revert
edits.
svn path=/trunk/; revision=14332
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.15.99.6 for
emulate_label_resize.
* gal/e-text/e-entry.c: Added "emulate_label_resize" argument to
make EEntry act like a label for width resizing purposes.
svn path=/trunk/; revision=14227
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-test.c, gal/util/e-i18n.h,
gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the
license announcement at the top of these files.
svn path=/trunk/; revision=14169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h,
gal/e-paned/e-paned.c, gal/e-paned/e-paned.h,
gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h,
gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h,
gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c,
gal/e-text/e-completion-view.h, gal/e-text/e-completion.c,
gal/e-text/e-completion.h, gal/e-text/e-entry-test.c,
gal/e-text/e-entry.c, gal/e-text/e-entry.h,
gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h,
gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h,
gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c,
gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c,
gal/e-text/e-text-model.h, gal/e-text/e-text.c,
gal/e-text/e-text.h, gal/util/e-bit-array.c,
gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h,
gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c,
gal/util/e-sorter-array.h, gal/util/e-sorter.c,
gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c,
gal/util/e-text-event-processor-emacs-like.h,
gal/util/e-text-event-processor-types.h,
gal/util/e-text-event-processor.c,
gal/util/e-text-event-processor.h, gal/util/e-util.c,
gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h,
gal/widgets/color-group.c, gal/widgets/color-group.h,
gal/widgets/color-palette.c, gal/widgets/color-palette.h,
gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h,
gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h,
gal/widgets/e-canvas.c, gal/widgets/e-canvas.h,
gal/widgets/e-categories-master-list-array.c,
gal/widgets/e-categories-master-list-array.h,
gal/widgets/e-categories-master-list-combo.c,
gal/widgets/e-categories-master-list-combo.h,
gal/widgets/e-categories-master-list-dialog-model.c,
gal/widgets/e-categories-master-list-dialog-model.h,
gal/widgets/e-categories-master-list-dialog.c,
gal/widgets/e-categories-master-list-dialog.h,
gal/widgets/e-categories-master-list.c,
gal/widgets/e-categories-master-list.h,
gal/widgets/e-categories.c, gal/widgets/e-categories.h,
gal/widgets/e-colors.c, gal/widgets/e-colors.h,
gal/widgets/e-cursors.c, gal/widgets/e-cursors.h,
gal/widgets/e-font.c, gal/widgets/e-font.h,
gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h,
gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h,
gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h,
gal/widgets/e-printable.c, gal/widgets/e-printable.h,
gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h,
gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h,
gal/widgets/e-reflow.c, gal/widgets/e-reflow.h,
gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h,
gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-array.h,
gal/widgets/e-selection-model-simple.c,
gal/widgets/e-selection-model-simple.h,
gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h,
gal/widgets/e-unicode.c, gal/widgets/e-unicode.h,
gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h,
gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h,
gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h,
gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h,
gal/widgets/test-color.c, gal/widgets/test-e-font.c,
gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c,
gal/widgets/widget-color-combo.c,
gal/widgets/widget-color-combo.h,
gal/widgets/widget-pixmap-combo.c,
gal/widgets/widget-pixmap-combo.h,
src/e-table/e-table-sorted-variable.c, tests/test-define-views.c,
tests/test-shortcut-bar.c, tests/test-table-1.c,
tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c,
tests/test-unicode.c: Changed the license announcement at the top
of these files.
svn path=/trunk/; revision=14158
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-25 <NotZed@Ximian.com>
* configure.in: Bumped version to 0.15.99.4 for e-iconv changes.
* gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized): "
(e_utf8_to_iconv_string_sized): "
(e_utf8_from_gtk_string_sized): "
(e_utf8_to_gtk_string_sized): "
* gal/widgets/e-font.c (e_font_to_native): s/iconv/e_iconv/
* gal/util/e-iconv.c (e_iconv): Implement a wrapper for iconv() to
make sure we link with and execute the right iconv to match the
right iconv_open. (BLAH!)
svn path=/trunk/; revision=14111
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_draw): Use the widget's style's
text_gc for drawing text if either draw_background or draw_button
is on.
svn path=/trunk/; revision=13937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version to 0.15.99.3 for EText's
"draw_button" argument.
* gal/e-text/e-entry.c: Forward the "draw_button" argument to the
contained EText.
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_draw): Added
new "draw_button" argument. If this is turned on and the first
widget that's a parent of the containing canvas with GTK_NO_WINDOW
turned off above the current one is a button, EText draws a button
underneath itself to match the containing button.
From gal/shortcut-bar/ChangeLog:
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* e-shortcut-bar.c (e_shortcut_bar_add_group): Turn on
"draw_button" argument to EEntry.
svn path=/trunk/; revision=13934
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_get_selection):
Accept UTF8_STRING, UTF-8, and STRING targets when getting the
selection.
svn path=/trunk/; revision=13864
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_get_invisible): Offer UTF8_STRING,
UTF-8, COMPOUND_TEXT, STRING, and TEXT targets when we offer the
selection.
svn path=/trunk/; revision=13847
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.h: Changed some of these gbooleans to be
guint : 1s.
* gal/widgets/e-canvas.c (e_canvas_item_grab_focus): Send the in
event here to the new focused item instead of the old one.
svn path=/trunk/; revision=13824
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (e_entry_enable_completion_full): Connect
keys before we show the widget.
svn path=/trunk/; revision=13756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-table-text-model.c (e_table_text_model_insert,
e_table_text_model_insert_length, e_table_text_model_delete),
gal/e-text/e-text-model.c (e_text_model_real_insert,
e_text_model_real_insert_length): Use e_strdup_append_strings here
instead of g_strdup_printf because printf("%.*s") is locale
dependent on some systems.
* gal/util/e-util.c (e_strdup_append_strings): New function to
append a bunch of strings with optional lengths.
svn path=/trunk/; revision=13581
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Christopher James Lahey <clahey@ximian.com>
Based on patches from Dan Nguyen <dnn@austin.ibm.com>.
* gal/Makefile.am (libgal_la_LDFLAGS): Added $(GTK_LIBS).
* gal/e-text/e-text.c (e_text_event): Changed this from a C++
comment to a C comment.
svn path=/trunk/; revision=13549
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Michael Meeks <michael@ximian.com>
* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
a single source base.
* All C files:
s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;
svn path=/trunk/; revision=13428
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-model.c (MAX_LENGTH): Added a max length of
2047 to the standard ETextModel. Fixes Ximian bug #3021.
svn path=/trunk/; revision=13298
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c
(e_completion_view_key_press_handler): Allow ctrl-p and ctrl-n to
be used to move up and down in the completion list. (Bug #10500)
* gal/e-text/e-completion-match.c (e_completion_match_set_text):
Properly validate the utf8.
svn path=/trunk/; revision=13159
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c, gal/e-text/e-text.h (_insert): Made it so
that if allow_newlines is FALSE, pasting into ETexts doesn't
insert carriage returns. Fixes Ximian bug #5761 and Ximian bug
#9067.
svn path=/trunk/; revision=13143
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Larry Ewing <lewing@ximian.com>
* gal/e-text/e-text.c (e_text_supply_selection): remove redundant
NULL checks since g_free handles NULLs.
(e_text_destroy): free the selection. It does appear to be a
guarantee that we get a selection-clear event before we are
destroyed.
svn path=/trunk/; revision=12934
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.11.99.4.
* gal/e-text/e-completion-view.c (e_completion_view_construct),
tests/test-table-1.c (create_table): Changed the parameters to
e_table_simple_new here to adjust to changes in the interface.
* gal/widgets/e-categories-master-list-array.c (ecmla_default):
Fixed a memory leak here.
* gal/widgets/e-categories.c (e_categories_get_save_id): Added
get_save_id here so that selection would be maintained across
changes.
From gal/e-table/ChangeLog:
2001-09-16 Christopher James Lahey <clahey@ximian.com>
* e-table-model.c, e-table-model.h (e_table_model_class_init):
Rearranged order of has_save_id and get_save_id to be more
consistent with ETree.
* e-table-selection-model.c, e-table-selection-model.h: Turned on
the code to maintain selection and cursor across changes if the
model supports get_save_id.
* e-table-simple.c, e-table-simple.h: Changed this interface to
take all of the ETableModel functions in the _new function.
* e-table-subset.c (etss_has_save_id, etss_get_save_id): Added
these to properly proxy the save_id functionality.
* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id
parameter to get_node_by_id be const char * instead of char *.
* e-tree-table-adapter.c (etta_class_init): Rearranged some
assignments here to be more consistent.
svn path=/trunk/; revision=12869
|
|
|
|
|
|
|
|
|
|
|
| |
* gal/e-text/e-completion-view.c (e_completion_view_construct):
Unref the model after creating the ETable, since the table will
hold a ref on it until we destroy it when we're destroyed.
* gal/e-text/e-entry.c (e_entry_destroy): Unref the popup window
rather than destroying it.
svn path=/trunk/; revision=12798
|
|
|
|
|
|
|
|
|
|
| |
2001-09-09 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (e_text_text_model_changed): If our text shrinks,
make sure that the selection doesn't spill off over the end of the
reduced buffer. (Related to bug #8535)
svn path=/trunk/; revision=12717
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com>
Patch to fix few 64bit issues
* gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag)
gal/widgets/e-categories.c (e_categories_value_at)
(e_categories_value_to_string):
Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers
and ints to fix 64bit issues connected with that.
* gal/e-table/e-table-sorting-utils.c
(e_table_sorting_utils_tree_check_position)
gal/util/e-sorter-array.c (e_sorter_array_append):
Use size_t for size not ints to fix crashes
* gal/e-text/e-completion-match.c, gal/e-text/e-completion.c:
Include <string.h>
svn path=/trunk/; revision=12507
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-match.h: Added "hit_count" to
ECompletionMatch. Used by search refinement/unrefinement.
* gal/e-text/e-completion.c (e_completion_refine_search): Added.
Handle automatic search refinements.
(e_completion_unrefine_search): Added. Handle automatic search
"unrefinements", or reversions.
(e_completion_begin_search): Check if the refinement or
unrefinement operations can be used to handle the search. Emit
"request_search" at the end of the call.
(e_completion_class_init): Added a new signal "request_search".
"begin_search" is now purely informational, telling views that a
series of matches and an "end_search" are forthcoming.
* configure.in: Increment version of 0.10.99.3.
svn path=/trunk/; revision=12116
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 jacob berkman <jacob@ximian.com>
* configure.in: bumped up to 0.10.99.3
* gal/e-text/e-completion-view.c (e_completion_view_init): init
matches array
(e_completion_view_destroy): free matches array
(e_completion_view_disconnect): disconnect from the clear and
lost_match signals
(e_completion_view_clear_choices): fixup for ptr array
(e_completion_view_set_cursor_row): ditto
(e_completion_view_select): ditto
(e_completion_view_key_press_handler): ditto
(clear_completion_cb): handle the clear signal
(lost_completion_cb): remove a row from the model
(table_row_count): fixup for ptr array
(table_value_at): ditto
(e_completion_view_construct): connect to clear and lost
completion signals
(e_completion_view_set_width): ptr array fixup again
* gal/e-text/e-completion.c (e_completion_class_init): add new
clean / lost completion signals
(e_completion_init): initialize the matches array
(e_completion_destroy): free the matches array
(e_completion_add_match): fixup for matches being a GPtrArray
(e_completion_clear_matches): ditto
(e_completion_clear): new function to clear the list of matches
(e_completion_foreach_match): fixup for ptrarray
(e_completion_restart): ditto
(e_completion_found_match): if we are at the limit return first,
rather than adding and then unreffing. there very well could be
some weird crashes this caused but it is kind of unlikely.
(e_completion_lost_match): new function to forget about a match
(e_completion_end_search): add a comment on why this is broken
* gal/e-text/e-entry.c (e_entry_text_keypress): only start a
delayed completion if our completion timeout is >= 0. this
provides a way for the completion starting / stopping to be
controlled by something other than the EEntry (ie, file-sel)
svn path=/trunk/; revision=11843
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Jon Trowbridge <trow@ximian.com>
* configure.in: Bumped version up to 0.10.99.2.
* gal/e-text/e-entry.c (e_entry_class_init): Added
"completion_popup" signal.
(e_entry_show_popup): Emit "completion_popup" signal if the popup
has appeared or disappeared.
(e_entry_enable_completion_full): Listen for "cancel_completion"
signals from our model, and disable our completion if get one.
(e_entry_completion_popup_is_visible): Added. Returns TRUE if the
completion popup is on the screen.
* gal/e-text/e-text-model.c (e_text_model_class_init): Added
"cancel_completion" signal.
(e_text_model_cancel_completion): Added. Emits
"cancel_completion" signal.
svn path=/trunk/; revision=11824
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Federico Mena Quintero <federico@ximian.com>
* gal/e-text/e-entry.c (e_entry_destroy): Quintuple sigh. See below.
* gal/util/e-bit-array.c (eba_destroy): Sextuple sigh.
svn path=/trunk/; revision=11815
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Radek Doulik <rodo@ximian.com>
* gal/e-text/e-completion-match.c (e_completion_match_set_text):
avoid freed memory reading, when you call it like
e_completion_match_set_text (match,
e_completion_match_get_match_text (match), tmp);
svn path=/trunk/; revision=11571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-25 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-text.c (e_text_set_arg): Properly ref the font we
pass in as an ARG_FONT_E.
(_do_tooltip): Removed some crack. We no longer have to manually
ref the font. The ref-counting now happens inside the set_arg
function, as it should.
(e_text_destroy): Set text->font to NULL after unrefing it.
2001-07-25 Jon Trowbridge <trow@ximian.com>
* e-cell-text.c (ect_unrealize): Set text_view->font to NULL
after we unref it.
svn path=/trunk/; revision=11393
|
|
|
|
|
|
|
|
|
| |
2001-07-20 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c (e_completion_view_set_width): Removed
some debugging spew I committed by mistake.
svn path=/trunk/; revision=11293
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-20 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c (e_entry_enable_completion_full): Change
window policy to allow the completion window to shrink when the
number of options decreases.
* gal/e-text/e-completion-view.c (e_completion_view_construct):
Removed some obsolete code.
svn path=/trunk/; revision=11292
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-15 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_event): Start editing immediately on
a button_press that grabs the focus. e_canvas_item_grab_focus
doesn't seem to get us the focus event until the event loop.
Fixes Ximian bug #1766.
svn path=/trunk/; revision=11111
|
|
|
|
|
|
|
|
|
|
| |
2001-07-09 Federico Mena Quintero <federico@ximian.com>
* gal/e-text/e-text.c (_get_position): For E_TEP_END_OF_BUFFER,
use the length in bytes, not the length in characters --- this
function is supposed to return byte offsets.
svn path=/trunk/; revision=10941
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-07 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_destroy):
Destroy the tooltip if we're the owner when we're destroyed.
Also, keep a reference to the text object in case we get a signal
on the window after the text object is destroyed.
* gal/widgets/e-canvas.c (e_canvas_destroy): Hide the tooltip if
there is one when the canvas is destroyed.
svn path=/trunk/; revision=10888
|
|
|
|
|
|
|
|
|
| |
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_command): Don't scroll to the cursor
on grab, ungrab, noop, and copy commands.
svn path=/trunk/; revision=10808
|
|
|
|
|
|
|
|
|
|
| |
2001-07-03 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text.c (e_text_point): If lines is NULL here split
into lines and just return that the point is outside this text
object.
svn path=/trunk/; revision=10730
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-match.c (e_completion_match_unref): Do
nothing if passed NULL.
(e_completion_match_compare): Move the sort_major comparison out
to make it the primary sort key (followed by score and then
sort_minor).
(e_completion_match_compare_alpha): Move the sort_major comparison
out to make it the primary sort key.
svn path=/trunk/; revision=10625
|
|
|
|
|
|
|
|
|
| |
2001-06-09 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-completion-view.c (e_completion_view_construct):
Removed unused frame variable.
svn path=/trunk/; revision=10174
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-08 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-completion-view.c: Turned off alternating row
colors in our ETable specification.
* gal/e-text/e-completion-match.c (e_completion_match_compare_alpha):
Fix the sort routine to properly use the major & minor keys for
sorting grouped elements with the same match text. I had this all
wrong.
svn path=/trunk/; revision=10159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-07 jacob berkman <jacob@ximian.com>
* gal/e-text/e-entry.c (canvas_size_allocate): we can ignore the
border, as e-text takes care of that for us
(canvas_size_request): correctly handle when borders should be
drawn
* gal/e-text/e-completion-view.c (e_completion_view_paint): fix a
small bug in the drawing-2-pixel-border change to my patch
svn path=/trunk/; revision=10149
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-06 Jon Trowbridge <trow@ximian.com>
* gal/e-text/e-entry.c:
* gal/e-text/e-completion-view.c: Applied patch from Jacob Berkman
to un-offset the completion popup and add a border around it. I
tweaked it slightly to make the border two pixels thick instead of
one. (Which I like, but might annoy everyone else. We'll see.)
svn path=/trunk/; revision=10133
|
|
|
|
| |
svn path=/trunk/; revision=10119
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Jon Trowbridge <trow@gnu.org>
* gal/e-text/e-entry.c: Small changes throughout to use
ECompletionMatch.
* gal/e-text/e-completion-view.c: Small changes throughout
to use ECompletionMatch.
* gal/e-text/e-completion.c: Small changes throughout to use
ECompletionMatch.
* gal/e-text/e-completion-match.h:
* gal/e-text/e-completion-match.c: Added. A struct to contain
completion matches. This lets us more easily pass around
information between the various bits of completion machinery.
svn path=/trunk/; revision=10118
|