MemoryPressureHandler should live in WTF so that JavaScriptCore (and WTF itself) can use it.
Created attachment 302831 [details] Patch for EWS
Attachment 302831 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:28: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:55: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:56: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:102: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:239: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/PlatformMac.cmake:25: No trailing spaces [whitespace/trailing] [5] ERROR: Source/WTF/wtf/win/MemoryPressureHandlerWin.cpp:28: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WTF/wtf/PlatformGTK.cmake:15: Alphabetical sorting problem. "linux/CurrentProcessMemoryStatus.cpp" should be before "text/gtk/TextBreakIteratorInternalICUGtk.cpp". [list/order] [5] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.cpp:27: Found other header before a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.cpp:27: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 20 in 34 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 302835 [details] Patch for EWS 2
Attachment 302835 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:39: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:237: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 13 in 34 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 302865 [details] Patch for EWS 3
Attachment 302865 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:237: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 12 in 35 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 302876 [details] Patch for EWS 4
Attachment 302876 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:237: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 12 in 36 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 302927 [details] Patch for EWS 5 Getting there..
Attachment 302927 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:237: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 12 in 37 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 303034 [details] Patch
Attachment 303034 [details] did not pass style-queue: ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:70: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:78: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:115: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:128: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:149: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/cocoa/MemoryPressureHandlerCocoa.mm:154: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:100: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/linux/MemoryPressureHandlerLinux.cpp:237: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:161: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/MemoryPressureHandler.h:168: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:36: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WTF/wtf/win/Win32Handle.h:37: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 12 in 40 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 303034 [details] Patch rs=me
Comment on attachment 303034 [details] Patch Clearing flags on attachment: 303034 Committed r213214: <http://trac.webkit.org/changeset/213214>
All reviewed patches have been landed. Closing bug.
r213269