| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D54583
Approved by: bapt
MFC after: 3 days
Changelog: https://github.com/vstakhov/libucl/releases/tag/0.9.3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This version builds every module into the flua binary itself, since all
of the bootstrap tools are built -DNO_SHARED. As a result, we also
cannot dlsym(), so we can't really discover the names of our newly
builtin modules. Instead, just build out a linker set with all of our
luaopen_*() functions to register everything up-front.
Building in all of the modules isn't strictly necessary, but it means
that we have an example of how to add a bootstrap module everywhere you
go and one doesn't need to consider whether bootstrap flua can use a
module when writing scripts. On my build machine, the consequence on
our binary size is an increase from around 1.6M -> 1.9M, which isn't
really that bad.
.lua modules can install into their usual path below $WORLDTMP/legacy
and we'll pick them up automagically by way of the ctor that sets up
LUA_PATH early on.
This re-lands bootstrap module support with a more sensible subset, and
after having verified that it cross-builds fine on macOS and Linux -- we
cannot do libfreebsd on !FreeBSD because it's more system header
dependant. We also need to bootstrap libmd to bring in libhash, and
libucl + libyaml.
Reviewed by: bapt, emaste (both previous version)
Differential Revision: https://reviews.freebsd.org/D51890
|
| |
|
|
|
|
|
| |
This reverts commit 1953a12ee2cde1afacb3e3f7612d89695c96e04f, because it
cannot work at all on macOS without more work, at a minimum. We use
linker sets for module discovery, but we don't have a version of this
that works for mach-o at the moment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This version builds every module into the flua binary itself, since all
of the bootstrap tools are built -DNO_SHARED. As a result, we also
cannot dlsym(), so we can't really discover the names of our newly
builtin modules. Instead, just build out a linker set with all of our
luaopen_*() functions to register everything up-front.
Building in all of the modules isn't strictly necessary, but it means
that we have an example of how to add a bootstrap module everywhere you
go and one doesn't need to consider whether bootstrap flua can use a
module when writing scripts. On my build machine, the consequence on
our binary size is an increase from around 1.6M -> 1.9M, which isn't
really that bad.
.lua modules can install into their usual path below $WORLDTMP/legacy
and we'll pick them up automagically by way of the ctor that sets up
LUA_PATH early on.
Reviewed by: bapt, emaste
Differential Revision: https://reviews.freebsd.org/D51890
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When an asterisk is encountered inside a C-style comment, we first check
if there is at least one more character left in the buffer, and if that
character is a slash, which would terminate the comment. If that is not
the case, the next two characters are consumed without being inspected.
If one of those is a double quote, or the initial asterisk of an
asterisk-slash pair, we end up misparsing the comment.
MFC after: 3 days
Reviewed by: kevans, bofh
Differential Revision: https://reviews.freebsd.org/D52808
|
| |
|
|
|
|
|
|
|
|
|
| |
- Add FREEBSD-upgrade instructions
- Add FREEBSD-Xlist file
- Remove all unnecessary files which are not required for in-tree build
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D50472
Event: Oslo Hackathon 202508
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
| |
This is a wrapper around ucl_object_tostring_forced.
Sponsored by: Chelsio Communications
Pull Request: https://github.com/freebsd/freebsd-src/pull/1794
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=313953
|
| |
|
|
| |
Notes:
svn path=/head/; revision=306544
|
| |
|
|
|
|
|
|
| |
Completly disable some extra optimisation for very recent gcc.
They would require some updated in the runtime which we do not have yet
Notes:
svn path=/head/; revision=301442
|
| |
|
|
| |
Notes:
svn path=/head/; revision=301439
|
| |
|
|
|
|
|
|
| |
It replaces xxhash with mumhash
It fixes issues with msgpack on non x86
Notes:
svn path=/head/; revision=301339
|
| |
|
|
| |
Notes:
svn path=/head/; revision=298166
|
| |
|
|
|
|
|
|
|
|
|
| |
you over if you happen to use git for FreeBSD development, as it is
the case with the unbound/.gitignore, which lits files that are
actually required for the buildworld.
MFC after: 1 day
Notes:
svn path=/head/; revision=295159
|
| |
|
|
| |
Notes:
svn path=/head/; revision=290071
|
| |
|
|
| |
Notes:
svn path=/head/; revision=279549
|
| |
|
|
|
|
|
|
| |
While here correctly link libucl to libm and register the dependency on libm
for static building
Notes:
svn path=/head/; revision=275223
|
| |
|
|
| |
Notes:
svn path=/head/; revision=268876
|
| |
|
|
|
|
|
| |
This update brings streamlined ucl emitter support
Notes:
svn path=/head/; revision=268831
|
| |
|
|
|
|
|
| |
this version brings xpath-like interface for ucl objects
Notes:
svn path=/head/; revision=266636
|
| |
|
|
|
|
|
| |
Adapt pkg(7) to the new libucl API
Notes:
svn path=/head/; revision=264789
|
| |
|
|
|
|
|
|
|
| |
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
Notes:
svn path=/head/; revision=264400
|
| |
|
|
|
|
|
|
|
| |
This brings schema validation
MFC after: 1 week
Notes:
svn path=/head/; revision=263648
|
| |
|
|
| |
Notes:
svn path=/head/; revision=262975
|
|
|
UCL is heavily infused by nginx configuration as the example of a convenient
configuration system. However, UCL is fully compatible with JSON format and is
able to parse json files.
UCL is used by pkg(8) for its configuration file as well for the manifest format
in packages, it will be used in base for the pkg boostrap (signature checking
and configuration file parsing.)
libucl has been developped and is maintained by vsevolod@
Notes:
svn path=/head/; revision=262398
|