1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

27876 commits

Author SHA1 Message Date
Chong Yidong
e173bbce45 * terminal.c (Fterminal_name, Fdelete_terminal, Fterminal_name)
(Fterminal_parameters, Fterminal_parameter)
(Fset_terminal_parameter): In doc string, refer to terminal
objects rather than terminal ids.
2009-04-04 15:26:03 +00:00
Juanma Barranquero
6af84d777e Fix typos. 2009-04-04 11:32:49 +00:00
Eli Zaretskii
693a2698d9 (system_process_attributes) [SYSTEM_MALLOC]: Don't call ret_lim_data.
(Bug#2867)
2009-04-04 09:43:21 +00:00
Chong Yidong
d52214871e * term.c (produce_stretch_glyph): Reduce width of stretch glyphs
so they don't get wider than the window, matching 2006-01-23
change to the partner function in xdisp.c (Bug#2800).
2009-04-03 15:10:19 +00:00
Kenichi Handa
223509a3a0 (print_object): Make each lowest sub_char_table start a new line. 2009-04-03 06:26:50 +00:00
Kenichi Handa
74fcd0b19c (setup-default-fontset): Specify
iso10646-1 font for characters in PUA of BMP.
2009-04-02 02:50:06 +00:00
Kenichi Handa
de0ad2f744 (fontset_font): Record no-font when a fontset
explicitly tells not to try another font-specs.
2009-04-02 02:45:01 +00:00
Stefan Monnier
c542407dc8 (map_charset_for_dump): Add missing UNGCPRO. 2009-03-30 15:38:56 +00:00
Kenichi Handa
d8d2f142e0 (fontset_from_font): Specify only registry in a font-spec for all
characters supported by that registry.
2009-03-30 12:51:11 +00:00
Kenichi Handa
e386973195 Fix previous change. Define ftfont_variation_glyphs
even if HAVE_M17N_FLT is not defined.
2009-03-30 05:39:01 +00:00
Chong Yidong
3ce80cbea3 Conditionalize prototyping and use of ftfont_variation_glyphs. 2009-03-29 17:12:26 +00:00
Chong Yidong
5da5f80524 * ftfont.c: Conditionalize prototyping and use of ftfont_variation_glyphs. 2009-03-29 17:12:10 +00:00
Stefan Monnier
9628fed721 * editfns.c (general_insert_function): Adjust to insdel.c changes.
* insdel.c (prepare_to_modify_buffer, signal_before_change):
Some more EMACS_INT.
* lisp.h (copy_text, count_size_as_multibyte): Fix last change.
2009-03-28 04:53:04 +00:00
Stefan Monnier
08c8710454 (dump_glyph): Fix typo. 2009-03-28 04:52:28 +00:00
Stefan Monnier
29edae16f0 (delete_frame): Work around compiler bug. 2009-03-28 04:52:12 +00:00
Stefan Monnier
ae19ba7cfc * insdel.c (move_gap, move_gap_both, gap_left, gap_right)
(adjust_markers_gap_motion, adjust_markers_for_delete)
(adjust_markers_for_insert, adjust_point)
(adjust_markers_for_replace, make_gap_larger, make_gap_smaller)
(make_gap, copy_text, count_size_as_multibyte, insert)
(insert_and_inherit, insert_before_markers)
(insert_before_markers_and_inherit, insert_1)
(count_combining_before, count_combining_after, insert_1_both)
(insert_from_string, insert_from_string_before_markers)
(insert_from_string_1, insert_from_gap, insert_from_buffer)
(insert_from_buffer_1, adjust_after_replace)
(adjust_after_replace_noundo, adjust_after_insert, replace_range)
(replace_range_2, del_range, del_range_1, del_range_byte)
(del_range_both, del_range_2, modify_region)
(prepare_to_modify_buffer, signal_before_change)
(signal_after_change, Fcombine_after_change_execute): Use EMACS_INT
for buffer positions and sizes.
* lisp.h: Adjust prototypes accordingly.
* fileio.c (adjust_markers_for_delete): Move declaration to lisp.h.
(non_regular_inserted, non_regular_nbytes, read_non_regular)
(Finsert_file_contents): Use EMACS_INT for buffer positions.
2009-03-28 02:24:22 +00:00
Stefan Monnier
ab226c5075 (Finsert_file_contents): Don't limit size to INT_MAX/4. 2009-03-28 02:06:06 +00:00
Jan Djärv
46dfb8fbad (handle_one_xevent): Call x_handle_net_wm_state if
the property _NET_WM_STATE has changed.
updated.
(x_handle_net_wm_state): New function to update frame parameter
fullscreen.
(x_term_init): Initialize atoms for _NET_WM_STATE.
2009-03-27 18:40:04 +00:00
Jan Djärv
fc82c45286 (struct x_display_info): Add atoms for _NET_WM_STATE. 2009-03-27 18:37:41 +00:00
Jan Djärv
5a9aae2ec9 (x_set_font): If the fullscreen property is non-nil, adjust
lines and columns so we keep the same pixel height and width.
2009-03-27 18:30:55 +00:00
Stefan Monnier
d347e4943a * keyboard.c (tty_read_avail_input): Don't treat a -1 return from
Gpm_GetEvent as an error that justifies closing the filedescriptor.
* term.c (close_gpm): Get the filedescriptor as a (new) parameter.
(Fgpm_mouse_stop): Pass that new parameter.
* termhooks.h (close_gpm): Adjust prototype.
2009-03-27 16:14:23 +00:00
Kenichi Handa
67ceab9df4 (Fdetect_coding_string): Improve the docstrings. 2009-03-27 07:26:37 +00:00
Kenichi Handa
b811c52b91 (Fdetect_coding_region, Fcoding_system_priority_list): Improve the
docstrings.
2009-03-27 07:25:44 +00:00
Stefan Monnier
c95a500868 (Fx_focus_frame): Declare. 2009-03-26 22:15:13 +00:00
Stefan Monnier
84db11d602 * callint.c (Fcall_interactively): For '^' just delegate the work to
handle-shift-selection.
(syms_of_callint): Move declaration of shift-select-mode to simple.el.
* simple.el (shift-select-mode): Move declaration from callint.c.
(handle-shift-selection): Remove `deactivate' arg and check
shift-select-mode instead.
2009-03-26 17:07:54 +00:00
Juanma Barranquero
087e2ea955 Fix typo in comment. 2009-03-25 11:58:43 +00:00
Chong Yidong
c6493cdde3 (Ffloat_time): Doc fix (Bug#2768). 2009-03-24 17:37:58 +00:00
Chong Yidong
0bfdff239c * editfns.c (Ffloat_time): Doc fix (Bug#2768). 2009-03-24 17:37:32 +00:00
Chong Yidong
2b9aa051bc (Fcommandp): Use Qinteractive_form. 2009-03-24 16:37:25 +00:00
Chong Yidong
3860280a57 (Qinteractive_form): New variable.
(Finteractive_form): Use it.
2009-03-24 16:35:52 +00:00
Chong Yidong
0a1958d6be * data.c (Qinteractive_form): New variable.
(Finteractive_form): Use it.

* eval.c (Fcommandp): Use Qinteractive_form.
2009-03-24 16:35:27 +00:00
Jason Rumney
58aec0d679 (Fsubstitute_in_file_name): Always work on a copy.
Calculate total size precisely.  Decode environment variables
before substituting.  (Bug#38)
2009-03-24 14:14:53 +00:00
Kenichi Handa
639239cf99 *** empty log message *** 2009-03-24 01:42:12 +00:00
Kenichi Handa
553dd618a3 *** empty log message *** 2009-03-24 01:07:21 +00:00
Kenichi Handa
182ba28cff (find_font_encoding): Return Qnil for unsupported encoding. 2009-03-24 00:56:34 +00:00
Jan Djärv
c39ea606e9 gtkutil.c (xg_display_open): Assign a value to gdpy_def, check
that gdpy is set.
2009-03-23 17:09:17 +00:00
Alan Mackenzie
f9257eedc9 (Finteractive): Clarify the doc string - even promptless elements need \n
separators.
2009-03-22 15:09:48 +00:00
Alan Mackenzie
bc9b2b5ea6 *** empty log message *** 2009-03-22 15:05:25 +00:00
Jason Rumney
9f995a76b8 (x-use-underline-position-properties): Doc fix. 2009-03-22 02:43:37 +00:00
Eli Zaretskii
22749e9acb inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
	  (getpwuid): Argument is now unsigned.
	  uid_t is now unsigned.

ntlib.c (setuid): Argument is now unsigned.
	(getuid): Return value is now unsigned.
	(getpwuid): Argument is now unsigned.
	(fchown): UID and GID arguments are now unsigned.

ntlib.h (fchown): UID and GID arguments are now unsigned.
	(getuid): Return value is now unsigned.
	(setuid): Argument is now unsigned.
	(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).

w32.c   (getpwuid): Change argument type to unsigned.
	(struct w32_id): Change type of `rid' member to unsigned.
	(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
	argument ID to unsigned.  All callers changed.
	(getuid, geteuid, getgid, getegid): Change return type to unsigned.
2009-03-21 11:31:50 +00:00
Eli Zaretskii
e00553bf16 (Fuser_uid, Fuser_real_uid): If UID as EMACS_INT is negative, produce
a float value.
2009-03-20 17:59:38 +00:00
Eli Zaretskii
51105b1324 (make_uid, make_gid): New functions.
(Ffile_attributes): Use them to avoid negative UID and GID.
2009-03-20 17:58:10 +00:00
Juanma Barranquero
f761d6b6a7 * keyboard.c (Fcurrent_idle_time): Reflow docstring.
(syms_of_keyboard) <command-hook-internal, input-method-function>:
  Fix typos in docstrings.
2009-03-20 09:41:19 +00:00
Kenichi Handa
d507f8d743 (x_set_font): Handle the case that ARG is a cons. 2009-03-19 06:51:07 +00:00
Kenichi Handa
0875632e00 (Fset_fontset_font): When a spec of ASCII font is
changed, use font_load_for_lface to get a new font object.  Call
free_realized_fontset after handling ASCII font change.
2009-03-19 06:50:41 +00:00
Glenn Morris
c68845e058 (Fsubstitute_in_file_name): Doc fix. 2009-03-19 06:26:04 +00:00
Chong Yidong
11fb10def4 (Fvertical_motion): Undo 2005-01-19 change (Bug#2694). 2009-03-19 02:58:21 +00:00
Chong Yidong
bfa49dd1ad * indent.c (Fvertical_motion): Undo 2005-01-19 change (Bug#2694). 2009-03-19 02:58:13 +00:00
Kenichi Handa
8458d4c169 (load_charset_map_from_file): When a mapfile can't be loaded, signal
an error.
2009-03-19 00:46:35 +00:00
Eli Zaretskii
78e7d1fe15 (Ffile_attributes): Make sure UID and GID are always positive, even
if the value is too large for a positive EMACS_INT.  Doc fix.
2009-03-18 20:38:41 +00:00