Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch compiler-compat Excluding Merge-Ins
This is equivalent to a diff from 0c2fb18d25 to 21266c68af
2012-06-21
| ||
14:05 | Merge several compiler compatibility fixes to trunk. (check-in: d3d491a546 user: mistachkin tags: trunk) | |
2012-06-18
| ||
20:52 | Fix a problem with identifying white-space characters outside of the ascii range in the ICU tokenizer. (check-in: 892b74116a user: dan tags: trunk) | |
17:15 | Allow the SQLITE_API macro to apply to the sqlite3_win32_sleep function. (Closed-Leaf check-in: 21266c68af user: mistachkin tags: compiler-compat) | |
14:23 | Add the ieee754() SQL function that interprets a blob as a big-endian double. Arrange for the quote() SQL function to emit ieee754() functions in its output so that floating-point values in the database are exactly preserved by a ".dump" command in the shell. (Closed-Leaf check-in: 87597e988f user: drh tags: ieee754-func) | |
08:00 | Fix a few compilation issues that can occur with certain compilers (e.g. GCC 2.95.3, MSVC). (check-in: f970a3de61 user: mistachkin tags: compiler-compat) | |
2012-06-16
| ||
15:26 | In Lemon, when comparing the output to the *.h file to see if it has changed, make sure that the proposed new output and the preexisting output are the same size before deciding that they are the same. (check-in: 0c2fb18d25 user: drh tags: trunk) | |
2012-06-11
| ||
02:05 | Version 3.7.13 (check-in: f5b5a13f73 user: drh tags: trunk, release, version-3.7.13) | |
Changes to ext/fts3/fts3_unicode2.c.
142 142 iLo = iTest+1; 143 143 }else{ 144 144 iHi = iTest-1; 145 145 } 146 146 } 147 147 assert( aEntry[0]<key ); 148 148 assert( key>=aEntry[iRes] ); 149 - return (c >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF))); 149 + return (((unsigned int)c) >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF))); 150 150 } 151 151 return 1; 152 152 } 153 153 154 154 155 155 /* 156 156 ** If the argument is a codepoint corresponding to a lowercase letter
Changes to src/mutex_w32.c.
105 105 /* As winMutexInit() and winMutexEnd() are called as part 106 106 ** of the sqlite3_initialize and sqlite3_shutdown() 107 107 ** processing, the "interlocked" magic is probably not 108 108 ** strictly necessary. 109 109 */ 110 110 static long winMutex_lock = 0; 111 111 112 -extern void sqlite3_win32_sleep(DWORD milliseconds); /* os_win.c */ 112 +void sqlite3_win32_sleep(DWORD milliseconds); /* os_win.c */ 113 113 114 114 static int winMutexInit(void){ 115 115 /* The first to increment to 1 does actual initialization */ 116 116 if( InterlockedCompareExchange(&winMutex_lock, 1, 0)==0 ){ 117 117 int i; 118 118 for(i=0; i<ArraySize(winMutex_staticMutexes); i++){ 119 119 #if SQLITE_OS_WINRT
Changes to src/shell.c.
2693 2693 ** 0 return indicates an error of some kind. 2694 2694 */ 2695 2695 static char *find_home_dir(void){ 2696 2696 static char *home_dir = NULL; 2697 2697 if( home_dir ) return home_dir; 2698 2698 2699 2699 #if !defined(_WIN32) && !defined(WIN32) && !defined(__OS2__) && !defined(_WIN32_WCE) && !defined(__RTP__) && !defined(_WRS_KERNEL) 2700 - struct passwd *pwent; 2701 - uid_t uid = getuid(); 2702 - if( (pwent=getpwuid(uid)) != NULL) { 2703 - home_dir = pwent->pw_dir; 2700 + { 2701 + struct passwd *pwent; 2702 + uid_t uid = getuid(); 2703 + if( (pwent=getpwuid(uid)) != NULL) { 2704 + home_dir = pwent->pw_dir; 2705 + } 2704 2706 } 2705 2707 #endif 2706 2708 2707 2709 #if defined(_WIN32_WCE) 2708 2710 /* Windows CE (arm-wince-mingw32ce-gcc) does not provide getenv() 2709 2711 */ 2710 2712 home_dir = "/";