Brandon DeRosier
bae75ce21d
Vulkan embedder GLFW example ( flutter/engine#31213 )
2022-02-03 14:21:11 -08:00
Alexander Biggs
039101b3f1
[nit] Fix casing on a variable name. ( flutter/engine#30866 )
2022-01-20 13:30:10 -08:00
Alexander Biggs
978346d6b1
[examples] Ignore glfw/debug folder. ( flutter/engine#30865 )
2022-01-20 13:25:09 -08:00
Zachary Anderson
11c548f696
Disable building examples by default ( flutter/engine#30946 )
...
This should be paired with a recipe change to enable building the example on CI that I'll prepare shortly.
2022-01-20 09:46:23 -08:00
Chinmay Garde
047b85586e
Allow builder to skip building examples. ( flutter/engine#30917 )
2022-01-19 11:55:10 -08:00
Chinmay Garde
bdd74b092a
Make sure the GLFW example compiles. ( flutter/engine#30442 )
2021-12-21 12:29:09 -08:00
Brandon DeRosier
639395d577
Fix GLFW example to work with current Dart SDK ( flutter/engine#28670 )
2021-09-16 14:57:02 -07:00
Chris Bracken
13cf185e1c
Correct setup-related typos ( flutter/engine#24846 )
...
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.
A few other minor comment/wording corrections.
2021-03-08 17:31:10 -08:00
Yurii Nakonechnyi
44252b3f41
Added GLFW error-callback into FlutterEmbedderGLFW ( flutter/engine#19998 )
...
GLFW Error callback useful to clarify reasons of 'glfwInit()' failure.
On some platforms/desktop environments may be really strange failure reasons, like (in my case): "Linux: Failed to initialize inotify: Too many open files", so descriptive error messages helps to solve problem.
2020-09-24 14:39:20 -07:00
Chris Bracken
d03692449b
Prefer C++ standard headers to their C counterpart ( flutter/engine#21091 )
...
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits). This migrates to a consistent style for all
cases where the C++ variants are acceptable, but leaves the C
equivalents in place where they are required, such as in the embedder
API and other headers that may be used from C.
2020-09-11 17:10:00 -07:00
Chris Bracken
9ff7d7ca44
Copyright header hygiene improvements ( flutter/engine#21089 )
...
Add copyright headers in a few files where they were missing.
Trim trailing blank comment line where present, for consistency with
other engine code.
Use the standard libtxt copyright header in one file where it differed
(extra (C) and comma compared to other files in libtxt).
This also amends tools/const_finder/test/const_finder_test.dart to look
for a const an additional four lines down to account for the copyright
header added to the test fixture.
2020-09-11 08:55:37 -07:00
Yurii Nakonechnyi
f034712531
Clarify that run.sh builds and runs the GLFW example
2020-09-09 17:11:20 -07:00
gaaclarke
17cbf8c51e
Added an embedder example ( flutter/engine#12808 )
2019-10-08 10:07:27 -07:00
Chinmay Garde
a623fddf8f
Remove unused examples targets. ( flutter/engine#6882 )
...
These target are no longer built or referenced in either the Flutter or
Fuchsia buildroots. Similar examples are present in the examples/ directory
in the framework.
2018-11-16 12:31:25 -08:00
Michael Goderbauer
0def82ddb0
Unify copyright lines ( flutter/engine#6757 )
2018-11-07 12:24:35 -08:00
Maxim Mazurok
a85cd19202
Fixed typo ( flutter/engine#6717 )
...
In comments, replaced `...using using...` with just `...using...`
2018-11-01 15:15:18 -07:00
P.Y. Laligand
baf69ca25c
[fuchsia] Removed the flutter_app template. ( flutter/engine#4511 )
...
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
P.Y. Laligand
3a943b12c3
Update the location of Flutter packages. ( flutter/engine#4257 )
2017-10-20 14:25:49 -07:00
P.Y. Laligand
235f07742a
Allow the project to be mapped to a location other than //flutter. ( flutter/engine#4203 )
...
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
P.Y. Laligand
281c792527
Add empty pubspec.yaml files. ( flutter/engine#4212 )
...
They help the analysis service identify packages and are now mandatory on Fuchsia.
2017-10-12 14:46:51 -07:00
P.Y. Laligand
ad4b6338af
Properly pass the disable_analysis parameter. ( flutter/engine#4177 )
...
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Ryan Macnak
d07c9b42f2
[fuchsia] Make it easy to flip the whole system between flutter_jit_app and flutter_aot_app. ( flutter/engine#3873 )
2017-07-19 14:21:02 -07:00
P.Y. Laligand
c4013f0a5e
Fixed some analysis issues. ( flutter/engine#3656 )
2017-05-05 18:37:40 -07:00
P.Y. Laligand
456c1066eb
Add missing dependency. ( flutter/engine#3643 )
2017-05-02 15:30:48 -07:00
Ryan Macnak
c549fc12ce
Fuchsia AOT: ( flutter/engine#3626 )
...
- Fix flutter_aot_app template for moved Flutter tool GN label.
- Add missing dart:io tree-shaking roots.
- Add example AOT app to catch future breakage.
2017-04-25 13:28:52 -07:00
Ian Hickson
74b56314ea
Remove the Point class. ( flutter/engine#3567 )
...
* Remove the Point class.
* Add Size.contains and Rect.translate for consistency
* Make Offset and Size compare == with subclasses.
Without this we would break the _DebugSize hack.
* Fix copy/pasta
* Fix the examples in the engine repo
2017-04-12 13:45:46 -07:00
Adam Barth
ab147d1977
Update for API change ( flutter/engine#3176 )
2016-10-27 10:19:30 -07:00
Adam Barth
96eeb27744
Update examples for window.physicalSize ( flutter/engine#3086 )
...
Now the engine always gives values in physical pixels.
2016-10-01 10:01:41 -07:00
Adam Barth
051dcb0c26
Add hello_flutter and make it work on Fuchsia ( flutter/engine#3016 )
2016-09-11 15:53:48 -07:00
James Robinson
99348cbf65
[build] Add new flutter_app GN template for Fuchsia style package management ( flutter/engine#2999 )
2016-09-01 23:01:58 -07:00
Adam Barth
732fe01353
Add spinning_square example ( flutter/engine#2928 )
...
Also, teach gn how to build application bundles.
2016-08-15 23:07:19 -07:00
Kris Giesing
51659c333f
Remove examples directory
2015-11-09 12:56:44 -08:00
Adam Barth
7b5f4da648
Merge pull request #2009 from abarth/rm_packages
...
Remove Dart packages which have moved to flutter.dart
2015-11-07 00:47:54 -08:00
Adam Barth
f1560a03f3
Remove Dart packages which have moved to flutter.dart
2015-11-07 00:34:12 -08:00
Kris Giesing
323a0c15f0
Remove unneeded flutter.yaml property
2015-11-05 15:25:17 -08:00
Kris Giesing
749dfc97fd
Add flutter.yaml for address_book example
2015-11-05 15:20:05 -08:00
Adam Barth
a36f37e805
Rev pubspecs
2015-11-02 13:19:55 -08:00
Adam Barth
5fd84db1d8
Rename Icon's type paramter to icon
...
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc.
Fixes #1871
2015-11-01 11:25:17 -08:00
Hixie
03b9483b5f
Rev package versions for release.
...
sky_engine is now at 0.0.45
sky_services is now at 0.0.45
flx is now at 0.0.4
flutter is now at 0.0.15
flutter_sprites is now at 0.0.12
2015-10-29 14:41:56 -07:00
Hixie
90ce09ab49
Rev package versions for release.
...
sky_engine is now at 0.0.44
sky_services is now at 0.0.44
flx is now at 0.0.3
flutter is now at 0.0.14
flutter_sprites is now at 0.0.11
2015-10-28 14:54:33 -07:00
Adam Barth
d749a73805
Icon should use an enum rather than an int for size
...
Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
The current API doesn't reflect that and just takes a size int. If an invalid
size is chosen an error is printed to the console and no icon shows up.
Fixes #1816
2015-10-28 08:55:49 -07:00
Hixie
9dfc62bf5f
Strong modeify the examples
...
This makes skyanalyzer also check the examples, and fixes everything it
found there.
2015-10-23 18:13:25 -07:00
Adam Barth
cb9c87564c
Add Navigator.of
...
Now you don't need to pass the navigator around everywhere.
2015-10-22 12:32:42 -07:00
Adam Barth
55611edf38
Scaffold should wrap its body in a Material
...
Fixes #1669
2015-10-19 12:11:10 -07:00
krisgiesing
2bfdd4b881
Merge pull request #1605 from krisgiesing/events-merge
...
Add dart-layer input event abstraction
2015-10-14 13:36:07 -07:00
Kris Giesing
5655412f7a
Add dart-layer input event abstraction
2015-10-13 15:16:04 -07:00
Jim Beveridge
7c85270180
Show new flutter tool and its use in the widgets dir.
2015-10-13 13:53:05 -07:00
Adam Barth
d21b1682d5
Remove demo_launcher
...
This example is outdated.
2015-10-12 14:20:28 -07:00
Adam Barth
2e22817fdb
Reattach fitness to the build
...
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
ec61fd8b0b
Import dart:ui as ui (instead of as sky)
2015-10-09 20:55:54 -07:00