Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f8713bd
Clear 'libs' folder
michaelbaisch Jan 10, 2018
b62d4fa
Add cef_helper_mac project and update sources for render process
michaelbaisch Jan 10, 2018
50dde53
Update ofxCEF sources
michaelbaisch Jan 15, 2018
cd9ad0a
Add the `apothecary` formula to build the CEF lib
michaelbaisch Jan 15, 2018
5390852
Add addon_config.mk for PG
michaelbaisch Jan 15, 2018
6ffb7ab
Remove example_ofxCEF
michaelbaisch Jan 15, 2018
51e30ba
Add simple, communication, and multi example
michaelbaisch Jan 15, 2018
6889f3b
Add `libs/` to .gitignore
michaelbaisch Jan 15, 2018
be64b51
Update readme
michaelbaisch Jan 15, 2018
2f95691
Update readme to make it clear why the setup process is necessary
michaelbaisch Jan 17, 2018
27a1a30
Use `ofBaseDraws` to add all common draw() methods to ofxCef class
michaelbaisch Jan 29, 2018
273b37c
Use Texture Filtering GL_LINEAR to improve render quality when drawin…
michaelbaisch Jan 29, 2018
3ce4c05
Bump CEF version to '3.3282.1731.gfc9a4fa'
michaelbaisch Feb 6, 2018
bf43bad
Add some comments to 'CefSettings' options
michaelbaisch Feb 6, 2018
461eec9
Fix bug where uninitialized variables in the renderHander would lead …
michaelbaisch Feb 6, 2018
c123a75
Use async call 'CreateBrowser()' instead of 'CreateBrowserSync()'
michaelbaisch Feb 6, 2018
e457566
Add note about updating CEF library in readme, update CEF version
michaelbaisch Feb 22, 2018
b8cc9df
Add comment about of_v0.10.0
michaelbaisch Jun 26, 2018
f611523
Update readme and examples for of_v0.10.0 on macOS
michaelbaisch Jun 26, 2018
be2782c
Update apothecary script for VS2017
michaelbaisch Jun 27, 2018
9ad4c9c
Update examples and reademe for of_v0.10.0 on Windows (VS2017)
michaelbaisch Jun 27, 2018
e6cfc68
Update CEF version to 3.3396.1782.gc368dbf
michaelbaisch Jul 5, 2018
fab72f6
Make cef update work on windows, there is no 'widevinecdmadapter.dll'…
michaelbaisch Jul 6, 2018
c167043
Set CEF_RUNTIME_LIBRARY_FLAG to /MD again
michaelbaisch Jul 6, 2018
e232590
Also return in 'main.cpp' when 'CefExecuteProcess()' returns zero or …
michaelbaisch Jul 9, 2018
91d1bff
Make cef_helper_mac and examples work with Xcode 10 and of_v0.10
michaelbaisch Nov 12, 2018
bcf8cfc
Create a separate class to handle the browser process
michaelbaisch Nov 12, 2018
604c6cc
Allow videos to autoplay
michaelbaisch Nov 12, 2018
f5c9c54
Update macOS examples for new browser handler class
michaelbaisch Nov 12, 2018
e6f2843
Not setting 'single_process' of 'CefSettings' anymore, since it was r…
michaelbaisch Nov 12, 2018
2ca5bb2
Update cef version
michaelbaisch Nov 12, 2018
a72ea9a
Update Windows examples for new browser handler class
michaelbaisch Nov 12, 2018
8a3d028
Load the CEF framework library at runtime instead of linking directly…
michaelbaisch Dec 6, 2018
290c397
Update to latest Cef version and don't use sandbox for macOS for now
michaelbaisch Dec 6, 2018
0af4480
Add macOS Mojave problem to known issues.
michaelbaisch Dec 6, 2018
eb09805
Tell the CefSettings on macOS if sandbox is used or not, otherwise co…
michaelbaisch Jan 8, 2019
7372d0a
Helper App: Remove 'Chromium Embedded Framework.framework' from linke…
michaelbaisch Mar 19, 2019
4145f5e
Update version to 76.x
michaelbaisch Sep 19, 2019
40ac424
Make everything compile on macOS again (version 76.x)
michaelbaisch Sep 19, 2019
bbab61f
No return values for GetViewRect() void method
michaelbaisch Sep 20, 2019
2bad1c4
Readme: New custom Xcode script
michaelbaisch Mar 28, 2020
a943d07
macOS Code Signing: add '--deep' to 'OTHER_CODE_SIGN_FLAGS' and add n…
michaelbaisch Mar 28, 2020
9117979
CEF Version: Update to '79.1.35+gfebbb4a+chromium-79.0.3945.130'
michaelbaisch Mar 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ Desktop.ini
#CEF specific
*.pak
*.bin

libs/
76 changes: 76 additions & 0 deletions addon_config.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# All variables and this file are optional, if they are not present the PG and the
# makefiles will try to parse the correct values from the file system.
#
# Variables that specify exclusions can use % as a wildcard to specify that anything in
# that position will match. A partial path can also be specified to, for example, exclude
# a whole folder from the parsed paths from the file system
#
# Variables can be specified using = or +=
# = will clear the contents of that variable both specified from the file or the ones parsed
# from the file system
# += will add the values to the previous ones in the file or the ones parsed from the file
# system
#
# The PG can be used to detect errors in this file, just create a new project with this addon
# and the PG will write to the console the kind of error and in which line it is

meta:
ADDON_NAME = ofxCef
ADDON_DESCRIPTION = CEF for OF
ADDON_AUTHOR =
ADDON_TAGS = "CEF" "Chromium Embedded Framework"
ADDON_URL = https://github.com/ofZach/ofxCef

common:
# dependencies with other addons, a list of them separated by spaces
# or use += in several lines
#ADDON_DEPENDENCIES =

# include search paths, this will be usually parsed from the file system
# but if the addon or addon libraries need special search paths they can be
# specified here separated by spaces or one per line using +=
# ADDON_INCLUDES =
ADDON_INCLUDES_EXCLUDE = libs
ADDON_INCLUDES_EXCLUDE += libs/cef/include/%
ADDON_INCLUDES_EXCLUDE += libs/cef/lib
ADDON_INCLUDES_EXCLUDE += libs/cef/lib/%

# any special flag that should be passed to the compiler when using this
# addon
# ADDON_CFLAGS =

# any special flag that should be passed to the linker when using this
# addon, also used for system libraries with -lname
# ADDON_LDFLAGS = -rpath @loader_path/../../../../../../../addons/ofxHapPlayer/libs

# linux only, any library that should be included in the project using
# pkg-config
# ADDON_PKG_CONFIG_LIBRARIES =

# osx/iOS only, any framework that should be included in the project
# ADDON_FRAMEWORKS =

# source files, these will be usually parsed from the file system looking
# in the src folders in libs and the root of the addon. if your addon needs
# to include files in different places or a different set of files per platform
# they can be specified here
# ADDON_SOURCES =

# some addons need resources to be copied to the bin/data folder of the project
# specify here any files that need to be copied, you can use wildcards like * and ?
# ADDON_DATA =

# when parsing the file system looking for libraries exclude this for all or
# a specific platform
#ADDON_LIBS_EXCLUDE =

ADDON_SOURCES_EXCLUDE = src/process_helper_mac.cpp

vs:
ADDON_LIBS_EXCLUDE = "libs/cef/export/vs/x64"
ADDON_LIBS_EXCLUDE = "libs/cef/export/vs/x64/%"
ADDON_DLLS_TO_COPY = "libs/cef/export/vs/x64/*" # Not working with of 0.9.8 or earlier

osx:
ADDON_FRAMEWORKS = "../../../addons/ofxCef/libs/cef/lib/osx/Chromium Embedded Framework.framework"
ADDON_OBJC_SOURCES = src/*.cpp # Not working with of 0.9.8 or earlier
2 changes: 1 addition & 1 deletion example_ofxCEF/Makefile → cef_helper_mac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endif

# make sure the the OF_ROOT location is defined
ifndef OF_ROOT
OF_ROOT=../../..
OF_ROOT=$(realpath ../../..)
endif

# call the project makefile!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/
//IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to:
//ICON_FILE_PATH = bin/data/

OTHER_LDFLAGS = $(OF_CORE_LIBS)
OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OF_CORE_FRAMEWORKS)
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
1 change: 1 addition & 0 deletions cef_helper_mac/addons.make
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ofxCef
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,20 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>d.${PRODUCT_NAME:rfc1034identifier}</string>
<string>cc.openFrameworks.ofapp</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSUIElement</key>
<true/>
<string>1.0</string>
<key>CFBundleIconFile</key>
<string>${ICON}</string>
</dict>
</plist>
Loading