1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00
Commit Graph

95437 Commits

Author SHA1 Message Date
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
Michael Mauger
5474c40f3e SQL Mode Version2.4 - Improved login prompting
* progmodes/sql.el: Version 2.4.  Improved Login prompting.
	(sql-login-params): New widget definition.
	(sql-oracle-login-params, sql-mysql-login-params)
	(sql-solid-login-params, sql-sybase-login-params)
	(sql-informix-login-params, sql-ingres-login-params)
	(sql-ms-login-params, sql-postgres-login-params)
	(sql-interbase-login-params, sql-db2-login-params)
	(sql-linter-login-params): Use it.
	(sql-sqlite-login-params): Use it; Define "database" parameter as
	a file name.
	(sql-sqlite-program): Change to "sqlite3"
	(sql-comint-sqlite): Make sure database name is complete.
	(sql-for-each-login): New function.
	(sql-connect, sql-save-connection): Use it.
	(sql-get-login-ext): New function.
	(sql-get-login): Use it.
	(sql-make-alternate-buffer-name): Handle :file parameters.
2010-07-22 20:59:43 -04:00
Juanma Barranquero
9c0deccb84 * dired.el (dired-no-confirm): Document value t and fix defcustom (bug#6597). 2010-07-22 14:15:31 +02:00
Teemu Likonen
aac818a886 * dired.el (dired-mode-map): Use command remapping (bug#6632). 2010-07-22 13:54:27 +02:00
Lawrence Mitchell
47d2734f62 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620). 2010-07-22 13:09:52 +02:00
Juanma Barranquero
a917e3f2ce * nt/INSTALL: Add note about backslashes in Windows paths.
Fix typos.  Simplify references to Windows versions.
2010-07-21 11:37:35 +02:00
Daiki Ueno
a0abd4d632 Fix multiple-recipient handling of Gnus S/MIME.
* mml.el (mml-parse-1): Collect "certfile" attributes in "<#secure>" tag
(Bug#6654).
2010-07-21 14:56:18 +09:00
Michael Albinus
10e7399417 * net/tramp.el (tramp-get-ls-command)
(tramp-get-ls-command-with-dired): Run tests on "/dev/null"
instead of "/".
2010-07-21 06:40:47 +02:00
Michael Mauger
d26b0ea9c5 SQL Mode V2.3 - cleanup connection handling 2010-07-20 21:56:55 -04:00
Juanma Barranquero
7c3320d8b9 Convert some more functions to standard C.
* lib-src/emacsclient.c (get_current_dir_name, w32_get_resource)
  (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
  (close_winsock, initialize_sockets, w32_find_emacs_process)
  (w32_give_focus):
* lib-src/ntlib.c (getlogin, getuid, getgid, getegid):
* nt/addpm.c (add_registry, main):
* nt/cmdproxy.c (get_env_size):
* nt/ddeclient.c (main):
* nt/runemacs.c (set_user_model_id):
* src/alloc.c (emacs_blocked_free, emacs_blocked_malloc)
  (emacs_blocked_realloc, uninterrupt_malloc):
* src/fringe.c (w32_reset_fringes):
* src/image.c (convert_mono_to_color_image, lookup_rgb_color)
  (init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
* src/sound.c (be2hs, do_play_sound):
* src/vm-limit.c (get_lim_data, ret_lim_data):
* src/w32term.c (x_free_frame_resources):
* src/xfaces.c (x_create_gc, x_free_gc):
  Convert definitions to standard C.
2010-07-20 22:21:03 +02:00
Michael Albinus
af4b9ae586 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
(tramp-open-connection-setup-interactive-shell): Apply
workaround for IRIX64 bug.  Move argument of last
`tramp-send-command' where it belongs to.
2010-07-20 21:15:01 +02:00
Juanma Barranquero
0a46152e2e * PROBLEMS: Add note about use of backslashes in Windows paths. 2010-07-20 20:32:42 +02:00
Juanma Barranquero
9a6063e2d0 * gmake.defs (CHECKING_CFLAGS) [ENABLECHECKS]: Add -fno-crossjumping. 2010-07-20 20:01:17 +02:00
Stefan Monnier
d5273788df Fix up "missing braces" warning.
* src/eval.c (Feval, Ffuncall): Use the new names.
* src/lisp.h (struct Lisp_Subr): Rename `am' to aMANY and add aUNEVALLED.
(DEFUN): Add braces around the union initialisation and use ## to
specify the right union alternative and avoid a cast.
2010-07-20 17:26:53 +02:00
Juanma Barranquero
a628ad9d97 Fix typos in ChangeLogs. 2010-07-20 13:13:25 +02:00
Michael Albinus
da040a1615 * net/tramp.el (tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes): Don't pass "$3".
(tramp-maybe-open-connection): Use `async-args' and `gw-args' in
front of `login-args'.
2010-07-20 12:29:05 +02:00
Katsumi Yamaoka
72897ff9f7 Fix previous change in gnus-summary-bookmark-make-record.
2010-07-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in
 the article buffer, not the summary buffer.
2010-07-20 01:19:04 +00:00
Juanma Barranquero
04779484e8 * NEWS: Mention --enable-checking is now supported on Windows. 2010-07-19 15:39:19 +02:00
Juanma Barranquero
16f3ade52e time.el: Use `define-derived-mode'. Simplify.
* time.el (display-time-world-mode): Define with `define-derived-mode'.
  Set `show-trailing-whitespace' to nil.
  (display-time-world-display): Simplify.
2010-07-19 13:06:42 +02:00