Juanma Barranquero
b372fceb03
Add stubs for Windows, required after CVE-2010-0825 change.
...
* ntlib.c (getgid, getegid, setegid): New stubs.
* ntlib.h (getgid, getegid, setegid): Declare them.
2010-04-03 04:23:51 +02:00
Stefan Monnier
2912322b80
Merge from emacs-23
2010-04-02 21:54:24 -04:00
Chong Yidong
d86d8ea85a
Bump version to 23.1.95.
2010-04-02 20:42:10 -04:00
Dan Nicolaescu
a568f507d1
* m/intel386.h (NO_REMAP): Move definition ...
...
* s/msdos.h (NO_REMAP): ... here.
2010-04-02 17:24:53 -07:00
Dan Nicolaescu
4cd9f6c2f9
* m/vax.h (CRT0_DUMMIES): Remove, unused.
2010-04-02 17:20:04 -07:00
Dan Nicolaescu
c435b43224
* ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not
...
used on those platforms.
2010-04-02 17:06:38 -07:00
Juri Linkov
9c13a46e07
* ehelp.el (electric-help-orig-major-mode): New buffer-local variable.
...
(electric-help-mode): Set it to original major-mode. Doc fix.
(with-electric-help): Use `electric-help-orig-major-mode' instead
of (default-value 'major-mode). Doc fix.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
2010-04-03 02:01:22 +03:00
Sam Steingold
dbb5e44a98
(bug-reference-bug-regexp): Also accept "patch" and "RFE".
...
(bug-reference-fontify): `bug-reference-url-format' can also be a
function to be able to handle the bug kind.
(turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add
2010-04-02 13:24:37 -04:00
Chong Yidong
51a91f9da6
Fix permissions handling (CVE-2010-0825).
...
* movemail.c (main): Check return values of setuid. Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:26:24 -04:00
Chong Yidong
c8f19d8102
Fix permissions handling (CVE-2010-0825).
...
* movemail.c (main): Check return values of setuid. Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:24:16 -04:00
Jan Djärv
a9ae306fe4
Fix previous fix. Parantesis misplaced.
2010-04-02 17:18:25 +02:00
Jan Djärv
1fa9b3a675
Fix previous fix.
2010-04-02 17:15:05 +02:00
Sam Steingold
3fb87bf50d
(vc-hg-push, vc-hg-pull): Use `apply' when calling
...
`vc-hg-command' with a list of flags.
2010-04-02 10:21:57 -04:00
Jan Djärv
7a5a264fc2
Merge from trunk
2010-04-02 11:45:27 +02:00
Jan Djärv
d0b228766f
tmm.el (tmm-get-keymap): Check with symbolp before passing
...
value to fboundp, it may not be a symbol.
2010-04-02 11:44:50 +02:00
Eli Zaretskii
9cb52861f2
xdisp.c (set_cursor_from_row): Improve comments.
2010-04-02 12:35:01 +03:00
Eli Zaretskii
52f4d8d5bb
Fix typos and formatting in ChangeLog entries.
2010-04-02 12:12:21 +03:00
Dan Nicolaescu
42a2c62292
Remove extern errno declarations.
...
* xterm.c:
* xrdb.c:
* w32term.c:
* unexec.c:
* unexaix.c:
* sysdep.c:
* process.c:
* lread.c:
* keyboard.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c (main):
* ecrt0.c:
* dispnew.c:
* callproc.c:
* buffer.c: Remove errno extern declarations.
* s/netbsd.h (NEED_ERRNO): Remove.
* movemail.c:
* etags.c:
* emacsclient.c: Remove extern errno declarations.
2010-04-01 20:10:33 -07:00
Juanma Barranquero
e4b204d75f
Fix typos in semantic/imenu.el.
...
* cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
(semantic-create-imenu-directory-index): Fix typos in docstrings.
(semantic-imenu-goto-function): Reflow docstring.
2010-04-02 04:25:19 +02:00
Juanma Barranquero
194d44e717
Fix typos in ChangeLogs.
2010-04-02 04:22:17 +02:00
Dan Nicolaescu
8224f93d18
Remove all uses of LIBX11_SYSTEM.
...
* Makefile.in (LIBX11_SYSTEM): Remove.
* s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
instead.
* configure.in: Remove all references to LIBX11_SYSTEM.
2010-04-01 16:08:14 -07:00
Andreas Schwab
d7b4879190
Use correct coding system when verifying a pgp signed message
...
* mm-uu.el (mm-uu-pgp-signed-extract-1): Use buffer-file-coding-system
if set.
2010-04-01 17:34:05 +02:00
Eli Zaretskii
796bb9364a
Remove support for DJGPP v1.x (bug#5813).
...
CPP-DEFINES (__DJGPP__, __GO32__): Remove, no longer used.
2010-04-01 18:29:04 +03:00
Chong Yidong
8a14dec7ef
Fix markup mistake in nonascii.texi.
...
* nonascii.texi (Text Representations): Don't mark enable-multibyte-characters as a user option.
2010-04-01 11:24:53 -04:00
Chong Yidong
8cc8cecf9c
Fix typo.
2010-04-01 11:15:28 -04:00
Eli Zaretskii
a039ec6303
msdos.c: Fix last change.
2010-04-01 18:15:16 +03:00
Eli Zaretskii
ed68db4d2c
Remove support for DJGPP v1.x (bug#5813).
...
src/:
w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
s/msdos.h:
unexec.c (make_hdr, copy_text_and_data):
sysdep.c (wait_for_termination, sys_subshell):
msdos.c (dos_set_window_size, msdos_set_cursor_shape)
(IT_set_terminal_modes):
(__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
(dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
v1.x code and tests of the value of __DJGPP__.
(nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
compatibility code.
lread.c:
gmalloc.c (memalign):
fileio.c (Fcopy_file, check_executable, Ffile_modes):
emacs.c (main):
dosfns.c (init_dosfns):
dired.c (file_name_completion_stat): Remove tests of __DJGPP__.
msdos/:
sed3.inp:
sed2.inp:
sed1.inp:
mainmake: Files removed.
2010-04-01 17:59:46 +03:00
Eli Zaretskii
814062c766
Fix bug #5816 .
...
xdisp.c (set_cursor_from_row): Fix cursor positioning when the
string with `cursor' property comes from an `after-string' overlay.
2010-04-01 15:37:28 +03:00
Katsumi Yamaoka
357e2d8ec0
(Finding the News): Add pointers to the Server buffer because it's essential.
...
By Teodor Zlatanov <tzz@lifelogs.com>.
2010-04-01 10:55:01 +00:00
Glenn Morris
0dc2e11dfd
Cosmetic change to src/Makefile.in.
...
* Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS):
Define as Makefile variables.
(LIBX): Use above variables rather than directly using autoconf.
2010-04-01 00:10:31 -07:00
Chong Yidong
6521c534c4
[merge] Fix last set of Nextstep changes.
...
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.
2010-03-31 18:28:12 -04:00
Chong Yidong
1625d379e0
* cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
2010-03-31 18:22:17 -04:00
Dan Nicolaescu
1d29df5994
Clean up BSD_SYSTEM use.
...
* xterm.c:
* process.c:
* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
for including <sys/ioctl.h>.
* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
code is only used for MSDOS.
2010-03-31 13:39:03 -07:00
Juri Linkov
1cd095c67c
* simple.el (next-line, previous-line): Re-throw a signal
...
with `signal' instead of using `ding'.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
2010-03-31 18:16:12 +03:00
Juri Linkov
67189e6238
* simple.el (keyboard-escape-quit): Raise deselecting the active
...
region higher than exiting the minibuffer.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
2010-03-31 18:02:53 +03:00
Juri Linkov
1546c55901
Rename image-extension-data' to image-metadata'.
...
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01456.html
* image.c: Add `Qextension_data'.
(syms_of_image): Initialize and staticpro `Qextension_data'.
(Fimage_metadata): Rename from `Fimage_extension_data'.
(gif_load): Put GIF extension data to the property
`Qextension_data'.
* image.el (image-animated-p): Use `image-metadata' instead of
`image-extension-data'. Get GIF extenstion data from metadata
property `extension-data'.
2010-03-31 17:55:01 +03:00
Eli Zaretskii
52c3078336
Fix highlight of trailing whitespace is right-to-left lines.
...
xdisp.c (highlight_trailing_whitespace): Support highlight of
trailing whitespace in right-to-left rows.
2010-03-31 17:28:16 +03:00
Chong Yidong
95b1abcfaf
Fix last set of Nextstep changes.
...
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
* nsterm.h: Fix prototype.
2010-03-31 10:27:50 -04:00
Eli Zaretskii
7a1831cf75
Explain how to re-throw a signal.
...
control.texi (Handling Errors): How to re-throw a signal caught
by condition-case.
2010-03-31 12:43:53 +03:00
Eli Zaretskii
4a217bedd4
Fix bug #5703 .
...
w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
in this function.
2010-03-31 12:08:40 +03:00
Katsumi Yamaoka
d35ad51f14
Update.
2010-03-31 06:45:38 +00:00
Katsumi Yamaoka
d40d713a3d
(gnus-article-browse-html-save-cid-content): Rename from
...
gnus-article-browse-html-save-cid-image;
make it work recursively for forwarded messages as well.
(gnus-article-browse-html-parts): Work when prefix arg is given.
(gnus-article-browse-html-article): Doc fix.
2010-03-31 06:44:35 +00:00
Stefan Monnier
855a0da7fd
Get rid of the direct_output optimizations.
...
* keyboard.c (nonundocount): Remove extern declaration.
(command_loop_1): Remove brittle optimisation for cheap and common operations.
* xdisp.c (redisplay_internal): Don't bother checking
redisplay_performed_directly_p any more.
* sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more.
* dispnew.c (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char):
* dispextern.h (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char): Remove.
* cmds.c (nonundocount): Make it static.
2010-03-31 00:14:08 -04:00
Chong Yidong
4f103e0430
* nsterm.h: Fix last change.
2010-03-31 00:00:23 -04:00
Jay Belanger
dcf7843e7e
Change name of default value of calc-settings-file to ~/.emacs.d/calc.el throughout.
2010-03-30 22:47:52 -05:00
Stefan Monnier
85626eefd2
* simple.el (append-to-buffer): Simplify.
2010-03-30 22:53:53 -04:00
Stefan Monnier
857387516c
Merge from emacs-23 branch
2010-03-30 22:37:57 -04:00
Stefan Monnier
75d1428c57
(keys_of_window): Remove redundant/overridden bindings.
2010-03-30 22:08:05 -04:00
Stefan Monnier
2372f27819
* files.el (auto-mode-case-fold): Change default to t.
2010-03-30 21:51:54 -04:00
Katsumi Yamaoka
1d4d7664d7
(MIME Commands): Update description of gnus-article-browse-html-article.
2010-03-31 00:08:42 +00:00