./devel/global, Source code tag system including web browser output

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.6.1, Package name: global-6.6.1, Maintainer: uebayasi

GNU GLOBAL is a source code tag system that works the same way across
diverse environments. GNU GLOBAL has following features:

* support C, C++, Yacc, Java and PHP4.
* work the same way across diverse environments. Currently, support
followings:
o Generic shell command line
o Bash shell
o Vi clone editor (nvi, elvis, vim)
o Emacs editor (emacs, mule, xemacs)
o Glimmer editor
o Less viewer
o Web browser (See UNIX kernel source tour!.)
o Doxygen documentation system


Required to run:
[lang/perl5] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Package options: sqlite3

Master sites: (Expand)

SHA1: d029c1a1a17713d301940b00a2b69dd75d45a232
RMD160: c5fda1872f46cc6ff702986b29253490728d5ad4
Filesize: 2892.369 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-10 10:51:57 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
global: update to 6.6.1.

Version 6.6.1 - December 16 2017

[FIXED BUG]
o gozilla: A critical vulnerability (CVE-2017-17531) was found in a unknown
  function of gozilla(1). It allows remote attackers to execute arbitrary
  code via a crafted URL. All gozilla(1) before GLOBAL-6.6.1 have the vulnerability.
  Now it is fixed.

- What is the unknown function?
Gozilla accepts a URL as an argument, and invokes a web browser with the URL.
Though it is undocumented, it is implied in the online manual as follows:

> BUGS
>         Gozilla can accept not only source files but also text files,
>         directories, HTML files and even URLs, because it is omnivorous.

Version 6.6 - December 12 2017

[CHANGES]
New facilities:
o gtags: Added support for glob patterns in langmap variable in gtags.conf(5).
  Now, you can treat source files without extension like ctags(1).
  (e.g. :langmap=Make\:.mak.mk([Mm]akefile):)

Changed:
o gozilla: Changed the default browser from 'mozilla' to 'firefox'.
o gtags.conf.in: Updated to adapt to the latest ctags(s).
  Removed: common-ctags-maps
  Updated: exuberant-ctags, universal-ctags

[INCOMPATIBLE CHANGES]
o universal-ctags.la: The --extra option in Exuberant-ctags is renamed
  to --extras (plural) in Universal-ctags for making consistent with
  --kinds-<LANG> and --fields.

[FIXED BUGS]
o gtags: (parser error) picked up a typedef name as both of definition
  and reference. Now it works.
	Input:
	[a.h]
	typedef struct a A;

	$ global -x A
	A                   1 a.h              typedef struct a A;
	$ global -x A -r
	(global-6.5.7)
	A                   1 a.h              typedef struct a A;
	(global-6.6)
	no output

o global: the -i option does not work correctly in some conditions.
  Now it works.
o global: didn't accept pattern as a string literal with the --from-here
  option, even if the --literal option was specified. Now, global(1)
  accepts pattern as a string literal with the --literal option.
o libdb: there was 4 Gbyte limitation on the system where `off_t' is 64 bits
  and `long' is 32 bits. Now it is eliminated.
o libparser: php parser was not reset state for each source file.
  So, it was producing unintelligible results. Now it is fixed.
o gozilla: with wrong argument caused segmentation violation.
	$ gozilla -d
	Segmentation fault: 11
  Now it displays usage.
   2017-11-30 17:45:43 by Adam Ciarcinski | Files touched by this commit (654) | Package updated
Log message:
Revbump after textproc/icu update
   2017-09-18 11:53:40 by Maya Rashish | Files touched by this commit (676)
Log message:
revbump for requiring ICU 59.x
   2017-05-29 13:20:53 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated global to 6.5.7.

Version 6.5.7 - 15 May 2016

[CHANGES]
o global: Now global(1) accept a file as --nearness option.
  If it is a file, tags in the file are shown first.
o global: Added aliases for MAKEOBJDIR and MAKEOBJDIRPREFIX.
  GTAGSOBJDIR: alias for MAKEOBJDIR
  GTAGSOBJDIRPREFIX: alias for MAKEOBJDIRPREFIX
  These aliases are given higher priority than the originals.
o global: New command --print=<name>.
  <name> may be one of: root, dbpath or conf.
  This is a generic version of the -p (--print-dbpath) command.
	'global -p' is equal to 'global --print=dbpath'
	'global -pr' is equal to 'global --print=root'
o gtags: Updated the built-in PHP parser to support namespaces and traits,
  which were introduced in PHP5. The following keywords have been removed:
	- failure: not a keyword
	- header: normal built-in function
	- is_array: normal built-in function
	- is_set: typo -> isset
	- printf: normal built-in function
	- setcookie: normal built-in function
	- success: not a keyword

[FIXED BUGS]
o globash: Echo command with -n option didn't work on some OS. Now it works.
o global: The --nearness option without -x option brought segmentation fault.
	$ global --nearness=. main
	Segmentation fault: 11
  Now it works.
o global: --from-here with -i option did not ignore case of function name
  in the context. Now it works.
	Input:
	[main.c]
	1: main() {
	2:         func();
	3:         Func();
	4: }
	5: func() {}
	6: Func() {}

	$ global -xi --from-here=6:main.c func
	(global-6.5.6)
	Func                6 main.c           Func() {}
	func                5 main.c           func() {}
	(global-6.5.7)
	Func                3 main.c            Func();
	func                2 main.c            func();

[INCOMPATIBLE CHANGES]
o gtags.conf: Added new candidate path.
        (1) --gtagsconf file
        (2) $GTAGSCONF
        (3) [project root]/gtags.conf
        (4) [project root]/[objdir]/gtags.conf       <- [NEW]
        (5) $HOME/.globalrc
        (6) /etc/gtags.conf
        (7) [sysconfdir]/gtags.conf

        The default of [objdir] is 'obj'. You can change it by
        the environment variables (GTAGSOBJDIR or MAKEOBJDIR).
   2017-05-09 18:12:52 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Requires curses.
   2017-04-22 23:04:05 by Adam Ciarcinski | Files touched by this commit (670) | Package updated
Log message:
Revbump after icu update
   2016-12-30 01:39:30 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated global to 6.5.6.

Version 6.5.6 - December 19 2016

[CHANGES]
New facilities:
o htags-server: New --retry[=n] option.
  If the port is already in use, retry n times with incrementing the port number.
  The default of n is 20.
o htags: Changed the format of function header (--show-position) to make copying
  text easier.
o geco.rc: Added 'fzf' as a selector candidate.
o gtags: New configuration variable 'gtags_hook'.
  gtags_hook=<command line>
	Specify a command line which should be executed at the beginning of gtags(1).
	Leading "./" in any path is always means the project root directory, since
	gtags(1) is always invoked there.
  GTAGS_COMMANDLINE environment variable (read only)
	You can get the effective command line of gtags(1) from the hook. It includes
	both $GTAGS_OPTIONS and real arguments.

   [Usage]
   You can update 'gtags.files' before gtags(1) read it.

	[gtags.conf]
	+----------------------------------------
	|...
	|:gtags_hook=find src lib -print >gtags.files:

   You can refer the effective arguments of gtags(1) from the hook using
   environment variable GTAGS_COMMANDLINE.

	[gtags.conf]
	+----------------------------------------
	|...
	|:gtags_hook=./gen.sh:\
	|:GTAGS_OPTIONS=-c:\

	[gen.sh]
	+----------------------------------------
	|#!/bin/sh
	|echo ">>> $GTAGS_COMMANDLINE"		# show effective command line

	$ gtags -O
	>>> gtags -c -O
	$ _

[INCOMPATIBLE CHANGES]
o htags: Now --cvsweb option always insert 'view=log' to the generated URLs.
  Because it seems to be almost always a desirable specification.

[FIXED BUGS]
o gtags: Gtags often aborts with a message "buffer overflow. \ 
strlimcpy" when
  it encounters a long token (> 152 bytes). Now gtags always ignores it with
  a message "symbol name is too long. (Ignored)".
o htags: Old packages included two CGI scripts (completion.cgi, global.cgi)
  generated in the release manager's machine by mistake. They have some literal
  path like '/opt/local/bin/perl' which works only with MacPorts.
  Now, they are generated in the target (your) machine.
   2016-12-04 06:17:46 by Ryo ONODERA | Files touched by this commit (667)
Log message:
Recursive revbump from textproc/icu 58.1