1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-08 00:33:13 -08:00
Commit graph

95455 commits

Author SHA1 Message Date
Sam Steingold
aa2d4bd343 * lisp/mouse.el (mouse-yank-primary, mouse-yank-secondary):
Do not call `x-get-selection' the second time, reuse the value.
2010-07-26 15:05:47 -04:00
Dan Nicolaescu
977105dcbf NO_RETURN functions should not return.
* keyboard.c (Ftop_level, Fexit_recursive_edit)
(Fabort_recursive_edit): Remove return statements in NO_RETURN
functions.
2010-07-26 10:11:43 -07:00
Dan Nicolaescu
f5ada8903b * frame.h (Qtty_color_mode): Add declaration. 2010-07-26 09:57:19 -07:00
Juanma Barranquero
e29eb8cf27 src/ChangeLog: Add missing bug reference. 2010-07-26 12:09:02 +02:00
Dan Nicolaescu
ccaf03362b Mark functions as NO_RETURN.
* src/lisp.h (Ftop_level, Fexit_recursive_edit)
(Fabort_recursive_edit): Mark as NO_RETURN.
2010-07-25 23:37:26 -07:00
Dan Nicolaescu
ef00b293f6 * lwlib/xlwmenu.h (xlwmenu_window_p, xlwmenu_redisplay): Add declarations. 2010-07-25 23:22:32 -07:00
Daiki Ueno
78b84da382 Add alternative key bindings to epa-mail.el.
* epa-mail.el (epa-mail-mode-map): Add alternative key bindings
which consist of control chars only.  Suggested by Richard
Stallman.
2010-07-26 14:22:13 +09:00
Kenichi Handa
50efd41b43 merge trunk 2010-07-26 13:29:08 +09:00
Kenichi Handa
dfe3c90fa5 font.c (Ffont_shape_gstring): Terminate GSTRING by nil if the number of glyphs gets smaller than the original length. 2010-07-26 13:28:02 +09:00
Juanma Barranquero
7d383292d1 * lread.c (unreadpure, mapatoms_1): Make static. 2010-07-26 02:43:58 +02:00
Juanma Barranquero
da31e629b6 * terminfo.c (tparam): Fix prototype of tparm (followup to 2010-07-25T00:20:51Z!lekktu@gmail.com). 2010-07-25 21:30:14 +02:00
Andreas Schwab
dcc19aacb7 Use __executable_start to find start of text segment for profiling
* emacs.c (main) [PROFILING]: Use __executable_start if defined to
find start of text segment.
* dispnew.c (safe_bcopy): Don't define if HAVE___EXECUTABLE_START
is defined.

* configure.in: Check for __executable_start.
2010-07-25 21:09:54 +02:00
Andreas Schwab
7bfa6d7793 * callproc.c (set_initial_environment): Avoid unbalanced braces. 2010-07-25 20:36:37 +02:00
Ken Brown
63f9a672cb * vm-limit.c (check_memory_limits): Fix previous change; accidentally reverted an earlier change. 2010-07-25 10:13:30 -04:00
Ken Brown
2493307567 Cygwin build cleanup (Bug#6715).
* mem-limits.h (BSD4_2) [cygwin]: Don't define here; instead...
* vm-limit.c: ...add 'defined (CYGWIN)' here.
2010-07-25 09:46:48 -04:00
Daiki Ueno
192cfe779a Fix typo and comment. 2010-07-25 20:50:51 +09:00
Daiki Ueno
4f195cf704 Fix *.gpg file creation (bug#6723).
* epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
exists before passing an error to find-file-not-found-functions (bug#6723).
2010-07-25 20:23:43 +09:00
Katsumi Yamaoka
86fb10614e Accept x-pkcs7-signature MIME type as signature.
2010-07-24  David Engster  <dengste@eml.cc>
 * mml-smime.el (mml-smime-epg-verify): Also accept the older
 x-pkcs7-signature MIME type as signature (RFC 2311, C.1).
2010-07-25 10:29:49 +00:00
Christoph Scholtes
f8e0614ccb Build binary distros on Windows using emacs-VERSION as root dir name.
* nt/makefile.w32-in: Copy README.W32 to installation directory
  during `make install'.  Remove README.W32 with `distclean' (in
  case Emacs was installed in place).  Use temporary directory to
  create distribution zip files in `dist' target.
* nt/zipdist.bat: Simplify code using temporary directory.
2010-07-25 05:53:37 +02:00
Juanma Barranquero
35a7804dae * emacsclient.c (getcwd): Fix previous change.
Make getcwd conditional on HAVE_GETCWD and declare with the
  correct POSIX profile (for some reason MinGW headers define
  its 2nd arg as int, not size_t; but getcwd is not used on
  Windows nonetheless).
2010-07-25 05:36:54 +02:00
Christoph Scholtes
d24076a601 Added README.W32 to distclean. Updated Changelog. 2010-07-24 21:07:15 -06:00
Juanma Barranquero
361358ea12 Make building under stricter warning flags somewhat cleaner.
Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes

* lib-src/emacsclient.c (getcwd, w32_getenv):
* lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.

* nt/runemacs.c (set_user_model_id): Fix prototype.

* src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
* src/dired.c (opendir, readdir): Fix prototypes.
* src/editfns.c (w32_get_internal_run_time): Fix prototypes.
* src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
* src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
  (telldir): Remove declaration.
* src/ralloc.c (real_morecore, __morecore): Fix prototypes.
* src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
* src/syssignal.h (strsignal): Fix prototype.
* src/term.c (tparam): Fix prototype.
  (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
  (term_get_fkeys): Set inside "#ifndef DOS_NT".
* src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
  and __morecore.
* src/w32gui.h (XParseGeometry): Fix prototype.
* src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
* src/w32term.c (my_set_focus): Declare inside #if 0.
* src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
  (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
  (drain_message_queue, get_next_msg, post_msg, parse_button)
  (ClipboardSequence_Proc): Fix prototypes.
  (wait_for_sync): Remove declaration.
2010-07-25 02:20:51 +02:00
Christoph Scholtes
7f86df5f42 Added ChangeLog entry for copying of README.W32. 2010-07-24 16:10:01 -06:00
Christoph Scholtes
5904117d3c Fixed whitespace. 2010-07-24 16:07:04 -06:00
Ken Brown
12a251254b Regenerate configure. 2010-07-24 18:06:03 -04:00
Christoph Scholtes
e0d6af9cc6 Code cleanup. Added ChangeLog entry. 2010-07-24 16:04:10 -06:00
Christoph Scholtes
4ad28e2787 Refactoring of make dist target 2010-07-24 15:35:36 -06:00
Juanma Barranquero
630b95924e * w32fns.c (w32_to_x_color): Remove, unused. 2010-07-24 22:52:43 +02:00
Ken Brown
0c1085c507 * configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715) 2010-07-24 14:44:54 -04:00
Andreas Schwab
6a0d661142 * lisp.h: Remove leftover P_. 2010-07-24 20:15:40 +02:00
Dan Nicolaescu
68441b90e9 Add NO_RETURN specifiers to functions in lib-src.
* lib-src/update-game-score.c (usage):  Add NO_RETURN specifier.
* lib-src/movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
* lib-src/make-docfile.c (fatal):
* lib-src/hexl.c (usage):
* lib-src/fakemail.c (fatal):
* lib-src/etags.c (fatal, suggest_asking_for_help, pfatal):
* lib-src/emacsclient.c (fatal):
* lib-src/b2m.c (fatal): Likewise.
2010-07-24 10:18:18 -07:00
Dan Nicolaescu
4e8608ff8e Add ChangeLog entry for previous commit:
* ecrt0.c, unexalpha.c: Remove files, unused.
2010-07-24 10:03:41 -07:00
Andreas Schwab
c8197983c5 Make internal_self_insert static
* cmds.c (internal_self_insert): Make static.
* lisp.h (internal_self_insert): Remove declaration.
2010-07-24 17:21:56 +02:00
Juanma Barranquero
2294431987 * .bzrignore, .gitignore: Ignore README.W32 on the root directory. 2010-07-24 15:43:48 +02:00
Christoph Scholtes
e3aef5c688 New make target for Windows platform: make dist (bug#6602)
* admin/admin.el: Write version number to nt/makefile.w32-in.
* admin/nt/makedist.bat: Remove; replaced with `zipdist.bat'
  in the nt/ directory.
* admin/nt/README.W32: Relocate to nt/ directory.
* etc/NEWS: Document new --distfiles configure.bat option and
  `dist' make target on Windows.
* nt/INSTALL: Document new dist target and add section about
  creating binary distributions.
* nt/configure.bat: New parameter `--distfiles'.
* nt/makefile.w32-in: Add version number, new target `dist'.
  Add new target `install-shortcuts'.
* nt/zipdist.bat: New file; create zipped binary distribution,
  replaces admin/nt/makedist.bat.
2010-07-24 15:35:31 +02:00
Juanma Barranquero
c4cc8b9a23 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
Dan Nicolaescu
80eb92cea8 * src/ecrt0.c, src/unexalpha.c: Remove files, unused. 2010-07-23 21:44:29 -07:00
Ken Brown
921d40b453 * configure.in (START_FILES) [cygwin]: Set to pre-crt0.o (Bug#6715). 2010-07-23 21:23:07 -04:00
Lukas Huonker
195e19e4f9 * lisp/play/tetris.el: Cleanup image representation and rotation.
(tetris-tty-colors, tetris-x-colors, tetris-blank):
Remove leading nil element, adjust values.
(tetris-shapes, tetris-shape-scores):
Change representation of shapes and remove some redundancy.
(tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
(tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
Adjust for working with new representation of shapes.
(tetris-shape-rotations): New function.
(tetris-move-bottom, tetris-move-left, tetris-move-right)
(tetris-rotate-prev, tetris-rotate-next):
Adjust for working with the new version of tetris-test-shape.
2010-07-24 01:26:42 +02:00
Markus Triska
9cf2db99c6 * lisp/progmodes/ps-mode.el: Use comint.
(ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
(ps-mode-other-newline): Simplify.
(ps-run-mode): Derive from comint-mode instead of
fundamental-mode, yielding input history etc.
(ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
(ps-run-send-string): Adapt for comint-mode.
(ps-run-newline): Remove now unneeded function.

Fixes: debbugs:5954
2010-07-24 00:51:37 +02:00
Juanma Barranquero
33ac04147b Remove unused static functions.
* alloc.c (free_float)
* font.c [ENABLE_CHECKING] (font_match_xlfd, font_check_xlfd_parse)
* frame.c (delete_frame_handler)
* ralloc.c (reorder_bloc)
* w32menu.c (menubar_id_to_frame, add_left_right_boundary)
2010-07-23 19:50:14 +02:00
Michael Albinus
225d5e9e16 * net/tramp.el (tramp-methods): Move hostname to the end in all
plink `tramp-login-args'.
2010-07-23 15:58:52 +02:00
Michael Albinus
84bc68f289 * net/tramp.el (tramp-open-shell): New defun.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use it.
2010-07-23 15:40:33 +02:00
Juanma Barranquero
554d39beea * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt". 2010-07-23 15:35:51 +02:00
Michael Albinus
1eb5ca1cb4 * net/tramp.el (tramp-file-name-regexp-unified)
(tramp-completion-file-name-regexp-unified): On W32 systems, do
not regard the volume letter as remote filename.  (Bug#5447)
2010-07-23 15:31:56 +02:00
Juanma Barranquero
94da839793 * menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS". 2010-07-23 12:32:02 +02:00
Juanma Barranquero
2e6c8532c7 * w32term.c (my_set_focus): #ifdef away; currently not used. 2010-07-23 12:09:27 +02:00
Juanma Barranquero
97b372d714 * w32fns.c, xfaces.c: Remove obsolete static declarations. 2010-07-23 11:52:32 +02:00
Juanma Barranquero
dd86ea1155 * lisp/ChangeLog: Fix typos. 2010-07-23 03:39:20 +02:00
Juanma Barranquero
440735a764 * custom.el (custom-declare-variable): Give clearer error message (bug#6476). 2010-07-23 03:29:46 +02:00