1. 21 Oct, 2012 1 commit
    • Glenn Morris's avatar
      Put back old Emacs 22 icons, just don't install them · ad483434
      Glenn Morris authored
      Some people prefer them to the newer icon
      
      * Makefile.in (install-etc): Don't install emacs22 icons.
      
      * etc/images/icons/hicolor/32x32/apps/emacs22.png:
      * etc/images/icons/hicolor/16x16/apps/emacs22.png:
      * etc/images/icons/hicolor/48x48/apps/emacs22.png:
      * etc/images/icons/hicolor/24x24/apps/emacs22.png: Restore old icons.
      
      * etc/images/icons/README: Restore info about emacs22 icons
      ad483434
  2. 14 Oct, 2012 2 commits
  3. 11 Oct, 2012 1 commit
  4. 07 Oct, 2012 1 commit
    • Jan Djärv's avatar
      Check for OSX >= 10.4 to match what the maunal says and what we actually support. · 335f5ae4
      Jan Djärv authored
      * configure.ac: Check that OSX is 10.4 or newer.
      
      * etc/NEWS (NextStep/OSX port changes): OSX 10.4 or newer is required.
      
      * src/nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4.
      (ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4.
      
      * src/nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger.
      
      * src/nsmenu.m (fillWithWidgetValue:): Remove code for < MAC_OS_X_VERSION_10_2.
      
      * src/nsselect.m (ns_string_from_pasteboard): Remove check for >=
      MAC_OS_X_VERSION_10_4.
      
      * src/nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
      (EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
      (struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.
      335f5ae4
  5. 03 Oct, 2012 1 commit
  6. 01 Oct, 2012 5 commits
  7. 30 Sep, 2012 3 commits
    • Paul Eggert's avatar
      file-attributes has a new optional arg FOLLOW-SYMLINKS. · e7a2937b
      Paul Eggert authored
      * doc/lispref/files.texi (File Attributes): Describe it.
      (Magic File Names): Use it.
      * etc/NEWS: Document the change.
      * lisp/files.el (remote-file-name-inhibit-cache):
      * lisp/time.el (display-time-file-nonempty-p): Use it.
      * lisp/files.el (after-find-file): Don't chase links before calling
      file-exists-p, as file-exists-p already does the right thing.
      * src/dired.c (directory_files_internal, Ffile_attributes):
      New arg follow_symlinks.  All uses changed.
      e7a2937b
    • Jan Djärv's avatar
      Support file name dialog on NS. · d7e642cc
      Jan Djärv authored
      * etc/NEWS: Mention that the file dialog is used on NS.
      
      * lisp/term/ns-win.el (x-file-dialog): New function.
      
      * src/fileio.c (Fnext_read_file_uses_dialog_p): Add HAVE_NS.
      
      * src/nsfns.m (ns_frame_parm_handlers): Add x_set_fullscreen.
      
      * src/nsfns.m (Fns_read_file_name): Add argument DIR_ONLY_P.
      Initialize panel name field if OSX >= 10.6.
      
      * src/w32fns.c (Fx_file_dialog): Update comment.
      
      * src/xfns.c (Fx_file_dialog): Update comment.
      d7e642cc
    • Jan Djärv's avatar
      Add support for fullscreen in the NS port. · dd946752
      Jan Djärv authored
      * etc/NEWS: The NS port supports fullscreen.
      
      * src/nsfns.m (ns_frame_parm_handlers): Add x_set_fullscreen.
      
      * src/nsterm.h (MAC_OS_X_VERSION_10_7, MAC_OS_X_VERSION_10_8): New.
      (EmacsView): Add variables for fullscreen.
      (handleFS, setFSValue, toggleFullScreen): New in EmacsView.
      (EmacsFSWindow): New interface for fullscreen.
      
      * src/nsterm.m (NEW_STYLE_FS): New define.
      (ns_fullscreen_hook, windowWillEnterFullScreen)
      (windowDidEnterFullScreen, windowWillExitFullScreen)
      (windowDidExitFullScreen, toggleFullScreen, handleFS)
      (setFSValue): New functions.
      (EmacsFSWindow): New implementation.
      (canBecomeKeyWindow): New function for EmacsFSWindow.
      (ns_create_terminal): Set fullscreen_hook to ns_fullscreen_hook.
      (dealloc): Release nonfs_window if in fullscreen.
      (updateFrameSize:): Call windowDidMove to update top/left.
      (windowWillResize:toSize:): Check if frame is still maximized.
      (initFrameFromEmacs:): Initialize fs_state, fs_before_fs,
      next_maximized, maximized_width, maximized_height and nonfs_window.
      Call setCollectionBehavior if NEW_STYLE_FS.  Initialize bwidth and
      tbar_height.
      (windowWillUseStandardFrame:defaultFrame:): Update frame parameter
      fullscreen. Set maximized_width/height.  Act on next_maximized.
      dd946752
  8. 17 Sep, 2012 1 commit
    • Glenn Morris's avatar
      Reduce version number duplication in etc/refcards · dcf8834b
      Glenn Morris authored
      * etc/refcards/emacsver.tex: New file.
      * etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
      * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
      * etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
      * refcards/emacsver.tex, etc/refcards/fr-dired-ref.tex:
      * etc/refcards/fr-refcard.tex, etc/refcards/fr-survival.tex:
      * etc/refcards/orgcard.tex, etc/refcards/pl-refcard.tex:
      * etc/refcards/pt-br-refcard.tex, etc/refcards/refcard.tex:
      * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
      * etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
      * etc/refcards/vipcard.tex, etc/refcards/viperCard.tex: Include emacsver.tex.
      * refcards/calccard.tex (\emacsversionnumber):
      Rename to \versionemacs, same as all the other refcards.
      * etc/refcards/Makefile (ENVADD): New variable.
      (sk-dired-ref.pdf, sk-survival.pdf, pl-refcard.pdf)
      (%.pdf, %,dvi, sk-dired-ref.dvi, sk-survival.dvi, pl-refcard.dvi):
      Depend on emacsver.tex.  Add "." to TEXINPUTS for TeX commands.
      
      * admin/admin.el (set-version): Set major version in
      etc/refcards/ru-refcard.tex and etc/refcards/emacsver.tex.
      (set-copyright): In etc/refcards, only change ru-refcard.tex
      and emacsver.tex.
      
      * admin.el (cusver-scan, cusver-check): Bind local variables.
      
      * .bzrignore: Add etc/refcards TeX intermediate files.
      dcf8834b
  9. 16 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Remove configure's --without-sync-input option. · 0caaedb1
      Paul Eggert authored
      When auditing signal-handling in preparation for cleaning it up,
      I found that SYNC_INPUT has race conditions and would be a real
      pain to fix.  Since it's an undocumented and deprecated
      configure-time option, now seems like a good time to remove it.
      Also see <http://bugs.gnu.org/11080#16>.
      * configure.ac (SYNC_INPUT, BROKEN_SA_RESTART): Remove.
      * admin/CPP-DEFINES (BROKEN_SA_RESTART, SA_RESTART): Remove.
      * etc/TODO (Make SYNC_INPUT the default): Remove, as the code now
      behaves as if SYNC_INPUT is always true.
      * src/alloc.c (_bytes_used, __malloc_extra_blocks, _malloc_internal)
      (_free_internal) [!DOUG_LEA_MALLOC]: Remove decls.
      (alloc_mutex) [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]:
      (malloc_hysteresis):
      (check_depth) [XMALLOC_OVERRUN_CHECK]:
      (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT):
      (__malloc_hook, __realloc_hook, __free_hook, BYTES_USED)
      (dont_register_blocks, bytes_used_when_reconsidered)
      (bytes_used_when_full, emacs_blocked_free, emacs_blocked_malloc)
      (emacs_blocked_realloc, reset_malloc_hooks, uninterrupt_malloc):
      [!SYSTEM_MALLOC && !SYNC_INPUT]:
      Remove. All uses removed.
      (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): Use a different
      implementation, one that depends on whether the new macro
      XMALLOC_BLOCK_INPUT_CHECK is defined, not on whether SYNC_INPUT
      is defined.
      * src/atimer.c (run_timers, handle_alarm_signal):
      * src/keyboard.c (pending_signal, poll_for_input_1, poll_for_input)
      (handle_async_input, process_pending_signals)
      (handle_input_available_signal, init_keyboard):
      * src/nsterm.m (ns_read_socket):
      * src/process.c (wait_reading_process_output):
      * src/regex.c (immediate_quit, IMMEDIATE_QUIT_CHECK):
      * src/sysdep.c (emacs_sigaction_init) [SA_RESTART]:
      (emacs_write):
      * src/xterm.c (XTread_socket):
      Assume SYNC_INPUT.
      * src/conf_post.h (SA_RESTART) [IRIX6_5]: Do not #undef.
      * src/eval.c (handling_signal): Remove.  All uses removed.
      * src/lisp.h (ELSE_PENDING_SIGNALS): Remove.
      All uses replaced with the SYNC_INPUT version.
      (reset_malloc_hooks, uninterrupt_malloc, handling_signal):
      Remove decls.
      * src/sysdep.c, src/syssignal.h (main_thread) [FORWARD_SIGNAL_TO_MAIN_THREAD]:
      Now static.
      
      Fixes: debbugs:12450
      0caaedb1
  10. 13 Sep, 2012 3 commits
    • Paul Eggert's avatar
      Use a more backwards-compatible timer format. · c18e885b
      Paul Eggert authored
      * etc/NEWS: Document it.
      * lisp/emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
      being right after USECS, as that better supports old code that
      inadvisedly looked directly at the timer vector.
      * src/keyboard.c (decode_timer): Get PSECS from the 8th (origin-0)
      vector element, not from the 4th, since PSECS is now at the end.
      (Fcurrent_idle_time): Doc fix.
      
      Fixes: debbugs:12430
      c18e885b
    • Jan Djärv's avatar
    • Paul Eggert's avatar
      Fix glitches caused by addition of psec to timers. · 72eac303
      Paul Eggert authored
      * etc/NEWS: Document timer format change.
      * lisp/image.el (image-animate-timer):
      * lisp/time.el (display-time-world-timer):
      Use timer--function and timer--args rather than raw access to
      timer vector.
      * lisp/gnus/gnus-art.el (gnus-article-stop-animations):
      Use timer--function rather than raw access to timer vector.
      
      Fixes: debbugs:12430
      72eac303
  11. 11 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Simplify, document, and port floating-point. · c990426a
      Paul Eggert authored
      The porting part of this patch fixes bugs on non-IEEE platforms
      with frexp, ldexp, logb.
      * admin/CPP-DEFINES (HAVE_CBRT, HAVE_LOGB, logb): Remove.
      * configure.ac (logb, cbrt): Do not check for these functions,
      as they are not being used.
      * doc/lispref/numbers.texi (Float Basics, Arithmetic Operations, Math Functions):
      Document that / and mod (with floating point arguments), along
      with asin, acos, log, log10, expt and sqrt, return special values
      instead of signaling exceptions.
      (Float Basics): Document that logb operates on the absolute value
      of its argument.
      (Math Functions): Document that (log ARG BASE) also returns NaN if
      BASE is negative.  Document that (expt X Y) returns NaN if X is a
      finite negative number and Y a finite non-integer.
      * etc/NEWS: Document NaNs versus signaling-error change.
      * src/data.c, src/lisp.h (Qdomain_error, Qsingularity_error, Qunderflow_error):
      Now static.
      * src/floatfns.c: Simplify discussion of functions that Emacs doesn't
      support, by removing commented-out code and briefly listing the
      C89 functions excluded.  The commented-out stuff was confusing
      maintenance, e.g., we thought we needed cbrt but it was commented out.
      (logb): Remove decl; no longer needed.
      (isfinite): New macro, if not already supplied.
      (isnan): Don't replace any existing macro.
      (Ffrexp, Fldexp): Define even if !HAVE_COPYSIGN, as frexp and ldexp
      are present on all C89 platforms.
      (Ffrexp): Do not special-case zero, as frexp does the right thing
      for that case.
      (Flogb): Do not use logb, as it doesn't have the desired meaning
      on hosts that use non-base-2 floating point.  Instead, stick with
      frexp, which is C89 anyway.  Do not pass an infinity or a NaN to
      frexp, to avoid getting an unspecified result.
      c990426a
  12. 04 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Give more-useful info on a fatal error (Bug#12328). · cf29dd84
      Paul Eggert authored
      * doc/emacs/trouble.texi (Crashing): New section, documenting this.
      * etc/NEWS: Document the change.
      * src/alloc.c [ENABLE_CHECKING]: Do not include <execinfo.h>.
      (die) [ENABLE_CHECKING]: Call fatal_error_backtrace instead
      of doing the work ourselves.
      * src/emacs.c (fatal_error_signal): Let fatal_error_backtrace
      do most of the work.
      (fatal_error_backtrace): New function, taken from the guts
      of the old fatal_error_signal, but with a new option to output
      a backtrace.
      (shut_down_emacs) [!DOS_NT]: Use strsignal to give more-useful
      info about the signal than just its number.
      * src/lisp.h (fatal_error_backtrace, emacs_backtrace): New decls.
      * src/sysdep.c: Include <execinfo.h>
      (emacs_backtrace): New function, taken partly from the previous
      code of the 'die' function.
      (emacs_abort): Call fatal_error_backtrace rather than abort.
      cf29dd84
  13. 01 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Better seed support for (random). · 0e23ef9d
      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.
      0e23ef9d
  14. 28 Aug, 2012 1 commit
    • Andreas Schwab's avatar
      * admin/charsets/mule-charsets.el (header): Fix typo. · 01e0f0f5
      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.
      01e0f0f5
  15. 24 Aug, 2012 1 commit
  16. 15 Aug, 2012 1 commit
  17. 09 Aug, 2012 1 commit
  18. 08 Aug, 2012 1 commit
  19. 31 Jul, 2012 1 commit
  20. 29 Jul, 2012 1 commit
    • Paul Eggert's avatar
      deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) · 72b255c7
      Paul Eggert authored
      * NEWS: Document these changes.
      * leim/quail/uni-input.el (ucs-input-deactivate):
      Rename from ucs-input-inactivate.
      * leim/quail/hangul.el (hangul-input-method-deactivate):
      Rename from hangul-input-method-inactivate.
      * emulation/viper-init.el (viper-deactivate-input-method-action):
      Rename from viper-inactivate-input-method-action.
      (viper-deactivate-input-method):
      Rename from viper-inactivate-input-method.
      * lisp/follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
      * lisp/international/mule-cmds.el (deactivate-input-method):
      Rename from inactivate-input-method.
      Also run input-method-deactivate-hook.
      (deactivate-current-input-method-function):
      Rename from inactivate-current-input-method-function.
      (input-method-deactivate-hook): New hook.
      (input-method-inactivate-hook): Mark obsolete.
      * lisp/international/quail.el (quail-activate):
      Also run quail-deactivate-hook.
      (quail-deactivate): Rename from quail-inactivate.
      * lisp/international/robin.el (robin-activate):
      Also run robin-deactivate-hook.
      (robin-deactivate): Rename from robin-inactivate.
      72b255c7
  21. 28 Jul, 2012 1 commit
  22. 26 Jul, 2012 1 commit
    • Paul Eggert's avatar
      Simplify export of symbols to GDB; fix related .gdbinit bugs. · 1781b9e9
      Paul Eggert authored
      * etc/emacs-buffer.gdb ($tagmask, $valmask): Remove.
      (ygetptr): Adjust to recent changes in lisp.h and emacs.c,
      by using VALMASK instead of $valmask, CHECK_LISP_OBJECT_TYPE
      instead of gdb_use_union, and DATA_SEG_BITS instead of
      gdb_data_seg_bits.  Also, use $ptr.i rather than $ptr.u.val.
      * src/.gdbinit (xgetptr, xgetint, xgettype): Don't use "set $bugfix =
      $bugfix.i", as this doesn't work (with GDB 7.4.1, anyway).
      (xgetptr, xgetint, xgettype, xcoding, xcharset, xprintbytestr):
      Adjust to changes in lisp.h and emacs.c, by using
      CHECK_LISP_OBJECT_TYPE rather than gdb_use_struct, VALMASK instead
      of $valmask, DATA_SEG_BITS instead of gdb_data_seg_bits,
      INTTYPEBITS instead of gdb_gctypebits - 1, USE_LSB_TAG instead of
      gdb_use_lsb, (1 << GCTYPEBITS) - 1 instead of $tagmask, VALBITS
      instead of gdb_valbits.
      (xvectype, xvector, xpr, xprintstr, xbacktrace): Similarly, use
      PSEUDOVECTOR_FLAG instead of PVEC_FLAG, and ARRAY_MARK_FLAG
      instead of gdb_array_mark_flag.
      (xboolvector): Get size from $->size, not $->header.size.
      Use BOOL_VECTOR_BITS_PER_CHAR rather than mystery constants.
      (xreload, hook-run, hookpost-run): Remove.
      * src/emacs.c: Include <verify.h>.
      (gdb_use_lsb, gdb_use_struct, gdb_valbits, gdb_gctypebits)
      (gdb_data_seg_bits, PVEC_FLAG, gdb_array_mark_flag, gdb_pvec_type):
      Remove.
      (gdb_CHECK_LISP_OBJECT_TYPE, gdb_DATA_SEG_BITS, gdb_GCTYPEBITS)
      (gdb_USE_LSB_TAG): New enum constants.
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS, GCTYPEBITS, USE_LSB_TAG):
      Also define these as enum constants, so they're visible to GDB.
      (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): New macros.
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Also define these
      as constants, so they're visible to GDB.
      * src/lisp.h (VALBITS, INTTYPEBITS, FIXNUM_BITS, PSEUDOVECTOR_SIZE_BITS)
      (PSEUDOVECTOR_SIZE_MASK, PVEC_TYPE_MASK, BOOL_VECTOR_BITS_PER_CHAR):
      Now enum constants, not macros, so they're visible to GDB.
      (CHECK_LISP_OBJECT_TYPE, DATA_SEG_BITS): Default to 0, as this is
      more convenient now.  All uses changed.
      (VALMASK) [USE_LSB_TAG]: Also define in this case.
      * src/mem-limits.h (EXCEEDS_LISP_PTR): Adjust to DATA_SEG_BITS change.
      1781b9e9
  23. 20 Jul, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix display of Hebrew tutorial title on splash screen. · 87ab808f
      Eli Zaretskii authored
       lisp/startup.el (fancy-startup-text): Read the whole tutorial, not
       just its first 256 bytes.  Prevents gibberish in display of the
       tutorial title.
       etc/tutorials/TUTORIAL.he: Make the first sentence display correctly
       in a left-to-right paragraph, such as what is shown on the fancy
       splash screen, by using directional control characters.
      87ab808f
  24. 15 Jul, 2012 1 commit
  25. 14 Jul, 2012 1 commit
  26. 08 Jul, 2012 1 commit
  27. 07 Jul, 2012 1 commit
  28. 28 Jun, 2012 1 commit
  29. 24 Jun, 2012 1 commit
  30. 22 Jun, 2012 1 commit
  31. 13 Jun, 2012 1 commit