Dmitry Selyutin
eef2b8c058
pygnulib: fix "mention" section paths
2018-07-08 23:32:30 +03:00
Dmitry Selyutin
1dc6d9fb83
pygnulib: fixed ignore files; fixed logging
2018-07-08 23:20:47 +03:00
Dmitry Selyutin
cf235b0d1f
module: fix test_module calculations
2018-07-07 17:58:43 +03:00
Dmitry Selyutin
8462af965d
generator: fix gl_VC_FILES in gnulib_cache
2018-07-05 22:32:35 +03:00
Dmitry Selyutin
d66bbe8d5d
more fixes regarding --lgpl option
2018-07-05 22:28:08 +03:00
Dmitry Selyutin
c6c7e33ac1
generator: fix subdirs for gnulib_comp
2018-07-05 22:27:09 +03:00
Dmitry Selyutin
b42ec0c334
module: fix autoconf version check
2018-07-05 22:27:09 +03:00
Dmitry Selyutin
679e16886f
vfs: multiple overrides in lookup routine
2018-07-05 22:27:09 +03:00
Dmitry Selyutin
9f54fabb7a
generator: fix gl_LGPL macro if --lgpl given
2018-07-05 00:33:22 +03:00
Dmitry Selyutin
46d9c61e7a
pygnulib: fix output regarding Makefile.am
2018-07-05 00:06:31 +03:00
Dmitry Selyutin
4e683c45b3
generator: fix gnulib-cache.m4 and command line
2018-07-04 23:51:06 +03:00
Dmitry Selyutin
4420b71bbf
misc: optional configuration paths
2018-07-04 23:50:33 +03:00
Dmitry Selyutin
0c6eab271e
generator: swap mkedits yield and delete actions
2018-07-04 10:54:18 +03:00
Dmitry Selyutin
3160b12d1b
pygnulib: fix transformations of CVS paths
2018-07-04 10:19:24 +03:00
Dmitry Selyutin
a0dc3a16e8
misc: remove unused code
2018-07-03 23:29:58 +03:00
Dmitry Selyutin
1a8c911ab4
parser: fix --avoid option handling
2018-07-03 22:59:46 +03:00
Dmitry Selyutin
aedc7d8aef
module: custom hook for licenses field
2018-07-03 22:59:04 +03:00
Dmitry Selyutin
21923599ab
generator: update snippet variable
2018-07-03 21:37:25 +03:00
Dmitry Selyutin
5d7bebc99b
pygnulib: support paths in transformations
2018-07-02 22:55:05 +03:00
Dmitry Selyutin
69437cd888
generator: fix missing path separator
2018-07-02 20:19:42 +03:00
Dmitry Selyutin
21a570555d
pygnulib: remove redundant sign
2018-07-02 01:09:52 +03:00
Dmitry Selyutin
627e334010
pygnulib: support file transformation routines
2018-07-02 01:05:10 +03:00
Dmitry Selyutin
0b037a4eb4
module: fix initial values for properties
2018-07-02 01:03:15 +03:00
Dmitry Selyutin
56d8b43e2a
parser: support empty --lgpl argument
2018-07-02 01:02:30 +03:00
Dmitry Selyutin
9ff91f9b80
generator: make licenses hashable
2018-07-02 01:02:02 +03:00
Dmitry Selyutin
99b64e290d
vfs: normalize file path after concatenation
2018-06-30 16:30:26 +03:00
Dmitry Selyutin
97a2a07e5f
vfs: simplify some code parts
2018-06-30 16:30:02 +03:00
Dmitry Selyutin
9b3c883352
pygnulib: postpone ignore files backup
2018-06-29 10:05:31 +03:00
Dmitry Selyutin
4994423bd0
pygnulib: deprecate unused variable
2018-06-29 10:04:59 +03:00
Dmitry Selyutin
d5cf9db347
pygnulib: fix substitutions; backup removed files
2018-06-29 01:47:29 +03:00
Dmitry Selyutin
c0e63bb2f2
vfs: deprecate unused "backup" parameter
2018-06-29 01:44:29 +03:00
Dmitry Selyutin
c8822295be
pygnulib: support VCS files
2018-06-29 00:25:54 +03:00
Dmitry Selyutin
11f3d74c15
parser: enable vc_files by default
2018-06-29 00:24:26 +03:00
Dmitry Selyutin
46a87df04e
generator: fix gnulib-cache.m4 generation
2018-06-29 00:23:37 +03:00
Dmitry Selyutin
510c5fe20d
modules: swap dependencies and demanders; cleanup
2018-06-28 01:03:59 +03:00
Dmitry Selyutin
28a06d2ff9
remove debugging leftovers
2018-06-28 00:55:04 +03:00
Dmitry Selyutin
fdd742b223
minor code cleanup
2018-02-10 19:01:32 +03:00
Dmitry Selyutin
a3e9c763ba
pygnulib.py: print the final notifications
2018-02-04 13:17:41 +03:00
Dmitry Selyutin
ecea1586e6
simplify properties; improve performance
2018-02-04 13:13:13 +03:00
Dmitry Selyutin
cee75f5910
refactored generators; bugfix; tests Makefile.am
2018-01-29 19:08:46 +03:00
Dmitry Selyutin
ab12fb43da
parser: simplify mode parsing; fix --help error
2018-01-21 20:43:31 +03:00
Dmitry Selyutin
c957e31386
parser: do not override --help option
2018-01-17 23:51:24 +03:00
Dmitry Selyutin
2c677cf153
module: override applicability and test properties
2018-01-17 21:37:36 +03:00
Dmitry Selyutin
9b9dfc11f2
generator: library Makefile generator fixes
2018-01-17 21:31:03 +03:00
Dmitry Selyutin
9976a64d11
config: autoconf options; version match; cleanup
2018-01-17 21:28:21 +03:00
Dmitry Selyutin
5b8fc9cba4
read-only modules; module cache; various fixes
...
Since gnulib-tool does not modify modules, it is OK to initialize each
module only once. Moreover, since most of the time is spent upon
executing transitive closures and each transitive closure stores all
modules into different lists, it is also a good idea to calculate the
hash only once for read-only modules. These simple additions make
gnulib-tool much faster than before, since each module is initialized
only once-per-run and has a constant hash value.
For example, an invocation of pygnulib.py inside wget2 takes about 0.5
seconds until it completes gnulib-comp.m4 generation; previously it used
to take up to 8 seconds. Needless to say that performing the same task
is much slower when using the good old gnulib-tool: in my experiments
it takes about a minute to complete gnulib-comp.m4 generation.
Some of the TransitiveClosure methods considered useful enough to be
also present as a part of Database class. The refactoring also revealed
that conditional modules computation was implemented incorrectly; this
code was fixed. Moreover, this part of functionality was moved into the
__init__ section, which also saves several milliseconds since it is not
necessary to check whether conditional modules table exists upon each
conditional() invocation.
2018-01-13 18:42:02 +03:00
Dmitry Selyutin
fed873464b
module: a faster hash computation
2018-01-12 23:09:16 +03:00
Dmitry Selyutin
fa9e720c8a
module: fix transitive closure algorithm
2018-01-12 23:05:54 +03:00
Dmitry Selyutin
36cb8f7650
module: generic hash and comparison for dummy
2018-01-11 22:21:42 +03:00
Dmitry Selyutin
962ee91a49
dummy singleton; update module hash and properties
2018-01-11 22:17:31 +03:00