Andreas Kling
6b81d8de70
DevTools: Add CLocalServer to the host-side tool build dependencies
2019-08-17 11:08:10 +02:00
Andreas Kling
c258c9a4b2
FormCompiler: Oops, need to use JsonValue::serialized() for properties
...
When assigning properties, we were relying on the JSON serialization
code to wrap strings in double-quotes ("). JsonValue::to_string() does
not wrap string values, so what we want here is serialized(). :^)
2019-08-07 22:09:33 +02:00
Andreas Kling
f6998b1817
JSON: Templatize the JSON serialization code
...
This makes it possible to use something other than a StringBuilder for
serialization (and to produce something other than a String.) :^)
2019-08-07 21:29:32 +02:00
Andreas Kling
5d83a049c2
FormCompiler: Add some more LibCore object files to host build.
2019-07-26 22:42:10 +02:00
Andreas Kling
9c6fe21b49
FormCompiler: Build individual compilation units instead of all-at-a-time.
2019-07-10 21:28:04 +02:00
Andreas Kling
f07649faba
Build: Build the host-side FormCompiler before everything else.
...
Since we're gonna want to use this for building other apps, it should be
the very first thing we build.
2019-07-10 21:22:27 +02:00
Andreas Kling
3eb6a9a286
FormCompiler: Produce a C++ header file as output.
...
Also make sure the generated main widget has autofill turned on.
2019-07-10 21:14:25 +02:00
Andreas Kling
8d67aa1e59
FormCompiler: Generate a basic UI skeleton holder struct.
...
The basic idea is that you would use it like this:
MyWidget::MyWidget(GWidget* parent)
: GWidget(parent)
{
m_ui = new UI_MyWidget;
set_main_widget(m_ui->main_widget);
...
}
2019-07-10 20:58:54 +02:00
Andreas Kling
2d3293dfbd
FormCompiler: Start working on a C++ code generator for VisualBuilder forms.
2019-07-10 20:41:31 +02:00