Changeset 10412 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Aug 31, 2005, 12:57:56 AM (20 years ago)
Author:
darin
Message:

Reviewed, tweaked, and landed by Darin.

  • kjs/config.h: Added a WIN32 case in here, with suitable defines. (To be tweaked as necessary.)
  • kjs/function.cpp: Took out APPLE_CHANGES around use of ICU.
  • kjs/operations.cpp: Removed some bogus code that always set HAVE_FLOAT_H.
Location:
trunk/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r10399 r10412  
     12005-08-31  Justin Haygood  <[email protected]>
     2
     3        Reviewed, tweaked, and landed by Darin.
     4
     5        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4085
     6        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4087
     7        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4096
     8          Some fixes for compiling on windows.
     9
     10        * kjs/config.h: Added a WIN32 case in here, with suitable defines.
     11        (To be tweaked as necessary.)
     12        * kjs/function.cpp: Took out APPLE_CHANGES around use of ICU.
     13        * kjs/operations.cpp: Removed some bogus code that always set HAVE_FLOAT_H.
     14
    1152005-08-30  Darin Adler  <[email protected]>
    216
  • trunk/JavaScriptCore/kjs/config.h

    r5028 r10412  
     1#if !WIN32
     2
    13#define HAVE_FUNC_ISINF 1
    24#define HAVE_FUNC_ISNAN 1
    3 #define HAVE_FUNC_STRTOLL 1
    4 #define HAVE_STRING_H 1
    55#define HAVE_STRINGS_H 1
    66#define HAVE_SYS_PARAM_H 1
    77#define HAVE_SYS_TIME_H 1
     8#define TIME_WITH_SYS_TIME 1
     9
     10#else
     11
     12#define HAVE_FLOAT_H 1
     13#define HAVE_FUNC__FINITE 1
     14
     15#endif
     16
     17#define HAVE_FUNC_STRTOLL 1
     18#define HAVE_ICU 1
    819#define HAVE_PCREPOSIX 1
    9 #define TIME_WITH_SYS_TIME 1
     20#define HAVE_STRING_H 1
     21
    1022#ifdef __ppc__
    1123#define WORDS_BIGENDIAN 1
  • trunk/JavaScriptCore/kjs/function.cpp

    r10399 r10412  
    3939#include <assert.h>
    4040#include <string.h>
    41 
    42 #if APPLE_CHANGES
     41#include <ctype.h>
     42
    4343#include <unicode/uchar.h>
    44 #endif
    4544
    4645using namespace KXMLCore;
     
    661660            return true;
    662661        default:
    663 #if APPLE_CHANGES
    664662            return u_charType(c) == U_SPACE_SEPARATOR;
    665 #else
    666             // ### properly support other Unicode Zs characters
    667             return false;
    668 #endif
    669663    }
    670664}
  • trunk/JavaScriptCore/kjs/operations.cpp

    r10084 r10412  
    2323#ifdef HAVE_CONFIG_H
    2424#include "config.h"
    25 #endif
    26 #ifndef HAVE_FLOAT_H   /* just for !Windows */
    27 #define HAVE_FLOAT_H 0
    28 #define HAVE_FUNC__FINITE 0
    2925#endif
    3026
Note: See TracChangeset for help on using the changeset viewer.