tomasz.sowa
1610e330d2
WIP: add a Val struct as an input/output when calling a function
2026-12-03 22:15:57 +01:00
tomasz.sowa
a7d581b5f1
add a .clang-format
2026-12-01 12:41:41 +01:00
tomasz.sowa
62a094f2c6
WIP: add a Val struct as an input/output when calling a function
2025-01-31 17:10:40 +01:00
tomasz.sowa
b646287c9b
WIP: add a Val struct as an input/output when calling a function
2025-01-30 18:05:37 +01:00
tomasz.sowa
44ea6a162e
WIP: add a Val struct as an input/output when calling a function
2025-01-29 16:59:40 +01:00
tomasz.sowa
32d9fdc816
WIP: add a Val struct as an input/output when calling a function
2025-01-28 16:46:19 +01:00
tomasz.sowa
1f2b5c8d12
WIP: add a Val struct as an input/output when calling a function
2025-01-24 19:40:52 +01:00
tomasz.sowa
37f78ad8e0
WIP: add a Val struct as an input/output when calling a function
2025-01-23 07:12:57 +01:00
tomasz.sowa
8819adbb3f
WIP: add a Val struct as an input/output when calling a function
2025-01-15 18:29:46 +01:00
tomasz.sowa
19d33139fc
WIP: add a Val struct as an input/output when calling a function
2025-01-15 17:17:34 +01:00
tomasz.sowa
ec45ae971e
WIP: add a Val struct as an input/output when calling a function
2025-01-15 09:19:24 +01:00
tomasz.sowa
dc2ee61a23
WIP: add a Val struct as an input/output when calling a function
2025-01-03 17:32:59 +01:00
tomasz.sowa
345e1870e3
WIP: add a Val struct as an input/output when calling a function
2024-12-13 15:47:54 +01:00
tomasz.sowa
6f75664400
WIP: add a Val struct as an input/output when calling a function
2024-12-12 17:57:24 +01:00
tomasz.sowa
0ac4df97e9
WIP: add a Val struct as an input/output when calling a function
2024-12-11 17:29:32 +01:00
tomasz.sowa
6e2fe34a5c
WIP: add a Val struct as an input/output when calling a function
2024-12-11 17:04:05 +01:00
tomasz.sowa
079a62c230
WIP: add a Val struct as an input/output when calling a function
2024-12-09 16:36:53 +01:00
tomasz.sowa
5d5d5bcdde
rename the FunInfo struct to Env
2024-12-06 12:20:55 +01:00
tomasz.sowa
e39311c290
WIP: use pt::Stream instead of a template argument
2024-12-05 17:48:06 +01:00
tomasz.sowa
d9ffe9b00a
print qt environment ids only when .qtcreator directory was created
2024-09-25 09:49:50 +02:00
tomasz.sowa
51a61925d3
fix: set a correct global working dir when generating a .clangd file
2024-09-24 23:40:47 +02:00
tomasz.sowa
bfb41cf50b
use a QTCreator environmentid and a profileid from a local installation
...
When creating QTCreator project files use local EnvironmentId
and default profile id. By default the environment id is stored
in ~/.config/QtProject/QtCreator.ini and the profile id in
~/.config/QtProject/qtcreator/profiles.xml.
2024-09-24 16:44:01 +02:00
tomasz.sowa
ca37997809
sort a makedepend output
...
Makefile.dep is sorted now - it's better when making a diff to the previous version.
2024-09-22 15:24:34 +02:00
tomasz.sowa
da8c33b14c
add a clangd and qtcreator make targets
...
Add a clangd make target:
$ make clangd
This installs a .clangd file with configuration (includes/macros/compiler flags)
for the clandg language server.
Add a qtcreator make target:
$ make qtcreator
This installs a .qtcreator directory with QTCreator IDE project files.
In the QTCreator you can open a project by selecting the .qtcreator/ezc.creator
file.
You can use 'make qtcreator' again to refresh .qtcreator/ezc.files,
the rest of the project files will not be modified.
2024-09-22 11:33:04 +02:00
tomasz.sowa
0de5623182
make some more optimizations when generating the output
2024-07-08 00:34:52 +02:00
tomasz.sowa
6def06c647
make some optimization when generating the output
...
Add three methods to the Generator:
- void OnlyFrames(const std::vector<std::wstring> & frames);
- void OnlyFrames(const std::vector<std::wstring> * frames);
if provided frames then only such frames will be generated,
call OnlyFrames(nullptr) to disable it (default)
- void UseMainStream(bool use_main_stream);
whether or not the main stream should be produced (true by default)
2024-07-07 21:55:49 +02:00
tomasz.sowa
d6ca791fbc
make depend
2024-05-31 00:24:32 +02:00
tomasz.sowa
3001707c69
add QT Creator files to .gitignore
2023-10-22 23:37:18 +02:00
tomasz.sowa
5814bfca0d
fix: correctly initialize FunInfo<> object when calling a model field
2023-02-22 00:38:36 +01:00
tomasz.sowa
369cefacdf
fix: do not evaluate content in [for] statement if the function was not found
2022-08-01 15:20:02 +02:00
tomasz.sowa
43fbf3b56c
make depend
2022-07-30 03:32:45 +02:00
tomasz.sowa
d023abce74
fix: set the last boolean result when evaluating a space structure
2022-07-29 03:24:19 +02:00
tomasz.sowa
3095d2d31f
add LICENSE file
2022-07-03 10:59:48 +02:00
tomasz.sowa
08da4a56b8
change licence from 3-Clause BSD to 2-Clause BSD
2022-07-03 08:54:36 +02:00
tomasz.sowa
cd4d8e025d
add src/version.h with macros: EZC_VERSION_MAJOR, EZC_VERSION_MINOR, EZC_VERSION_PATCH
2022-06-30 13:20:57 +02:00
tomasz.sowa
a03e3f5d21
add global Makefile
...
src/Makefile uses now 'find' for looking for *.cpp files
and we don't need Makefile.o.dep anymore
2022-06-26 06:16:09 +02:00
tomasz.sowa
c31c7dfb63
make depend
2022-04-26 23:48:00 +02:00
tomasz.sowa
0c058d4313
added to Models: ModelsMap & GetMap()
2021-10-12 19:56:59 +02:00
tomasz.sowa
d8692f6ed5
added options: "index" and "index-one" for space tables e.g. [table_name "index-one"]
2021-09-23 14:03:26 +02:00
tomasz.sowa
b047a10e8d
added: "this" virtual field for a table - only if the next field is not an object
...
e.g.:
[for space_object]
[space_object.this] instead of [space_object "current"]
[end]
"this" can be nested, e.g. if we have two nested tables:
[for space_object]
[for space_object.this]
[space_object.this.this]
[end]
[end]
removed: "current" parameter for tables
2021-09-23 04:02:34 +02:00
tomasz.sowa
a983698e3d
Generator: some methods take std::vector<Var> parameters not through a reference
2021-08-17 17:33:51 +02:00
tomasz.sowa
6a8cb019f5
added parameters "only_date" and "only_time" when printing a pt::Date
2021-08-14 19:40:05 +02:00
tomasz.sowa
b0afdf7f0f
check block arguments e.g. [1] at the beginning - before all other lookups
2021-08-14 17:44:11 +02:00
tomasz.sowa
b956f1c401
fixed: fields table was not copied in Item::Function::operator=(...)
2021-08-14 17:40:40 +02:00
tomasz.sowa
5e47313af8
fixed: when incrementing space tables iterators in [for] statements we should invalidate indices for nested tables
2021-08-13 21:44:07 +02:00
tomasz.sowa
44407c2a4b
changed: added two new parameters to Generator class: template<class StreamType, bool is_pikotools_stream = false, bool is_autoescape_stream = false> class Generator
...
changed: added one new parameter to Outstreams class: template<class StreamType, bool is_pikotools_stream = false> class OutStreams
removed macros: EZC_GENERATOR_HAS_PT_STREAM, EZC_GENERATOR_HAS_WINIX_STREAM
2021-07-12 23:00:11 +02:00
tomasz.sowa
ae6a5c52a1
fixed in Generator: ezc_frames_stack_index was not initialized
2021-07-06 23:56:29 +02:00
tomasz.sowa
9f416d31de
Merge branch 'api2021'
2021-07-06 22:46:36 +02:00
tomasz.sowa
b9b9a881e0
added "roman" and "no_sec" parameters when serializing a date
2021-07-06 21:47:42 +02:00
tomasz.sowa
995cccdace
add two new ezc statements: [if-def ...] and [if-not-def ...]
...
[if-def my_function] returns true if my_function is defined somewhere (either a model, model container, space, date, block, function or variable)
add support for "noescape" or "raw" parameters to Space fields
fixed: CallWrapper() didn't return a status if a model/space/date/container was found
2021-07-02 20:23:20 +02:00