-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refactor/tokenizer' into autobuild/tokenizer
- Loading branch information
Showing
193 changed files
with
3,681 additions
and
2,738 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# Override language auto-detection on GitHub. | ||
libraries/* linguist-vendored | ||
distribution/**/*.inc linguist-language=POV-Ray | ||
distribution/platform-specific/windows/Insert?Menu/*.txt linguist-language=POV-Ray | ||
**/*.pov linguist-language=POV-Ray | ||
**/*.h linguist-language=C++ | ||
source/povms/povms.h linguist-language=C | ||
libraries/**/*.h linguist-language=C | ||
libraries/boost/*.h linguist-language=C++ | ||
libraries/ilmbase/*.h linguist-language=C++ | ||
libraries/openexr/*.h linguist-language=C++ | ||
|
||
# Do not auto-merge version number file. | ||
source/base/version.h -merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,13 +37,6 @@ This version is still under active development, and not finalized yet. | |
NOTE: This release cycle has been redesignated v3.8.0. There will not be a | ||
v3.7.1 release proper. | ||
|
||
Performance Improvements | ||
------------------------ | ||
|
||
- Significantly improved parsing speed of skipped conditional blocks (e.g. in | ||
`#if(false) ... #end`), especially for blocks containing few directives | ||
(stuff that begins with `#`). | ||
|
||
Changed Behaviour | ||
----------------- | ||
|
||
|
@@ -61,6 +54,33 @@ Changed Behaviour | |
- Token counting in conditional blocks (e.g. in `#if ... #end`) has changed. | ||
Whenever such a block is skipped, the token count is now incremented only | ||
by directives (stuff that begins with `#`). | ||
- UV mapping of cylinder, cone and lemon primitives has been disabled again | ||
for now, due to their orientation being poorly defined. | ||
- An age-old bug in the inbuilt `f_enneper` isosurface function has been | ||
fixed; the function now results in the originally intended shape. | ||
- The `defined()` pseudo-function now returns `true` (while printing a | ||
warning) if applied to reserved words. The `#ifdef` and `#ifndef` directives | ||
also behave accordingly. | ||
|
||
New Features | ||
------------ | ||
|
||
- The `ovus` primitive has been extended in multiple ways. See the | ||
documentation (currently being maintained on <http://wiki.povray.org>) for | ||
details. | ||
- Anti-aliasing now supports a new mode 3, which can actually serve as a | ||
generic oversampling mechanism not only suited to perform edge | ||
anti-aliasing, but also to successtully suppress moire patterns as well as | ||
reduce image noise from stochastic mechanisms (e.g. jittered area lights, | ||
subsurface light transport or micronormals). The mathematical background | ||
and parameterization is similar to that of adaptive focal blur. | ||
|
||
Performance Improvements | ||
------------------------ | ||
|
||
- Significantly improved parsing speed of skipped conditional blocks (e.g. in | ||
`#if(false) ... #end`), especially for blocks containing few directives | ||
(stuff that begins with `#`). | ||
|
||
Fixed or Mitigated Bugs | ||
----------------------- | ||
|
@@ -85,27 +105,62 @@ Reported via the Newsgroups: | |
an orthographic camera. | ||
- <[email protected]> | ||
(2018-01-05, povray.beta-test, "3.8.0 block pattern, density list parsing issue.") | ||
- <[email protected]> | ||
(2018-08-27, povray.advanced-users, "Re: It gets even weirder.") | ||
Trying to `#declare Foo[A][B]=...` with `Foo` being an array of arrays and | ||
`Foo[A]` not yet initialized causes a hard crash instead of a parse error. | ||
|
||
Reported by Coverity static code analysis: | ||
|
||
- CID 986462,986463 (Wrapper object use after free) | ||
- CID 967358-967362 (Uninitialized scalar variable) | ||
- CID 1372542-1372544 (Result is not floating-point) | ||
- CID 1372618 (Uninitialized scalar variable) | ||
- CID 1372629 (Uninitialized pointer read) | ||
- CID 1372630-1372632 (Uninitialized scalar variable) | ||
|
||
Miscellaneous: | ||
|
||
- Fix `interior_texture` for text objects (as mentioned in GitHub issue #65) | ||
- Eliminated use of deprecated C++ `register` keyword (except in 3rd party | ||
libraries bundled with the POV-Ray source code). | ||
- Fix long-standing bug in Julia fractal primitive using hypercomplex numbers. | ||
|
||
Development Related | ||
------------------- | ||
|
||
- When compiled in debug mode, a new directive `#breakpoint` is now available, | ||
intended for triggering an unconditional breakpoint from the scene file, or | ||
priming a conditional breakpoint. See `Parser::Parse_Breakpoint()` in | ||
`source/parser/parser_tokenizer.cpp` for more details. | ||
- When compiled in debug mode, POV-Ray for Windows will now make do with | ||
the release version of the editor DLLs if it can't find the debug version. | ||
- A new version of the Git pre-commit hook is available; please, copy | ||
`pre-commit` from `tools/git/hooks/` to `.git/hooks/` in your local | ||
repository. | ||
- To simplify version number housekeeping, the file `unix/VERSION` is now | ||
created on the fly by the `unix/prebuild.sh` script, and has been dropped | ||
from the repository. To retrieve version information from the source | ||
package, use one of the new `get-source-version.*` scripts provided in | ||
`tools/unix/` and `tools/windows/`, respectively. | ||
- To simplify creating reproducible builds, the Unix build process has been | ||
amended to compile and link source files in a well-defined order. | ||
|
||
Other Noteworthy | ||
---------------- | ||
|
||
- During alpha development phase, POV-Ray v3.8.0-alpha for Windows will | ||
piggypack on an existing v3.7 installation to allow for raw binary | ||
distribution. | ||
- The source code now requires a C++11-compliant compiler. | ||
- The Unix build process now officially requires Autoconf 2.68 or later. | ||
- Added `--generation` command-line switch to POV-Ray for Unix, which will | ||
cause POV-Ray to print its abbreviated version number to standard output. | ||
- To simplify version number housekeeping, the file `unix/VERSION` is now | ||
created on the fly by the `unix/prebuild.sh` script, and has been dropped | ||
from the repository. To retrieve version information from the source | ||
package, use one of the new `get-source-version.*` scripts provided in | ||
`tools/unix/` and `tools/windows/`, respectively. | ||
- The `unix/prebuild.sh` script can now be run from the main directory; it is | ||
no longer necessary to change to the unix directory first. | ||
- The `./configure` script can now be run without the `COMPILED_BY=...` | ||
option. In this case it defaults to `$USER <no contact address>`, where | ||
`$USER` is your login name. | ||
|
||
|
||
Changes between 3.7.1-beta.9 and 3.7.1-rc.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.