Commit Graph

309 Commits

Author SHA1 Message Date
Tor Lillqvist
8a5d05e253 Use the wide character version of ImmGetCompositionString() here, too.
2005-02-03  Tor Lillqvist  <tml@novell.com>

	* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
	wide character version of ImmGetCompositionString() here,
	too. (#165278, Takuro Ashie)
2005-02-03 20:51:48 +00:00
Matthias Clasen
4594c980b0 Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)
2005-01-31  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate
	NULL-terminated va lists.  (#165683)
2005-01-31 19:56:01 +00:00
Matthias Clasen
65d7ef8ff4 2.6.1 2005-01-08 07:50:46 +00:00
Matthias Clasen
203e5edc6f 2.6.0 2004-12-16 18:21:44 +00:00
Tor Lillqvist
f3da170539 gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c
2004-12-12  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkaccelmap.[ch]
	* gtk/gtkfilechooser.[ch]
	* gtk/gtkfilesel.c
	* gtk/gtkfilesystemwin32.c
	* gtk/gtkiconfactory.[ch]
	* gtk/gtkicontheme.[ch]
	* gtk/gtkimage.[ch]
	* gtk/gtkimmodule.c
	* gtk/gtkmodules.c
	* gtk/gtkrc.[ch]
	* gtk/gtkuimanager.[ch]
	* gtk/gtkwindow.[ch]
	* gtk/updateiconcache.c
	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
	environment variables referring to pathnames from locale encoding
	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
	stability, add binary compatibility versions of functions that
	take file names as arguments, or return file names. Add a _utf8
	suffix to the "real" such functions on Windows. The ABI
	compatibility versions keep the old name.

	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
	library.

	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
	file mapping on Win32.

	* gtk/updateiconcache.c: Don't crash if invoked without
	argument. Use binary mode when opening file.

	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
2004-12-12 21:09:13 +00:00
Matthias Clasen
a1178ee76d Prevent double commits, don't commit when Ctrl is present. (#160376,
2004-12-06  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextime.c: Prevent double commits,
	don't commit when Ctrl is present.  (#160376, Kazuki IWAMOTO)
2004-12-06 05:21:39 +00:00
Matthias Clasen
00c069f2b6 2.5.6 2004-12-03 06:32:17 +00:00
Tor Lillqvist
fc71989177 Use the module's correct name in test. (#160122)
2004-12-01  Tor Lillqvist  <tml@iki.fi>

	* modules/input/imime.c (im_module_create): Use the module's
	correct name in test. (#160122)
2004-12-01 20:23:48 +00:00
Dom Lachowicz
b00ab02597 xp theme combo box arrows on toolbars 2004-12-01 17:25:19 +00:00
Dom Lachowicz
29ada43da2 draw XP status bar grip, toolbar grip properly 2004-12-01 16:13:06 +00:00
Dom Lachowicz
692bb5126f ms-windows theme should use ms-windows button order 2004-12-01 15:40:03 +00:00
Dom Lachowicz
39b513a5ad ms windows theme menus should not have tearoffs 2004-11-30 23:32:49 +00:00
Matthias Clasen
de33692b05 Add necessary libraries to make it compile with -no-undefined. (#159713,
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (LDADDS): Add necessary libraries to make
	it compile with -no-undefined.  (#159713, Robert Ögren)
2004-11-28 17:21:06 +00:00
Manish Singh
54b45a19b9 modules/engines/ms-windows/msw_rc_style.c
Fri Nov 19 15:18:51 2004  Manish Singh  <yosh@gimp.org>

        * modules/engines/ms-windows/msw_rc_style.c
        * modules/engines/ms-windows/msw_style.c
        * modules/engines/ms-windows/msw_theme_main.c
        * modules/engines/pixbuf/pixbuf-main.c
        * modules/engines/pixbuf/pixbuf-rc-style.c
        * modules/input/gtkimcontextime.c
        * modules/input/gtkimcontextxim.c
        * modules/input/imam-et.c
        * modules/input/imcedilla.c
        * modules/input/imcyrillic-translit.c
        * modules/input/iminuktitut.c
        * modules/input/imipa.c
        * modules/input/imthai-broken.c
        * modules/input/imti-er.c
        * modules/input/imti-et.c
        * modules/input/imviqr.c
        * tests/prop-editor.c
        * tests/testentrycompletion.c
        * tests/testfilechooser.c
        * tests/testmerge.c
        * tests/testtoolbar.c
        * tests/testtreecolumns.c
        * tests/testtreeview.c: get rid of unnecessary casts.

        * tests/testgtk.c (create_labels): add GTK_LABEL() casts for
        gtk_label_set_ellipsize() calls.

        * tests/testicontheme.c (main): remove unused pixbuf variable.
2004-11-19 23:30:47 +00:00
Manish Singh
aa04eae7b7 Output Makefile for the pixbuf engine directory.
Mon Nov 15 17:17:17 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Output Makefile for the pixbuf engine directory.

        * gtk/gtk.symbols: Add gtk_button_{get,set}_image.

        * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated
        functions.

        * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED
        for gdk_draw_string (ick).
2004-11-16 01:20:47 +00:00
Matthias Clasen
db54ca44bb Add pixbuf.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* modules/engines/Makefile.am (SUBDIRS): Add pixbuf.
2004-11-15 19:26:53 +00:00
Matthias Clasen
66cec03401 Remove uses of deprecated symbols.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c:
	* pixbuf-draw.c:
	* pixbuf-rc-style.c: Remove uses of deprecated symbols.
2004-11-15 18:42:12 +00:00
Matthias Clasen
7e7e4cbb6e Remove examples, adjust Makefile.am 2004-11-15 18:25:11 +00:00
Matthias Clasen
26cbda1b88 Check for uxtheme.h (#157967, J. Ali Harlow)
2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)
2004-11-12 03:51:40 +00:00
Matthias Clasen
d5f92150d4 Fix many sparse warnings. 2004-10-28 15:00:05 +00:00
Tor Lillqvist
8439956a9c Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by
2004-10-01  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
	FALSE, thus enabling tablet input by default.

	* gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
	--use-wintab option again (but without effect, as this is now the
	default, see above). (#153788)

	* modules/input/gtkimcontextime.c: Numerous changes.

	Remove the ifdef UNICODE conditionals. Always use the
	wide-character Imm* API. It is present also in Windows 98 and
	Me. (Not Windows 95, but I think we don't care about that.) Using
	the multibyte API wouldn't work anyway on systems where the system
	codepage doesn't support the language the user uses an IME for, so
	for instance I wouldn't be able to test this module on my English
	Windows 2000 although I do have C, J and K IMEs available.

	Guard against IMM not being active, always check ImmGetContext()
	returning NULL. Work to some extent even without any IME. Fixes
	#153800 at least partially.

	* modules/input/imime.c (ime_info): Rename to "ime" to match the
	naming pattern of other input modules. Make it default for
	ja:ko:zh only.
2004-10-01 19:53:55 +00:00
Matthias Clasen
c1bdbb3eed Fix the spelling of Inuktitut in several places. (#154176, John Austin)
2004-10-01  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/iminuktitut.c: Fix the spelling of Inuktitut
	in several places.  (#154176, John Austin)
2004-10-01 13:40:14 +00:00
Sven Neumann
0f32b61dde added .cvsignore files to shut up CVS 2004-09-24 22:24:20 +00:00
Tor Lillqvist
585471a479 Make the ms-windows theme engine build with mingw.
2004-08-30  Tor Lillqvist  <tml@iki.fi>

	Make the ms-windows theme engine build with mingw.

	* configure.in: Expand also modules/engines/ms-windows/Theme/
	Makefile and .../Theme/gtk-2.0/Makefile.

	* modules/engines/ms-windows/Makefile.am: Adapt for building
	inside the GTK sources.

	* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
	GTK and GDK headers. Use correct path for gdkwin32.h header.

	* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
	API.

	* modules/engines/ms-windows/xp_theme_defs.h
	* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
	to xp_theme.c, as they are neither in mingw's nor Platform
	SDK's tmschema.h.

	* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
	0x0501 to get the necesssary stuff from mingw's uxtheme.h.
2004-08-30 20:58:57 +00:00
Matthias Clasen
7feff029c9 Integrate the ms-windows theme engine (better known as Wimp) into the
2004-08-30  Matthias Clasen  <mclasen@redhat.com>

	Integrate the ms-windows theme engine (better known as Wimp)
	into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
	was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
	sources have been added to the GTK+ source tree in
	modules/engines/ms-windows, and there is a ChangeLog detailing
	the history of Wimp. (#109615, Havoc Pennington)

	* configure.in: Generate modules/engines/Makefile and
	modules/engines/ms-windows/Makefile.

	* modules/Makefile.am (SUBDIRS): Add engines.

	* modules/engines/Makefile.am: Compile ms-windows for win32.
2004-08-30 14:20:00 +00:00
Tor Lillqvist
26526ea581 Link with -limm32.
2004-08-30  Tor Lillqvist  <tml@iki.fi>

	* modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32.

	* modules/input/gtkimcontextime.c: Use quotes in #includes, to
	find headers when building inside GTK+ sources.
2004-08-30 04:53:23 +00:00
Matthias Clasen
24dd1030f0 Build imime.la on Windows.
2004-08-26  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/Makefile.am: Build imime.la on Windows.

	* modules/input/gtkimcontextime.h:
	* modules/input/gtkimcontextime.c:
	* modules/input/imime.c:
	* modules/input/imm-extra.h: Add the IME input method for Win32
	written by Takuro Ashie and Kazuko IWAMOTO. The code was previously
	hosted at http://sourceforge.jp/projects/imime.  (#135195)
2004-08-26 14:29:25 +00:00
Raymond Penners
96533d5c40 Scrollbar patch 2004-08-23 20:53:53 +00:00
cinamod
2e0ddb6121 bump version number 2004-08-23 14:11:28 +00:00
cinamod
45c766084d don't draw handle box grippies for GtkPaned 2004-08-13 17:07:17 +00:00
cinamod
452dfcb081 draw handle box tearoffs properly now in XP mode 2004-08-13 16:56:30 +00:00
cinamod
edf3f56501 make things etched-in 2004-08-13 15:32:19 +00:00
cinamod
30d9d564e1 don't add tearoffs to GtkComboBoxes 2004-07-28 16:19:05 +00:00
cinamod
1093e2c646 some menubar theming improvements 2004-07-20 15:58:29 +00:00
cinamod
290f060d1d this makes inkscape look better 2004-07-20 15:46:44 +00:00
cinamod
6a2313e001 change icon sizes, toolbar sizes 2004-07-09 20:28:41 +00:00
Raymond Penners
f7e3b1ecd4 0.6.1 2004-07-01 22:46:02 +00:00
Raymond Penners
f93cf125f0 Button icons configurable, 0.6.1 2004-07-01 21:30:16 +00:00
cinamod
4432ce213e fix build 2004-06-07 13:58:09 +00:00
cinamod
0cc11ea6e1 disable icons in buttons 2004-06-07 02:11:50 +00:00
cinamod
02039ad7e0 fix inkscape's toolbar buttons, disable application theming if asked nicely, downgrade gtk+ requirements 2004-06-02 19:53:55 +00:00
cinamod
0916b965d6 remove unused cruft 2004-05-22 15:05:06 +00:00
cinamod
3d07c4a958 remove unecessary comments 2004-05-22 02:14:34 +00:00
Raymond Penners
e9ad49365f 0.6.0 2004-05-21 21:15:32 +00:00
Raymond Penners
c8134c7fda Patch 939583 2004-05-21 21:12:07 +00:00
cinamod
0a1f711eb0 fix toolbar button hilite in Luna theme 2004-05-21 21:01:55 +00:00
cinamod
6c6637ab27 rename to libwimp.dll 2004-05-21 19:02:59 +00:00
cinamod
f8cdf240fe win32 color changes work, xp style changes work 2004-05-21 18:35:56 +00:00
cinamod
07ac527c6d better icon sizes 2004-05-21 17:54:37 +00:00
Matthias Clasen
ecd0c58e35 Fix the recent string_conversion_callback change to work on Solaris.
2004-05-04  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c: Fix the recent
	string_conversion_callback change to work on
	Solaris.  (#141190, Padraig O'Briain)
2004-05-04 17:05:20 +00:00
Theppitak Karoonboonyanan
eecb33d6b0 Patch to add support for string conversion callbacks to
GtkIMContextXIM (#101814)
2004-04-24 09:58:48 +00:00
Raymond Penners
43a6de6c89 Renamed GTK-Wimp to MS-Windows Engine 2004-03-20 11:42:30 +00:00
Owen Taylor
bc60ec0b83 Fix ./-> typo. (Federic Crozat)
Thu Mar 18 10:07:15 2004  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-draw.c (match_theme_image): Fix ./-> typo.
        (Federic Crozat)
2004-03-18 15:09:55 +00:00
Owen Taylor
22767f65f7 Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Wed Mar 17 16:38:00 2004  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-draw.c (match_theme_image): Fix problem with
        NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
2004-03-17 21:43:47 +00:00
Owen Taylor
99c074e7cf Clear preedit string and emit preedit_changed as needed on AIX. (#130617,
Thu Mar 11 17:51:10 2004  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (preedit_done_callback):
        Clear preedit string and emit preedit_changed as needed
        on AIX. (#130617, Philip K Warren)
2004-03-11 22:57:10 +00:00
Raymond Penners
3a03f4a071 0.5.4 2004-03-11 20:29:13 +00:00
cinamod
ae308c1491 bump version # 2004-03-10 15:20:45 +00:00
Federico Mena Quintero
80581c3011 Fixes #136082 and #135265, patch by Morten Welinder.
2004-03-05  Federico Mena Quintero  <federico@ximian.com>

	Fixes #136082 and #135265, patch by Morten Welinder.

	* configure.in: Use AC_SYS_LARGEFILE.

	* */*.c: #include <config.h>
2004-03-06 03:38:59 +00:00
cinamod
df2ab6f687 fix font encoding bug 2004-02-25 22:38:58 +00:00
Matthias Clasen
4c471cb7d1 Interrupted commit. 2004-02-22 02:07:26 +00:00
Mark McLoughlin
9d843deb46 only reference input method modules we've actually built. Fixes re-build
2004-02-17  Mark McLoughlin  <mark@skynet.ie>

        * modules/input/Makefile.am: only reference input method
        modules we've actually built. Fixes re-build failure with
        stale hangul module lying aroung. Bug #134518.
2004-02-17 15:24:25 +00:00
Owen Taylor
a5f9b185ab gtk/gtktextlayout.c (line_display_iter_to_index) Only adjust the preedit
Thu Jan 29 18:08:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextlayout.c (line_display_iter_to_index)
        * gtk/gtktextlayout.c (line_display_index_to_iter): Only
        adjust the preedit position for lines that include the
        preedit string. (#132353, Yao Zhang). How the heck
        did this work as well as it did?!?!

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic):
        Reverse change to change of XNFilterEvents event mask from
        #110493 -- it's documented and in the Xlib code an
        unsigned long.

        * modules/input/gtkimcontextxim.c (preedit_start_callback):
        Return -1 rather than void to indicate no length limit.
        (#129548)
2004-01-29 23:33:07 +00:00
Changwoo Ryu
1e8cb4623f Remove broken hangul input module.
* modules/input/imhangul-defs.h:
	* modules/input/imhangul.c:
	* modules/input/Makefile.am: Remove broken hangul input module.
2004-01-27 18:20:16 +00:00
cinamod
30e463b6b4 remove UXTHEME_HAS_LINES, fix menu coloration 2004-01-20 21:46:59 +00:00
Matthias Clasen
07d4d314b6 The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and
Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>

	The first part of the fix for #114351 (see also
	gdk-pixbuf/ChangeLog and po/ChangeLog):

	* gtk/gtkintl.h:
	* gdk-pixbuf/gdk-pixbuf-i18n.h:
	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.

	* gdk/gdkdisplaymanager.c:
	* gdk-pixbuf/gdk-pixbuf.c:
	* modules/input/gtkimcontextxim.c:
	* gtk/*.c:  Mark property blurbs and nicks with P_().

	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
	invocation, since property blurbs and nicks are
	now marked with P_().
2004-01-16 23:10:05 +00:00
cinamod
16f9478ee3 toward bug 853775 2003-12-30 17:22:30 +00:00
cinamod
7b61ec8c3b fix bug 852354 2003-12-30 16:44:40 +00:00
cinamod
4f42c35a0c fix expander's +/- part coloration 2003-12-01 18:56:34 +00:00
cinamod
6e63e7f75a fix coloration in several gimp widgets 2003-11-26 18:03:14 +00:00
cinamod
af05c04e31 fix menu bar bgs 2003-11-24 15:05:48 +00:00
Raymond Penners
11ff1a2a6d 0.5.2 2003-11-19 22:26:45 +00:00
Manish Singh
477e349f84 gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders and
Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>

        * gdk-pixbuf/Makefile.am
        * modules/input/Makefile.am: Use install-data-hook for
        gdk-pixbuf.loaders and gtk.immodules install generation targets.
        Fixes #112806.

        * gtk/gtkexpander.h: Apply missing declarations from #124449.
2003-11-18 00:26:51 +00:00
cinamod
5df65643e2 fix background colors for brick 2003-11-14 17:51:31 +00:00
cinamod
18db2c24e2 fix icon sizes 2003-11-05 21:19:13 +00:00
cinamod
c6e019fbe3 menubars now have shadow=NONE 2003-11-05 17:47:36 +00:00
cinamod
524f0ba1bd scrollbar steppers are now ETCHED_IN 2003-11-05 15:10:27 +00:00
cinamod
4a1bdfb977 win32 color scheme work 2003-11-04 21:59:26 +00:00
Raymond Penners
73ab722107 scrollbar grippers 2003-11-01 15:28:25 +00:00
Owen Taylor
3a7a64aa46 === Released 2.3.0 ===
Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.0 ===

        * configure.in: Remove a stray comma.

        * README.in: Fix a few notes about Xft 1 and pango-1.0.

        * NEWS: Finish updates for 2.3.0.

        * po/Makefile.in.in: Update to latest GLib version.
2003-10-24 22:16:07 +00:00
Raymond Penners
432c583ad5 0.5.1 2003-10-23 18:00:10 +00:00
cinamod
0aca654ce0 update xp_theme_defs 2003-10-23 14:20:27 +00:00
Raymond Penners
0727b51dc2 More code formatting 2003-10-22 18:41:02 +00:00
Raymond Penners
bce3094486 Code formatting 2003-10-22 18:25:50 +00:00
cinamod
28087cb57d use more XP style functions 2003-10-21 18:51:29 +00:00
Raymond Penners
c7353d84ee Scrollbar grippers 2003-10-20 17:38:53 +00:00
cinamod
aac8660254 bump version # 2003-10-20 14:53:05 +00:00
Raymond Penners
bd40282903 gtkrc 2003-10-18 20:45:15 +00:00
Raymond Penners
52349beb92 Grippers 2003-10-18 20:37:30 +00:00
Raymond Penners
a0628bab9a Scrollbar fixes 2003-10-17 18:00:44 +00:00
Raymond Penners
e246918d1b Merged patch from Arnaud Charlet 2003-10-14 18:35:43 +00:00
Raymond Penners
52595ffaf5 Released 0.5.0 2003-10-08 19:22:37 +00:00
Raymond Penners
995c756f11 added safety 2003-10-07 20:53:15 +00:00
Raymond Penners
3d279086dd Messed up changelog, again, zzz 2003-10-07 20:41:36 +00:00
Raymond Penners
359d5c9857 Messed up changelog 2003-10-07 20:40:32 +00:00
Raymond Penners
de1c1916ea Removed debugging stuff 2003-10-07 20:31:45 +00:00
cinamod
c7f1da6b0c clean up some return values in xp_theme 2003-10-07 20:11:27 +00:00
cinamod
3b960961f5 remove C++ comments 2003-10-07 20:07:49 +00:00
Raymond Penners
ab490bdcde Lightweight theme switching 2003-10-07 19:58:28 +00:00
cinamod
bb3f3dbc15 mingw build system 2003-10-07 19:10:15 +00:00
Raymond Penners
8a93f2ff7a Fixes 2003-10-07 18:56:57 +00:00