Skip to content

Commit

Permalink
Updated changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFreezed committed May 6, 2021
1 parent 19a21f0 commit 60eaa97
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Some functionality also require these things:

- [Lua-GD](https://ittner.github.io/lua-gd/) - required for image manipulation.
- [LuaSocket](http://w3.impa.br/~diego/software/luasocket/home.html) - optional, for more CPU-friendly auto-builds.
- [LuaExpat](http://matthewwild.co.uk/projects/luaexpat/index.html) - optional, for better XML parsing.

> **Hint:** On Windows you can simply install [Lua for Windows](https://github.com/rjpcomputing/luaforwindows)
> which includes everything that's needed in a neat package.
Expand Down
9 changes: 9 additions & 0 deletions build/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Changelog
LuaWebGen

v1.1 (2021-05-06)
- Added variant of generateFromTemplate() that takes a page initializer callback function.
- Added printObject().
- Line endings in read text files are normalized.
- Better XML parsing in Windows version. (CDATA sections now work.) (Universal version users should install LuaExpat.)
- Improved parsing of {{url}} blocks.
- Fixed Markdown parsing issue for links using angle brackets: [text](<url>)
- Removed usage of the <base> tag from new sites and pages.

v1.0 (2021-05-01)
Embedded code:
- Whitespace around code blocks can be trimmed away with '{{*' and '*}}'.
Expand Down
1 change: 1 addition & 0 deletions build/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Some functionality also require these things:

- Lua-GD - required for image manipulation. (https://ittner.github.io/lua-gd/)
- LuaSocket - optional, for more CPU-friendly auto-builds. (http://w3.impa.br/~diego/software/luasocket/home.html)
- LuaExpat - optional, for better XML parsing. (http://matthewwild.co.uk/projects/luaexpat/index.html)

Hint: On Windows you can simply install Lua for Windows which includes
everything that's needed in a neat package:
Expand Down
2 changes: 1 addition & 1 deletion build/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.1.0
2 changes: 1 addition & 1 deletion src/app.lua2p
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ _G.scriptEnvironmentGlobals = {
prettyUrl = toPrettyUrl,
printf = printf,
printfOnce = printfOnce,
printObject = printObject, -- @Doc
printObject = printObject,
printOnce = printOnce,
removeItem = removeItem,
round = round,
Expand Down
2 changes: 1 addition & 1 deletion src/main.lua2p
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exec lua "$0" "$@"
--============================================================]]

local dirPrefix = debug.getinfo(1, "S").source :gsub("^@", "") :gsub("[^/\\]+$", "")
package.path = dirPrefix .. "srcgen/?.lua;" .. dirPrefix .. "lib/?.lua" !!(DEV and `` or `.. ";" .. package.path:gsub("^;+", "")`)
package.path = dirPrefix .. "srcgen/?.lua;" .. dirPrefix .. "lib/?.lua" !!(DEV and `` or `.. ";" .. package.path:gsub("^;+", "")`) -- Should we load system modules first? @UX @Robustness

if package.cpath:find(".dll", 1, true) then
package.cpath = !!(DEV and `` or `package.cpath:gsub(";+$", "") .. ";" ..`) dirPrefix .. "bin/?.dll" -- System libraries first.
Expand Down

0 comments on commit 60eaa97

Please sign in to comment.