Comments (9)
Comment 1. originally posted by magreenblatt on 2013-10-31T21:17:19.000Z:
from java-cef.
Original comment by Anonymous.
Comment 2. originally posted by [email protected] on 2014-06-20T13:59:27.000Z:
Hi Marshall,
here is a patch file which adds versioning to JCEF. I've used some python tools from your CEF project and modified them somewhat.
What I've done
[Java]
(*) Added nested Class CefVersion to CefApp
(*) Added method CefVersion getVersion() to CefApp
(*) Added native method N_GetVersion() to handle the JCEF version within the native code
[Native]
(*) Modified CefApp.cpp/.h to handle the java version method
(*) Added jcef_version.cpp with the function implementation of "jcef_version_info(int entry)"
(*) Modified jcef_dll.rc to use the JCEF version defines instead of CEF version defines
[Tools]
(*) Added make_version_header.[bat|sh] and make_version_header.py
(*) Added call to make_version_header.py into gyp_jcef
(*) Modified make_distrib.[bat|sh] and added make_distrib.py
(*) make_distrib.py creates the README.txt from Readme-templates in the directory "distrib"
(*) Added Readme templates README.footer.txt, README.header.txt, and the platform dependent ones README.standard.txt, README.redistrib.txt and removed all README.txt files
(*) Added several Python files from CEF (e.g. date_util.py, exec_util.py, file_util.py, gclient_util.py, git_util.py, svn_util.py)
If you execute "gclient runhooks" the jcef_version.h is generated on the fly and if you execute make_distrib.[bat|sh] the README.txt is generated from the template files and extended by the version numbers of JCEF, CEF and Chromium.
Regards,
Kai
from java-cef.
Comment 3. originally posted by magreenblatt on 2014-07-02T20:06:20.000Z:
Thanks for the patch. Some comments:
- I've make a few changes to make_distrib.bat (attached) to get it working on Windows 8.1:
A. The line "python.bat tools\make_distrib.py" needs to be prefixed with "call" or the script terminates and the .txt files are not copied.
B. The path to EXCLUDE_FILES.txt for xcopy /exclude needs to be hard-coded instead of using variable substitution because otherwise the command fails with a `Can't read file: ".\tools\distrib\EXCLUDE_FILES.txt"` error. This feels like a bug in xcopy since it can resolve the variable for the error message but not for actually reading the file.
-
I've filed https://code.google.com/p/chromiumembedded/issues/detail?id=1330 for the incorrect Chromium URL in CEF's README.txt file.
-
I've been using a 4-part version number for JCEF: CEF_MAJOR.CEF_MINOR.CEF_REVISION.JCEF_REVISION (e.g. 3.1750.1738.80). If we continue with this format then we could remove the new "VERSION" file and the JCEF_VERSION_MAJOR #define from jcef_version.h and just rely on parsing CEF's README.txt file in make_distrib.py instead.
-
Is the jcef_version_info function necessary? It seems like the #defines in jcef_version.h should be sufficient since there are no callers from outside of the jcef library who would need the exported function.
-
The name of the make_distrib.* scripts isn't really accurate since it just creates the README.txt file. Consider calling it make_readme.* instead.
from java-cef.
Original comment by Anonymous.
Comment 4. originally posted by [email protected] on 2014-07-03T06:38:14.000Z:
@ comment comment 3.:
Hi Marshall,
Thank you for your review.
Attached you'll find an updated patch file:
- added your changes according make_distrib.bat
- extended the version number to the 4-part pattern and removed JCEF_VERSION_MAJOR #define from jcef_version.h
- removed jcef_version.cpp and the jcef_version_info function
- modified the windows resource file to fit to the 4-part version number
- renamed make_distrib.py to make_readme.py and added make_readme.[bat|sh]
Regards, Kai
from java-cef.
Comment 5. originally posted by magreenblatt on 2014-07-10T16:24:14.000Z:
@ comment 4.: Thanks, added in revision 95 with minor changes:
- Include version number info in jcef_helper.exe.
- Fix include header ordering in CefApp.cpp.
from java-cef.
Original changes by Anonymous.
- set attachment to "2014-06-20_issue17_added_version_number.patch"
from java-cef.
- set attachment to "make_distrib.bat.txt"
from java-cef.
Original changes by Anonymous.
- set attachment to "2014-07-03_issue17_added_version_number.patch"
from java-cef.
- set state to "resolved"
from java-cef.
Related Issues (20)
- Wrong scroll direction on Linux with OSR enabled. HOT 2
- Load html directly HOT 4
- Unwanted behavior - Ctrl+Wheel zooms the whole window now HOT 1
- How to configure version of libc compiled against on Linux? HOT 2
- GPU Error on Linux Aarch64 HOT 2
- Upgrade to Chromium 119 HOT 1
- Add CefBrowserSettings
- New chromium vulnerabilities (
- Character encoding in CefResourceHandler HOT 2
- I am encountering this error when opening a webpage. Google Chrome and Microsoft Edge are both working fine. Please fix this bug officially.
- resort :The date input box is in English
- Hope PermissionHandler support HOT 1
- Closing not working as expected HOT 3
- 请问什么时候可以支持javafx21
- CefApp.getInstance: Passing a flag with two '=' instances fails
- Crash when creating new subprocess HOT 1
- Can you disclose the PID of CefClient so that the pid can be killed when the rendering process cannot be released normally?
- disable-web-security flag not working
- Display exceptions when the browser background is transparent
- Can't build on Arch Linux
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 java-cef.