1. 07 Feb, 2013 11 commits
  2. 06 Feb, 2013 5 commits
  3. 05 Feb, 2013 7 commits
    • Daniel Colascione's avatar
    • Glenn Morris's avatar
    • Jan Djärv's avatar
      * NEWS: Mention ns-use-native-fullscreen. · ef12b77c
      Jan Djärv authored
    • Jan Djärv's avatar
      * lisp/cus-start.el (all): Add ns-use-native-fullscreen. · 6871e574
      Jan Djärv authored
      * src/nsmenu.m (update_frame_tool_bar): Check for negative tool bar
      * src/nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7.
      (EmacsView): Add fs_is_native, fsIsNative, isFullscreen and
      * src/nsterm.m (NEW_STYLE_FS): Remove.
      (ns_last_use_native_fullscreen): New variable.
      (x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen.
      (x_set_window_size): Do not take title bar and tool bar into account
      if isFullscreen returns YES.
      (ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen.
      (check_native_fs): New function.
      (ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS.
      (ns_term_init): Remove NEW_STYLE_FS.
      (updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar
      and tool bar if isFullscreen returns NO.
      (windowDidResize:): Replace NEW_STYLE_FS with fsIsNative.
      (initFrameFromEmacs:): Initialize fs_is_native.  Replace NEW_STYLE_FS
      with HAVE_NATIVE_FS.
      (window:willUseFullScreenPresentationOptions:): New method.
      (windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative.
      Hide toolbar if not enabled.
      (windowDidExitFullScreen:): Call updateCollectionBehaviour.
      Restore tool bar if enabled, hide it otherwise (Bug#13444).
      (fsIsNative, isFullscreen, updateCollectionBehaviour): New methods.
      (toggleFullScreen:): If fs_is_native, call toggleFullScreen on
      window.  Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0.
      Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring
      FRAME_TOOLBAR_HEIGHT (f).  Call updateFrameSize when going non-fs.
      (syms_of_nsterm): Add ns-use-native-fullscreen.
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Fix indentation in previous · b687d65a
      Glenn Morris authored
    • Glenn Morris's avatar
      gamegrid-add-score-with-update-game-score fix · 3505fa02
      Glenn Morris authored
      * lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score):
      Fix directory creation in fallback case.
  4. 04 Feb, 2013 6 commits
    • Thierry Volpiatto's avatar
      * lisp/vc/vc.el (vc-next-action): Fix inf-loop. · 50fdf399
      Thierry Volpiatto authored
      (vc-update-change-log): Use dolist.
      Fixes: debbugs:13610
    • Paul Eggert's avatar
    • Eli Zaretskii's avatar
      Fix bugs #13623 and 13626 caused by changes in 2013-02-01T07:23:18Z!dmantipov@yandex.ru. · 86f7c0fe
      Eli Zaretskii authored
       src/xdisp.c (window_buffer_changed): region_showing can be negative,
       which still means region is being displayed.
       (redisplay_internal): Resurrect code that forced redisplay of the
       whole window when showing region and the mark has changed.  Record
       the new mark position to allow redisplay optimizations.
       (display_line): If it->region_beg_charpos is non-zero, set the
       window's region_showing member to -1.
       src/window.h (struct window) <region_showing>: Declare ptrdiff_t,
       not bitfield of 1 bit.
    • Chong Yidong's avatar
      Merge FFAP's URI-detection code into thingatpt.el. · 6e5c1569
      Chong Yidong authored
      * lisp/ffap.el: Require thingatpt.
      (ffap-url-at-point): Delegate URI detection to thing-at-point.
      All URI-valid characters are now recognized.
      (ffap-string-at-point): Use use-region-p.
      (ffap-url-regexp): Extra character is handled by thing-at-point.
      (ffap-string-at-point-mode-alist): Allow parentheses.
      (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
      Convert to aliases; code moved to thingatpt.el.
      (ffap-gnus-hook): Use setq-local.
      * lisp/thingatpt.el: Rewrite the URL detection routines, absorbing some
      code from ffap.el.
      (thing-at-point-beginning-of-url-regexp): New var.
      (thing-at-point-uri-schemes): Update list of URI schemes.
      (thing-at-point-url-regexp): Variable deleted.
      (thing-at-point-markedup-url-regexp): Disallow newlines.
      (thing-at-point-default-mail-uri-scheme): New variables.
      (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
      method to find the possible bounds of the URI at point.  New
      optional argument to find ill-formed URIs.
      (thing-at-point-url-at-point): Rewrite.  New arguments for finding
      ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
      the scheme-adding heuristics from ffap-url-at-point.
      (thing-at-point--bounds-of-well-formed-url): New function.  Do
      parens matching to decide whether to include parens in the URI
      * test/automated/thingatpt.el: New file.
      Fixes: debbugs:5673
    • Glenn Morris's avatar
      ert--explain-format-atom fix for non-characters · 84a06b50
      Glenn Morris authored
      * lisp/emacs-lisp/ert.el (ert--explain-format-atom):
      Don't try to print non-characters as characters.
      Fixes: debbugs:13543
    • Glenn Morris's avatar
      ede.texi typo fixes · 463d6319
      Glenn Morris authored
  5. 03 Feb, 2013 9 commits
  6. 02 Feb, 2013 2 commits
    • Paul Eggert's avatar
      Avoid file time stamp bug on MS-Windows. · 8ea41ea9
      Paul Eggert authored
      * fileio.c (Fwrite_region): Don't use the heuristic on empty files,
      as FAT32 doesn't update time stamps when truncating them.
      Also, check that a file time stamp is not a multiple of 100 ns;
      this should catch all instances of the problem on MS-Windows,
      as its native file system resolution is 100 ns or worse, and
      checking for a non-multiple of 100 ns should impose only a small
      overhead on systems with ns resolution.
      Fixes: debbugs:13149
    • Alan Mackenzie's avatar
      Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor. · d23b0804
      Alan Mackenzie authored
      cc-engine.el (c-get-fallback-scan-pos): Remove.
      (c-parse-state-get-strategy): Don't return 'BOD any more.
      (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE instead
      of narrowing.  Widen to top of buffer before searching backwards for a
      brace pair.
      (c-state-push-any-brace-pair): Add HERE parameter to function call.
      (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
      Narrow to parameter HERE, in place of being called narrowed.
      (c-remove-stale-state-cache): Extra parameter HERE in place of narrowing.
      Check there's an open brace in the cache before searching for its match.
      (c-invalidate-state-cache-1): Add HERE parameter to function call.
      (c-parse-state-1): Don't narrow here for 'forward strategy, instead
      passing extra parameter HERE to several functions.  Remove 'BOD strategy.