Commit Graph

294 Commits

Author SHA1 Message Date
d6445f8abf Merge revisions 36685:36729 from trunk.
svn path=/branches/kill-bonobo/; revision=36763
2008-11-07 22:04:53 +00:00
85b2913a38 Merge revisions 36534:36684 from trunk.
svn path=/branches/kill-bonobo/; revision=36685
2008-10-24 23:52:05 +00:00
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +00:00
9792036630 Progress update:
- Kill EABMenu.

	- Centralize marshallers to eliminate duplication.


svn path=/branches/kill-bonobo/; revision=36368
2008-09-18 03:31:42 +00:00
c0a255eb90 Merge revisions 36016:36303 from trunk.
svn path=/branches/kill-bonobo/; revision=36307
2008-09-11 15:34:29 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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-06 15:12:53 +00:00
a6a2b0baca gdk_rgb_get_cmap -> gdk_rgb_get_colormap
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-06-03 19:58:06 +00:00
e99e12428d ** Fixes bug #534360
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-05-22 17:27:48 +00:00
015345c498 ** Fix for bug #529893
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-04-25 13:35:38 +00:00
799f590a17 ** Fix for bug #383438
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-19 19:08:51 +00:00
fd28f516c5 Fix a compiler warning.
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
2008-02-03 05:52:36 +00:00
1910fd29b6 Patch from Mayank Jain <mayank.gnu@gmail.com> ** Fix for bug #348638 (Cleanly remove pre-edit buffer on pressing backspace in day-view, for non-ascii characters as well)
svn path=/trunk/; revision=34809
2008-01-14 08:14:31 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
1ddccec355 ** Fix for bug #341085
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-11-05 11:56:37 +00:00
82d8d4dfea text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]
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-31 12:35:06 +00:00
b32649a94c ** Fixes bug #437579
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
2007-10-10 04:54:36 +00:00
e2e5e8d754 Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible.


svn path=/trunk/; revision=34324
2007-09-27 20:08:55 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
9ea10deea3 Move away from g_asserts from g_return*.
svn path=/trunk/; revision=34142
2007-08-31 05:23:46 +00:00
5b91ae3f31 ** Fixes bug #309166
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 21:10:27 +00:00
ed6d71b37f ** Fixes bug #303878
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-23 20:31:16 +00:00
e0b92a2aaa ** Fix for bug #455799
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-08-03 23:52:01 +00:00
6baf4d9bcc Remove E_MAKE_TYPE macro.
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 21:14:15 +00:00
08de5e9e14 Collect all the required package versions in one place and explicitly
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-27 16:42:11 +00:00
de6cb9b637 Plugged memory leak.
2007-07-26  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	* text/e-text.c: (e_text_dispose): Plugged memory leak.


svn path=/trunk/; revision=33848
2007-07-26 12:30:30 +00:00
41e4f3253e Remove needless g_strndup().
* text/e-text.c: (e_text_copy_clipboard): Remove needless g_strndup().

svn path=/trunk/; revision=33819
2007-07-18 22:17:31 +00:00
d4c82840cc Remove needless g_strndup().
* text/e-text.c: (primary_get_cb): Remove needless g_strndup().

svn path=/trunk/; revision=33806
2007-07-15 02:11:07 +00:00
051f3691f2 ** Fixes bug #424562
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
2007-05-24 19:14:14 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
cba3097cad ** Fixes bug #419524
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
2007-03-20 17:23:58 +00:00
d328ab72d5 ** Fixes bug #357216
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
2007-02-08 19:34:11 +00:00
16e935ac6a Fixes bug #357970
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-12-04 15:45:50 +00:00
7a205fe6d0 ** Fixes bug #352450
2006-08-23  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #352450

	* misc/e-canvas-background.c:
	* misc/e-cursors.c:
	* misc/e-map.c:
	* misc/e-reflow.c:
	* misc/e-task-widget.c:
	* misc/gal-combo-box.c:
	* table/e-cell-text.c:
	* table/e-cell-toggle.c:
	* table/e-table-field-chooser-item.c:
	* table/e-table-field-chooser.c:
	* table/e-table-header-item.c:
	* table/e-table-header-utils.c:
	* table/e-table-item.c:
	* table/e-table.c:
	* table/e-tree-memory.c:
	* table/e-tree-sorted.c:
	* table/e-tree.c:
	* table/e-text.c:
	Replace deprecated GLib and GDK function calls.

svn path=/trunk/; revision=32783
2006-09-18 13:06:49 +00:00
3bd80dbe0b ** Fixes 342313. Use GTK_CHECK_VERSION instead of GTK_2_2.
** Fixes 342313.
* text/e-text.c: Use GTK_CHECK_VERSION instead of GTK_2_2.

svn path=/trunk/; revision=32365
2006-07-21 05:47:37 +00:00
ee6d562880 Added cairo font rendering to ECell and EText.
svn path=/trunk/; revision=32359
2006-07-20 08:24:31 +00:00
accf651625 Revert the previous patch. Requires rework.
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 15:16:42 +00:00
891d8bfc6a Added code for Resize Transparency with Cairo drawing. Added code to
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-10 14:02:36 +00:00
25909f3722 ** Fixes bug #341354. Plugged memory leak.
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
2006-07-07 14:05:22 +00:00
f8176cb325 damned broken pipes! where's the plummer
svn path=/trunk/; revision=31372
2006-01-30 12:28:43 +00:00
64ba00a2b2 ** Fixes bug #220286
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-15 18:02:06 +00:00
97f475b2dd Fix code style cruft from the previous commit
2006-01-11  Harish Krishnaswamy  <kharish@novell.com>

* Fix code style cruft from the previous commit

svn path=/trunk/; revision=31140
2006-01-11 13:09:09 +00:00
dcaef2dcba Add the width to the pango layout.
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
2006-01-11 13:00:19 +00:00
aaf0cb36d6 On Win32, use bootstrap import library for libemiscwidgets, which hasn't
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-09-28 11:50:56 +00:00
e967f26d1a Resolve #309074
2005-08-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* Resolve #309074

svn path=/trunk/; revision=30179
2005-08-21 18:10:23 +00:00
df07f02cae Added widgets in INCLUDES.
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-23 09:11:11 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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-06-17 15:20:35 +00:00
2decafb544 Port to Windows, initial commit:
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-04-29 14:18:18 +00:00
ee4ee504d8 bounds check the selection beginning.
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-03-14 06:42:13 +00:00
ab13d05f6e Some code clean work.
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-02-04 04:50:50 +00:00