Olivier Goffart
91e107150e
Merge remote-tracking branch 'origin/wip/rename'
...
Conflicts:
examples/opengl_underlay/index.html
examples/opengl_underlay/main.cpp
2022-02-08 07:29:41 +01:00
Simon Hausmann
ee59e9931f
Use the logo URL for the C++ docs
...
It appears that
https://github.com/readthedocs/sphinx_rtd_theme/pull/1171
and
https://github.com/sphinx-doc/sphinx/pull/9381
have been released in their respective packages and we can use the logo url in our docs.
2022-02-07 17:22:18 +01:00
Simon Hausmann
906aa0b8c2
Use Tobias' new adjusted diagram
2022-02-07 16:23:41 +01:00
Tobias Hunger
de4e195280
Rename internal crates and add a README.md to them
...
The README.md contains the warning that used to be in lib.rs.
Add README.md files to all internal crates
... pointing to the official public crate to use instead.
Rename internal crates
fixup: README files
fixup rename
2022-02-07 13:12:48 +01:00
Simon Hausmann
0b6beb081b
Minor fixup to the C++ rendering notifier API
...
Add the graphics state enum to the callback, too. When we add support for different backends,
it would be nice if it didn't require an API change.
It's duplicated from Rust
because it doesn't provide values. The WebLG one doesn't make sense for C++ and
the proc address closure isn't ffi safe.
(It could be manually bridged thought)
2022-02-07 08:50:09 +01:00
Olivier Goffart
4115af88bd
Fixup previous merge
2022-02-04 17:43:15 +01:00
Simon Hausmann
125b90a64b
Merge remote-tracking branch 'origin/master' into wip/rename
...
Conflicts:
api/cpp/cbindgen.rs
api/cpp/include/slint.h
examples/CMakeLists.txt
examples/imagefilter/Cargo.toml
examples/plotter/main.rs
internal/backends/mcu/lib.rs
2022-02-04 16:47:20 +01:00
Simon Hausmann
18bba6ede4
Add sixtyfps::Window::request_redraw()
...
This allows scheduling a redraw of a Window explicitly. Unfortunately it
comes with a winit caveat :(
2022-02-04 15:41:53 +01:00
Simon Hausmann
8959eac3d0
Add rendering callbacks to sixtyfps::Window
...
This API allows specifying a callback that will be invoked when setting
up graphics (great for compiling shaders), before rendering a frame (but
after the clearning of the surface background), after rendering a frame
(before swapbuffers) and when releasing graphics resources.
2022-02-04 15:41:53 +01:00
Tobias Hunger
c273537990
Use logos from the logo folder over the vscode-extension icon
2022-02-04 14:28:10 +01:00
Tobias Hunger
c2d4924294
Use new logo in C++ docs
2022-02-03 14:27:15 +01:00
Tobias Hunger
03f78af987
Update some .60 to .slint
2022-02-02 17:29:40 +01:00
Olivier Goffart
d4c1130130
Rename more occurences
2022-02-02 17:19:31 +01:00
Simon Hausmann
2bba5be38d
Fix yocto instructions
2022-02-02 16:55:26 +01:00
Tobias Hunger
1779f4cb02
Polish C++ README
2022-02-02 16:52:17 +01:00
Tobias Hunger
1534f87e30
Change authors to Slint Developers
2022-02-02 16:21:34 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +01:00
Simon Hausmann
f48d7d9f9e
SixtyFPS -> Slint in the C++ documentation
2022-02-02 15:19:13 +01:00
Olivier Goffart
ad4eea9e96
Merge remote-tracking branch 'master' into wip/rename
...
Conflicts:
.reuse/dep5
Cargo.toml
api/cpp/README.md
api/cpp/docs/conf.py
api/rs/slint/Cargo.toml
docs/development.md
2022-02-02 15:04:22 +01:00
Olivier Goffart
62b269ae44
Replace sixtyfps-
2022-02-02 14:46:27 +01:00
Olivier Goffart
d2d6a5cc6a
Rename sixtyfps_
2022-02-02 14:25:56 +01:00
Olivier Goffart
fc6b7cc966
Replace sixtyfps::
almost everywhere
2022-02-02 13:50:44 +01:00
Simon Hausmann
b45433951a
Rename two more pre-processor variables
2022-02-02 13:39:11 +01:00
Olivier Goffart
69908a32b6
Rename sixtyfps-viewer -> slint-viewer
2022-02-02 13:19:40 +01:00
Simon Hausmann
d0b6ef985a
Fix method names of internal helper functions for animated bindings
2022-02-02 13:09:20 +01:00
Simon Hausmann
fcf59f3793
Rename the C++ header files
2022-02-02 13:07:26 +01:00
Simon Hausmann
559f108b37
Fix include statement in mini-tutorial
2022-02-02 13:06:48 +01:00
Simon Hausmann
c4541df175
Prospective windows build fix
2022-02-02 12:50:37 +01:00
Olivier Goffart
7f7b620a35
Update the injected scripts to the new name
2022-02-02 12:26:55 +01:00
Simon Hausmann
7d297da2fc
Rename the sixtyfps C++ namespaces
2022-02-02 12:11:27 +01:00
Simon Hausmann
5226feab01
Rename C++ pre-processor macros
2022-02-02 12:11:27 +01:00
Simon Hausmann
c846633708
Rename C ffi functions
2022-02-02 11:12:34 +01:00
Olivier Goffart
692171bf0c
Change the 60
blocks to slint
blocs in documentation comments
2022-02-02 10:51:42 +01:00
Simon Hausmann
ef822cc1e8
Clean up target_sources macro
...
Finish the renaming inside
2022-02-02 10:39:38 +01:00
Olivier Goffart
03534039d6
Replace more .60 by .slint
...
Mainly an automated change with
git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"
and some manual checks
2022-02-02 10:12:31 +01:00
Olivier Goffart
0c0a783095
Rename all our .60 files to .slint
2022-02-02 10:05:45 +01:00
Simon Hausmann
b1a70f9e58
Rename the SixtyFPS CMake interface
2022-02-02 09:58:26 +01:00
Simon Hausmann
c333b4de2b
Rename the sixtyfps-cpp crate
2022-02-02 09:27:11 +01:00
Simon Hausmann
98ffd629cf
Exclude private C++ API from the reference documentation
...
The path to the API meant to be excluded needs to be adjusted after the folder renaming.
2022-02-02 09:20:56 +01:00
Simon Hausmann
017da5b3b4
Rename the sixtyfps-compiler crate
2022-02-02 09:07:16 +01:00
Olivier Goffart
1f4c625fac
Mention the change of SOURCE_SUBDIR in the C++ migration docs
...
cc #910
2022-02-01 22:12:48 +01:00
Olivier Goffart
ff3ef50896
Make sure the README of cpp still contains a branch and tag that match
...
The folder was renamed in master, but not in the release tag
Fixes #910
Will edit the checklist so we remember to put that back for the release
2022-02-01 22:03:15 +01:00
Olivier Goffart
0308f86cd4
Rename sixtyfps_widgets.60 to std-widgets.slint
2022-02-01 18:58:54 +01:00
Simon Hausmann
2f73a27635
Rename the sixtyfps-interpreter crate
2022-02-01 18:11:25 +01:00
Simon Hausmann
9494068201
Rename the sixtyfps-rendering-backend-selector crate
2022-02-01 18:06:49 +01:00
Simon Hausmann
2e04b3c8b3
Rename the sixtyfps-rendering-backend-gl crate
2022-02-01 18:04:38 +01:00
Simon Hausmann
19eb3e671d
Rename sixtyfps-rendering-backend-qt
2022-02-01 18:04:32 +01:00
Simon Hausmann
ad0c020aa4
Rename the sixtyfps-corelib crate
2022-02-01 18:04:30 +01:00
Olivier Goffart
f9c3e7a8de
C++ interpreter: first crash when invoking native callback
...
This was a regression following the move to the edition 2021.
The CallbackUserData was not capture in the lamda, its member were moved.
So the destructor was called right after it was set.
We must make sure we capture the whole CallbackUserData, so put the callback
inside of it. This also reduce a bit of code duplication at the same time.
Test the callback invokation with statefull lambda
2022-01-31 22:25:24 +01:00
Tobias Hunger
842f75e653
[reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs
2022-01-31 18:24:33 +01:00