___________________________________ | | | | | _ | | | | |___| | | | | _| | | | GNU GLOBAL source code tagging system | | | | | | | | | | | ~~ | ~~| | ~ | | | ~~| for all hackers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Copyright (c) 2000-2021 Tama Communications Corporation This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ---------------------------------- ChangeLog about GNU GLOBAL November 25 2024, Shigio YAMAGUCHI [bt_close.c bt_conv.c bt_debug.c bt_delete.c bt_get.c bt_open.c bt_overflow.c bt_page.c bt_put.c bt_search.c bt_seq.c bt_split.c bt_utils.c db.c db.h mpool.c] The definitions of the above files in libdb/ have been converted to ANSI format. June 6 2024, Shigio YAMAGUCHI [plugin-factory/pygments_parser.py.in] All regular expressions using '\' were made literal with 'r' flag. '\s' -> r'\s' Python 3.6 and later considers \s an invalid escape sequence (DeprecationWarnings). But DeprecationWarnings are silenced by default. Python 3.12 and later displays it as a SyntaxWarning by default. [test.py] +------------- |print('\s') +------------- $ python3.11 test.py \s $ python3.12 test.py /***/***/test.py:1: SyntaxWarning: invalid escape sequence '\s' print('\s') \s April 23 2024, Shigio YAMAGUCHI [plugin-factory/Makefile.am] Added '-shared' option to XXXX_la_LDFLAGS not to install static library. March 4 2024, Shigio YAMAGUCHI Changed the limit values in libutil/xargs.c. UNIX: Changed the limit value as follows: if (limit > 20 * 1024) limit = 20 * 1024; | v if (limit > 128 * 1024) limit = 128 * 1024; This value is due to xargs in GNU findutils-4.9.0. WIN32: Changed the limit value from 2047 to 8191. December 14 2023, Shigo YAMAGUCHI Now Pygments plug-in parser uses Universal Ctags instead of Exuberant Ctags. Please note the following descriptions: [gtags.conf.in] pygments-parser|Pygments plug-in parser:\ ... :ctagscom=@UNIVERSAL_CTAGS@:\ <=== [plugin-factory/pygments_parser.py.in] UNIVERSAL_CTAGS = "@UNIVERSAL_CTAGS@" <=== This means you have to do the following configuration to use Pygments. $ ./configure --with-universal-ctags=... November 19 2023, Shigo YAMAGUCHI [plugin-factory/PLUGIN_HOWTO.pygments] I changed the last sentence as follows: Though it is considered a separate package, not part of GLOBAL proper, we included it for user's convenience. | v Now it is maintained as a part of GNU Global. April 6 2023, Shigo YAMAGUCHI The --with-pread-pwrite option of configure script was removed. Now configure script automatically probes for pread()/pwrite(). However, it is not enabled on Cygwin environment, because it did not work properly on Cygwin in the past. If requested by Cygwin users, I will change it. December 13 2021, Shigio YAMAGUHI [plugin-factory/PLUGIN_HOWTO.universal-ctags] [plugin-factory/uctags-scheme.c-diff] I wrote a document titled 'How to get Universal Ctags to handle references.' July 19 2021, Shigio YAMAGUHI Now you can build Global with external SQLite3 library. --with-sqlite3[=dir] By default, the embedded version is used. $ ./configure --with-sqlite3=/opt/local ... $ global --version ... Powered by Berkeley DB 1.85 and SQLite3 3.35.5. ======= (depends on your system) June 30 2021, Shigio YAMAGUHI Shebang rules: Shell use #!/bin/sh It works 100% in POSIX. Perl should be called as a command argument like follows: $ perl ./xxxx.pl #!@PERL@ should not be used, because perl scripts are used before the config phase in Global, Python use #!@PYTHON@ Don't use fixed names, because at least two incompatible versions of python are distributed. The command name may be python2 or python3. June 7 2019, Shigio YAMAGUCHI Removed the -T option of perl from the CGI scripts in htags/, because env(1) cannot treat it correctly without -S option on FreeBSD. $ cat test.sh #!/usr/bin/env perl -T print "Hello!\n"; $ ./test.sh env: perl -T: No such file or directory March 21 2019, Shigio YAMAGUCHI Moved convert.c, convert.h, output.c, output.h from 'global/' to 'libutil/'. July 15 2018, Shigio YAMAGUCHI [icons, jquery] Moved 'icons/' and 'jquery/' from the root directory of the project to 'htags/'. It seems to be a more suitable place. June 11 2018, Shigio YAMAGUCHI [gtags-cscope/find.c] Replaced the system(3) function with the secure_popen utilities (libutil/secure_popen.c) for security and readability. March 15 2018, Shigio YAMAGUCHI Moved sqlite3.c and sqlite3.h from 'libglibc/' to 'libdb/'. It seems to be a more suitable place. December 12 2017, Shigio YAMAGUCHI [plugin-factory/maps2conf.pl] Added new script 'maps2conf.pl', which converts from the output of 'ctags --list-maps' into a gtags.conf record. It supports Exuberant Ctags and Universal Ctags. [usage] perl maps2conf.pl [