WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 28080
Adding a bunch of Haiku-specific files for WebCore.
https://bugs.webkit.org/show_bug.cgi?id=28080
Summary
Adding a bunch of Haiku-specific files for WebCore.
Maxime Simon
Reported
2009-08-07 13:09:45 PDT
I fill this bug to add WebCore/platform/haiku/PopupMenuHaiku.cpp WebCore/platform/haiku/RenderThemeHaiku.cpp WebCore/platform/haiku/ScreenHaiku.cpp WebCore/platform/haiku/SearchPopupMenuHaiku.cpp WebCore/platform/haiku/SharedTimerHaiku.cpp WebCore/platform/haiku/SharedTimerHaiku.h WebCore/platform/haiku/SoundHaiku.cpp WebCore/platform/haiku/TemporaryLinkStubs.cpp WebCore/platform/haiku/TranslatorDecoder.cpp WebCore/platform/haiku/TranslatorDecoder.h WebCore/platform/haiku/WidgetHaiku.cpp If someone thinks it's too much files for a single bug, please let me know! Regards, Maxime
Attachments
Patch to add two Haiku-specfic files to WebCore: TemporaryLinkStubs.cpp and WidgetHaiku.cpp
(8.30 KB, patch)
2009-08-07 13:15 PDT
,
Maxime Simon
no flags
Details
Formatted Diff
Diff
Patch to add four Haiku-specific files for WebCore: PopupMenuHaiku.cpp, ScreenHaiku.cpp, SearchPopupMenuHaiku.cpp and SoundHaiku.cpp
(10.42 KB, patch)
2009-08-07 13:34 PDT
,
Maxime Simon
no flags
Details
Formatted Diff
Diff
Patch to add two Haiku-specific files for WebCore: SharedTimerHaiku.h and SharedTimerHaiku.cpp
(7.99 KB, patch)
2009-08-07 13:44 PDT
,
Maxime Simon
eric
: review-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Maxime Simon
Comment 1
2009-08-07 13:15:16 PDT
Created
attachment 34316
[details]
Patch to add two Haiku-specfic files to WebCore: TemporaryLinkStubs.cpp and WidgetHaiku.cpp
Maxime Simon
Comment 2
2009-08-07 13:34:47 PDT
Created
attachment 34319
[details]
Patch to add four Haiku-specific files for WebCore: PopupMenuHaiku.cpp, ScreenHaiku.cpp, SearchPopupMenuHaiku.cpp and SoundHaiku.cpp
Maxime Simon
Comment 3
2009-08-07 13:44:48 PDT
Created
attachment 34322
[details]
Patch to add two Haiku-specific files for WebCore: SharedTimerHaiku.h and SharedTimerHaiku.cpp
Eric Seidel (no email)
Comment 4
2009-08-07 14:41:53 PDT
Comment on
attachment 34316
[details]
Patch to add two Haiku-specfic files to WebCore: TemporaryLinkStubs.cpp and WidgetHaiku.cpp LGTM.
Eric Seidel (no email)
Comment 5
2009-08-07 14:43:24 PDT
Comment on
attachment 34319
[details]
Patch to add four Haiku-specific files for WebCore: PopupMenuHaiku.cpp, ScreenHaiku.cpp, SearchPopupMenuHaiku.cpp and SoundHaiku.cpp In general "cs" is not a good variable name. Please refer to the webkit style guidelines for variable naming. 62 color_space cs = screen.ColorSpace(); This looks OK though, and not worth another round of review for just that. Thank you for splitting these up, it makes reviewing *much* easier. :) (and much less waiting time for you).
Eric Seidel (no email)
Comment 6
2009-08-07 14:46:49 PDT
Comment on
attachment 34322
[details]
Patch to add two Haiku-specific files for WebCore: SharedTimerHaiku.h and SharedTimerHaiku.cpp We prefer constants over defines: 38 #define FIRE_MESSAGE 'fire' What does "sleepyTime" mean? 67 bigtime_t sleepyTime = static_cast<bigtime_t>((m_fireTime - WTF::currentTime()) * 1000000); bigtime_t sleepTimeInSeconds would be a better name? This needs a comment: 69 if (sleepyTime < 0) 70 sleepyTime = 0; // If the fire time has already passed, fire immediately. or similar. Style: 91 BLooper *looper = BLooper::LooperForThread(find_thread(0)); Otherwise this looks sane enough. You might want to post the new patch on a new bug, since the other patches were approved.
Adam Barth
Comment 7
2009-08-07 16:14:20 PDT
Comment on
attachment 34316
[details]
Patch to add two Haiku-specfic files to WebCore: TemporaryLinkStubs.cpp and WidgetHaiku.cpp Clearing review flag on attachment: 34316 Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog A WebCore/platform/haiku/TemporaryLinkStubs.cpp A WebCore/platform/haiku/WidgetHaiku.cpp Committed
r46923
M WebCore/ChangeLog A WebCore/platform/haiku/TemporaryLinkStubs.cpp A WebCore/platform/haiku/WidgetHaiku.cpp
r46923
= fcf9bf19107405d715c42008c807645900f888e1 (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk
http://trac.webkit.org/changeset/46923
Adam Barth
Comment 8
2009-08-07 16:14:37 PDT
Comment on
attachment 34319
[details]
Patch to add four Haiku-specific files for WebCore: PopupMenuHaiku.cpp, ScreenHaiku.cpp, SearchPopupMenuHaiku.cpp and SoundHaiku.cpp Clearing review flag on attachment: 34319 Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog A WebCore/platform/haiku/PopupMenuHaiku.cpp A WebCore/platform/haiku/ScreenHaiku.cpp A WebCore/platform/haiku/SearchPopupMenuHaiku.cpp A WebCore/platform/haiku/SoundHaiku.cpp Committed
r46924
M WebCore/ChangeLog A WebCore/platform/haiku/SearchPopupMenuHaiku.cpp A WebCore/platform/haiku/ScreenHaiku.cpp A WebCore/platform/haiku/SoundHaiku.cpp A WebCore/platform/haiku/PopupMenuHaiku.cpp
r46924
= 4c9b811d2965864e940504a2bca5bbc347f174a6 (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk
http://trac.webkit.org/changeset/46924
Maxime Simon
Comment 9
2009-08-15 03:14:35 PDT
As SharedTimer has moved to
bug 28126
, closing this one.
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