Comments (9)
@daniel-sanche nice work :) I'll test it. For the few I reviewed, your code seems good.
from gdcef.
I've merged them. I do not have time right now:
- for non public member variables I use
m_
- Merging the last std::cout with GDCEF_ERROR and godot::Godot::print.
- Add in the documentation all the CEF setting/dictionary entries and add them explicitly in the demos.
- Rename the CEFHello demo to CEF2D.
- Add mouse and keyboard event to the active area in CEFHello demo.
- Add example of JS injection in demo. As a non JS-dev I do not really understand why people want to execute JS
from gdcef.
@daniel-sanche Finally waiting my wife getting ready, I added time to fix several points on my list. I'll commit them to night or tomorrow.
from gdcef.
Sounds good, let me know if you want me to take a look at anything on the list. I'd add:
- Add documentation for configuration dictionary fields
from gdcef.
Add example of JS injection in demo. As a non JS-dev I do not really understand why people want to execute JS
My motivation was to use it to inject tokens to avoid a sign-in page. I don't do a lot of JS either, so I'm not sure what a good demo scenario would look like
from gdcef.
- [DONE] for non public member variables I use
m_
- Merging the last std::cout with GDCEF_ERROR and godot::Godot::print.
- [DONE] Add in the documentation all the CEF setting/dictionary entries and add them explicitly in the demos.
- [DONE] Rename the CEFHello demo to CEF2D.
- [DONE] Add mouse and keyboard event to the active area in CEFHello demo.
- Add example of JS injection in demo. As a non JS-dev I do not really understand why people want to execute JS
Also:
- I fixed some settings that the user shall not modify.
- You can add an example of JS in demos if you wish.
- You can help fixing my poor English sentences ;)
- I does not really like replacing
_init
byinitialize
and passing non default arguments (default dictionary will be{}
) and CEF sub process shall be known and canonical and no more exportable. In my previous code, the path to it was directly computed, letting no risk to the user to give bad path. CEF does not pardon any error if you do not want your OS does infinite fork of processes and kill your OS.
from gdcef.
Now initialize() only takes Dictionary. Ideally would be nice to use back _init() like done before and define global CEF config with the dictionary.
from gdcef.
Cool, looks great! Feel free to close this issue if you think it's all done
from gdcef.
Not all but mostly. let open other tickets if needed
from gdcef.
Related Issues (20)
- Nonexistent function 'initialize' when running demos HOT 6
- Compile the add-on with Godot HOT 18
- Noob install Demo not working, Godot 4 & 3 HOT 2
- Unable to build the extension for Godot 4 on Windows 11 machine HOT 7
- Integrating JavaScript APIs
- godot-4 branch: Stopping debug mode in editor often does not close gdcefSubProcess.exe on Windows 11 HOT 1
- audio bus output HOT 6
- No SConstruct file found.
- Need to pass modifiers in all mouse events HOT 1
- error: "Can't open dynamic library: cef_artifacts/libgdcef.dll" when execute a build for windows platform HOT 2
- Android Support HOT 3
- Not able to get jitsi-meet works in the 2D demo HOT 18
- Slow and buggy on some webpages
- Communicating data between gdscript <-> browser HOT 2
- Copy/paste in Godot input text makes the application freezing
- CAN i use C# with this addon? HOT 2
- Support Godot 4.2.2
- Missed key inputs
- Multiple audio streams
- Vulkan issue: Godot shall be in "compatibility" mode instead of "forward+" mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdcef.