summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* Cut the emacs-29 release branchEli Zaretskii2022-11-28
| | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 29.0.60. * admin/admin.el (set-version): Fix regexp for configure.ac. * lisp/cus-edit.el (customize-changed-options-previous-release): Bump last version to 28.2.
* Fix tree-sitter build using non-bash /bin/sh (bug#59460)Sam James2022-11-22
| | | | | | * configure.ac: Don't use '==' in comparisons. Copyright-paperwork-exempt: yes.
* Merge remote-tracking branch 'savannah/master' into feature/tree-sitterYuan Fu2022-11-21
|\
| * Improve suppression of bogus macOS warningsPaul Eggert2022-11-03
| | | | | | | | | | | | * configure.ac: On macOS, always use -Wno-deprecated-declarations, as the false alarms appear even if --disable-gcc-warnings is given (Bug#58966).
| * Suppress deprecation warnings on macOS (bug#58966)Gerd Möllmann2022-11-03
| | | | | | | | | | * configure.ac (CHECK_LISP_OBJECT_TYPE): Add -Wno-deprecated-declarations for darwin.
| * Merge remote-tracking branch 'origin/feature/noverlay'Stefan Monnier2022-10-28
| |\
| | * Merge 'master' into noverlayStefan Monnier2022-09-25
| | |\
| | * | Provide a new tree data-structure for overlays.Andreas Politz2017-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/itree.c (interval_generator_narrow, interval_generator_next) (interval_node_init, interval_node_begin) (interval_node_end, interval_node_set_region) (interval_tree_create, interval_tree_clear) (interval_tree_init, interval_tree_destroy) (interval_tree_size, interval_tree_insert) (interval_tree_contains, interval_tree_remove) (interval_tree_validate, interval_tree_iter_start) (interval_tree_iter_finish, interval_tree_iter_next) (interval_tree_iter_ensure_space, interval_tree_max_height) (interval_tree_insert_gap, interval_tree_delete_gap) (interval_generator_create, interval_generator_reset) (interval_generator_ensure_space, interval_node_intersects) (interval_generator_next, interval_generator_narrow) (interval_generator_destroy, interval_stack_create) (interval_stack_destroy, interval_stack_clear) (interval_stack_ensure_space, interval_stack_push) (interval_stack_push_flagged, interval_stack_pop) (interval_tree_update_limit, interval_tree_inherit_offset) (interval_tree_propagate_limit, interval_tree_rotate_left) (interval_tree_rotate_right, interval_tree_insert_fix) (interval_tree_remove_fix, interval_tree_transplant) (interval_tree_subtree_min): New file and new functions. * src/itree.h: New file. * configure.ac: Create Makefile for manual overlay tests. * src/Makefile.in: Add itree.o target. * src/alloc.c (build_overlay, mark_overlay, mark_buffer) (sweep_misc, sweep_buffers): Adapt to new tree data-structure. * src/buffer.c (overlays_in, overlays_at): Remove unused arguments prev_ptr and change_req, adapt to new data-structure and reuse code. (copy_overlays, drop_overlays, delete_all_overlays) (reset_buffer, kill-buffer, buffer-swap-text, next_overlay_change) (previous_overlay_change, mouse_face_overlay_overlaps) (disable_line_numbers_overlay_at_eob, overlay_touches_p) (overlay_strings, adjust_overlays_for_insert) (adjust_overlays_for_delete, overlayp, make-overlay, move-overlay) (delete-overlay, overlay-start, overlay-end, overlay-buffer) (overlay-properties, overlays-at, overlays-in) (next-overlay-change, previous-overlay-change, overlay-put) (overlay-get, report_overlay_modification, evaporate_overlays) (init_buffer_once): Adapt to changes and tree data-structure. (overlay-lists, overlay-recenter): Funtions are now obsolete, but kept anyway. (set_buffer_overlays_before, set_buffer_overlays_after) (recenter_overlay_lists,fix_start_end_in_overlays,fix_overlays_before) (unchain_overlay,): Removed functions of the old list data-structure. (swap_buffer_overlays, make_sortvec_item): New functions. (sort_overlays): Adapt to changes and tree data-structure. (sortvec): Moved to buffer.h . (make_lispy_interval_node, overlay_tree, overlay-tree) [ITREE_DEBUG]: New debugging functions. * src/buffer.h (overlays_before, overlays_after): Removed struct member of the list data-structure. (overlays): Added tree struct member. (sortvec): Moved here from buffer.c . (GET_OVERLAYS_AT): Adapt to changes. (set_buffer_intervals, OVERLAY_START, OVERLAY_END, OVERLAY_PLIST): Adapt to tree data-structure. (OVERLAY_POSITION): Removed macro of the list data-structure. (OVERLAY_REAR_ADVANCE_P, OVERLAY_FRONT_ADVANCE_P): New macros. (overlay_start, overlay_end) (set_overlay_region, maybe_alloc_buffer_overlays) (free_buffer_overlays, add_buffer_overlay) (remove_buffer_overlay, buffer_overlay_iter_start) (buffer_overlay_iter_next, buffer_overlay_iter_finish) (buffer_overlay_iter_narrow): New functions. (compare_overlays, make_sortvec_item): Export functions. * src/editfns.c (overlays_around): Reuse overlays_in. (get-pos-property): Adapt to tree data-structure. (transpose-regions): Remove call to deleted function. * src/fileio.c: (insert-file-contents): Remove references to deleted struct member. * src/fns.c (internal_equal): Adapt to tree data-structure. * src/indent.c (check_display_width): Adapt to tree data-structure. (skip_invisible): Remove call to deleted function. * src/insdel.c (adjust_markers_for_insert): Remove calls to deleted functions. * src/intervals.c (adjust_for_invis_intang): Adapt to tree data-structure. * src/keyboard.c (adjust_point_for_property): Adapt to tree data-structure. * src/lisp.h (Lisp_Overlay): Modified struct layout. * src/print.c (temp_output_buffer_setup, print_object): Adapt to tree data-structure. * src/textprop.c (get_char_property_and_overlay): Adapt to tree data-structure. Take advantage of the new data-structure. * src/window.h (overlay_matches_window): New function. * src/xdisp.h (next_overlay_change): Removed function. Use next-overlay-change, which does not use xmalloc anymore. (handle_single_display_spec, load_overlay_strings) (back_to_previous_visible_line_start, note_mouse_highlight): Adapt to tree data-structure. (move_it_to, display_line): Remove calls to deleted functions. * src/xfaces.c (face_at_buffer_position): Adapt to changes and tree data-structure. * test/src/buffer-tests.el: Many tests regarding overlays added. * test/manual/noverlay/itree-tests.c: New file with tests of the tree data-structure on the C level. * test/manual/noverlay/Makefile.in: New file. * test/manual/noverlay/check-sanitize.sh: New file. * test/manual/noverlay/emacs-compat.h: New file. * test/manual/noverlay/.gitignore: New file. * test/manual/noverlay/overlay-perf.el: New file providing performance tests. * test/manual/noverlay/many-errors.h: New file.
* | | | Accept older versions of tree-sitter libraryYuan Fu2022-11-10
| | | | | | | | | | | | | | | | | | | | * configure.ac: Accept a tree-sitter library as long as it provides ts_set_allocator.
* | | | ; Revert back to requiring tree-sitter v0.0 for nowYuan Fu2022-11-10
| | | |
* | | | * configure.ac: Change required tree-sitter version to 0.20.2.Yuan Fu2022-11-09
| | | |
* | | | * configure.ac (emacs_config_features): Change to TREE_SITTERYuan Fu2022-10-28
| | | | | | | | | | | | | | | | | | | | Last commit on this line has a wrong changelog, the subject should be emacs_config_features, not WINDOW_SYSTEM_OBJ.
* | | | * configure.ac (WINDOW_SYSTEM_OBJ): Move tree-sitter placement.Yuan Fu2022-10-28
| | | |
* | | | Support MinGW build on MS-WindowsEli Zaretskii2022-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/treesit.c [WINDOWSNT]: Add MS-Windows boilerplate for dynamically-loaded optional libraries. (init_treesit_functions) [WINDOWSNT]: New function. (load_tree_sitter_if_necessary): New function. (ts_initialize): Call 'load_tree_sitter_if_necessary'. (ts_delete_parser, ts_delete_query, ts_named_node_p): Wrapper functions for TS calls from outside treesit.c. (Ftreesit_parser_root_node, Ftreesit_parser_set_included_ranges) (Ftreesit_parser_included_ranges, Ftreesit_node_type) (Ftreesit_node_start, Ftreesit_node_end, Ftreesit_node_string) (Ftreesit_node_parent, Ftreesit_node_child, Ftreesit_node_check) (Ftreesit_node_field_name_for_child, Ftreesit_node_child_count) (Ftreesit_node_next_sibling, Ftreesit_node_prev_sibling) (Ftreesit_node_first_child_for_pos) (Ftreesit_node_descendant_for_range, Ftreesit_node_eq) (Ftreesit_query_compile, Ftreesit_query_capture) (Ftreesit_search_subtree, Ftreesit_search_forward) (Ftreesit_induce_sparse_tree): Call 'ts_initialize' before any other TS functions. (Ftreesit_available_p): 'treesit-available-p' implemented in C, so that on WINDOWSNT the library could be loaded dynamically. * src/treesit.h (ts_delete_parser, ts_delete_query) (ts_named_node_p): Add prototypes. * src/print.c (print_vectorlike): * src/alloc.c (cleanup_vector): Call tree-sitter function via wrappers defined in treesit.c, not directly, because WINDOWSNT redefines the TS functions to be called via function pointers. * src/Makefile.in (base_obj): Add treesit.o (TREE_SITTER_OBJ): Remove. * lisp/treesit.el (treesit-available-p): Remove: now implemented in C. * lisp/term/w32-win.el (dynamic-library-alist): Add libtree-sitter DLLs. * configure.ac (TREE_SITTER): Support the MinGW build. (TREE_SITTER_OBJ): Remove.
* | | | Merge branch 'master' into feature/tree-sitterYuan Fu2022-10-05
|\| | |
| * | | Add --with-native-compilation=aot configuration optionLars Ingebrigtsen2022-10-03
| | |/ | |/| | | | | | | | | | | | | | | | * configure.ac: Allow --with-native-compilation=aot to switch full ahead-of-time on. * lisp/Makefile.in: Use the setting from configure.
* | | Merge remote-tracking branch 'origin/master' into feature/tree-sitterYuan Fu2022-08-29
|\| |
| * | Fix webp detection on some Macos systemsDaniel Martín2022-08-27
| | | | | | | | | | | | | | | * configure.ac (HAVE_RSVG): Make webp detection work with Macos 10.3/Homebrew (bug#57420).
| * | * configure.ac: Move AC_LANG_PUSH/POP out of AC_CACHE_CHECK. (Bug#57380)Andreas Schwab2022-08-25
| | |
| * | Merge from origin/emacs-28Stefan Kangas2022-08-19
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2c0fb2615 Resurrect obsoletion warning for two functions 9c0eec4ed8 * src/window.c (select_window): Fix assert for buffer = no... 16dfe04be2 Find libgccjit on macOS with Homebrew differently # Conflicts: # etc/NEWS
| | * | Find libgccjit on macOS with Homebrew differentlyGerd Möllmann2022-08-19
| | | | | | | | | | | | | | | | | | | | * configure.ac (MAC_LIBS): Find libgccjit's directory slightly differently for brew installations.
| | * | Bump Emacs version to 28.1.91Stefan Kangas2022-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 28.1.91.
| | * | Find libgccjit.dylib on Homebrew MacosEugene Ha2022-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Also find libggcjit on Homebrew (bug#55173). Copyright-paperwork-exempt: yes (cherry picked from commit faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439)
| * | | Correctly implement refresh synchronization fencesPo Lu2022-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_XSYNC): Also check for XSyncTriggerFence. * src/xfns.c (Fx_create_frame): Create fences. * src/xterm.c (x_atom_refs): New atom. (x_sync_trigger_fence, x_sync_init_fences, x_sync_free_fences): New functions. (x_sync_update_finish): Trigger the appropriate fence. (x_free_frame_resources): Free fences. * src/xterm.h (struct x_display_info): New atom `_NET_WM_SYNC_FENCES'. (struct x_output): New field `sync_fences'.
| * | | Merge from origin/emacs-28Stefan Kangas2022-07-16
| |\| | | | | | | | | | | | | | db259d8fd3 Build Seccomp filter only if we have a 64-bit userspace (B...
| | * | Build Seccomp filter only if we have a 64-bit userspace (Bug#56549)Philipp Stephani2022-07-15
| | | | | | | | | | | | | | | | | | | | * configure.ac (SIZEOF_LONG): New variable. * lib-src/Makefile.in (SIZEOF_LONG): New variable; added conditional.
| | * | Bump Emacs version to 28.1.90emacs-28.1.90Stefan Kangas2022-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 28.1.90.
| | * | ; Prepare the release branch for Emacs-28.2 developmentEli Zaretskii2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 28.1.50. * etc/NEWS: Add Emacs-28.2 sections.
| | * | Bump Emacs version to 28.1Eli Zaretskii2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 28.1
| | * | Emacs pretest 28.0.92emacs-28.0.92Eli Zaretskii2022-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 28.0.92. * etc/AUTHORS: * lisp/ldefs-boot.el: Update for pretest 28.0.92. * ChangeLog.3: Regenerate.
| * | | Quote configure.ac arguments more consistentlyPaul Eggert2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should help avoid further Autoconf portability gotchas such as the one recently fixed in 2022-06-27T04:26:01Z!meyering@fb.com. * autogen.sh (autoconf_min): Adjust pattern to match updated configure.ac. * configure.ac: Quote arguments more consistently, as per the Autoconf manual.
| * | | Don’t mishandle preset emacs_cv_lesstifPaul Eggert2022-07-05
| | | | | | | | | | | | | | | | | | | | * configure.ac: Restore CFLAGS etc. correctly even when emacs_cv_lesstif is already set on the command line.
| * | | Add support for fullscreen values fullheight and fullwidth on PGTKFlorian Rommel2022-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/pgtkterm.c (window_state_event): Support values fullheight and fullwidth for the fullscreen frame-parameter * doc/lispref/frames.texi (Size Parameters): Document inability to actively set hullheight/fullwidth for PGTK frames * configure.ac: Bump GTK version for PGTK * etc/NEWS: Change GTK version in PGTK announcement
| * | | Fix repeated "the"Lele Gaifax2022-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (EMACS_CONFIG_FEATURES): * etc/NEWS: * lisp/dnd.el (dnd-begin-text-drag): * src/pgtkfns.c (Fx_display_mm_height, Fx_display_mm_width): (Fx_display_backing_store, Fx_display_visual_class): * src/xterm.c: Fix repeated "the". (Bug#56341) Copyright-paperwork-exempt: yes
| * | | Fix configure.ac quoting of AC_CHECK_LIB's 2nd argJim Meyering2022-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running an autoconf-head-generated configure, would fail like this: /emacs/configure: line 18002: syntax error near unexpected token `;;' /emacs/configure: line 18002: ` ;;' That is due to under-quoting of AC_CHECK_LIB's second argument, which led to the comma in an embedded string being interpreted as paramater-delimiting. * configure.ac: Quote the second arg of each AC_CHECK_LIB invocation. (Bug#56272) Copyright-paperwork-exempt: yes
| * | | Fix check for window system with toolkit scrollbarsRobert Pluim2022-06-16
| | | | | | | | | | | | | | | | | | | | * configure.ac (USE_TOOLKIT_SCROLL_BARS): Add missing 'test' to condition. (Bug#55970)
* | | | Merge remote-tracking branch 'savannah/master' into feature/tree-sitterYuan Fu2022-06-14
|\| | |
| * | | ; Minor copyedits of --with-small-ja-dic optionEli Zaretskii2022-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Document the new configuration option. * lisp/international/ja-dic-cnv.el (skkdic-convert-okuri-nasi): Fix whitespace. (skkdic-convert): Doc fix. (batch-skkdic-convert): Fix Help message. * configure.ac: Tweak the description of --with-small-ja-dic.
| * | | Don't reduce vocabulary in ja-dic.el by defaultTaiju HIGASHI2022-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add the "--with-small-ja-dic" configure option. * leim/Makefile.in (${leimdir}/ja-dic/ja-dic.el): Change the build method depending on whether or not the --with-small-ja-dic option is specified. * lisp/international/ja-dic-cnv.el (skkdic-convert-okuri-nasi): Add the "no-reduction" optional argument. When it is specified, then generate a Japanese dictionary without reduced vocabulary. (skkdic-convert): Add the "no-reduction" optional argument. (batch-skkdic-convert): Add the "--no-reduction" command line argument.
| * | | Another attempt to void compiler warnings on macOS (bug#55595)Eli Zaretskii2022-06-04
| | | | | | | | | | | | | | | | | | | | * configure.ac (WERROR_CFLAGS): Use "-Wno-unknown-pragmas" with Clang.
| * | | Avoid compiler warnings on macOS (bug#55595)Eli Zaretskii2022-05-23
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Don't use -Wunknown-pragmas with Clang. * src/comp.c (load_comp_unit): Avoid Clang compilation warning.
| * | | Fix compiler warnings on Mac OS X 10.12Po Lu2022-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for Mac OS X 12 and link with UniformTypeIdentifiers.framework. * src/nsfns.m (IOMasterPort): Define to `IOMainPort' on Mac OS X 12. (ns_implicitly_set_icon_type, Fns_read_file_name): * src/nsxwidget.m: ([XwWebView initWithFrame:configuration:xwidget:]): Fix uses of obsolete things.
| * | | ; * configure.ac (-Wbidi-chars): Disable use of these warnings.Eli Zaretskii2022-05-13
| | | |
| * | | Port libm configure-time test to Solaris 11.4Paul Eggert2022-05-10
| | | | | | | | | | | | | | | | | | | | * configure.ac (LIB_MATH): Check all the math.h functions that Emacs uses, not just sqrt (Bug#55294).
* | | | * configure.ac (HAVE_TREE_SITTER): Not set TREE_SITTER_LIBS.Yuan Fu2022-06-11
| | | |
* | | | ; Merge from master.Yuan Fu2022-05-07
|\| | |
| * | | Turn on XInput 2 support by defaultPo Lu2022-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The support doesn't interfere with compatibility, since Emacs built with XInput 2 support transparently falls back to Core Input when a suitable version of the input extension is not available. It also matured much sooner than expected, so enabling this by default will lead to new features being available to more users. * INSTALL: * configure.ac: * etc/NEWS: Enable XInput 2 support by default.
| * | | Add new function `malloc-trim'Lars Ingebrigtsen2022-05-01
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (PGTK_LIBS): Check for malloc_trim. * src/alloc.c (Fmalloc_trim): Add new function (bug#45200).
| * | | Find libgccjit.dylib on Homebrew MacosEugene Ha2022-04-28
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Also find libggcjit on Homebrew (bug#55173). Copyright-paperwork-exempt: yes
| * | | Disable annoying Clang warningsMattias Engdegård2022-04-16
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (CHECK_LISP_OBJECT_TYPE): Disable -Wimplicit-const-int-float-conversion and -Wint-in-bool-context, which currently only have false positives.