1. 14 Sep, 2014 4 commits
  2. 13 Sep, 2014 8 commits
  3. 12 Sep, 2014 2 commits
  4. 11 Sep, 2014 7 commits
    • Paul Eggert's avatar
      Spelling fixes. · 0f2ed592
      Paul Eggert authored
      * lisp/ses.el (ses-file-format-extend-parameter-list): Rename from
      ses-file-format-extend-paramter-list.  All uses changed.
      * lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling
      of ":delete".
      0f2ed592
    • Dmitry Antipov's avatar
      Remove redundant GCPROs around Ffuncall and Fapply calls. This · 1dd12186
      Dmitry Antipov authored
      is safe because Ffuncall protects all of its arguments by itself.
      * charset.c (map_charset_for_dump): Remove redundant GCPRO.
      * eval.c (Fapply, apply1, call0, call1, call2, call3, call4, call5)
      (call6, call7): Likewise.  Use compound literals where applicable.
      (run_hook_with_args_2): Use compound literal.
      1dd12186
    • Dmitry Antipov's avatar
      * lread.c (readevalloop_eager_expand_eval): Add GCPRO and fix · 20d36253
      Dmitry Antipov authored
      bootstrap broken if GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
      20d36253
    • Dmitry Antipov's avatar
      More debugging aids around GCPROs. · 5d27b6b6
      Dmitry Antipov authored
      * lisp.h (struct gcpro) [DEBUG_GCPRO]: Add extra members.
      (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, GCPRO7):
      Minor restyle.  If DEBUG_GCPRO, initialize extra fields.
      5d27b6b6
    • Dmitry Antipov's avatar
      * lisp.h (make_local_string): Nitpick indent. · 6e5fd493
      Dmitry Antipov authored
      * print.c (Fprin1_to_string): Remove unused GCPROs.
      6e5fd493
    • Paul Eggert's avatar
      Pacify --enable-gcc-warnings when no window system is used. · b3ed13e8
      Paul Eggert authored
      These warnings found that subscript error, so they seem worthwhile.
      * composite.c (char_composable_p): Simplify a bit.
      * frame.c (x_set_frame_parameters): Add an IF_LINT.
      * frame.c (x_set_horizontal_scroll_bars, x_set_scroll_bar_height):
      * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS):
      * window.c (set_window_scroll_bars):
      Use USE_HORIZONTAL_SCROLL_BARS for simplicity.
      * frame.h [! USE_HORIZONTAL_SCROLL_BARS]:
      Ignore -Wsuggest-attribute=const.
      * window.h (USE_HORIZONTAL_SCROLL_BARS): New macro.
      (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Use it.
      b3ed13e8
    • Paul Eggert's avatar
      * charset.c (Fget_unused_iso_final_char): Fix subscript error. · fe252976
      Paul Eggert authored
      Use check_iso_charset_parameter instead of doing the checks by hand.
      (check_iso_charset_parameter): Move up.  Check parameters a bit
      more carefully, and return true for 96-char sets.  All callers changed.
      fe252976
  5. 10 Sep, 2014 10 commits
    • Alan Mackenzie's avatar
      CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc gets · c8b22035
      Alan Mackenzie authored
      loaded at run-time).
      * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
      c-lang-const to c-make-no-parens-syntax-table and correct the
      logic.
      (c-no-parens-syntax-table): Correct the logic of the c-lang-defvar.
      c8b22035
    • Paul Eggert's avatar
      Simplify lisp.h by removing the __COUNTER__ business. · d1bed1f7
      Paul Eggert authored
      Problem reported by Dmitry Antipov in:
      http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html
      * lisp.h (make_local_vector, make_local_string)
      (build_local_string): Simplify by not bothering with __COUNTER__.
      The __COUNTER__ business wasn't working properly, and was needed
      only for hypothetical future expansion anyway.
      d1bed1f7
    • Alp Aker's avatar
      * nsterm.m (ns_draw_fringe_bitmap): Use the same logic as other terms to... · 1014b530
      Alp Aker authored
      * nsterm.m (ns_draw_fringe_bitmap): Use the same logic as other terms to determine bitmap color.  (Bug#18437)
      1014b530
    • Eli Zaretskii's avatar
    • Paul Eggert's avatar
    • Jan Djärv's avatar
      Detect iconified under Compiz/Unity · 8c2dd4db
      Jan Djärv authored
      * xterm.c (handle_one_xevent): Detect iconified by looking at
      _NET_WM_STATE_HIDDEN.
      8c2dd4db
    • Paul Eggert's avatar
      * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. · c9c0610d
      Paul Eggert authored
      These can generate a constant with the correct value but the wrong
      width, which doesn't work as a printf argument.  All uses removed.
      Problem reported by Dmitry Antipov in:
      http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html
      (ENUMABLE): Remove; no longer needed.
      (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
      Remove; no longer needed because of the above change.
      Each definiens moved to the only use.
      c9c0610d
    • Stefan Monnier's avatar
      CC-mode: Set open-paren-in-column-0-is-defun-start to nil; · 47003633
      Stefan Monnier authored
      plus misc cleanup.
      * lisp/progmodes/cc-mode.el (c-basic-common-init):
      Set open-paren-in-column-0-is-defun-start.
      (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
      Remove declarations, unused.
      (run-mode-hooks): Remove declaration.
      (font-lock-defaults): Use plain `defvar' to declare.
      (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
      * lisp/progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
      (c-make-mode-syntax-table): Don't micro-optimize.
      (c-keywords, c-keyword-member-alist): Simplify.
      (c-kwds-lang-consts): Don't eval at compile-time.
      (c-primary-expr-regexp): Comment out unused vars.
      * lisp/progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
      (c-font-byte-compile): New var.
      (c--compile): New function.  Use it instead of `byte-compile'.
      (c-cpp-matchers): Quote the value returned by
      `c-make-syntactic-matcher' in case it's not self-evaluating.
      (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
      parentheses instead (in case MATCHER happens to be a list).
      (c-font-lock-enum-tail): Remove unused var `start'.
      (c-font-lock-objc-methods): Silence byte-compiler warnings.
      * lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
      test into an argument.
      * lisp/progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
      (c-get-char-property): Don't use `eval' just to unquote a constant.
      (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
      more efficiently.
      (c-put-char-property-fun): Don't call `byte-compile' by hand.
      (c-clear-char-property, c-clear-char-properties): Check that `property'
      is a quoted constant.
      (c-emacs-features): Remove `infodock', `syntax-properties', and
      `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
      'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
      changing buffer, so we don't have to setq them again afterwards.
      (c-lang-const): Remove redundant symbolp assertions.
      (c-find-assignment-for-mode): Use `or'.
      * lisp/Makefile.in (compile-one-process): Remove cc-mode dependency.
      47003633
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      Improve the experimental local and scoped allocation. · 11e28ab0
      Paul Eggert authored
      * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED)
      (HAVE_STATEMENT_EXPRESSIONS): New configure-time checks.
      * src/alloc.c (local_string_init, local_vector_init):
      New functions, defined if USE_LOCAL_ALLOCATORS.
      Mostly, these are moved here from lisp.h, as it's not
      clear it's worth making them inline.
      * src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false.
      (GCALIGNED): Depend on HAVE_STRUCT_ATTRIBUTE_ALIGNED and
      USE_STACK_LISP_OBJECTS, not on a laundry list.
      (local_string_init, local_vector_init): New decls.
      (union Aligned_Cons): New type.
      (scoped_cons): Use it.  Give up on the char trick, as it's a too
      much of a maintenance hassle; if someone wants this speedup
      they'll just need to convince their compiler to align properly.
      Conversely, use the speedup if struct Lisp_Cons happens to
      be aligned even without a directive.  Better yet, help it along
      by using union Aligned_Cons rather than struct Lisp_Cons.
      (pointer_valid_for_lisp_object): Remove.  This check is not
      necessary, since make_lisp_ptr is already doing it.  All uses removed.
      (local_vector_init, local_string_init): Move to alloc.c.
      (build_local_vector): Remove this awkward macro, replacing with ...
      (make_local_vector): New macro, which acts more like a function.
      Use statement expressions and use __COUNTER__ to avoid macro
      capture.  Fall back on functions if these features are not supported.
      (build_local_string, make_local_string): Likewise.
      11e28ab0
  6. 09 Sep, 2014 6 commits
  7. 08 Sep, 2014 3 commits