Skip to content

Commit 60eaa97

Browse files
committed
Updated changelog.
1 parent 19a21f0 commit 60eaa97

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Some functionality also require these things:
117117

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

121122
> **Hint:** On Windows you can simply install [Lua for Windows](https://github.com/rjpcomputing/luaforwindows)
122123
> which includes everything that's needed in a neat package.

build/Changelog.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Changelog
22
LuaWebGen
33

4+
v1.1 (2021-05-06)
5+
- Added variant of generateFromTemplate() that takes a page initializer callback function.
6+
- Added printObject().
7+
- Line endings in read text files are normalized.
8+
- Better XML parsing in Windows version. (CDATA sections now work.) (Universal version users should install LuaExpat.)
9+
- Improved parsing of {{url}} blocks.
10+
- Fixed Markdown parsing issue for links using angle brackets: [text](<url>)
11+
- Removed usage of the <base> tag from new sites and pages.
12+
413
v1.0 (2021-05-01)
514
Embedded code:
615
- Whitespace around code blocks can be trimmed away with '{{*' and '*}}'.

build/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Some functionality also require these things:
5757

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

6162
Hint: On Windows you can simply install Lua for Windows which includes
6263
everything that's needed in a neat package:

build/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.1.0

src/app.lua2p

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ _G.scriptEnvironmentGlobals = {
371371
prettyUrl = toPrettyUrl,
372372
printf = printf,
373373
printfOnce = printfOnce,
374-
printObject = printObject, -- @Doc
374+
printObject = printObject,
375375
printOnce = printOnce,
376376
removeItem = removeItem,
377377
round = round,

src/main.lua2p

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exec lua "$0" "$@"
1212
--============================================================]]
1313

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

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

0 commit comments

Comments
 (0)