Gerd Moellmann
f64ae86ca6
(create-image, defimage): Don't assume image data is a
...
string.
2000-01-01 16:42:20 +00:00
Gerd Moellmann
162dec0193
(defimage): Handle specifications containing :data
...
instead of :file.
(image-type-from-data): New function.
(image-type-from-file-header): Use it.
(create-image): Add parameter DATA-P.
2000-01-01 16:33:32 +00:00
Gerd Moellmann
45158a9105
(x_create_x_image_and_pixmap): Remove parameter file.
...
All calls adjusted.
(x_build_heuristic_mask): Likewise.
(xbm_load_image_from_file): Change error output.
(xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load)
(gif_load, gs_load, x_kill_gs_process): Ditto.
2000-01-01 10:35:43 +00:00
Gerd Moellmann
63cec32f8d
(gif_load): Avoid sign extension and thus out of bounds
...
color indices when accessing raster pixels.
(gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only
one of :file or :data.
(enum pbm_keyword_index): Add PBM_DATA.
(pbm_format): Add :data.
(pbm_image_p): Allow either :file or :data.
(pbm_read_file): New function.
(pbm_scan_number): Rewritten to read from string.
(pbm_load): Support :data.
2000-01-01 10:09:45 +00:00
Richard M. Stallman
3998eed0c7
*** empty log message ***
2000-01-01 07:14:57 +00:00
Gerd Moellmann
9b784e9676
(gif_load): Avoid sign extension and thus out of bounds
...
color indices when accessing raster pixels.
2000-01-01 00:04:52 +00:00
Richard M. Stallman
40891308b8
(command-history): Renamed from command-history-mode.
...
(Command-history-setup): Don't switch buffers. Take
no args, and do not set major-mode, mode-name or the local map.
(command-history-mode): New function, does some of those things
Command-history-setup used to do.
(list-command-history): Call command-history-mode, not
Command-history-setup.
1999-12-31 23:41:32 +00:00
Richard M. Stallman
e65f2cc093
(electric-command-history): Call Command-history-setup
...
and command-history-mode using their new conventions.
1999-12-31 23:41:11 +00:00
Richard M. Stallman
23e3e630ba
*** empty log message ***
1999-12-31 23:40:48 +00:00
Richard M. Stallman
d4e672cabf
(archive-mode-map): Bind q to quit-window.
1999-12-31 21:13:57 +00:00
Gerd Moellmann
5ad6a5fb89
New image functions adapted to Emacs conventions.
...
(png_load, tiff_load, jpeg_load, gif_load): Always GCPRO local
variable `file'.
1999-12-31 16:47:13 +00:00
William M. Perry
bc28370787
* image.el (defimage): Images with the :data keyword should be considered valid as well.
1999-12-31 15:54:44 +00:00
William M. Perry
63448a4dc2
Changes to xfns.c to support reading images from a memory buffer instead of forcing them to be on disk. GIF/JPEG/PNG/TIFF currently support this.
1999-12-31 15:47:49 +00:00
Gerd Moellmann
c880678e3e
(next_element_from_buffer): Change assertion at the end
...
because it doesn't hold when there's an overlay string at the end
from which we deliver an image.
1999-12-31 15:35:03 +00:00
Gerd Moellmann
3bd37feb63
Support :data for JPEG.
1999-12-31 15:04:57 +00:00
Gerd Moellmann
8e39770ae5
(enum jpeg_keyword_index): Add JPEG_DATA.
...
(jpeg_format): Add :data.
(jpeg_image_p): Handle :data.
(our_fill_input_buffer, our_skip_input_data, our_term_source)
(jpeg_memory_src): New functions.
(jpeg_load): Read image from string data.
1999-12-31 14:55:28 +00:00
Richard M. Stallman
f6e2cbe3c1
(dired-get-filename): Don't call file-name-absolute-p with FILE if FILE is nil.
1999-12-31 07:04:08 +00:00
Richard M. Stallman
f436a90ae2
(choose-completion-string): In minibuffer,
...
do not delete the prompt string.
1999-12-31 04:02:38 +00:00
Gerd Moellmann
cc8fdbd3c2
(make-mode-line-mouse-sensitive): Copy keymap
...
assigned to mode-line-mode-menu because bindings.el is dumped with
Emacs, and thus the lists used for menu-item definition will be
copied to pure space. Emacs' menu code (parse_menu_item) doesn't
like pure menu item definitions.
1999-12-30 17:49:14 +00:00
Eli Zaretskii
8ccb9a546b
(IT_update_begin): Don't dereference members of struct
...
window for deleted windows.
1999-12-30 14:14:38 +00:00
Gerd Moellmann
ef961722ad
Change to `no-self-insert' abbrev hooks.
1999-12-30 12:32:41 +00:00
Gerd Moellmann
a915c6488f
*** empty log message ***
1999-12-30 12:27:44 +00:00
Gerd Moellmann
79d2af9c26
(Fexpand_abbrev): If expanding an abbrev which has only
...
a hook, and the hook has a non-nil `no-self-insert' property, let
the return value of the hook specify whether an expansion took
place. If it returns nil, no expansion has been performed.
1999-12-30 12:26:53 +00:00
Gerd Moellmann
345839e3ec
(expand-abbrev-hook): Return t if expansion was
...
done, nil otherwise.
1999-12-30 12:25:22 +00:00
Gerd Moellmann
12ce2351b5
(x_make_frame_visible): Wait for frame becoming visible
...
differently.
1999-12-30 11:45:10 +00:00
Eli Zaretskii
04ee4f45e1
(IT_write_glyphs): Track last changes to struct glyph.
1999-12-30 11:21:53 +00:00
Richard M. Stallman
23bdfc9af6
(tar-mode-map): Bind q to quit-window, not tar-quit.
...
(tar-quit): Function deleted.
1999-12-30 08:26:31 +00:00
Richard M. Stallman
d989116ddb
*** empty log message ***
1999-12-30 08:22:06 +00:00
Richard M. Stallman
3ba2590f71
Supply licensing info.
1999-12-30 02:57:12 +00:00
Richard M. Stallman
2b12cfbfd1
Fix in license info.
1999-12-30 02:50:29 +00:00
Eli Zaretskii
7f4bc0c36c
(mode_line_string): Support MS-DOS frames.
1999-12-29 12:31:58 +00:00
Gerd Moellmann
dac204bce1
(syms_of_eval): Initialize debug_may_continue.
1999-12-29 10:41:49 +00:00
Thien-Thi Nguyen
30f80d00b5
(also deleted unsightly eol whitespace)
1999-12-29 09:06:03 +00:00
Thien-Thi Nguyen
1a8e83dc40
(hs-minor-mode-menu): Fix omission bug; was used but not declared.
...
(hs-discard-overlays, hs-isearch-show, hs-isearch-show-temporary,
hs-find-block-beginning): Add or modify docstrings.
(hs-isearch-show): Rewrite.
1999-12-29 09:00:35 +00:00
Kenichi Handa
1c89844b12
(read_process_output): Fix the args CHARPOS and LENINS
...
to signal_after_change.
1999-12-29 00:57:25 +00:00
Kenichi Handa
7b712ad8f5
*** empty log message ***
1999-12-29 00:56:48 +00:00
Thien-Thi Nguyen
74576c2c8d
*** empty log message ***
1999-12-28 23:44:13 +00:00
Thien-Thi Nguyen
4340f945cf
*** empty log message ***
1999-12-28 23:38:33 +00:00
Gerd Moellmann
e83062243f
(icomplete-exhibit): Adapt to prompt in buffer.
1999-12-28 18:14:44 +00:00
Gerd Moellmann
a3d4e58757
(c-fill-paragraph): Don't delete white
...
space in front of a C-style comment end.
1999-12-28 16:16:23 +00:00
Eli Zaretskii
5731b491b2
(command-line-1): Make mode line mouse-sensitive for
...
the MS-DOS version as well.
1999-12-28 16:03:01 +00:00
Eli Zaretskii
41ad069bdc
Changes for supporting mouse/modeline highlight and help echo features:
...
(dos_set_window_size) [__DJGPP__ > 1]: If the frame
dimensions changed, invalidate the mouse highlight info.
(disable_mouse_highlight, help_echo, previous_help_echo): New
variables.
(IT_set_mouse_pointer, show_mouse_face, clear_mouse_face)
(fast_find_position, IT_note_mode_line_highlight)
(IT_note_mouse_highlight): New functions.
(IT_update_begin): If the redisplay affects the window where the
mouse highlight is, clear the highlight. If the frame where the
highlight was displayed was killed, invalidate the highlight
info.
(IT_update_end): Reset the highlight flag. Reset the mouse
highlight-defer flag.
(IT_frame_up_to_date): New function, if mouse highlight was
deferred due to GC, do it now.
(internal_terminal_init): Initialize mouse-highlight related
members of the_only_x_display. Assign IT_frame_up_to_date to
frame_up_to_date_hook.
(dos_rawgetc): If the mouse moved, update mouse highlight. If
help_echo changed value, generate a HELP_EVENT event.
(syms_of_msdos): Staticpro help_echo and previous_help_echo.
1999-12-28 15:59:34 +00:00
Eli Zaretskii
adb9900f35
(struct display_info): New.
...
(struct x_output): Add the display_info member.
(FRAME_X_DISPLAY_INFO): New macro.
1999-12-28 15:56:29 +00:00
Gerd Moellmann
0d43b60dfe
Hideshow changes.
1999-12-28 13:08:05 +00:00
Gerd Moellmann
6448a6b36f
*** empty log message ***
1999-12-28 13:05:57 +00:00
Gerd Moellmann
bcdda9a4bb
(dump_glyph_row): Adapt to changes in struct glyph.
1999-12-28 12:18:41 +00:00
Gerd Moellmann
481b505472
(modify_overlay): Always compute unchanged info.
1999-12-28 12:13:02 +00:00
Gerd Moellmann
9d60f77200
(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED
...
if MODIFF > 1.
1999-12-28 12:05:39 +00:00
Richard M. Stallman
2765768780
(ispell-process-line): Add local var line-offset to adjust for the change
...
in positions within the line, due to previous replacements.
1999-12-28 05:37:52 +00:00
Richard M. Stallman
d7e110e479
(lpr-buffer, print-buffer, lpr-region, print-region): Doc fixes.
1999-12-28 03:36:21 +00:00