WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
3372
JavaScriptCore/kjs/date_object on win32
https://bugs.webkit.org/show_bug.cgi?id=3372
Summary
JavaScriptCore/kjs/date_object on win32
Justin Haygood
Reported
2005-06-08 20:22:17 PDT
date_object doesn't build on Win32 --Unsupported Features
Attachments
Patches to build on Win32
(1.49 KB, patch)
2005-06-08 20:23 PDT
,
Justin Haygood
no flags
Details
Formatted Diff
Diff
Additional Files
(1.81 KB, application/octet-stream)
2005-06-08 20:25 PDT
,
Justin Haygood
no flags
Details
Ooops.. New Patch
(1.41 KB, patch)
2005-06-08 20:31 PDT
,
Justin Haygood
darin
: review-
Details
Formatted Diff
Diff
Test Date for testkjs
(229 bytes, text/javascript)
2005-06-10 16:14 PDT
,
Justin Haygood
no flags
Details
Hopefully this works!
(37.63 KB, patch)
2005-06-30 20:29 PDT
,
Justin Haygood
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Justin Haygood
Comment 1
2005-06-08 20:23:07 PDT
Created
attachment 2163
[details]
Patches to build on Win32 Fixes date_object on Win32
Justin Haygood
Comment 2
2005-06-08 20:25:53 PDT
Created
attachment 2164
[details]
Additional Files Contains wincommon.h, wintime.cpp, wintime.h Windows specific date/time implementations used by date_object Windows specific common defines used by date_object
Justin Haygood
Comment 3
2005-06-08 20:31:25 PDT
Created
attachment 2165
[details]
Ooops.. New Patch Ooops, new patch. Old one had some temporary stuff and some useless stuff. Fixed now!
Justin Haygood
Comment 4
2005-06-10 16:14:43 PDT
Created
attachment 2232
[details]
Test Date for testkjs Test date usage in JavaScript for testkjs. It outputs the current time as HH:MM:SS:MS Its currently 7:14 PM, and it gives the following output: C:\Documents and Settings\Justin Haygood\My Documents\Visual Studio 2005\Project s\WebKit-Win32\test_kjs\Debug>test_kjs testdate.js --> 19:13:2:125 OK. So, i believe this patch works :-D
Justin Haygood
Comment 5
2005-06-10 16:16:38 PDT
(In reply to
comment #4
)
> Created an attachment (id=2232) [edit] > Test Date for testkjs > > Test date usage in JavaScript for testkjs. > > It outputs the current time as HH:MM:SS:MS > > Its currently 7:14 PM, and it gives the following output: > > C:\Documents and Settings\Justin Haygood\My Documents\Visual Studio > 2005\Project > s\WebKit-Win32\test_kjs\Debug>test_kjs testdate.js > --> 19:13:2:125 > OK. > > So, i believe this patch works :-D >
Er, I meant its 7:16 and gives the following output: C:\Documents and Settings\Justin Haygood\My Documents\Visual Studio 2005\Project s\WebKit-Win32\test_kjs\Debug>test_kjs testdate.js --> 19:16:21:968 OK.
Harri Porten
Comment 6
2005-06-13 01:56:29 PDT
FWIW: the KDE version of date_object.cpp compiles on Windows just fine. No need for additional files/functions to be added. At most some #ifdef correction is needed.
Darin Adler
Comment 7
2005-06-15 18:28:05 PDT
Sounds like it might be better to take the KDE date_object.cpp.
Justin Haygood
Comment 8
2005-06-15 18:35:18 PDT
(In reply to
comment #7
)
> Sounds like it might be better to take the KDE date_object.cpp.
I might actually do that, but that'll be one heck of a diff :-D. I'll just attach it instead of a diff. Is it possible to completely replace a file in CVS? Also, a few changes might have to be done, as KJS prefixes everything with KJS_EXPORT but JavaScriptCore does not, and KJS_EXPORT isn't needed in my builds, since I use it statically. I'll be busy for the next 2 weeks, mainly personal projects and the national SkillUSA competition, so it might be a while before I get to it.
Darin Adler
Comment 9
2005-06-17 20:16:52 PDT
We may not want to completely overwrite our file with the KDE one. For example, we want to use the locale data and time implementation in our file. It's best to attach a diff, even if it's large.
Darin Adler
Comment 10
2005-06-18 16:46:44 PDT
Comment on
attachment 2165
[details]
Ooops.. New Patch See
bug 3477
for what looks like a promising patch. I'm rejecting this patch because I'd prefer to take KDE changes to compile on Windows rather than doing changes of our own.
Justin Haygood
Comment 11
2005-06-30 20:29:07 PDT
Created
attachment 2722
[details]
Hopefully this works! 1. KJS date_object.cpp base 2. includes Apple specific #if APPLE_CHANGES 3. very small #ifdef for Win32... very very small
Justin Haygood
Comment 12
2005-10-01 15:30:14 PDT
No longer applies.
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