Bump to version 2.84
Construct a separate case for lexing '0' from other octal numbers
This avoids needing code to identify this case within the octal number
token generation code.
Ignore '_' within numbers so it can be used as a separator
Adopted from languages like Rust where this can be used to group
digits in thousands for base-10 or power of two for base 2,8,16 to
make them easier to read.
123_456_789 = 123456789
0xafff_1212 = 0xafff1212
The patch makes both the lexer and string conversions support this.
Add array initalizer tests
Ignore SIGTTOU/SIGTTIN. Adjust TSTP processing
When run as other than the master of a process group, nickle may not
get all of its work done before the controlling shell takes over the
tty and resets that control group. This means that any processing of
terminal parameters may generate SIGTTOU/SIGTTIN signals, which end up
re-entering the stop function and causing general chaos. Only SIG_IGN
appears to appease the kernel into dealing with this case correctly.
Make assignments to stdin/stdout/stderr affect C code
Use values of these variables in the C code.
Allow repeat initializers in implicit sized arrays for small dimensions
When initializing an implicitly sized multi-dimensional array, permit
repeat initializers ("...") to be used to fill out smaller dimensions.
This is done by requiring that the maximum number of elements in each
dimension be taken from an initalizer without a repeat element.
This also requires allowing repeat initializers to be useful for
resizable arrays, which required a change to the execution machinery
as well.
Remove incorrect tree walking in CompileSizeDimensions
CompileSizeDimensions was incorrectly interpreting the tree structure
for bare value nodes -- it is either passed an ARRAY, or a single
expression value, which can either be a comprehension, an empty
initializer or a simple expression. The simple expression case was
incorrectly looking for a '...' element to the left, which cannot
happen. It further recursed if it hadn't reached the end of the
dimensions, which is pointless as that case will generate an
error when the initializers are compiled later.
Debian-bug: #911926
Bump to version 2.83
debian: Run CI tests from installed location (/usr/share/nickle/test)
Install tests so they can be run later
debian: Bump standards-version to 4.2.1
Sign tarfiles. Check signature in debian/watch file.
debian: Add autopkgtest CI script
debian: Depend on debhelper version 11
debian: Add debian/watch file
Check to make sure debian package is up-to-date with upstream version.
debian: Add hardening flag to debian/rules
debian: Make debian/copyright conform to standard copyright-format
debian: Add Homepage entry in debian/control
debian: Bump compat to 11
debian: Remove trailing whitespace from debian/changelog
test: Remove spurious printf in check_exp test
Spelling fixes in nickle.1.in
expresion → expression
formating → formatting
Add AC_SYS_LARGEFILE to configure.ac
This ensures that the correct macros to get large file support enabled
are included in the config.h file.
Include debian/source/format in tarball
The tarball is used to build the debian package and without this file
the resulting bits have a lintian warning.
Update to version 2.82
Add .gitignore and .dir-locals.el files
Add tests for exp/log which cover a range of precisions
These check log and exp with mathematical identities to see if they
produce reasonable results at a range of precisions.
Add Math::e_value. Fix exp and log precision error.
e_value computes e to any desired precision.
exp was incorrectly truncating the value just before the last
computation step, which caused it to lose significant precision.
log was range-reducing to 0-1 instead of 2-3, which put it outside the
range of rapid convergence. It also needed another newtons method
iteration step.
Use mktime instead of timelocal
timelocal is a glibc alias for mktime and isn't provided by the musl C
library.
Version 2.4.4 (2018-10-03)
* Display a hint when endian is omitted. Requested by Tails.
* Add thread safety to Integer/BitField creation. Requested by jbpeirce.
* Ensure windows sockets are unseekable. Thanks to Brent Cook.
=== 5.15.0 (2018-12-01)
* Add :conn_str option in the postgres adapter for PostgreSQL connection strings, if the pg driver is used (graywolf) (#1572)
* Add :qualify_tables option to class_table_inheritance plugin to automatically qualify subclass tables with superclass qualifier (benalavi) (#1571)
* Access already allocated connections in a thread safe manner when checking out connections in the sharded threaded connection pool (jeremyevans)
* Automatically support datasets using qualified tables in the class_table_inheritance plugin without having to use the :alias option (benalavi) (#1565)
* Support rename_column without emulation on SQLite 3.25+ (jeremyevans)
* Do not remove currently cached many_to_one associated objects when changing the related foreign key value from nil to non-nil (jeremyevans)
* Do not validate new *_to_many associated objects twice when saving in the nested_attributes plugin (jeremyevans)
* Add Model#skip_validation_on_next_save! for skipping validation on next save call (jeremyevans)
Changes since 5.6.6:
User-defined variables that are not yet added to BUILD_DEFS are only
reported once per file.
Unnecessary space after variable names is only worth a note instead of
a warning. Example:
MASTER_SITES = https://cdn.example.org/
All variable names that are defined in the pkgsrc infrastructure are
assumed to be available to the package Makefiles. This reduces the
number of wrong "used but not defined" warnings, at the expense of
Variable names that are used in other variable names are checked
whether they are defined somewhere. Example:
CFLAGS+= ${CFLAGS.${PARAM}} # PARAM is now checked
In SUBST_SED, when the pattern is s,@VAR@,${VAR}, or a slight variant
thereof, pkglint suggests to define SUBST_VARS instead, which frees the
package author from thinking about how to escape special characters and
is generally easier to read. Example:
SUBST_SED.class= s,@VAR@,${VAR:Q},
SUBST_VARS.class= VAR
Directives like .if !defined(...) are now handled the same whether or
not there is a space after before the (...).
The check for locally modified files now works independently of the
timezone.
As always, lots of refactorings have happened under the hood. Many small
bugs have been discovered and fixed accordingly.
When TLS 1.3 is used at least imap.gmail.com requires SNI extension
otherwise fails as follow:
certificate verification failed: self signed certificate
(This can happen with OpenSSL 1.1.1.)
Bump PKGREVISION
v0.27.7
-------
This is a bugfix release with the following changes or improvements:
- Our continuous integration environment has switched from Travis and
AppVeyor to Azure Pipelines CI.
- Fix adding worktrees for bare repositories.
- Fix parsed patches not computing the old respectively new line
numbers correctly.
- Fix parsing configuration variables which do not have a section.
- Fix a zero-byte allocation when trying to detect file renames and
copies of a diff without any hunks.
- Fix a zero-byte allocation when trying to resize or duplicate
vectors.
- Fix return value when trying to unlock worktrees which aren't
locked.
- Fix returning an unitialized error code when preparing a revision
walk without any pushed commits.
- Fix return value of `git_remote_lookup` when lookup of
"remote.$remote.tagopt" fails.
- Fix the revision walk always labelling commits as interesting due
to a mishandling of the commit date.
- Fix the packbuilder inserting uninteresting blobs when adding a
tree containing references to such blobs.
- Ignore unsupported authentication schemes in HTTP transport.
- Improve performane of `git_remote_prune`.
- Fix detection of whether `qsort_r` has a BSD or GNU function
signature.
- Fix detection of iconv if it is provided by libc.
v0.27.6
-------
This as a security release fixing the following list of issues:
- The function family `git__strtol` is used to parse integers
from a buffer. As the functions do not take a buffer length as
argument, they will scan either until the end of the current
number or until a NUL byte is encountered. Many callers have
been misusing the function and called it on potentially
non-NUL-terminated buffers, resulting in possible out-of-bounds
reads. Callers have been fixed to use `git__strntol` functions
instead and `git__strtol` functions were removed.
- The function `git__strntol64` relied on the undefined behavior
of signed integer overflows. While the code tried to detect
such overflows after they have happened, this is unspecified
behavior and may lead to weird behavior on uncommon platforms.
- In the case where `git__strntol32` was unable to parse an
integer because it doesn't fit into an `int32_t`, it printed an
error message containing the string that is currently being
parsed. The code didn't truncate the string though, which
caused it to print the complete string until a NUL byte is
encountered and not only the currently parsed number. In case
where the string was not NUL terminated, this could have lead
to an out-of-bounds read.
- When parsing tags, all unknown fields that appear before the
tag message are skipped. This skipping is done by using a plain
`strstr(buffer, "\n\n")` to search for the two newlines that
separate tag fields from tag message. As it is not possible to
supply a buffer length to `strstr`, this call may skip over the
buffer's end and thus result in an out of bounds read. As
`strstr` may return a pointer that is out of bounds, the
following computation of `buffer_end - buffer` will overflow
and result in an allocation of an invalid length. Note that
when reading objects from the object database, we make sure to
always NUL terminate them, making the use of `strstr` safe.
- When parsing the "encoding" field of a commit, we may perform
an out of bounds read due to using `git__prefixcmp` instead of
`git__prefixncmp`. This can result in the parsed commit object
containing uninitialized data in both its message encoding and
message fields. Note that when reading objects from the object
database, we make sure to always NUL terminate them, making the
use of `strstr` safe.
fasttracker2 is a Fasttracker II clone in C using SDL 2.
This clone is meant for computers with a modern GPU and CPU (about
2007 or newer recommended). It's also designed for 60Hz refresh
rates, so it can act choppy if you're above 60Hz.
Bugfixes:
#5130: "Revert Local Changes" button stays when the file causing it is deleted
#5194: Unscanned/conflicting files are overwritten/removed in niche cases
#5226: Watcher fails due to filepath.EvalSymlinks error (FindFirstFile)
#5233: Folder restart can leave several folder instances running
#5249: Impossible to change device name from web UI
Enhancements:
#2497: CheckFolderHealth wakes up disk at index exchange
#3616: Disable GUI and make API available on unix socket
#5142: "Support bundle" download
#5193: Should exit with code zero when run with -help
#5236: Consider moving to Fork-Awesome or another free font
1.0.7
cross compilation support:
added ability to run cross-compiled ARM tests in qemu
added arm-linux-gnueabihf-gcc entry to Travis build matrix
faster decoding on ARM:
implemented prefetching HuffmanCode entry as uint32_t if target platform is ARM
fixed NEON extension detection
combed Huffman table building code for better readability
improved precision of window size calculation in CLI
minor fixes:
fixed typos
improved internal comments / parameter names
fixed BROTLI_PREDICT_TRUE/_FALSE detection for SunPro compiler
unburdened JNI (Bazel) builds from fetching the full JDK
1.0.6
Fixes
fix unaligned 64-bit accesses on AArch32
add missing files to the sources list
add ASAN/MSAN unaligned read specializations
fix CoverityScan "unused assignment" warning
fix JDK 8<->9 incompatibility
unbreak Travis builds
fix auto detect of bundled mode in cmake
Vala 0.42.3
===========
* Various improvements and bug fixes:
- codegen:
+ Initialize internal temp-variables used as reference parameter
+ Improve ccode for fixed-length array parameters (#163)
+ Fix regex literal compile flags
+ Add prototype for *_register_type() function
+ Don't emit *_free() of derived compact classes
+ Add prototype for *_new() of abstact compact classes
- girwriter: Fix ctype of out/ref and array parameters
- ccode: Fix typo and actually check "end_decls" (#672)
- abstract syntax tree:
+ Always analyze nodes after they are inserted into the AST
+ Add source_reference to local variable of catch-clause
+ Add missing replace_expression() implementations
+ Fix several construction/parenting issues
+ DataType for GLib.Error should be should resolved as ErrorType
- libvaladoc: Add "unlock" to keywords in Highligher
- posix:
+ Add replacement for G_(BEGIN|END)_DECLS
+ Don't check for GLib.Variant casting
- testrunner: Reset $run_prefix before generating next test script
- build: Unconditionally add conditional VALAFLAGS to make bootstrap
- doc: Fix build of internal-api-docs
- manual: Update from wiki.gnome.org
* Bindings:
- glib-2.0: Computing length once is enough in string.to_utf8()/splice()
- glib-2.0: Add binding for g_test_add()
- glib-2.0: Add array length to string.skip (#695)
- gio-2.0: Result of DBusMessage.get_header() is unowned
- gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters
- gstreamer: Update from 1.15+ git master
- gtk+-4.0: Update to 3.94.0+b4b30b49
Vala 0.42.2
===========
* Various improvements and bug fixes:
- codewriter: Prepend "yield" if is_yield_expression is set on
MethodCall and ObjectCreationExpression
- codegen: Fix typo in is_pure_ccode_expression() [#673]
- gobject-introspection: Fix use after free in scanner [#674]
- vala: Check if ArrayType supports its given element-type in analyzer pass
- valadoc: Fix some string escaping which gettext complains about
* Bindings:
- Update GIDL-based bindings to fix unsupported type-arguments
- glib-2.0: Add feature_test_macro details for Time struct's methods
- glib-2.0: Set DateTime.now () to use local time zone as the default
- gstreamer: Update from 1.15+ git master
- gtk+-4.0: Update to 3.94.0+d90e2733
- libxml-2.0: Add missing context parameter in OutputWriteCallback
- x11: Add binding for XCreateSimpleWindow
Vala 0.42.1
===========
* Various improvements and bug fixes:
- vapigen: Warn if the library argument doesn't match any package attribute
[#669]
* Bindings:
- glib-2.0: Add some 2.58 symbols
- gtk+-4.0: Update to 3.94.0+f3e6d00d
- Add gnome-desktop-3.0 bindings [#668]
- Remove libgda-4.0, libgda-report-4.0 bindings [#667]
- Update GIR-based bindings
2.10.1: (stable)
* signal_impl::clear(): Don't clear the slot list during signal emission,
to prevent a segfault. And add a test for this.
(Kjell Ahlstedt) Bug #784550 (Andrejs Hanins)
* slot_base::set_parent(): Create a dummy slot_rep if necessary
(Kjell Ahlstedt) Bug #167714 (Gerald Britton)
* Avoid compiler warnings from function pointer conversions
(Kjell Ahlstedt) Issue #1 (sharkcz)
(Kjell Ahlstedt) Issue #8 (db0451)
Build:
* Make --disable-benchmark work.
(Christophe Lermytte) Bug #774732
* Replace the Visual Studio project files with MSVC NMake project files
Add MSVC_NMake/README.txt for Visual Studio builds
(Chun-wei Fan) Pull request #11
Documentation:
* signal_base: Warn against deletion during emission
(Kjell Ahlstedt) Bug #167714 (Gerald Britton)
* Update links in README, configure.ac, libsigcplusplus.doap
(Kjell Ahlstedt)
From v. 4.59 to 4.61
Add -pdfxelatex and -pdflualatex options to set commands for
xelatex and lualatex (in analogy with -pdflatex and -latex).
Correct bug that use of -gg option with -deps-file option
did not create deps file.
After run of latex/pdflatex (etc), report count of warnings about missing
characters (typically unavailable Unicode characters). Messages about
this may appear only in the .log file and are therefore easily missed
by the user.
Fix problem that if biber gets a remote file, latexmk would report it
incorrectly as a missing file.
Provide routines for setting all of $latex, etc, with a common pattern.
Variables, options, placeholders for executing code in *latex before
inputting source file. The new variable is $pre_tex_code, the
options are -pretex, -usepretex, and the new placeholders are %P
and %U.
Improved definitions provided for the configuration of latexmk to
use pythontex; see the file pythontex-latexmkrc in the directory
example_rcfiles.
Correction to use of specifications in $clean_ext and
$clean_full_ext so that %R can appear in the interior of a string
as in 'pythontex-files-%R/*'.
Updates of documentation.