2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#272464
* addressbook-errors.xml:
* addressbook-errors.xml.h: Changed the primary and secondary
to make it more clear.
svn path=/trunk/; revision=29285
2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#272464
* calendar-errors.xml:
* calendar-errors.xml.h: Changed the primary and secondary
messages to make it more clear.
svn path=/trunk/; revision=29284
2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com>
* gal/e-table/e-table.c (et_real_construct) : Check for NULL string
before passing to dgettext. Fixes a crash on Solaris. #260312. Patch
submitted by Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
svn path=/trunk/; revision=29280
2005-05-06 Rodrigo Moya <rodrigo@novell.com>
Fixes#271679
* gui/dialogs/comp-editor.c (save_comp):
* gui/e-week-view.c (e_week_view_on_editing_stopped,
e_week_view_change_event_time): set correct start/end times for
individual instances and remove all rules and exceptions.
(e_week_view_reshape_event_span): show recurrence icons for
detached instances also.
* gui/e-day-view.c (e_day_view_finish_resize,
e_day_view_finish_long_event_resize, e_day_view_on_editing_stopped,
e_day_view_on_top_canvas_drag_data_received,
e_day_view_on_main_canvas_drag_data_received,
e_day_view_change_event_time): set the correct start/end times when
modifying individual instances and remove all rules and exceptions.
(e_day_view_on_top_canvas_motion, e_day_view_on_main_canvas_motion):
disable D&D for recurring events.
(e_day_view_reshape_long_event, e_day_view_reshape_day_event):
check for detached instances and show recurrence icons for them also.
* gui/e-week-view-event-item.c (e_week_view_event_item_draw_icons):
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
* gui/e-day-view-main-item.c (e_day_view_main_item_draw_day_event):
check for detached instances and show recurrence icons for them also.
* gui/e-cal-model.c (set_instance_times): don't use the RECURRENCE-ID
to get the datetime.
* gui/e-calendar-view.c (e_calendar_view_delete_selected_occurrence):
exceptions need to be date only.
(e_calendar_view_copy_clipboard): remove RECURRENCE-IDs from components
we copy to the clipboard.
(e_calendar_view_cut_clipboard): when cutting instances, remove only
the selected instances.
(on_unrecur_appointment): use MOD_ALL to modify the master object and
remove recurrence-id from detached event.
* gui/dialogs/recur-comp.c (recur_component_dialog): re-enabled.
svn path=/trunk/; revision=29276
2005-05-05 Radek Doulik <rodo@site>
* e-msg-composer.c (e_msg_composer_ignore): removed old unused
function which was using low level gtkhtml APIs
svn path=/trunk/; revision=29273
2005-05-05 Radek Doulik <rodo@site>
* em-folder-view.c (em_folder_view_get_popup_target): use
gtk_html_command to ask if selection is active tto avoid using
selection API directly
(emfv_popup_copy_text): use gtkhtml API instead of engine API
(emfv_message_reply): use new gtk_html_get_selection_html function
to avoid using low level gtkhtml APIs
svn path=/trunk/; revision=29272
2005-05-03 Not Zed <NotZed@Ximian.com>
* e-profile-event.c (e_profile_event_emit): undefine
e_profile_event_emit if we are compiled without profiling. The
'abi' is not, nor was ever changed.
* e-profile-event.h: revert previous patch, the assumptions were
incorrect & the code misunderstood.
svn path=/trunk/; revision=29261
2005-05-02 Rodney Dawes <dobey@novell.com>
* e-profile-event.h (e_profile_event_emit): This method is a no-op if
we are building without ENABLE_PROFILE defined, so we don't need to
define a macro to no-op it, and change ABI at compile time
svn path=/trunk/; revision=29259
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-28 Mengjie Yu <meng-jie.yu@sun.com>
* gal/widgets/e-reflow.c: (do_adjustment):
we should not do any layout adjustment if the item doesn't exist.
Fixes#302275
svn path=/trunk/; revision=29248
005-04-29 JP Rosevear <jpr@novell.com>
* Makefile.am: don't build wizard related code
* Evolution.idl: remove wizard idl include
* e-shell.c: remove wizard include
* Remove wizard related code which is now in a plugin (and is much
simpler due to eplugin)
svn path=/trunk/; revision=29245
2005-04-28 Parthasarathi Susarla <sparthasarathi@novell.com>
* em-folder-view.c (emfv_set_folder): remove a call to
refresh folder from here
* em-folder-browser.c (emfb_set_folder): call
mail_refresh_folder here
svn path=/trunk/; revision=29243
2005-04-28 Not Zed <NotZed@Ximian.com>
* configure.in: add an --enable-profiling arg, build the profiling
plugin optionally as well.
svn path=/trunk/; revision=29242