-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 1.1.0 #96
base: master
Are you sure you want to change the base?
Release 1.1.0 #96
Changes from 7 commits
08b033b
56d3eed
9de7123
a491c01
ef7a0aa
b40b566
1534c8d
8c3ae1b
c249beb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Alexander V. Nikolaev <avn@daemon.hole.ru> | |
Valeriy Skurikhin <Keen.vs@gmail.com> | ||
Vladimir Dronnikov <dronnikov@gmail.com> | ||
Alexander Altshuler <altexy@gmail.com> | ||
Alexey Romanov <jobmail37@gmail.com> | ||
Alexey Romanoff <vr@alexeyromanoff.com> | ||
Rafis Ganeyev <rafisganeyev@gmail.com> | ||
Mark Gurevich <markgurevichster@gmail.com> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. проверь плз, опираясь на запрос в гит, что все авторы есть и напиши этот запрос в RELEASE There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. что все авторы есть где? в истории коммитов? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. что все авторы из истории коммитов есть в AUTHORS |
||
Vladimir Stebunov <vstebunov@gmail.com> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ and commercial purposes at absolutely no cost. | |
|
||
=============================================================================== | ||
|
||
Copyright (C) 2009-2017 Lua-Núcleo authors | ||
Copyright (C) 2009-2021 Lua-Núcleo authors | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. принято, влить лучше одним коммитом все места с годами обновить |
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,59 @@ | ||
Version 1.1.0 (2021-02-15) | ||
========================== | ||
|
||
Additions and improvements: | ||
|
||
Lua up to 5.4 support is added. | ||
|
||
make.sh: | ||
More strict bash is set. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. непонятно, что хотели сказать There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. не знаю, commit message такой There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. убери под catch all (в смысле "и прочие мелкие правки везде") |
||
Updating list-exports only if a rock is installed. | ||
Allow local luarocks installation with "--local" option. | ||
|
||
datetime-utils (new module): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Вижу, что в RELEASE не написано про использование git shortlog для составления записи в этом файле. Надо написать. Ты же им пользовался, да? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. я (как бы) им пользовался как рефернсом (gitk) Вывод из git shortlog выглядит не подходящим под стиль описания прошлых версий. Может я просто не знаю как им правильно пользоваться. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. из слака: выдаёт море коммитов я никогда не пользовался раньше, что имеется ввиду под его использованием конкретно? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. давай обсудим в слаке. мне пока непонятна проблематика |
||
make_time_table is added. | ||
get_days_in_month is added. | ||
get_day_of_week is added. | ||
day_of_week_name_to_number is added. | ||
month_name_to_number is added. | ||
|
||
dsl/common_load_schema: | ||
A heuristics to find a source location for dsl node is added. | ||
|
||
ensure: | ||
ensure_strvariant is added. | ||
ensure_strlist is added. | ||
ensure_strpermutations is added. | ||
|
||
enumenator: | ||
make_enumerator_from_set is added. | ||
make_enumerator_from_interval is added. | ||
|
||
language: | ||
Exports are added: lua52_types, lua52_keywords, lua53_types, | ||
lua53_keywords, lua54_types, lua54_keywords, lua_types, lua_keywords. | ||
|
||
legacy (new module): | ||
loadstring is added. | ||
|
||
language: | ||
update to support all current Lua versions >= 5.1 | ||
|
||
table-utils: | ||
tdeepfilter is added. | ||
tisarray_not is added. | ||
tifindallpermutations is added. | ||
|
||
tdeepequals: | ||
tless_kv: optimization is made. | ||
tmore: prevent crashes fix is made. | ||
|
||
Test framework is enhanced, new extensions are added. | ||
|
||
More tests are added (including tests for new features). | ||
|
||
Documentation is updated. | ||
|
||
Version 1.0.0 (2016-12-15) | ||
========================== | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,17 +6,20 @@ | |
- `COPYRIGHT` file; | ||
- `_COPYRIGHT` exported constant in the main module. | ||
3. Update version in `_VERSION` exported constant in the main module. | ||
4. Regenerate exports list (performed by `./make.sh`) | ||
5. Generate `scm-1` rockspec (performed by `./make.sh`) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. принято, влить |
||
6. Generate `VERSION-1` rockspec, where VERSION is the version to be released. | ||
4. Regenerate tests list (performed by `./make.sh`) | ||
5. Regenerate exports list (performed by `./make.sh`) | ||
6. Generate `scm-1` rockspec (performed by `./make.sh`) | ||
7. Generate `VERSION-1` rockspec, where VERSION is the version to be released. | ||
Example: | ||
``` | ||
lua etc/rockspec/generate.lua 1.1.0-1 v1.1.0 > rockspec/lua-nucleo-1.1.0-1.rockspec | ||
```` | ||
7. Regenerate API docs: `./make-doc.sh` | ||
8. Make sure that all the changes is in the working tree. | ||
9. Tag the working tree head with the version name, e.g. `v1.1.0`. | ||
10. Push tag to origin. | ||
8. Regenerate API docs: `./make-doc.sh` | ||
9. Make sure that all the changes is in the working tree. | ||
10. Last check that all tests are passed OK in latest Lua 5.1, Lua 5.2, Lua 5.3 | ||
Lua 5.4 | ||
10. Tag the working tree head with the version name, e.g. `v1.1.0`. | ||
11. Push tag to origin. | ||
|
||
# Publish on [LuaRocks.org](https://luarocks.org) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,10 @@ return | |
{ | ||
{ "lua-nucleo/log.lua", w = 0 }; | ||
}; | ||
MAX_TIMESTAMP = | ||
{ | ||
{ "lua-nucleo/timestamp.lua", w = 0 }; | ||
}; | ||
amap = | ||
{ | ||
{ "lua-nucleo/args.lua", w = 0 }; | ||
|
@@ -162,6 +166,10 @@ return | |
{ | ||
{ "lua-nucleo/string.lua", w = 0 }; | ||
}; | ||
day_of_week_name_to_number = | ||
{ | ||
{ "lua-nucleo/datetime-utils.lua", w = 0 }; | ||
}; | ||
decoraror_checker_helper = | ||
{ | ||
{ "lua-nucleo/testing/decorators.lua", w = 0 }; | ||
|
@@ -238,6 +246,18 @@ return | |
{ | ||
{ "lua-nucleo/ensure.lua", w = 0 }; | ||
}; | ||
ensure_strlist = | ||
{ | ||
{ "lua-nucleo/ensure.lua", w = 0 }; | ||
}; | ||
ensure_strpermutations = | ||
{ | ||
{ "lua-nucleo/ensure.lua", w = 0 }; | ||
}; | ||
ensure_strvariant = | ||
{ | ||
{ "lua-nucleo/ensure.lua", w = 0 }; | ||
}; | ||
ensure_tdeepequals = | ||
{ | ||
{ "lua-nucleo/ensure.lua", w = 0 }; | ||
|
@@ -286,10 +306,18 @@ return | |
{ | ||
{ "lua-nucleo/log.lua", w = 0 }; | ||
}; | ||
get_day_of_week = | ||
{ | ||
{ "lua-nucleo/datetime-utils.lua", w = 0 }; | ||
}; | ||
get_day_timestamp = | ||
{ | ||
{ "lua-nucleo/timestamp.lua", w = 0 }; | ||
}; | ||
get_days_in_month = | ||
{ | ||
{ "lua-nucleo/datetime-utils.lua", w = 0 }; | ||
}; | ||
get_decasecond_timestamp = | ||
{ | ||
{ "lua-nucleo/timestamp.lua", w = 0 }; | ||
|
@@ -402,6 +430,10 @@ return | |
{ | ||
{ "lua-nucleo/dsl/walk_data_with_schema.lua", w = 0 }; | ||
}; | ||
loadstring = | ||
{ | ||
{ "lua-nucleo/legacy.lua", w = 0 }; | ||
}; | ||
looped_linear_interpolator = | ||
{ | ||
{ "lua-nucleo/util/anim/interpolator.lua", w = 0 }; | ||
|
@@ -426,6 +458,38 @@ return | |
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua52_keywords = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua52_types = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua53_keywords = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua53_types = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua54_keywords = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua54_types = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua_keywords = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
lua_types = | ||
{ | ||
{ "lua-nucleo/language.lua", w = 0 }; | ||
}; | ||
make_checker = | ||
{ | ||
{ "lua-nucleo/checker.lua", w = 0 }; | ||
|
@@ -450,6 +514,14 @@ return | |
{ | ||
{ "lua-nucleo/dsl/dsl_loader.lua", w = 0 }; | ||
}; | ||
make_enumerator_from_interval = | ||
{ | ||
{ "lua-nucleo/enumerator.lua", w = 0 }; | ||
}; | ||
make_enumerator_from_set = | ||
{ | ||
{ "lua-nucleo/enumerator.lua", w = 0 }; | ||
}; | ||
make_generator_mt = | ||
{ | ||
{ "lua-nucleo/functional.lua", w = 0 }; | ||
|
@@ -498,14 +570,26 @@ return | |
{ | ||
{ "lua-nucleo/stack_with_factory.lua", w = 0 }; | ||
}; | ||
make_time_table = | ||
{ | ||
{ "lua-nucleo/datetime-utils.lua", w = 0 }; | ||
}; | ||
make_timed_queue = | ||
{ | ||
{ "lua-nucleo/timed_queue.lua", w = 0 }; | ||
}; | ||
make_timestamp_from_string = | ||
{ | ||
{ "lua-nucleo/timestamp.lua", w = 0 }; | ||
}; | ||
method_arguments = | ||
{ | ||
{ "lua-nucleo/args.lua", w = 0 }; | ||
}; | ||
month_name_to_number = | ||
{ | ||
{ "lua-nucleo/datetime-utils.lua", w = 0 }; | ||
}; | ||
nargs = | ||
{ | ||
{ "lua-nucleo/args.lua", w = 0 }; | ||
|
@@ -598,6 +682,10 @@ return | |
{ | ||
{ "lua-nucleo/tdeepequals.lua", w = 0 }; | ||
}; | ||
tdeepfilter = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
}; | ||
tequals = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
|
@@ -638,6 +726,10 @@ return | |
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
}; | ||
tifindallpermutations = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
}; | ||
tifindvalue_nonrecursive = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
|
@@ -690,6 +782,10 @@ return | |
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
}; | ||
tisarray_not = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
}; | ||
tisempty = | ||
{ | ||
{ "lua-nucleo/table-utils.lua", w = 0 }; | ||
|
@@ -882,6 +978,10 @@ return | |
{ | ||
{ "lua-nucleo/misc.lua", w = 0 }; | ||
}; | ||
unpack_timestamp = | ||
{ | ||
{ "lua-nucleo/timestamp.lua", w = 0 }; | ||
}; | ||
upper_bound = | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ГК |
||
{ "lua-nucleo/algorithm.lua", w = 0 }; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ description = { | |
license = "MIT/X11" | ||
} | ||
dependencies = { | ||
"lua >= 5.1" | ||
"lua >= 5.1, <= 5.4" | ||
} | ||
build = { | ||
type = "none", | ||
|
@@ -26,6 +26,7 @@ build = { | |
["lua-nucleo.code.globals"] = "lua-nucleo/code/globals.lua"; | ||
["lua-nucleo.code.profile"] = "lua-nucleo/code/profile.lua"; | ||
["lua-nucleo.coro"] = "lua-nucleo/coro.lua"; | ||
["lua-nucleo.datetime-utils"] = "lua-nucleo/datetime-utils.lua"; | ||
["lua-nucleo.deque"] = "lua-nucleo/deque.lua"; | ||
["lua-nucleo.diagnostics"] = "lua-nucleo/diagnostics.lua"; | ||
["lua-nucleo.dsl.common_load_schema"] = "lua-nucleo/dsl/common_load_schema.lua"; | ||
|
@@ -35,6 +36,7 @@ build = { | |
["lua-nucleo.dsl.tagged-tree"] = "lua-nucleo/dsl/tagged-tree.lua"; | ||
["lua-nucleo.dsl.walk_data_with_schema"] = "lua-nucleo/dsl/walk_data_with_schema.lua"; | ||
["lua-nucleo.ensure"] = "lua-nucleo/ensure.lua"; | ||
["lua-nucleo.enumerator"] = "lua-nucleo/enumerator.lua"; | ||
["lua-nucleo.factory"] = "lua-nucleo/factory.lua"; | ||
["lua-nucleo.functional"] = "lua-nucleo/functional.lua"; | ||
["lua-nucleo.import"] = "lua-nucleo/import.lua"; | ||
|
@@ -43,6 +45,7 @@ build = { | |
["lua-nucleo.key_value_store.key_value_store_simple"] = "lua-nucleo/key_value_store/key_value_store_simple.lua"; | ||
["lua-nucleo.key_value_store.key_value_store_sophisticated"] = "lua-nucleo/key_value_store/key_value_store_sophisticated.lua"; | ||
["lua-nucleo.language"] = "lua-nucleo/language.lua"; | ||
["lua-nucleo.legacy"] = "lua-nucleo/legacy.lua"; | ||
["lua-nucleo.log"] = "lua-nucleo/log.lua"; | ||
["lua-nucleo.math"] = "lua-nucleo/math.lua"; | ||
["lua-nucleo.misc"] = "lua-nucleo/misc.lua"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ПП |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,6 +190,10 @@ return | |
type = 'cases'; | ||
path = 'test/cases/0320-timestamp.lua'; | ||
}; | ||
{ | ||
type = 'cases'; | ||
path = 'test/cases/0325-datetime-utils.lua'; | ||
}; | ||
{ | ||
type = 'cases'; | ||
path = 'test/cases/0330-tpretty.lua'; | ||
|
@@ -290,6 +294,10 @@ return | |
type = 'cases'; | ||
path = 'test/cases/0640-quicksort.lua'; | ||
}; | ||
{ | ||
type = 'cases'; | ||
path = 'test/cases/0650-enumerator.lua'; | ||
}; | ||
{ | ||
type = 'cases'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ГК |
||
path = 'test/cases/0650-legacy.lua'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
принято, влить