Olivier Goffart
3d209287c2
Docs: add a note that only exported global from the main file are exposed
2022-02-09 14:49:20 +01:00
Simon Hausmann
b2e6745bd3
Remove two more uses of the sixtyfps.io email
2022-02-09 13:16:51 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Simon Hausmann
6d923b9367
Improve GL backend feature docs to convey cross-platform support
...
Apply suggestion from code review
2022-02-08 14:47:25 +01:00
Simon Hausmann
fcd1faa336
Fix up the C++ docs explaining how to create a wayland-only build
2022-02-08 14:47:25 +01:00
Simon Hausmann
90d67be1a4
Document the feature renaming in the migration guides
2022-02-08 14:47:25 +01:00
Simon Hausmann
be5b8c1c46
Rename the backend-gl feature to backend-gl-all
2022-02-08 14:47:25 +01:00
Simon Hausmann
48f3f47401
Rename the x11 and wayland features to backend-gl-x11/wayland
2022-02-08 14:47:25 +01:00
Olivier Goffart
753784c331
C++: drops IntSize in favor of Size<T> ( #922 )
...
Fixes #909
Since we declare the struct in C++, we don't need to declare it in
rust for cbindgen anymore, as long as we expose the Size2D type from
euclid to the cbindgen_private namespace
2022-02-08 14:12:52 +01:00
Olivier Goffart
40c0e446c8
C++ migration guide: merge the two cmake entries
...
I kept it at the beginning because that's the first thing to do while migrating
2022-02-08 12:34:57 +01:00
Olivier Goffart
0e0142c9cf
Bump Corrosion to v0.1.0
2022-02-08 11:42:54 +01:00
Olivier Goffart
1425ef63de
Change the Url from sixtyfps.io to slint-ui.com
...
Also, change the URL of the logo in the docs
2022-02-08 08:52:46 +01:00
Olivier Goffart
00ff5e21a7
Update git repository URL
2022-02-08 08:26:21 +01:00
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