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-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-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
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-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-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 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-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-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>
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-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