Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
google-fruit
/
e6d1a91e25475ea5c71e30b5ff1b2aafccf686e7
/
examples
/
server
1b959ab
Add a .clang-format config file and reformat all C++ source code using that. Also added some documentation on the preferred style in CONTRIBUTING.md.
by Marco Poletti
· 7 years ago
6ae9208
Change Injector's and NormalizedComponent's constructors to take a component function + args (like the new PartialComponent::install) instead of taking a Component<> directly.
by Marco Poletti
· 7 years ago
11a9561
Update the example code and doxygen comments to use the new-style install() methods.
by Marco Poletti
· 7 years ago
6df80a7
Use extras/bazel_root as WORKSPACE root for Bazel, using symlinks so that Fruit lives under //third_party/fruit instead of //.
by Marco Poletti
· 8 years ago
0316a00
Reimplement the storage for PartialComponent to:
by Marco Poletti
· 8 years ago
18fb995
Support Bazel as an alternative build system (in parallel with CMake).
by Marco Poletti
· 9 years ago
fcb7ead
Re-add an include that was erroneously removed in commit 16A4E8.
by Marco Poletti
· 9 years ago
16a4e81
Remove unused includes (detected by CLion).
by Marco Poletti
· 9 years ago
d08991f
Rewrite the server example for Fruit 1.0.
by Marco Poletti
· 10 years ago
9250dea
Limit Provider to a single argument, it's easier to understand and it will allow some specific optimizations later.
by Marco Poletti
· 10 years ago
1a5832a
Forbid copying NormalizedComponents, there's no reason to do it and it would be error-prone. Fix server example.
by Marco Poletti
· 10 years ago
cdcf729
The Injector constructor with 2 parameters now takes the NormalizedComponent as const& instead of value.
by Marco Poletti
· 10 years ago
4406e32
Simplify the public interface: move PartialComponent into component.h, inline a copy of Provider into Injector, remove unused forward declarations, move method definition out of public headers.
by Marco Poletti
· 10 years ago
1fd2649
getMultibindings now returns a vector instead of a set.
by Marco Poletti
· 10 years ago
dae2949
Update the server example to use normalized components.
by Marco Poletti
· 10 years ago
09fa583
Optimize allocations by allocating a single chunk of memory in the injector.
by Marco Poletti
· 10 years ago
cad3698
Minor changes to the examples.
by Marco Poletti
· 10 years ago
c26bac0
Remove injection_scopes example, turn it into a 'server' example.
by Marco Poletti
· 10 years ago