1. 16 May, 2015 10 commits
  2. 15 May, 2015 10 commits
    • Glenn Morris's avatar
      Tweak japanese.el's loading of dependencies. · c7e93c41
      Glenn Morris authored
      * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
      * lisp/language/japanese.el: Use require rather than load.
      * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
      Provide a feature.
      * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
      Provide a feature in the generated file.
      c7e93c41
    • Jan D's avatar
      Fix NS warnings. · b00168e8
      Jan D authored
      * nsmenu.m (ns_popup_dialog)
      * nsimage.m (initFromXBM:width:height:fg:bg:)
      * nsfns.m (Fx_create_frame): Remove unused variables.
      (Fns_read_file_name): Initialize fname, remove ret.
      
      * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
      (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
      variable.
      (init): Add parantesis in if.
      (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
      b00168e8
    • Jan Djärv's avatar
      Fix a enum conversion warning in macfont.m · d02ce2c4
      Jan Djärv authored
      * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
      (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
      d02ce2c4
    • Eli Zaretskii's avatar
      Support de-alt dictionary with Aspell. · 91a27481
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
      Support Aspell dictionaries with names like "de-alt".  (Bug#20581)
      91a27481
    • Jan Djärv's avatar
      cus-start.el: Add ns-confirm-quit. · b7b0d6e2
      Jan Djärv authored
      * cus-start.el: Add ns-confirm-quit.
      b7b0d6e2
    • Jan Djärv's avatar
      Fix warnings on OSX 10.10. · e0e07535
      Jan Djärv authored
      * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
      (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
      (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
      
      * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
      * nsimage.m (allocInitFromFile, setPixmapData): Only call
      setScalesWhenResized for OSX < 10.6.
      
      * nsterm.h (EmacsScroller): Declare scrollerWidth.
      
      * nsterm.m (ns_copy_bits): New function that does not use deprecated
      NSCopyBits.
      (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
      (runAlertPanel): New function.
      (applicationShouldTerminate:): Call runAlertPanel.
      (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
      for OSX < 10.10.
      (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
      (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
      (draggingEntered:): Returns NSDragOperation.
      (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
      e0e07535
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Don't ensure-init during startup · 2abfe21d
      Artur Malabarba authored
      (package--init-file-ensured): New variable.
      (package-initialize, package--ensure-init-file): Use it.
      2abfe21d
    • Jan Djärv's avatar
      Honor :fore/background for XBM on NS (Bug#14969). · 67a878f7
      Jan Djärv authored
      * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
      initFromXBM takes bg, fg args, remove flip arg.
      (ns_image_from_XBM): Add bg, fg args.
      * image.c (x_create_bitmap_from_data)
      (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
      
      * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
      Remove flip arg.
      (initFromSkipXBM): Move code to initFromXBM.
      (initFromXBM): Actually set fg and bg, instead of playing alpha games.
      Use fg, bg from args (Bug#14969).  Remove if (length) section, was always
      false.
      Remove bit flipping (bitPat, swt), generated incorrect images when
      width/height wasn't a multiple of 8.
      (setXBMColor:): Modify planes by comparing to saved xbm_fg.
      
      * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
      flip arg.
      67a878f7
    • Artur Malabarba's avatar
      * lisp/emacs-lisp/package.el: Be more careful with the init file · b1c23fb9
      Artur Malabarba authored
      (package--ensure-init-file): Check that user-init-file is set,
      exists, is readable, and is writable.  (Bug#20584)
      Also expand the docstring.
      b1c23fb9
    • Wilson Snyder's avatar
      Sync with upstream verilog-mode revision 6232468 · ca6a7774
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
      (verilog-highlight-grouping-keywords): Fix use of face when
      `verilog-highlight-grouping-keywords' set.  Reported by Jeff
      Pompa.
      (verilog-auto-reset): Fix AUTORESET to ignore member resets if
      parent is reset, bug906. Reported by Ken Schmidt.
      (verilog-auto-inout-module): Add fourth regexp argument to
      AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
      bug856. Reported by John Tillema.
      (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
      modport if signal attachment is itself a modport.  Reported by
      Matthew Lovell.
      (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
      always_comb and always_latch, bug844.  Reported by Greg Hilton.
      (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
      with many curly-bracket pairs, bug663.
      (verilog-set-auto-endcomments): Fix end comments for functions of
      type void, etc.  Reported by Alex Reed.
      (verilog-do-indent): Fix electric tab deleting form-feeds.  Note
      caused by indent-line-to deleting tabls pre 24.5.
      (verilog-nameable-item-re): Fix nameable items that can have an
      end-identifier to include endchecker, endgroup, endprogram,
      endproperty, and endsequence.  Reported by Alex Reed.
      (verilog-label-be): When auto-commenting a buffer, consider
      auto-comments on all known keywords (not just a subset thereof).
      Reported by Alex Reed.
      (verilog-auto-end-comment-lines-re)
      (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
      Automatically comment property/endproperty blocks to match other
      similar blocks like sequence/endsequence, function/endfunction,
      etc. Reported by Alex Reed.
      (verilog-set-auto-endcomments): Detect the function- or task-name
      when auto-commenting blocks that lack an explicit
      portlist. Reported by Alex Reed.
      (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
      allow post-AUTO user fixups, bug826. Reported by Dennis
      Muhlestein.
      (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
      is nil, fix indenting initial/final to match always statements,
      bug825. Reported by Tim Clapp.
      (verilog-extended-complete-re): Fix indentation of DPI-C imports
      with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
      Mao and Jason Forkey.
      (verilog-read-decls): Fix parsing typed interfaces.  Fix
      AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
      Fix localparam not being ignored in AUTOINSTPARAM,
      bug889. Reported by Shannon Hill.
      (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
      bug793.  Reported by Pierre-David Pfister.
      (verilog-auto-arg-format, verilog-auto-arg-ports): Add
      verilog-auto-arg-format to support newlines in AUTOARG. Reported
      by Jie Xiao.
      (verilog-batch-execute-func): Do not batch re-auto files loaded by
      Local Variables. Fix printing "no changes to be saved" with
      verilog-batch. Reported by Dan Dever.
      (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
      interface-only modules, bug721.  Reported by Dean Hoyt.
      
      Author: Alex Reed <acreed4@gmail.com>
      * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
      treat '<keyword>:<identifier>' as the start of a labeled
      statement, bug905.  Reported by Enzo Chi.
      (verilog-directive-re, verilog-compiler-directives)
      (verilog-keywords): Match full set of IEEE 2012-1800 compiler
      directives (plus some extras) when determining indentation, bug
      901.  Reported by Bernd Beuster.
      (verilog-at-constraint-p): Fix indentation of coverpoint bins if
      iff expression doesn't start with word-character, bug900.
      (verilog-optional-signed-range-re, verilog-optional-signed-re):
      Fix incorrect indentation/alignment of unsigned declarations,
      bug897.
      (verilog-looking-back, verilog-in-attribute-p): Fix labling of
      always constructs, bug895.
      (verilog-calc-1): Fix verilog-mode constraint indentation,
      bug324. Reported by Eric Mastromarchi.
      (verilog-beg-of-statement): Fix indenting for some forms of
      constraintsm bug433.  Reported by Brad Parker.  Fix indentation of
      continued assignment incorrect if first line ends with ']',
      bug437. Reported by Dan Dever.  Fix indention of cover inside an
      ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
      blocks, bug842.
      (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
      bug859. Reported by Kaushal Modi.
      (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
      (verilog-backward-token): Fix indenting sensitivity lists with
      named events, bug840.  Reed.
      (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
      nil not honoring 'forever', 'foreach', and 'do' keywords.
      ca6a7774
  3. 14 May, 2015 8 commits
    • Paul Eggert's avatar
      Check for invalid GTK+ monitor scales · 1d1581a2
      Paul Eggert authored
      * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
      INT_MAX for too-large scales.  All callers changed to assume the
      result is valid (Bug#20432).
      (xg_frame_set_char_size, xg_update_scrollbar_pos):
      Calculate scale only if needed.
      
      show ASCII approximations instead.
      1d1581a2
    • Eli Zaretskii's avatar
      Fix daemon crashes when linum-mode is turned on early on · f85318cd
      Eli Zaretskii authored
      * src/window.c (Fwindow_end): Don't try calling display engine
      functions on initial-frame frame.  (Bug#20565)
      f85318cd
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix selective diff browsing in Ediff · 2958e523
      Eli Zaretskii authored
      * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
      beginning of the region before searching for the
      ediff-regexp-focus-* regexps.  (Bug#20568)
      2958e523
    • Jan D's avatar
      Fixes Bug#20142. · f2c4fd22
      Jan D authored
      * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
      in the main loop, even for Gtk 3 (Bug#20142).
      f2c4fd22
    • Jan D's avatar
      Don't access display after i/o error (Bug#19147). · 9341956c
      Jan D authored
      * xterm.c (x_connection_closed): Add third arg ioerror.
      If ioerror, set display to 0 (Bug#19147).
      (x_error_quitter): Call x_connection_closed with third arg false.
      (x_io_error_quitter): Call x_connection_closed with third arg true.
      9341956c
    • Jan D's avatar
      Handle GTK_SCALE, fixes Bug#20432. · c0055ff5
      Jan D authored
      * gtkutil.c (xg_get_gdk_scale): New function.
      (xg_frame_set_char_size)
      (x_wm_set_size_hint, xg_get_default_scrollbar_width)
      (xg_get_default_scrollbar_height)
      (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
      when setting sizes (Bug#20432).
      c0055ff5
    • Leo Liu's avatar
      Fix cps--gensym · fbda511a
      Leo Liu authored
      * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
      fbda511a
  4. 13 May, 2015 7 commits
    • Glenn Morris's avatar
      Fix bootstrap (void function cl-member). · 912d4a49
      Glenn Morris authored
      * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
      * lisp/emacs-lisp/cl-seq.el: Provide a feature.
      912d4a49
    • Stefan Monnier's avatar
      * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload · 37ab2245
      Stefan Monnier authored
      * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
      Avoid defalias for closures which are not immutable.
      (cl--generic-prefill-dispatchers): New macro.  Use it to prefill the
      dispatchers table with various entries.
      
      * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
      * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
      37ab2245
    • Eli Zaretskii's avatar
      Improve tagging of C bindings in DEFVAR_* · 8d69f38a
      Eli Zaretskii authored
      * src/Makefile.in (TAGS): Add --regex options to tag the C binding
      from DEFVAR_*.
      8d69f38a
    • Glenn Morris's avatar
      ; * etc/NEWS: Small edit. · a8a0be4f
      Glenn Morris authored
      a8a0be4f
    • Paul Eggert's avatar
    • Glenn Morris's avatar
      * lisp/progmodes/tcl.el (tcl-filter): · 8a9ba4d6
      Glenn Morris authored
      Handle comint-prompt-read-only like gud.el does.  (Bug#20549)
      8a9ba4d6
    • Glenn Morris's avatar
      Add basic VC push support. · 660c30cc
      Glenn Morris authored
      * lisp/vc/vc.el (vc-push): New autoloaded command.
      * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
      * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
      (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
      (vc-bzr-push): New.
      * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
      (vc-git-pull): Reimplement using vc-git--pushpull.
      (vc-git-push): New.
      * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
      (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
      * doc/emacs/maintaining.texi (Pulling / Pushing):
      Rename from "VC Pull".  Mention pushing.
      (VC With A Merging VCS, VC Change Log): Update xrefs.
      (Branches): Update menu.
      * doc/emacs/emacs.texi: Update menu.
      * etc/NEWS: Mention this.
      660c30cc
  5. 12 May, 2015 5 commits