1. 21 May, 2020 1 commit
    • Paul Eggert's avatar
      Redo RCS Id for pdumper · 62a5e890
      Paul Eggert authored
      * lisp/version.el: Don’t put an RCS Id style string into the
      executable via purecopy, as this does not work with the pdumper.
      * src/emacs.c (RCS_Id): New constant, for 'ident'.
      
      (cherry picked from commit 3d1bcfba)
      62a5e890
  2. 01 Jan, 2020 1 commit
  3. 06 Jul, 2019 1 commit
    • Konstantin Kharlamov's avatar
      Replace manually crafted hex regexes with [:xdigit:] · dfc322d7
      Konstantin Kharlamov authored
      * admin/charsets/mapconv:
      * build-aux/gitlog-to-changelog (parse_amend_file, git_dir_option):
      * lisp/progmodes/verilog-mode.el (verilog-delay-re):
      (verilog-type-font-keywords, verilog-read-always-signals-recurse):
      (verilog-is-number):
      * lisp/progmodes/vera-mode.el (vera-font-lock-keywords):
      * test/src/emacs-module-tests.el (mod-test-sum-test):
      * lisp/xml.el: (xml--entity-replacement-text):
      * lisp/version.el (emacs-repository-version-git):
      * lisp/textmodes/sgml-mode.el (sgml-quote):
      * lisp/textmodes/css-mode.el (css-escapes-re)
      (css--colors-regexp):
      * lisp/progmodes/prolog.el (prolog-syntax-propertize-function):
      * lisp/progmodes/hideif.el (hif-token-regexp, hif-tokenize):
      * lisp/progmodes/ebnf-dtd.el: (ebnf-dtd-attlistdecl)
      (ebnf-dtd-entitydecl, ebnf-dtd-lex):
      * lisp/progmodes/ebnf-ebx.el (ebnf-ebx-hex-character):
      * lisp/progmodes/ebnf-abn.el (ebnf-abn-character):
      * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass)
      (cperl-find-pods-heres):
      * lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head)
      (c-maybe-quoted-number, c-parse-quotes-before-change)
      (c-parse-quotes-after-change, c-quoted-number-head-before-point)
      (c-quoted-number-straddling-point):
      * lisp/progmodes/ada-mode.el (featurep, ada-in-numeric-literal-p)
      (ada-font-lock-keywords):
      * lisp/org/org-mobile.el (org-mobile-copy-agenda-files)
      * lisp/org/org-table.el (org-table-number-regexp):
      (org-mobile-update-checksum-for-capture-file):
      * lisp/nxml/xsd-regexp.el (xsdre-gen-categories):
      * lisp/nxml/xmltok.el (let*):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-hex-binary)
      (rng-xsd-convert-any-uri):
      * lisp/nxml/rng-uri.el (rng-uri-file-name-1)
      (rng-uri-unescape-multibyte, rng-uri-unescape-unibyte)
      (rng-uri-unescape-unibyte-match)
      (rng-uri-unescape-unibyte-replace):
      * lisp/nxml/rng-cmpct.el (rng-c-process-escapes):
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/mail/rfc2231.el (rfc2231-decode-encoded-string):
      * lisp/international/mule-cmds.el (read-char-by-name):
      * lisp/htmlfontify.el (hfy-hex-regex):
      * lisp/gnus/nneething.el (nneething-decode-file-name):
      * lisp/gnus/mml-sec.el (mml-secure-find-usable-keys):
      * lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist):
      * lisp/faces.el (read-color):
      * lisp/epg.el (epg--status-ERRSIG, epg--status-VALIDSIG)
      (epg--status-SIG_CREATED, epg--decode-percent-escape)
      (epg--decode-hexstring, epg--decode-quotedstring)
      (epg-dn-from-string):
      * lisp/emulation/cua-rect.el (cua-incr-rectangle):
      * lisp/dnd.el (dnd-unescape-uri):
      * lisp/cedet/semantic/lex.el (semantic-lex-number-expression):
      * lisp/cedet/semantic/java.el (semantic-java-number-regexp):
      * lisp/calc/calc-lang.el (pascal):
      * lisp/calc/calc-ext.el (math-read-number-fancy):
      * lisp/calc/calc-aent.el (math-read-token):
      Replace various combinations of [0-9a-fA-F] with [[:xdigit:]].
      (Bug#36167)
      dfc322d7
  4. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  5. 20 May, 2019 1 commit
  6. 01 Jan, 2019 1 commit
  7. 10 Nov, 2018 1 commit
    • Michael Albinus's avatar
      Provide branch information for both Emacs and Tramp (Bug#33328) · a062fc41
      Michael Albinus authored
      * doc/lispref/intro.texi (Version Info):
      Document `emacs-repository-version' and `emacs-repository-branch'.
      
      * etc/NEWS: Mention `emacs-repository-branch'.
      
      * lisp/loadup.el: Initialize `emacs-repository-branch'.
      
      * lisp/version.el (emacs-repository-branch): New variable.
      (emacs-repository-branch-git, emacs-repository-get-branch):
      New defuns.
      
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Insert `emacs-repository-branch'.
      
      * lisp/net/tramp.el (tramp-get-local-gid):
      Use `group-name' if available.
      (tramp-debug-message):
      * lisp/net/tramp-cmds.el (tramp-bug): Report also
      `tramp-repository-branch' and `tramp-repository-version'.
      
      * lisp/net/trampver.el (tramp-repository-branch)
      (tramp-repository-version): New defconst.
      (tramp-repository-get-version): Remove.
      a062fc41
  8. 20 Apr, 2018 1 commit
    • Glenn Morris's avatar
      More alias-related tedium · 18de2ada
      Glenn Morris authored
      * lisp/comint.el (comint-scroll-to-bottom-on-output):
      * lisp/completion.el (cmpl-syntax-table):
      * lisp/erc/erc-button.el (erc-button-google-url):
      * lisp/font-lock.el (font-lock-reference-face):
      * lisp/hfy-cmap.el (hfy-fallback-colour-map, hfy-rgb-txt-colour-map):
      * lisp/isearch.el (isearch-regexp-function, isearch-new-word):
      * lisp/startup.el (argv):
      * lisp/version.el (emacs-bzr-version):
      * lisp/org/org.el (org-CUA-compatible)
      (org-popup-calendar-for-date-prompt):
      Move aliases before targets, to silence new compiler warning.
      18de2ada
  9. 01 Jan, 2018 1 commit
  10. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  11. 18 Feb, 2017 1 commit
    • Glenn Morris's avatar
      Remove the build number from emacs-version variable · 22b22074
      Glenn Morris authored
      It's a largely internal detail that can confuse users.  (Bug#25590)
      * lisp/version.el (emacs-build-number): New constant.
      (emacs-version): Use emacs-build-number.
      * lisp/loadup.el (top-level): When dumping, increment
      emacs-build-number rather than emacs-version.
      * src/emacs.c (emacs-version): Doc fix.
      * doc/lispref/intro.texi (Version Info): Update emacs-version details.
      Mention emacs-build-number.
      * lisp/gnus/gnus-util.el (gnus-emacs-version):
      * lisp/mail/emacsbug.el (report-emacs-bug):
      * admin/admin.el (set-version): Update for emacs-version change.
      ; * etc/NEWS: Mention this.
      22b22074
  12. 01 Jan, 2017 1 commit
  13. 01 Jun, 2016 2 commits
  14. 02 Mar, 2016 2 commits
    • Paul Eggert's avatar
      Deterministic build improvements · 65f69265
      Paul Eggert authored
      * configure.ac (BUILD_DETAILS): Rename from DETERMINISTIC_DUMP,
      and negate its sense.  Use it via AC_SUBST, not AC_DEFINE,
      and have its value be either empty or --no-build-details.
      All uses changed.  Change option to --disable-build-details.
      * doc/lispref/cmdargs.texi (Initial Options):
      Document --no-build-details.
      * doc/lispref/internals.texi (Building Emacs):
      * etc/NEWS:
      Document --disable-build-details.
      * doc/lispref/intro.texi (Version Info): Say that
      emacs-build-time can be nil.
      * lisp/erc/erc-compat.el (erc-emacs-build-time):
      Now nil if details are omitted.
      * lisp/erc/erc.el (erc-cmd-SV):
      * lisp/version.el (emacs-build-time):
      Now nil if no build details.
      (emacs-version):
      Output build time only if build details.
      * src/Makefile.in (BUILD_DETAILS): New macro.
      (temacs, bootstrap-emacs): Use it.
      * src/emacs.c (build_details): New var.
      (standard_args, main): Support --no-build-details.
      (Vdeterministic_dump): Remove; all uses replaced
      by !build_details.
      (syms_of_emacs): Set Vbuild_details to a boolean, not
      to a Lisp_Object.
      * src/lisp.h (build_details): New decl.
      * src/sysdep.c (init_system_name): When !build_details,
      set system-name to nil, not to "elided".
      65f69265
    • Philipp Stephani's avatar
      Remove build system name from deterministic dumps · d5a18a93
      Philipp Stephani authored
      * configure.ac (DETERMINISTIC_DUMP): New configuration option.
      * lisp/version.el (emacs-build-time): Add a comment to make the
      build time deterministic if requested.
      (emacs-build-system): Make variable deterministic if requested.
      * src/emacs.c (main): Initialize `deterministic-dump' from the
      configuration option.
      (syms_of_emacs): New constant `deterministic-dump'.
      * src/sysdep.c (init_system_name): Use a constant
      if a deterministic dump is requested.
      d5a18a93
  15. 01 Jan, 2016 1 commit
  16. 20 Nov, 2015 1 commit
  17. 24 Aug, 2015 1 commit
  18. 14 Jun, 2015 2 commits
  19. 13 Jun, 2015 1 commit
  20. 06 Jun, 2015 1 commit
    • Glenn Morris's avatar
      Address some compilation warnings. · 809885c2
      Glenn Morris authored
      * lisp/international/mule-cmds.el (w32-get-console-codepage)
      (w32-get-console-output-codepage):
      * lisp/progmodes/elisp-mode.el (xref-collect-references):
      * lisp/version.el (cairo-version-string): Declare.
      
      * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
      809885c2
  21. 11 Feb, 2015 1 commit
    • Jan D's avatar
      Add cairo drawing. · dddcc0e7
      Jan D authored
      * configure.ac (with-cairo): New option.
      (USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
      set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
      Output "Does Emacs use cairo?".
      
      * lisp/version.el (emacs-version): Add cairo version.
      
      * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
      (FONT_OBJ): Add comment about ftcrfont.
      (ALL_CFLAGS): Add CAIRO_CFLAGS.
      (LIBES): Add CAIRO_LIBS.
      
      * src/dispextern.h (struct image): Add cr_data for cairo.
      (x_cr_init_fringe): Declare.
      
      * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
      
      * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
      
      * src/fringe.c (x_cr_init_fringe): New function name that shares code
      with w32_init_fringe.
      
      * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
      
      * src/ftfont.c (ftfont_info_size); New global variable.
      (ftfont_open2): New extern function almost the same as old ftfont_open,
      but takes the font_object as argument.
      (ftfont_open): Build font object and call ftfont_open2.
      
      * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
      
      * src/gtkutil.c (xg_clear_under_internal_border)
      (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
      queue_draw if not cairo.  Change args to x_clear_area.
      (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
      (xg_page_setup_dialog, xg_get_page_setup, draw_page)
      (xg_print_frames_dialog): New functions for printing.
      
      * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
      (xg_print_frames_dialog): Declare.
      
      * src/image.c: Add defined (USE_CAIRO) for PNG.
      Add !defined USE_CAIRO for W32 PNG code.
      (x_clear_image): If cairo, destroy the surface in cr_data.
      (png_load): Add new cairo compatible implementation.
      (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
      
      * src/xfns.c: New section Printing.
      (x-export-frames, x-page-setup-dialog, x-get-page-setup)
      (x-print-frames-dialog): New printing functions.
      (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
      cairo.
      (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
      Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
      (syms_of_xfns): Provide cairo and defvar cairo-version-string.
      defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
      
      * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
      (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
      (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
      (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
      Declare.
      (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
      (max_fringe_bmp, fringe_bmp): New variables.
      (x_gc_get_ext_data, x_extension_initialize)
      (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
      (x_set_cr_source_with_gc_foreground)
      (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
      (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
      (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
      (x_prepare_for_xlibdraw, x_set_clip_rectangles)
      (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
      (x_clear_window, x_fill_trapezoid_for_relief): New functions.
      (x_update_begin): Create cairo surface if needed.
      (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
      (x_update_end): Paint cairo drawing surface to xlib surface.
      (x_clear_under_internal_border, x_after_update_window_line): Adjust
      arguments to x_clear_area.
      (x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
      call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
      of XSetClipMask.
      (x_set_glyph_string_clipping)
      (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
      instead of XSetClipRectangles.
      (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
      x_fill_rectangle instead of XFillRectangle.
      (x_draw_glyph_string_foreground)
      (x_draw_composite_glyph_string_foreground)
      (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
      of XDrawRectangle.
      (x_draw_relief_rect): Add code for USE_CAIRO.
      Call x_reset_clip_rectangles instead of XSetClipMask.
      (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
      x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
      instead of XSetClipMask.
      (x_draw_image_foreground, x_draw_image_foreground_1):
      x_draw_rectangle instead of XDrawRectangle.
      (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
      XFillRectangle.
      (x_draw_image_glyph_string): If img has cr_data, use it as
      a cairo surface.
      (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
      XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
      (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
      (x_clear_area1): New function that calls XClearArea.
      (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
      non-cairo.
      (x_clear_frame): x_clear_window instead of XClearWindow.
      (x_scroll_run): Set frame garbaged if cairo.
      (XTmouse_position): Initialize *part to 0.
      (x_scroll_bar_create): Adjust arguments to x_clear_area.
      (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
      x_fill_rectangle instead of XFillRectangle.
      (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
      arguments to x_clear_area.
      (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
      (handle_one_xevent): Adjust arguments to x_clear_area.
      Destroy cairo surface for frame if ConfigureNotify.
      (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
      (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_clear_frame_area): Adjust arguments to x_clear_area.
      (x_free_frame_resources): Call x_prepare_for_xlibdraw.
      (x_term_init): Call x_extension_initialize if cairo.
      (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
      x_cr_destroy_fringe_bitmap for cairo.
      (x_initialize): Call x_cr_init_fringe for cairo.
      
      * src/xterm.h: Add include of cairo header files.
      (x_bitmap_record): Add img if cairo.
      (x_gc_ext_data): New struct for cairo.
      (x_display_info): Add ext_codes for cairo.
      (x_output): Add cr_context and cr_surface for cairo.
      (x_clear_area): Change arguments from Display*/Window to frame pointer.
      (x_query_color, x_begin_cr_clip, x_end_cr_clip)
      (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
      (x_cr_draw_frame, x_cr_export_frames): Declare.
      dddcc0e7
  22. 17 Jan, 2015 2 commits
  23. 01 Jan, 2015 2 commits
  24. 15 Nov, 2014 1 commit
  25. 14 Nov, 2014 2 commits
  26. 31 Oct, 2014 2 commits
  27. 29 Oct, 2014 1 commit
  28. 26 Oct, 2014 1 commit
  29. 10 Feb, 2014 1 commit
  30. 22 Jan, 2014 4 commits