Commit graph

16757 commits

Author SHA1 Message Date
Jan Djärv
a97e413807 gtkutil.c (free_frame_tool_bar): Removed debug printf. 2003-01-30 17:14:48 +00:00
Dave Love
6eed9bed52 *** empty log message *** 2003-01-30 14:27:00 +00:00
Dave Love
2c5bd60800 (Vgc_elapsed, gcs_done): New variables.
(Fgarbage_collect): Use them.
(init_alloc, syms_of_alloc): Set them up.
2003-01-30 14:15:58 +00:00
Juanma Barranquero
100dcd40b8 (init_external_image_libraries): Add missing operator. 2003-01-30 07:21:10 +00:00
Jason Rumney
fbd852aff7 *** empty log message *** 2003-01-29 23:35:27 +00:00
Jason Rumney
a56e4a5fd2 (init_external_image_libraries): Allow jpeg-62.dll as
an alternative name for jpeg.dll.
2003-01-29 23:31:11 +00:00
Kenichi Handa
ae73dc1c66 (set_cursor_from_row): Pay attention to string display properties. 2003-01-29 13:12:46 +00:00
Kenichi Handa
8a2d8020c1 *** empty log message *** 2003-01-29 13:12:27 +00:00
Kim F. Storm
88c717201f Corrected misc. typos like missing : after file names,
missing file name suffixes, and * used as prefix on non-file entries.
2003-01-28 23:49:11 +00:00
Andrew Choi
058c18c71f 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
        <escape>.
        (keycode_to_xkeysym_table): Reformat and add more comments.
        (XTread_socket): Drop special case for backspace.

        * term/mac-win.el: Add entries in function-key-map for
        [tab], [backspace], [escape].
2003-01-28 18:46:07 +00:00
Andrew Choi
385f11cf35 2003-01-28 Andrew Choi <akochoi@shaw.ca>
* macfns.c (x_to_mac_color): Correct the order for parsing the RGB
        values in old-style RGB specs.
2003-01-28 17:30:12 +00:00
Juanma Barranquero
c922a224f8 (init_external_image_libraries): Try alternate names for the jpeg dll. 2003-01-27 22:19:26 +00:00
Jan Djärv
0a1d6de043 gtkutil.c: Check for NULL string before calling strcmp or strlen. 2003-01-27 19:36:10 +00:00
Kenichi Handa
3201ea579b (x_set_name, x_set_title): Add comment about encoding strategy. 2003-01-27 01:04:03 +00:00
Kenichi Handa
231a33160e (Fformat): Add comment about the treatment of 0 as a multibyte
character.
2003-01-26 23:21:53 +00:00
Jan Djärv
1d1885fc4d gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display
and handle image load failure (invalid pixmap).
2003-01-26 18:23:54 +00:00
Jason Rumney
2890831296 *** empty log message *** 2003-01-26 01:26:32 +00:00
Jason Rumney
afc390dc50 (init_jpeg_functions, jpeg_resync_to_restart_wrapper):
New functions.
(jpeg_load): Sync with xfns.c version. Adjust colors for Windows.
Disable color table lookups. Call jpeg library functions
through pointers determined at runtime.
(init_external_image_libraries): Try to load jpeg.dll.
2003-01-26 01:21:25 +00:00
Jason Rumney
c262430d11 *** empty log message *** 2003-01-25 20:50:26 +00:00
Jason Rumney
839b190994 (XPutPixel): Handle monochrome images; used for masks.
[HAVE_PNG]: Sync with xfns.c version.
(png_load): Adjust colors for Windows. Use Windows
bitmaps. Disable color table lookups.
(DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros.
(init_png_functions): New function.
(png_read_from_memory, png_load): Call png library functions
through pointers determined at runtime.
(QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare.
(init_external_image_libraries): New function.
(init_xfns): Call it.
2003-01-25 20:45:29 +00:00
Richard M. Stallman
84e474169b *** empty log message *** 2003-01-25 19:49:44 +00:00
Richard M. Stallman
ecb32e0ff0 Declare format2 instead of format1. 2003-01-25 19:49:27 +00:00
Richard M. Stallman
67e8e2b809 (barf_or_query_if_file_exists): Call format2 instead of format1. 2003-01-25 19:48:59 +00:00
Richard M. Stallman
5c4930b020 (Fkill_buffer): Call format2 instead of format1. 2003-01-25 19:48:30 +00:00
Richard M. Stallman
d40dc1d037 (format2): New function, replaces format1
but takes exactly two Lisp Objects as format args.
2003-01-25 19:48:14 +00:00
Richard M. Stallman
6afc669e92 Comment change. 2003-01-25 19:47:02 +00:00
Jan Djärv
1fcfb86611 Fix input methods for GTK.
Don't right justify GTK help menu.
2003-01-25 16:25:39 +00:00
Jason Rumney
54eefef1cf (XPutPixel): Handle monochrome images; used for masks.
[HAVE_PNG]: Sync with xfns.c version.
(png_load): Adjust colors for Windows. Use Windows
bitmaps. Disable color table lookups.
2003-01-25 15:14:16 +00:00
Andreas Schwab
1a9e275b0e (Fminibuffer_message): Verify type of parameter. 2003-01-24 19:15:14 +00:00
Juanma Barranquero
f25dcaa0bb *** empty log message *** 2003-01-24 17:23:46 +00:00
Jan Djärv
81e302ef31 gtkutil.c (xg_initialize): Initialize id_to_widget here instead
of static initializer
2003-01-24 17:10:07 +00:00
Dave Love
422eec7eb8 (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]:
Use __alignof__.
2003-01-24 12:24:33 +00:00
Dave Love
e7b6b57283 (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
architectures.
2003-01-24 12:22:01 +00:00
Kenichi Handa
2a026b0452 (adjust_point_for_property): New second arg MODIFIED.
It it is nonzero, don't pretend that an invisible area doesn't
exist.
(command_loop_1): Call adjust_point_for_property with proper
second arg.
2003-01-24 02:31:24 +00:00
Juanma Barranquero
ceb39a1798 *** empty log message *** 2003-01-23 11:49:05 +00:00
Jason Rumney
a18bb28da6 * w32term.c (x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground): Implement overstriking.

* w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current
phys_cursor's hpos is overwritten.  This is still not completely
correct, as it doesn't really make sense to use hpos at all to
get the cursor glyph (as that is relative to the width of the
characters on the line, which may have changed during the update).

* w32term.c (notice_overwritten_cursor): Handle the special case
of the cursor being in the first blank non-text line at the
end of a window.

* w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor)
(x_draw_phys_cursor_glyph): Set phys_cursor_width here.
Compute from the x position returned by x_draw_glyphs.

* w32term.c (note_mode_line_or_margin_highlight): Renamed from
note_mode_line_highlight and extended.

* w32term.c (last_window): New variable.
(w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs.
(note_mouse_movement): Remove reimplemented code in #if 0.
2003-01-22 23:04:27 +00:00
Jason Rumney
623cdbf20f (x_set_cursor_type): Set cursor_type_changed,
not update_mode_lines, and always set it to 1.
2003-01-22 23:03:44 +00:00
Andreas Schwab
8f417b3bb8 Regenerated. 2003-01-22 19:57:26 +00:00
Juanma Barranquero
9ccf54e9a3 Fix typo. 2003-01-22 16:14:48 +00:00
Jason Rumney
ac6e47ef0a *** empty log message *** 2003-01-21 23:13:14 +00:00
Jason Rumney
2bf04b9d20 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
* w32term.c (note_mode_line_highlight): Delete #if 0 to enable
	function w32_define_cursor.
	(note_mouse_highlight): Initialize, setup cursor accoding to mouse
	position, change member name output_data.x to output_data.w32 and
	add function w32_define_cursor.
	(show_mouse_face): Delete #if 0 to enable function w32_define_cursor
	and change member name output_data.x to output_data.w32.
	(w32_initialize_display_info): Setup
	dpyinfo->vertical_scroll_bar_cursor.

2003-01-21  David Ponce <david@dponce.com>

	* w32term.c (w32_encode_char): For DIM=1 charset, set
	ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c
	x_encode_char change by Kenichi Handa <handa@m17n.org> on
	2002-09-30.
	(w32_draw_relief_rect): Declare all args.
	(w32_define_cursor): New.
2003-01-21 23:06:50 +00:00
Jason Rumney
f335810579 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp>
* w32term.h (struct w32_output): New member hand_cursor.
	(WM_EMACS_SETCURSOR): New message definition.
2003-01-21 23:06:05 +00:00
Jason Rumney
c9b2104df6 2003-01-21 Jason Rumney <jasonr@gnu.org>
* w32fns.c (IDC_HAND): Define it if system headers don't.

2003-01-21  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp>

	* w32fns.c (Vx_hand_shape): New variable.
	(w32_wnd_proc): Add message entries for WM_SETCURSOR and
	WM_EMACS_SETCURSOR.
	(x-create-frame): Setup Cursor types.

2003-01-21  David Ponce <david@dponce.com>

	* w32fns.c (w32_load_cursor): New function.
	(w32_init_class): Use it.
	(x_put_x_image): Declare all args.
2003-01-21 23:05:18 +00:00
Juanma Barranquero
46cf0bede3 (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. 2003-01-21 21:36:15 +00:00
Jan Djärv
e87944765b gtkutil.c: Must include stdio.h before termhooks.h 2003-01-21 18:14:05 +00:00
Dave Love
83fc9c63ea (Fgc_status): Print zombie list.
(mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
Fix assignment of zombies.
(Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]:
Don't take car of non-cons.
2003-01-21 16:56:38 +00:00
Dave Love
69f5d6fede (GC_SETJMP_WORKS, GC_MARK_STACK): Define. 2003-01-21 16:47:27 +00:00
Jason Rumney
fe04b8c806 (digest_single_submenu): Declare all args.
Sync with 2002-12-23  Richard M. Stallman  <rms@gnu.org>
changes in xmenu.c:

(parse_single_submenu): Use individual keymap's prompt
string as pane name, if there is one.
(set_frame_menubar): Save menu_items_n_panes from each call to
parse_single_submenu and use it when calling digest_single_submenu.
2003-01-20 20:18:13 +00:00
Steven Tamm
539e69a9fd * macterm.c (XTread_socket): Checks for valid, visible window
before sending a scroll-wheel event.
2003-01-20 16:53:38 +00:00
Richard M. Stallman
675d000fab *** empty log message *** 2003-01-20 09:12:53 +00:00