Commit Graph

735 Commits

Author SHA1 Message Date
florian
44037b565f + some missing BM_* and WM_* constants added
git-svn-id: trunk@7685 -
2007-06-16 16:57:00 +00:00
Jonas Maebe
0a121bda8e * removed svn:executable property
git-svn-id: trunk@7680 -
2007-06-16 10:02:22 +00:00
florian
9e257a5289 + new definitions
git-svn-id: trunk@7665 -
2007-06-14 21:37:30 +00:00
florian
631187d30d + some delphi compatibility stuff added
git-svn-id: trunk@7652 -
2007-06-13 20:44:24 +00:00
marco
ebea7ac320 * fix for 9029
git-svn-id: trunk@7627 -
2007-06-10 18:23:32 +00:00
marco
7c66dc722f * virtualprotect overload compat
git-svn-id: trunk@7433 -
2007-05-23 17:41:14 +00:00
marco
aef34ef03f * a few extra MEM_ constants
git-svn-id: trunk@7432 -
2007-05-23 17:39:15 +00:00
peter
6a345d7e76 * fixed compile
git-svn-id: trunk@7408 -
2007-05-21 06:18:42 +00:00
micha
7f2a257102 + heap manager now per thread, reduce heap lock contention
+ heap threading test

git-svn-id: trunk@7407 -
2007-05-20 20:58:12 +00:00
yury
1c99143326 * patch from Sergei Gorelkin (Mantis #8897). Various symbols that were #define's in original C headers were converted from functions to constants.
git-svn-id: trunk@7393 -
2007-05-18 20:45:04 +00:00
Almindor
a52a63178b * fix INVALID_SOCKET constant (needs to be OS specific, it is UNSIGNED in windows)
git-svn-id: trunk@7328 -
2007-05-13 19:13:43 +00:00
marco
8991b8f365 * new socketerror scheme. OS/2 and netware are now broken and still must be done. (merge me and all previous socket related commits please)
git-svn-id: trunk@7327 -
2007-05-13 18:30:24 +00:00
marco
31e0776694 * socketerror mods for windows.
git-svn-id: trunk@7307 -
2007-05-11 00:08:01 +00:00
yury
7110ecdf7e * replaced "var R:RECT" to "const R:RECT" in WinAPI functions parameters according to MS PSDK.
git-svn-id: trunk@7247 -
2007-05-02 22:01:26 +00:00
Vincent Snijders
41962b8bfb * fixed NMHDR for win64
git-svn-id: trunk@7204 -
2007-04-30 13:53:28 +00:00
florian
c6fb0d4cab * made second parameter of inverserect const, resolves #8705
git-svn-id: trunk@7124 -
2007-04-17 19:47:00 +00:00
florian
08e5d21da8 + keypressed for windows, resolves #8637
git-svn-id: trunk@7064 -
2007-04-06 20:38:24 +00:00
florian
8d371e3f97 * made RT_* simple constants, fixes #8584
git-svn-id: trunk@7052 -
2007-04-01 15:39:45 +00:00
Almindor
02702d199f * fix typo in ESock[s]errors
git-svn-id: trunk@7030 -
2007-03-29 20:51:10 +00:00
Almindor
ed8e6b71e3 * add common socket error constants to all platforms/socket.pp
git-svn-id: trunk@7022 -
2007-03-29 19:29:04 +00:00
pierre
73f4288d97 + allow to disable smartlinking if NO_SMART_LINK is defined
git-svn-id: trunk@6834 -
2007-03-13 22:55:50 +00:00
Tomas Hajny
5e1a7997ee + FileTruncate allows 64-bit parameter
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
florian
c6f8f550f9 * resource functions for win64, fixes #8304
git-svn-id: trunk@6540 -
2007-02-18 10:07:12 +00:00
yury
de8de88781 * updated Win32 API.
git-svn-id: trunk@6475 -
2007-02-13 18:37:32 +00:00
chrivers
e81696d0f1 + Added TIn6Addr and TSockAddrIn6 to winsock2.pp
git-svn-id: trunk@6452 -
2007-02-11 23:51:35 +00:00
daniel
3330a91e9e - Remove INVALID_SOCKET and SOCKET_ERROR constants from fpwinsockh.inc,
because the socket unit routines use signed types.

git-svn-id: trunk@6421 -
2007-02-11 13:42:46 +00:00
marco
0a0f71827a * openfilename updated to NT5 struct, keeping the old struct with _NT4 suffix
git-svn-id: trunk@6390 -
2007-02-09 20:24:56 +00:00
marco
b091c2a03a * uncommented refefs for bug #8267, var versions of findfirstfile/nextfile
git-svn-id: trunk@6389 -
2007-02-09 20:11:47 +00:00
marco
1ecd1f67d4 * bug #8279
git-svn-id: trunk@6388 -
2007-02-09 20:07:20 +00:00
yury
83820db27e * fix for tiorte.pp on WM5.
git-svn-id: trunk@6162 -
2007-01-24 14:59:05 +00:00
Jonas Maebe
9398d67e51 * fixed SetWaitableTimer declaration
git-svn-id: trunk@6100 -
2007-01-21 16:08:50 +00:00
pierre
8132e2c5d0 * correct previous patch, the first letter was missing
git-svn-id: trunk@6066 -
2007-01-19 03:34:57 +00:00
pierre
4bd7803e00 * insure that env variable is only truncated if more than 255 chars after the equal sign
git-svn-id: trunk@6065 -
2007-01-19 03:29:40 +00:00
yury
30db0a17db * added some Delphi compatible redefs and constants.
git-svn-id: trunk@6060 -
2007-01-18 22:09:06 +00:00
daniel
e6438fe23d * Make error constants cross platform.
git-svn-id: trunk@5977 -
2007-01-14 21:22:47 +00:00
micha
702685717f * cleanup of rtlevents, remove startwait due to persistance guarantee
git-svn-id: trunk@5854 -
2007-01-08 19:11:07 +00:00
florian
35fdb22b91 * FileSetDate now working on Win, see #7837
* FileSetDate more Delphi compatible

git-svn-id: trunk@5824 -
2007-01-06 10:48:10 +00:00
marco
507da73806 * hookproc alias, delphi compat
git-svn-id: trunk@5768 -
2006-12-31 13:50:42 +00:00
marco
f340e27114 * Two msgs added found while porting toolbar97
git-svn-id: trunk@5767 -
2006-12-31 13:48:50 +00:00
yury
ff37ef8786 * fixed i386-wince support. WinCE API functions are cdecl.
git-svn-id: trunk@5741 -
2006-12-29 20:49:03 +00:00
yury
f49055ef72 * There is no SetFilePointerEx for wince.
git-svn-id: trunk@5738 -
2006-12-29 19:26:40 +00:00
Almindor
acbc7aa882 * fix a typo in previous commit
git-svn-id: trunk@5656 -
2006-12-20 12:59:07 +00:00
Almindor
00ee9c9186 + adds missing SOL_SOCKET to winsock2
+ adds missing common constants (SOL_ MSG_ and SO_) to windows sockets.pp via fpwinsockh.inc

git-svn-id: trunk@5655 -
2006-12-20 12:46:33 +00:00
florian
262df1cbf7 * fix for #7882 by xpete
git-svn-id: trunk@5548 -
2006-12-06 21:48:26 +00:00
michael
d4c30020ee Fix to be able to allocate threadvars when non-rtl code creates a new thread
git-svn-id: trunk@5475 -
2006-11-25 14:59:40 +00:00
marco
b41c939202 * patch from bug #7850, enhanced metafile functions added (gdi32 dll)
git-svn-id: trunk@5460 -
2006-11-23 09:18:44 +00:00
Almindor
6f44822cd4 * fix the winsock2 delegation stuff for AF_
git-svn-id: trunk@5444 -
2006-11-22 11:40:51 +00:00
Almindor
b0dabd0746 * fix windows sockets AT_ and PF_ (because of the unix changes)
* fix some missing T-less names for types in winsock2
+ add fpwinsockh.inc for windows specific consts needed to be delegated from winsock

git-svn-id: trunk@5442 -
2006-11-22 11:32:07 +00:00
marco
940f82a473 * fix for 7825
git-svn-id: trunk@5423 -
2006-11-18 19:33:54 +00:00
yury
4bfe0e6819 * Optimization for code size.
git-svn-id: trunk@5331 -
2006-11-11 14:19:33 +00:00
Marc Weustink
53e7596e3d + Added acces violation reasons
git-svn-id: trunk@5168 -
2006-11-02 01:37:59 +00:00
Marc Weustink
ab9936a1ce + added 32/64bit exceptionrecord definitions
git-svn-id: trunk@5167 -
2006-11-02 00:36:22 +00:00
micha
ce9e589e15 * fix FileSeek implementation to match declaration
git-svn-id: trunk@5159 -
2006-11-01 17:47:47 +00:00
florian
4fb0d13138 + few com helpers added
git-svn-id: trunk@5144 -
2006-11-01 09:42:40 +00:00
peter
b538256145 * readd WCHAR, it is needed for compatibility. There is
code that uses windows types like Windows.WCHAR

git-svn-id: trunk@5142 -
2006-11-01 08:58:21 +00:00
Marc Weustink
3232e59810 * fixed compilation on CE
- removed declaration of WCHAR since it is defined in systemh

git-svn-id: trunk@5135 -
2006-10-31 22:46:09 +00:00
florian
585db9d3c6 - removed unncessary packed
* adapted structure

git-svn-id: trunk@5075 -
2006-10-29 21:46:15 +00:00
marco
4d8cf8202a * fix for #7478
git-svn-id: trunk@4928 -
2006-10-15 15:37:19 +00:00
florian
b6309075a4 + GetFileVersion (win only)
git-svn-id: trunk@4924 -
2006-10-15 14:36:05 +00:00
marco
cd7ad9e581 * fdwrite internals to fpwrite.
git-svn-id: trunk@4921 -
2006-10-15 12:33:07 +00:00
micha
d704af7216 fix compilation for {$T+} linux/win
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00
michael
c863a91be9 + Normal characters get written to the wrong buffer
git-svn-id: trunk@4747 -
2006-09-28 17:56:09 +00:00
florian
21e845c386 - removed unecessary hack for point structures passed by value
git-svn-id: trunk@4722 -
2006-09-24 20:54:51 +00:00
florian
81d83c70ce + GET_*_LPARAM
git-svn-id: trunk@4638 -
2006-09-17 19:35:30 +00:00
florian
caf250c87b * removed packrecords 1 from winsock as well as a ver0_9_14 define
git-svn-id: trunk@4626 -
2006-09-16 12:50:28 +00:00
florian
6cef7db5a6 * fixed MemoryStatus for Win64
git-svn-id: trunk@4608 -
2006-09-10 18:32:41 +00:00
florian
33026a98a0 * more win64 fixes
* beautified

git-svn-id: trunk@4603 -
2006-09-10 15:58:34 +00:00
florian
bca9b6c132 * fixed several win64 stuff
git-svn-id: trunk@4601 -
2006-09-10 15:14:23 +00:00
peter
5c340d3a98 * openfilename 64bit
git-svn-id: trunk@4554 -
2006-09-04 20:15:02 +00:00
florian
30161f996c + SetProcessAffinityMask from Jean-Philippe Bembel
git-svn-id: trunk@4537 -
2006-09-02 20:27:34 +00:00
daniel
41185d2f1e * Add stdcall procdir to imported sysgettempfilename
git-svn-id: trunk@4527 -
2006-09-01 15:35:22 +00:00
florian
1bf88d54b8 * menuiteminfo patch from Martin Smat
git-svn-id: trunk@4512 -
2006-08-27 19:01:39 +00:00
florian
f8bdc64a96 * fixed possible overflow when getting video mode
git-svn-id: trunk@4456 -
2006-08-19 22:45:56 +00:00
michael
adc889e9ac * fixed bug #0007140, adding overloaded version for SHFileOperation
git-svn-id: trunk@4418 -
2006-08-13 13:45:03 +00:00
florian
3e054f46c3 + sharemem unit
git-svn-id: trunk@4409 -
2006-08-11 22:05:37 +00:00
yury
e062922528 * added an option to use target-specific memory manager instead of standard. This is controlled by HAS_MEMORYMANAGER and HAS_MT_MEMORYMANAGER defines.
* wince executables use C memory manager now (as all apps compiled by eVC++). It saves 5.5 KB of exe size.

git-svn-id: trunk@4282 -
2006-07-23 10:23:31 +00:00
yury
5a49addb35 * fixed more warnings and notes while compiling RTL.
git-svn-id: trunk@4259 -
2006-07-19 19:10:02 +00:00
yury
e1b9814b5d * fixed some warnings and notes while compiling RTL.
git-svn-id: trunk@4256 -
2006-07-19 10:31:15 +00:00
yury
11576fd24b * fixed warnings and notes while compiling system unit for wince.
git-svn-id: trunk@4250 -
2006-07-18 15:00:09 +00:00
marco
6148aec213 * getstartupinfo
git-svn-id: trunk@4238 -
2006-07-17 09:03:31 +00:00
Tomas Hajny
1cc4173738 * GetLongName hasn't been returning real LFN
git-svn-id: trunk@4225 -
2006-07-16 12:46:19 +00:00
yury
451063e187 * removed debug writeln in dirfn.
* fixed I/O error codes for wince.

git-svn-id: trunk@4108 -
2006-07-06 19:02:22 +00:00
Tomas Hajny
37b80b35e7 * fix for (new) bug #7109
git-svn-id: trunk@4039 -
2006-07-01 20:23:23 +00:00
peter
4c065bce45 * move InterLocked functions to system unit
git-svn-id: trunk@3933 -
2006-06-25 09:26:23 +00:00
Almindor
0dba7730b4 * fixed accept, connect, recvfrom and sentto in windows sockets to use the right arguments for winsock2 calls
git-svn-id: trunk@3895 -
2006-06-19 17:03:01 +00:00
oro06
42bd89095f *fix fileopen (please OS2,EMX maintainers have a look)
git-svn-id: trunk@3858 -
2006-06-13 08:15:35 +00:00
Tomas Hajny
a9b515c0bf * fexpand defines kept in platform specific sysutils.pp
git-svn-id: trunk@3726 -
2006-05-28 21:29:26 +00:00
yury
c564dfeb5b * fixed wince console I/O.
git-svn-id: trunk@3720 -
2006-05-28 20:09:57 +00:00
florian
f4e27fd450 * 64 bit file size support
git-svn-id: trunk@3711 -
2006-05-27 21:44:22 +00:00
oro06
c6468d6db2 *wince: previous commit,wrong type
git-svn-id: trunk@3696 -
2006-05-27 15:30:41 +00:00
oro06
2c84728dc1 *wince: criticalsection
git-svn-id: trunk@3684 -
2006-05-26 15:22:18 +00:00
florian
d7776be855 + more SPI* constants by Giulio Bernardi
git-svn-id: trunk@3649 -
2006-05-23 21:37:30 +00:00
peter
0237088689 * remove dos unit from sysutils
git-svn-id: trunk@3620 -
2006-05-21 20:17:17 +00:00
florian
77c4459fd1 * fixed previous commit
git-svn-id: trunk@3617 -
2006-05-21 18:19:09 +00:00
florian
7343039cdd * restore cursor size in DoneVideo
git-svn-id: trunk@3616 -
2006-05-21 18:18:08 +00:00
florian
adec4cdcfa * fix from Maxim Ganetsky to fix CRT output with non latin code pages, should fix #6785
git-svn-id: trunk@3606 -
2006-05-20 21:42:58 +00:00
florian
d36ac1283e * fixed AssignVideoBuf
* fixed some indentions
* fixed possible sign problems

git-svn-id: trunk@3595 -
2006-05-20 18:32:15 +00:00
florian
33baacbe04 * fixed leaking of TThread
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
florian
08d870806f + new BDR_* constants
git-svn-id: trunk@3499 -
2006-05-13 18:47:30 +00:00
florian
4ed1f3657f * fixed previous commit
git-svn-id: trunk@3422 -
2006-05-05 13:08:27 +00:00
florian
b3f93a4f42 + TWM*UIState
git-svn-id: trunk@3419 -
2006-05-05 08:07:12 +00:00
peter
438981a689 * use GetWindowLong for GetWindowLongPtr on 32bit
git-svn-id: trunk@3414 -
2006-05-02 14:37:28 +00:00
micha
76f5a23aff fix 64 bit pointers itemdata
git-svn-id: trunk@3412 -
2006-05-01 21:37:57 +00:00
florian
0f68fde5e6 * delphi compatibility 2
git-svn-id: trunk@3409 -
2006-05-01 19:29:32 +00:00
florian
d3b92ccb6f + more delphi compatibility stuff
git-svn-id: trunk@3407 -
2006-05-01 19:08:19 +00:00
florian
df4ea71e93 + more delphi compatibility defines
git-svn-id: trunk@3404 -
2006-05-01 18:27:57 +00:00
florian
6122e1873c + several new record definitions added
git-svn-id: trunk@3403 -
2006-05-01 18:27:38 +00:00
florian
ae688f2656 + new ODS_* constants
git-svn-id: trunk@3401 -
2006-05-01 16:41:14 +00:00
peter
f268ce71e3 * fix return type of GetClassLong
git-svn-id: trunk@3334 -
2006-04-26 05:59:04 +00:00
peter
3ff142908f * remove packed for win64
git-svn-id: trunk@3333 -
2006-04-26 05:58:46 +00:00
peter
7dc4afdb59 * menuitem fix
git-svn-id: trunk@3327 -
2006-04-23 21:09:41 +00:00
marco
7d66406eed * reformatted + retyped. Reason: bug3508
git-svn-id: trunk@3313 -
2006-04-22 16:05:08 +00:00
Marc Weustink
374ab6cb18 * fixed exception_record for win64
git-svn-id: trunk@3306 -
2006-04-20 23:27:11 +00:00
Marc Weustink
088f30c2f2 * fixed win64 compilation
git-svn-id: trunk@3304 -
2006-04-20 18:53:24 +00:00
Marc Weustink
b7d30936c2 + added AMD64 CONTEXT
git-svn-id: trunk@3303 -
2006-04-20 18:26:34 +00:00
peter
638005f9d3 * fix LRESULT and WPARAM
git-svn-id: trunk@3302 -
2006-04-20 15:35:34 +00:00
peter
5800aca3e7 * add Set/GetWindowLongPtr
git-svn-id: trunk@3293 -
2006-04-20 10:49:25 +00:00
florian
4866975145 + more units for win64
* windows units reorganisation

git-svn-id: trunk@3257 -
2006-04-17 21:39:54 +00:00
florian
807fc6e948 * basic file io fixed for win64
git-svn-id: trunk@3241 -
2006-04-17 08:50:59 +00:00
florian
c8bd730bd7 * the i386 define is cpui386
git-svn-id: trunk@3227 -
2006-04-16 11:44:02 +00:00
florian
4084c4261d + more units for winx64
git-svn-id: trunk@3226 -
2006-04-16 11:37:28 +00:00
florian
1db5db975e * more 64 bit clean up
git-svn-id: trunk@3224 -
2006-04-16 09:42:12 +00:00
armin
52e85b283c changed types for GetDiskFreeSpace[Ex] from longint to longword
git-svn-id: trunk@3222 -
2006-04-15 20:32:16 +00:00
marco
f2ab52a674 * bug5016 and bug5017
git-svn-id: trunk@3216 -
2006-04-15 18:32:34 +00:00
florian
58c01ffd59 * use always GetDiskFreeSpaceEx on Winx64
git-svn-id: trunk@3214 -
2006-04-15 16:56:15 +00:00
florian
598853240c * keep the stack 16 byte aligned on winx64
* fixed some winx64 issues regarding exec

git-svn-id: trunk@3213 -
2006-04-15 16:49:18 +00:00
florian
89f8474388 * unified and moved some win32/win64 stuff
+ more units on win64 compile

git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
oro06
c1ac14c0f3 *arm/wince lib import corrected for Loadlibrary, GetProcAddress
git-svn-id: trunk@2070 -
2005-12-28 15:09:52 +00:00
florian
b88fcfda62 + 64 bit fs support
git-svn-id: trunk@1793 -
2005-11-20 15:50:06 +00:00
yury
398b31226b * Fixed threadvars alignment for ARM CPU.
git-svn-id: trunk@1036 -
2005-09-02 11:58:19 +00:00
florian
0a58f18502 * from Yury Sidorov:
+ Added new target WinCE for i386 (to be able compile and run programs in WinCE emulator)
  + Exceptions work now.
  * System unit seems to be fully working

git-svn-id: trunk@597 -
2005-07-09 09:33:07 +00:00
florian
8adc1c9b0c + RTL part of WinCE patches from Yuri Sidorov
git-svn-id: trunk@572 -
2005-07-03 15:52:27 +00:00
florian
07442c5693 * fixed passing of variant parameters for windows api
* widestrings need to be allocated by a special OS call on windows

git-svn-id: trunk@458 -
2005-06-20 19:56:36 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
florian
ad3b9b9464 * windows rtl restructuring to share code between win32 and win64
* BeginThread can take a qword on 64 bit targets as stacksize

git-svn-id: trunk@287 -
2005-06-08 19:08:49 +00:00