Christopher Faylor
c99126ab96
trivial change
2006-04-14 01:31:14 +00:00
Chris Sutcliffe
9f8b325c45
2006-04-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/winbase.h (GET_MODULE_HANDLE_EX_FLAG_*): Define.
Thanks to: Brandon Sneed <brandon at redf dot net>
2006-04-14 00:14:19 +00:00
Christopher Faylor
853f84e53c
* spawn.cc (spawn_guts): Move ch.set() call back to where it was supposed to
...
be.
2006-04-13 16:11:06 +00:00
Corinna Vinschen
bee0f85727
Bump copyright dates.
2006-04-13 12:14:58 +00:00
Corinna Vinschen
414969016e
* sysconf.cc (sysconf): Add _SC_THREADS, _SC_THREAD_ATTR_STACKSIZE,
...
_SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PROCESS_SHARED,
_SC_THREAD_SAFE_FUNCTIONS, _SC_TIMERS handling.
2006-04-13 12:14:05 +00:00
Christopher Faylor
2e9d484382
* spawn.cc (spawn_guts): Revert patch which treated derived cygwin programs
...
differently from those which are mounted with -X. Pass extra argument to
linebuf::fromargv.
* winf.h (MAXCYGWINCMDLEN): New define.
(linebuf::finish): Add a new argument denoting when command line overflow is
ok.
(linebuf::fromargv): Ditto.
* winf.cc (linebuf::finish): Implement above change.
(linebuf::fromargv): Ditto.
2006-04-13 01:37:00 +00:00
Christopher Faylor
329a39ebea
* Makefile.in (DLL_OFILES): Add winf.o.
...
* spawn.cc: Move command line handling stuff into winf.cc.
* winf.h: New file.
* winf.cc: New file.
2006-04-12 15:53:22 +00:00
Danny Smith
be5542f716
* include/secext.h: Enclose function declarations in extern "C" for
...
__cplusplus.
2006-04-12 08:04:42 +00:00
Chris Sutcliffe
076887efab
2006-04-11 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/comcat.h: INTERFACE should not remain defined
at the end of the header.
* include/docobj.h: Ditto.
* include/exdisp.h: Ditto.
* include/intshcut.h: Ditto.
* include/mlang.h: Ditto.
* include/mshtml.h: Ditto.
* include/oaidl.h: Ditto.
2006-04-11 22:56:08 +00:00
Dimitri Papadopoulos
84ac4d5112
* include/commdlg.h (PD_*): Rearrange.
2006-04-11 08:03:23 +00:00
Dimitri Papadopoulos
9681ad80b9
* include/commdlg.h (PD_*): Define.
...
Thanks to: Wolfgang Glas <softadm at users dot sf dot net>
2006-04-11 07:53:23 +00:00
Danny Smith
e5807db846
* include/iphlpapi.h (GetAdaptersAddresses): Check for winsock2
...
here also.
2006-04-08 03:49:28 +00:00
Dimitri Papadopoulos
cf30e49114
* include/wincrypt.h (PROV_MS_EXCHANGE): Define.
...
We should probably remove PROV_MS_MAIL but I'm keeping it for
now for compatibility reasons.
Thanks to: Marcus Agehall <agehall at users dot sf dot net>
2006-04-07 14:28:35 +00:00
Dimitri Papadopoulos
c7a84ac71f
* include/commdlg.h [WINVER >= 0x0500]
...
(PD_RESULT_*,START_PAGE_GENERAL): Define.
Thanks to: Wolfgang Glas <softadm at users dot sf dot net>
2006-04-07 14:17:28 +00:00
Dimitri Papadopoulos
198785c1d3
* include/wingdi.h [WINVER >= 0x0410]
...
(AlphaBlend,GradientFill,TransparentBlt): Windows 98 and better.
Thanks to: Alessandro Antonello <aleantonello at users dot sf dot net>
2006-04-07 13:41:24 +00:00
Dimitri Papadopoulos
6fca0833c6
* include/wingdi.h (CAPTUREBLT,NOMIRRORBITMAP): Define.
...
* include/commctrl.h (WC_LINK{AW},LIF_*,LIM_*,LM_*,
MAX_LINKID_TEXT,L_MAX_URL_LENGTH): Define.
(LITEM,LHITTESTINFO,NMLINK): Add structures.
Thanks to: Brandon Sneed <brandon at redf dot net>
2006-04-07 13:28:49 +00:00
Dimitri Papadopoulos
7d7113db13
* include/w32api.h (IE*): Define for recent versions of IE.
2006-04-06 12:26:09 +00:00
Dimitri Papadopoulos
a846957047
* include/w32api.h (_W32API_H): Define.
...
Define in addition to _W32API_H_, this is the w32api standard.
2006-04-06 12:21:30 +00:00
Dimitri Papadopoulos
45a450621f
* include/w32api.h (WindowsVista): Define.
2006-04-06 12:18:40 +00:00
Dimitri Papadopoulos
e98a5b1c43
* include/iptypes.h (IP_ADAPTER_*): Define parts that depend
...
on SOCKET_ADDRESS only if winsock2.h has already been included.
2006-04-06 12:16:49 +00:00
Dimitri Papadopoulos
944a4fa770
* include/winuser.h (WM_IME_*): Remove. Defined in imm.h.
2006-04-06 11:53:54 +00:00
Christopher Faylor
f2e6c50869
* fhandler_socket.cc: Move iptypes.h include after winsock2 since it now relies
...
on it.
* net.cc: Ditto.
2006-04-05 16:53:12 +00:00
Christopher Faylor
0ce97eb453
* dcrt0.cc (dll_crt0_0): Move user_data->{resourcelocks,threadinterface}
...
initialization here from dll_crt0_1.
(dll_crt0_1): See above.
2006-04-05 16:42:27 +00:00
Dimitri Papadopoulos
3728ca6538
* include/iphlpapi.h (GAA_FLAG_*): Define.
...
(GetAdaptersAddresses): Add function declaration.
* lib/iphlpapi.def (GetAdaptersAddresses): Add function stub.
Thanks to: ross <rossboulet at users dot sf dot net>
2006-04-05 16:05:04 +00:00
Dimitri Papadopoulos
273243a857
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
...
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
2006-04-05 15:53:58 +00:00
Dimitri Papadopoulos
be95339627
* include/winuser.h (GetWindowExtEx): Removed, belongs to wingdi.h.
...
Thanks to: Sergey Philippov <phis at users dot sf dot net>
2006-04-05 15:06:56 +00:00
Dimitri Papadopoulos
d5ad5abfc2
* include/objidl.h (PIDSI_*): Define.
...
(PRSPEC_*): Define.
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
2006-04-05 14:16:17 +00:00
Dimitri Papadopoulos
1d509e2a22
* include/winbase.h (LOGON32_PROVIDER_WINNT40,
...
LOGON32_PROVIDER_WINNT50, LOGON32_LOGON_NETWORK,
LOGON32_LOGON_UNLOCK, LOGON32_LOGON_NETWORK_CLEARTEXT,
LOGON32_LOGON_NEW_CREDENTIALS): Define.
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
2006-04-05 13:53:14 +00:00
Dimitri Papadopoulos
347fb1920b
* include/mq.h: New file.
...
* lib/mqrt.def: (MQ*): Define a few missing functions.
2006-04-05 10:01:56 +00:00
Dimitri Papadopoulos
024d48dff7
* lib/mqrt.def: New file.
...
Needs the mq.h file to work properly, working on it.
Thanks to: Pascal Obry <pobry at users dot sf dot net>
2006-04-05 07:23:14 +00:00
Dimitri Papadopoulos
e159a2ade2
* include/winerror.h (STG_E_*): Define.
...
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
* include/winerror.h (STG_S_*): Define.
(CO_S_MACHINENAMENOTFOUND): Define.
(RPC_E_*): Define.
(NTE_*): Define.
2006-04-05 07:06:06 +00:00
Joshua Daniel Franklin
6804a9d4e1
faq.using.chmod faq.programming.adjusting-heap
2006-04-05 04:09:55 +00:00
Corinna Vinschen
8ca521afe9
* net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to
...
the same values as on Linux.
2006-04-04 09:54:25 +00:00
Christopher Faylor
9dbb0bc355
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
...
(child_info_fork::alloc_stack): Move into this class.
(child_info_fork::alloc_stack_hard_way): Ditto.
* dcrt0.cc (child_info_fork::alloc_stack): Ditto.
(child_info_fork::alloc_stack_hard_way): Ditto.
(_dll_crt0): Reference alloc_stack via fork_info.
2006-04-03 17:33:07 +00:00
Corinna Vinschen
45bdcc689a
* spawn.cc (linebuf::finish): Drop argument. Don't check command line
...
length.
(spawn_guts): Remove wascygexec. Check real_path.iscygexec instead.
Accommodate change to linebuf::finish.
2006-04-03 17:21:42 +00:00
Christopher Faylor
1a6aafd031
* dcrt0.cc (sm): Delete.
...
(alloc_stack_hard_way): Figure out where the stack lives here rather than
relying on previously filled out information which has been invalid since
1.5.19.
2006-04-03 16:04:02 +00:00
Dimitri Papadopoulos
29c2d97a8c
* include/commctrl.h (ListView_*): Define and correct.
...
(LVM_*): Define.
2006-04-03 13:01:26 +00:00
Dimitri Papadopoulos
4b0baaa5eb
* include/winuser.h (WM_IME_*): Define (DWORD type).
...
(EM_*IMESTATUS): Define.
(WM_*): Define.
(XBUTTON*): Define.
Thanks to: Steve Folly <spfolly at users dot sf dot net>
2006-04-03 09:55:26 +00:00
Christopher Faylor
0a75feea66
* cygwinenv.sgml: Rename fork_retry to proc_retry since it has turned out to be
...
more general than just fork.
2006-04-03 03:37:52 +00:00
Corinna Vinschen
b7b1c2d787
* fhandler_disk_file.cc (FS_IS_SAMBA_WITH_QUOTA): New define.
...
(path_conv::hasgood_inode): Recognize Samba with quota support
compiled in.
(path_conv::is_samba): Ditto. Fix comment to include Samba version
numbers for later reference.
2006-03-31 20:07:13 +00:00
Danny Smith
ab4a589f90
* include/winnetwk.h (WNetGetResourceInformationW): Correct first param.
...
Thanks to: Rene Rivera <grafik at users dot sf dot net>.
2006-03-31 09:08:47 +00:00
Corinna Vinschen
bb09410538
* security.h (sec_user_nih): Make sid1 argument mandatory.
...
(sec_user): Ditto.
2006-03-30 16:08:50 +00:00
Christopher Faylor
8f31f3f481
* include/winspool.h: Protect use of PRINTER_ENUM_VALUESW with proper version
...
conditional.
2006-03-30 04:01:43 +00:00
Christopher Faylor
6f9b3203f2
* sigproc.cc (wait_for_sigthread): Use the current user sid when setting up the
...
signal pipe rather than relying on (eventually) the effective sid.
2006-03-30 00:57:59 +00:00
Dimitri Papadopoulos
e47e7d6b02
* include/winspool.h (JOB_INFO_3): Add structure.
...
(PROVIDOR_INFO_*{AW}): Add structure.
* include/winspool.h [_WIN32_WINNT >= 0x0500]
(PRINTER_ENUM_VALUES{AW}): Add structure.
(PRINTPROCESSOR_CAPS): Add structure.
2006-03-29 17:10:00 +00:00
Dimitri Papadopoulos
d74d033ddd
* include/winspool.h [_WIN32_WINNT >= 0x0500]
...
(PRINTER_INFO_7A): Correct definition.
2006-03-29 12:41:58 +00:00
Dimitri Papadopoulos
fddb260daa
* include/winspool.h [_WIN32_WINNT >= 0x0500]
...
(DRIVER_INFO_7A): Correct definition.
2006-03-29 12:41:10 +00:00
Dimitri Papadopoulos
69356fef69
* include/winspool.h [_WIN32_WINNT >= 0x0500]
...
(DRIVER_INFO_*{AW}): Add structure.
(PRINTER_INFO_*{AW}): Add structure.
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
2006-03-29 12:23:08 +00:00
Dimitri Papadopoulos
aee7cf676e
* include/winspool.h [_WIN32_WINNT >= 0x0500]
...
(DRIVER_*MODE): Define (DWORD type).
Thanks to: Roland Schwingel <rolandschwingel at users dot sf dot net>
2006-03-29 11:56:38 +00:00
Christopher Faylor
12b3371289
* dcrt0.cc (child_info_fork::handle_fork): Set uid/gid in myself so that it can
...
be used by subsequent startup functions.
(dll_crt0_0): Issue a warning if DuplicateTokenEx fails and DEBUGGING.
(dll_crt0_1): Move user_data->{resourcelocks,threadinterface} initialization
here from dll_crt0_0.
* fork.cc (frok::child): Tell wait_for_sigthread that this is fork.
(frok::parent): Only initialize start_time once. Tighten time when we're
"deimpersonated".
* sigproc.cc (signal_fixup_after_exec): Rework (futiley) sa_buf stuff. Add
debugging output.
(wait_for_sigthread): Accept an argument which illustrates whether we are
forked or not.
(wait_sig): Avoid using myself pointer.
* winsup.h ((wait_for_sigthread): Reflect change to argument.
2006-03-29 06:35:25 +00:00