- 01 Sep, 2012 9 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
-
Eli Zaretskii authored
src/image.c: Restore mistakenly removed inclusion of w32.h. Without it, GCC doesn't see prototypes of w32_delayed_load, and complains about implicit conversions from integer to pointer.
-
Daniel Colascione authored
-
Daniel Colascione authored
-
Daniel Colascione authored
This change streamlines the window system selection code in configure.in and moves many common function declarations from window-specific headers to frame.h. It introduces a new TERM_HEADER macro in config.h: we set this macro to the right header to use for the window system for which we're compiling Emacs and have source files include it indirectly. This way, we don't have to teach every file about every window system.
-
Stefan Monnier authored
Fixes: debbugs:12254
-
Paul Eggert authored
This fixes a bug on old systems that do not have the 'random' function.
-
Paul Eggert authored
* doc/lispref/numbers.texi (Random Numbers): Document new behavior of the calls (random) and (random STRING). * etc/NEWS: Document new behavior of (random), (random "string"). * lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el: * lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el: * lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el: * lisp/play/tetris.el, lisp/play/zone.el: * lisp/calc/calc-comb.el (math-init-random-base): * lisp/play/blackbox.el (bb-init-board): * lisp/play/life.el (life): * lisp/server.el (server-use-tcp): * lisp/type-break.el (type-break): Remove unnecessary call to (random t). * lisp/net/sasl.el (sasl-unique-id-function): Change (random t) to (random), now that the latter is more random. * lisp/play/life.el (life-initialized): Remove no-longer-needed var. * lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup): * lisp/gnus/message.el (message-canlock-generate, message-unique-id): Change (random t) to (random), now that the latter is more random. * lisp/org/org-id.el (org-id-uuid): Change (random t) to (random), now that the latter is more random. * src/emacs.c (main): Call init_random. * src/fns.c (Frandom): Set the seed from a string argument, if given. Remove long-obsolete Gentzel cruft. * src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long. (init_random): New function.
-
- 31 Aug, 2012 8 commits
-
-
Andreas Schwab authored
* etags.c (consider_token): Always zero-terminate token buffer.
-
Martin Rudalics authored
* window.el (switch-to-prev-buffer, switch-to-next-buffer): Consider frame's buffer predicate when choosing the buffer. (Bug#12081)
-
Michael Albinus authored
`eshell-external-command'.
-
Dmitry Antipov authored
* lisp.h (mark_ttys): Remove prototype. * alloc.c (Fgarbage_collect): Remove redundant (and the only) call to mark_ttys because all possible values of 'top_frame' slot are the frames which are reachable from Vframe_list. * term.c (mark_ttys): Remove. (init_tty): Safely initialize 'top_frame' slot with Qnil.
-
Dave Abrahams authored
-
Dmitry Antipov authored
* frame.h (struct frame): Change type of 'display_preempted', 'visible', 'iconified', 'has_minibuffer', 'wants_modeline', 'auto_raise', 'auto_lower', 'no_split', 'explicit_name', 'window_sizes_changed', 'mouse_moved' and 'pointer_invisible' bitfields from unsigned char to unsigned.
-
Dmitry Antipov authored
* xterm.h (struct x_output): Remove unused field 'needs_exposure'. * w32term.h (struct w32_output): Likewise.
-
Stefan Monnier authored
-
- 30 Aug, 2012 11 commits
-
-
Julien Danjou authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Jan Djärv authored
does not become zero. Fixes: debbugs:12234
-
Paul Eggert authored
for GCC 4.7.1 x86-64.
-
Kenichi Handa authored
-
Kenichi Handa authored
-
Andreas Schwab authored
-
Chong Yidong authored
* lisp/window.el (display-buffer-reuse-frames): Make the obsolescence message more informative.
-
Glenn Morris authored
-
Glenn Morris authored
* src/lread.c (init_lread): For out-of-tree builds, only add the source directory's site-lisp dir to the load-path if it exists, consistent with in-tree builds.
-
- 29 Aug, 2012 5 commits
-
-
Julien Danjou authored
-
Martin Blais authored
(compilation-start): Use it.
-
Stefan Monnier authored
* files.el (read-only-mode): Move to simple.el.
-
Stefan Monnier authored
(toggle-read-only): Use it and mark obsolete. (find-file--read-only): * lisp/vc/vc.el (vc-next-action, vc-checkout): * lisp/vc/vc-cvs.el (vc-cvs-checkout): * lisp/obsolete/vc-mcvs.el (vc-mcvs-update): * lisp/ffap.el (ffap--toggle-read-only): Update callers.
-
Michael Albinus authored
remote shell scripts. See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>. * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and "/usr/local/sbin".
-
- 28 Aug, 2012 7 commits
-
-
Stefan Monnier authored
Fixes: debbugs:12293
-
Stefan Monnier authored
Fixes: debbugs:12293
-
Glenn Morris authored
-
Andreas Schwab authored
* etc/charsets/MULE-ethiopic.map: Fix typo in comment. * etc/charsets/MULE-ipa.map: Likewise. * etc/charsets/MULE-is13194.map: Likewise. * etc/charsets/MULE-lviscii.map: Likewise. * etc/charsets/MULE-sisheng.map: Likewise. * etc/charsets/MULE-tibetan.map: Likewise. * etc/charsets/MULE-uviscii.map: Likewise.
-
Jan Djärv authored
* nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize button_values to NULL. Call setStykeMask so dialogs get a close button. (windowShouldClose:): Set window_closed. (dealloc): New member, free button_values. (process_dialog:): Make member function. Remove window argument, replace window with self. Count buttons and allocate and store values in button_values. (addButton:value:row:): value is int with the name tag. Call setTag with tag. Remove return self, declare return value as void. (addString:row:): Remove return self, declare return value as void. (addSplit): Remove return self, declare return value as void. (clicked:): Remove return self, declare return value as void. Set dialog_return to button_values[seltag]. Code formatting change. (initFromContents:isQuestion:): Adjust call to process_dialog. Code formatting change. (timeout_handler:): Set timer_fired to YES. (runDialogAt:): Set timer_fired to NO. Handle click on close button as quit. * nsterm.h (EmacsDialogPanel): Make timer_fired BOOL. Add window_closed and button_values. Add void as return value for add(Button|String|Split). addButton takes int instead of Lisp_Object. Add process_dialog as new member.
-
Glenn Morris authored
-
Martin Rudalics authored
* window.c (Fset_window_configuration): Install revision of reverted fix.
-