WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
35695
Move files from WebCore/platform/graphics/gtk to ../cairo
https://bugs.webkit.org/show_bug.cgi?id=35695
Summary
Move files from WebCore/platform/graphics/gtk to ../cairo
Leandro Pereira
Reported
2010-03-03 12:22:34 PST
Created
attachment 49932
[details]
Move font code from platform/graphics/gtk to ../cairo The attached patch moves files from WebCore/platform/graphics/gtk to WebCore/platform/graphics/cairo, since they're not really GTK+-dependent. These files are (almost) identical to the ones used by the EFL port, so they can be shared (see
bug #35539
).
Attachments
Move font code from platform/graphics/gtk to ../cairo
(61.79 KB, patch)
2010-03-03 12:22 PST
,
Leandro Pereira
gustavo
: review-
Details
Formatted Diff
Diff
Move font code from platform/graphics/gtk to ../cairo
(60.01 KB, patch)
2010-03-03 13:24 PST
,
Leandro Pereira
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
WebKit Review Bot
Comment 1
2010-03-03 12:23:52 PST
Attachment 49932
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 Last 3072 characters of output: [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:102: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:106: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:119: Use 0 instead of NULL. [readability/null] [4] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:157: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:163: Use 0 instead of NULL. [readability/null] [4] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:258: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:259: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:48: font_extents is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:49: text_extents is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:101: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:126: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp" WebCore/platform/graphics/cairo/FontCacheCairo.cpp:43: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontCacheCairo.cpp:48: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontCustomPlatformData.h:27: cairo_font_face_t is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/FontCustomPlatformData.cpp:25: Alphabetical sorting problem. [build/include_order] [4] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontPlatformData.h" WebCore/platform/graphics/cairo/FontPlatformData.h:32: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/graphics/cairo/FontPlatformData.h:104: Place brace on its own line for function definitions. [whitespace/braces] [4] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/SimpleFontDataGtk.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontCustomPlatformData.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontCacheGtk.cpp" Total errors found: 20 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gustavo Noronha (kov)
Comment 2
2010-03-03 12:48:54 PST
Comment on
attachment 49932
[details]
Move font code from platform/graphics/gtk to ../cairo I think the move makes sense. I would like to have this change be done in two separate parts, though: one patch for the move, one patch for the efl-changes (adding the preprocessor conditionals, for instance). This will make it less likely that we are going to cause an issue we will have a hard time identifying.
Leandro Pereira
Comment 3
2010-03-03 13:24:00 PST
Created
attachment 49938
[details]
Move font code from platform/graphics/gtk to ../cairo Updated patch, so it only move files around.
WebKit Review Bot
Comment 4
2010-03-03 13:25:48 PST
Attachment 49938
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 Last 3072 characters of output: [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:99: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:103: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:115: Use 0 instead of NULL. [readability/null] [4] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:150: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:155: Use 0 instead of NULL. [readability/null] [4] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:247: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp:248: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:48: font_extents is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:49: text_extents is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:101: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp:126: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp" WebCore/platform/graphics/cairo/FontCacheCairo.cpp:43: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontCacheCairo.cpp:48: Use 0 instead of NULL. [readability/null] [5] WebCore/platform/graphics/cairo/FontCustomPlatformData.h:27: cairo_font_face_t is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebCore/platform/graphics/cairo/FontCustomPlatformData.cpp:25: Alphabetical sorting problem. [build/include_order] [4] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontPlatformData.h" WebCore/platform/graphics/cairo/FontPlatformData.h:32: Alphabetical sorting problem. [build/include_order] [4] WebCore/platform/graphics/cairo/FontPlatformData.h:104: Place brace on its own line for function definitions. [whitespace/braces] [4] WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/SimpleFontDataGtk.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontCustomPlatformData.cpp" WARNING: Could not read file. Skipping: "WebCore/platform/graphics/gtk/FontCacheGtk.cpp" Total errors found: 20 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Gustavo Noronha (kov)
Comment 5
2010-03-03 15:50:53 PST
Comment on
attachment 49938
[details]
Move font code from platform/graphics/gtk to ../cairo OK, EWS seems happy.
WebKit Commit Bot
Comment 6
2010-03-04 00:51:21 PST
Comment on
attachment 49938
[details]
Move font code from platform/graphics/gtk to ../cairo Clearing flags on attachment: 49938 Committed
r55510
: <
http://trac.webkit.org/changeset/55510
>
WebKit Commit Bot
Comment 7
2010-03-04 00:51:25 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug