haikuwebkit/Source/WebKit/webkitglib-symbols.map

15 lines
335 B
Plaintext
Raw Permalink Normal View History

{
global:
jsc_*;
[GTK] Make symbol export filter more strict, and disable for dev/test builds https://bugs.webkit.org/show_bug.cgi?id=120586 Reviewed by Martin Robinson. .: * GNUmakefile.am: only include test-related automake files when developer mode is on. * Source/autotools/ReadCommandLineArguments.m4: add --enable-developer-mode, defaults to no, and to yes for debug builds. * Source/autotools/SetupAutomake.m4: add ENABLE_DEVELOPER_MODE conditional. * Source/autotools/symbols.filter: make the exported symbols list much shorter, covering only the public ABI and a few symbols required by WebKit2 processes. Source/WebKit/gtk: * GNUmakefile.am: only use the version script when in developer mode.. Source/WebKit2: * GNUmakefile.am: only use the version script if developer mode is disabled. Tools: * GNUmakefile.am: moved GtkLauncher and documentation builds to their own makefiles, so they can be included unconditionally. * GtkLauncher/GNUmakefile.am: added. * Scripts/webkitdirs.pm: (runAutogenForAutotoolsProjectIfNecessary): always pass --enable-developer-mode to configure, since we consider builds done through build-webkit to be development and test builds. * gtk/GNUmakefile.am: added. * gtk/common.py: do not use the Scripts directory as a reference to the top path; it's not necessary and it will not work now that the Scripts directory is not shipped in the tarball. Canonical link: https://commits.webkit.org/139449@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-17 01:08:46 +00:00
webkit_*;
[GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds https://bugs.webkit.org/show_bug.cgi?id=179914 Reviewed by Carlos Garcia Campos. .: * CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitCompilerFlags.cmake: * Source/cmake/wpesymbols.filter: Removed. Source/JavaScriptCore: Add a new JavaScriptCoreGTK build target, to build JSC as a shared library. Link the original JavaScriptCore build target, which is now a static library, to it. Use --whole-archive to prevent all the JavaScriptCore symbols from being dropped, since none are used directly by JavaScriptCoreGTK. The installed libjavascriptcoregtk-4.0 now corresponds to the JavaScriptCoreGTK target, instead of the JavaScriptCore target. There is almost no difference on the installed system, except that we now use a version script when linking, to hide private symbols, since they're no longer needed by libwebkit2gtk-4.0.so. Also, move the symbols map here. * PlatformGTK.cmake: * javascriptcoregtk-symbols.map: Added. Source/WebCore: * CMakeLists.txt: Test for WebCore_LIBRARY_TYPE rather than SHARED_CORE. Source/WebKit: Mark a few InjectedBundle symbols with default visibility, so they don't get hidden by -fvisibility=hidden. Also, remove Windows conditionals, since Windows is not supported by any GLib ports. Also, move the symbols map to here, and share it between WPE and GTK. * CMakeLists.txt: * PlatformGTK.cmake: * PlatformWPE.cmake: * WebProcess/InjectedBundle/API/glib/WebKitExtensionManager.h: * WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp: * webkitglib-symbols.map: Renamed from Source/cmake/gtksymbols.filter. Canonical link: https://commits.webkit.org/196990@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-22 17:18:43 +00:00
extern "C++" {
"bmalloc::vmPageSize()::cached";
Centralize AuxiliaryProcessMainBase implementations https://bugs.webkit.org/show_bug.cgi?id=206700 Reviewed by Carlos Garcia Campos. Non-Cocoa ports share a common usage of AuxiliaryProcessMainBase but the implementations don't share a lot of code. This patch centralizes the code and the naming used. * NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp: (main): * NetworkProcess/EntryPoint/win/NetworkProcessMain.cpp: (main): * NetworkProcess/NetworkProcessMain.h: Renamed from Source/WebKit/NetworkProcess/win/NetworkProcessMainWin.h. * NetworkProcess/curl/NetworkProcessMainCurl.cpp: Renamed from Source/WebKit/NetworkProcess/win/NetworkProcessMainWin.cpp. (WebKit::initializeAuxiliaryProcess<NetworkProcess>): (WebKit::NetworkProcessMain): * NetworkProcess/soup/NetworkProcessMainSoup.cpp: (WebKit::NetworkProcessMain): (WebKit::NetworkProcessMainUnix): Deleted. * NetworkProcess/unix/NetworkProcessMainUnix.h: Removed. * PlatformFTW.cmake: * PlatformGTK.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: * PluginProcess/EntryPoint/unix/PluginProcessMain.cpp: (main): * PluginProcess/PluginProcessMain.h: Renamed from Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h. * PluginProcess/unix/PluginProcessMainUnix.cpp: (WebKit::PluginProcessMain): (WebKit::PluginProcessMainUnix): Deleted. * Shared/AuxiliaryProcessMain.h: Renamed from Source/WebKit/Shared/unix/AuxiliaryProcessMain.h. * WebProcess/EntryPoint/unix/WebProcessMain.cpp: (main): * WebProcess/EntryPoint/win/WebProcessMain.cpp: (main): * WebProcess/WebProcessMain.h: Renamed from Source/WebKit/WebProcess/win/WebProcessMainWin.h. * WebProcess/gtk/WebProcessMainGtk.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainUnix): Deleted. * WebProcess/playstation/WebProcessMainPlayStation.cpp: Renamed from Source/WebKit/WebProcess/unix/WebProcessMainUnix.h. (WebKit::WebProcessMain): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainWin): Deleted. * WebProcess/wpe/WebProcessMainWPE.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainUnix): Deleted. * webkitglib-symbols.map: Canonical link: https://commits.webkit.org/219741@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-24 14:11:26 +00:00
"WebKit::NetworkProcessMain(int, char**)";
[GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds https://bugs.webkit.org/show_bug.cgi?id=179914 Reviewed by Carlos Garcia Campos. .: * CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitCompilerFlags.cmake: * Source/cmake/wpesymbols.filter: Removed. Source/JavaScriptCore: Add a new JavaScriptCoreGTK build target, to build JSC as a shared library. Link the original JavaScriptCore build target, which is now a static library, to it. Use --whole-archive to prevent all the JavaScriptCore symbols from being dropped, since none are used directly by JavaScriptCoreGTK. The installed libjavascriptcoregtk-4.0 now corresponds to the JavaScriptCoreGTK target, instead of the JavaScriptCore target. There is almost no difference on the installed system, except that we now use a version script when linking, to hide private symbols, since they're no longer needed by libwebkit2gtk-4.0.so. Also, move the symbols map here. * PlatformGTK.cmake: * javascriptcoregtk-symbols.map: Added. Source/WebCore: * CMakeLists.txt: Test for WebCore_LIBRARY_TYPE rather than SHARED_CORE. Source/WebKit: Mark a few InjectedBundle symbols with default visibility, so they don't get hidden by -fvisibility=hidden. Also, remove Windows conditionals, since Windows is not supported by any GLib ports. Also, move the symbols map to here, and share it between WPE and GTK. * CMakeLists.txt: * PlatformGTK.cmake: * PlatformWPE.cmake: * WebProcess/InjectedBundle/API/glib/WebKitExtensionManager.h: * WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp: * webkitglib-symbols.map: Renamed from Source/cmake/gtksymbols.filter. Canonical link: https://commits.webkit.org/196990@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-22 17:18:43 +00:00
"WebKit::WebKitExtensionManager::initialize(WebKit::InjectedBundle*, API::Object*)";
Centralize AuxiliaryProcessMainBase implementations https://bugs.webkit.org/show_bug.cgi?id=206700 Reviewed by Carlos Garcia Campos. Non-Cocoa ports share a common usage of AuxiliaryProcessMainBase but the implementations don't share a lot of code. This patch centralizes the code and the naming used. * NetworkProcess/EntryPoint/unix/NetworkProcessMain.cpp: (main): * NetworkProcess/EntryPoint/win/NetworkProcessMain.cpp: (main): * NetworkProcess/NetworkProcessMain.h: Renamed from Source/WebKit/NetworkProcess/win/NetworkProcessMainWin.h. * NetworkProcess/curl/NetworkProcessMainCurl.cpp: Renamed from Source/WebKit/NetworkProcess/win/NetworkProcessMainWin.cpp. (WebKit::initializeAuxiliaryProcess<NetworkProcess>): (WebKit::NetworkProcessMain): * NetworkProcess/soup/NetworkProcessMainSoup.cpp: (WebKit::NetworkProcessMain): (WebKit::NetworkProcessMainUnix): Deleted. * NetworkProcess/unix/NetworkProcessMainUnix.h: Removed. * PlatformFTW.cmake: * PlatformGTK.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: * PluginProcess/EntryPoint/unix/PluginProcessMain.cpp: (main): * PluginProcess/PluginProcessMain.h: Renamed from Source/WebKit/PluginProcess/unix/PluginProcessMainUnix.h. * PluginProcess/unix/PluginProcessMainUnix.cpp: (WebKit::PluginProcessMain): (WebKit::PluginProcessMainUnix): Deleted. * Shared/AuxiliaryProcessMain.h: Renamed from Source/WebKit/Shared/unix/AuxiliaryProcessMain.h. * WebProcess/EntryPoint/unix/WebProcessMain.cpp: (main): * WebProcess/EntryPoint/win/WebProcessMain.cpp: (main): * WebProcess/WebProcessMain.h: Renamed from Source/WebKit/WebProcess/win/WebProcessMainWin.h. * WebProcess/gtk/WebProcessMainGtk.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainUnix): Deleted. * WebProcess/playstation/WebProcessMainPlayStation.cpp: Renamed from Source/WebKit/WebProcess/unix/WebProcessMainUnix.h. (WebKit::WebProcessMain): * WebProcess/win/WebProcessMainWin.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainWin): Deleted. * WebProcess/wpe/WebProcessMainWPE.cpp: (WebKit::WebProcessMain): (WebKit::WebProcessMainUnix): Deleted. * webkitglib-symbols.map: Canonical link: https://commits.webkit.org/219741@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-01-24 14:11:26 +00:00
"WebKit::WebKitExtensionManager::singleton()";
"WebKit::WebProcessMain(int, char**)";
[GTK] Duplicated symbols in libjavascriptcoregtk and libwebkit2gtk can cause crashes in production builds https://bugs.webkit.org/show_bug.cgi?id=179914 Reviewed by Carlos Garcia Campos. .: * CMakeLists.txt: * Source/cmake/OptionsGTK.cmake: * Source/cmake/OptionsJSCOnly.cmake: * Source/cmake/OptionsMac.cmake: * Source/cmake/OptionsWPE.cmake: * Source/cmake/OptionsWin.cmake: * Source/cmake/WebKitCompilerFlags.cmake: * Source/cmake/wpesymbols.filter: Removed. Source/JavaScriptCore: Add a new JavaScriptCoreGTK build target, to build JSC as a shared library. Link the original JavaScriptCore build target, which is now a static library, to it. Use --whole-archive to prevent all the JavaScriptCore symbols from being dropped, since none are used directly by JavaScriptCoreGTK. The installed libjavascriptcoregtk-4.0 now corresponds to the JavaScriptCoreGTK target, instead of the JavaScriptCore target. There is almost no difference on the installed system, except that we now use a version script when linking, to hide private symbols, since they're no longer needed by libwebkit2gtk-4.0.so. Also, move the symbols map here. * PlatformGTK.cmake: * javascriptcoregtk-symbols.map: Added. Source/WebCore: * CMakeLists.txt: Test for WebCore_LIBRARY_TYPE rather than SHARED_CORE. Source/WebKit: Mark a few InjectedBundle symbols with default visibility, so they don't get hidden by -fvisibility=hidden. Also, remove Windows conditionals, since Windows is not supported by any GLib ports. Also, move the symbols map to here, and share it between WPE and GTK. * CMakeLists.txt: * PlatformGTK.cmake: * PlatformWPE.cmake: * WebProcess/InjectedBundle/API/glib/WebKitExtensionManager.h: * WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp: * webkitglib-symbols.map: Renamed from Source/cmake/gtksymbols.filter. Canonical link: https://commits.webkit.org/196990@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-22 17:18:43 +00:00
};
local:
[GTK] Make symbol export filter more strict, and disable for dev/test builds https://bugs.webkit.org/show_bug.cgi?id=120586 Reviewed by Martin Robinson. .: * GNUmakefile.am: only include test-related automake files when developer mode is on. * Source/autotools/ReadCommandLineArguments.m4: add --enable-developer-mode, defaults to no, and to yes for debug builds. * Source/autotools/SetupAutomake.m4: add ENABLE_DEVELOPER_MODE conditional. * Source/autotools/symbols.filter: make the exported symbols list much shorter, covering only the public ABI and a few symbols required by WebKit2 processes. Source/WebKit/gtk: * GNUmakefile.am: only use the version script when in developer mode.. Source/WebKit2: * GNUmakefile.am: only use the version script if developer mode is disabled. Tools: * GNUmakefile.am: moved GtkLauncher and documentation builds to their own makefiles, so they can be included unconditionally. * GtkLauncher/GNUmakefile.am: added. * Scripts/webkitdirs.pm: (runAutogenForAutotoolsProjectIfNecessary): always pass --enable-developer-mode to configure, since we consider builds done through build-webkit to be development and test builds. * gtk/GNUmakefile.am: added. * gtk/common.py: do not use the Scripts directory as a reference to the top path; it's not necessary and it will not work now that the Scripts directory is not shipped in the tarball. Canonical link: https://commits.webkit.org/139449@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-09-17 01:08:46 +00:00
*;
};