1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

21 Commits

Author SHA1 Message Date
Daniel Collins
ce8d9be9ca Stream logs back to test script in 30-ip-ipx.t 2024-11-03 12:39:09 +00:00
Daniel Collins
623d2c3df4 Work around some bugs on Windows 98
- Call CreateThread() with non-NULL lpThreadId pointers.

- Ignore InitializeCriticalSectionAndSpinCount() return values.

- Skip log file locking when unimplemented.

- Add missing wsock32.dll entry points.
2024-07-04 21:45:04 +01:00
Daniel Collins
6f468a2316 Load main configuration from ipxwrapper.ini (#15). 2024-06-25 12:05:06 +01:00
Daniel Collins
5062920b1d Allow disabling logging entirely (#18). 2024-06-18 00:06:07 +01:00
Daniel Collins
53bfadc0e5 Add option to enable/disable profiling. 2023-11-19 21:49:52 +00:00
Daniel Collins
904b60d21b Log function profiling statistics every 10 seconds. 2019-08-24 16:06:41 +01:00
Daniel Collins
7e6280b560 Record times taken within stub functions
Reporting not done yet.

Call logging broken (for now).
2019-08-23 20:25:14 +01:00
Daniel Collins
4cdca80c4b Don't do any cleanup in DllMain() during process termination.
Subtle crashes are fun. I found this to cause a deadlock, but only
after adding lots of extra debug logging to diagnose a DIFFERENT bug
and only when running it on a particular machine.

But once both of those criteria are met? It crashes pretty reliably.
2017-06-18 03:12:13 +01:00
Daniel Collins
fab32bf974 Use get_main_config() to load correct log level from registry in stub DLLs. 2012-12-01 14:34:14 +00:00
Daniel Collins
ebcf1673e2 REFACTOR ALL THE THINGS. 2012-10-21 10:26:52 +00:00
Daniel Collins
e7c6358044 Updated logging API. 2011-11-16 21:32:59 +00:00
Daniel Collins
322b2fe97d Added tray icon and menu with exit option to ipxrouter. Added filename argument to log_open. 2011-09-18 14:36:24 +00:00
Daniel Collins
b888762538 Rewrote DLL loading code to avoid corrupting the system error code. 2011-09-11 13:28:41 +00:00
Daniel Collins
bbfbcb79cd Lots of code cleanup. 2011-08-28 21:27:06 +00:00
Daniel Collins
adfdff8fb7 Log DLL and function names in ipxwrapper.log instead of seperate log file. 2011-08-11 20:36:35 +00:00
Daniel Collins
fb68a9a593 Cleaned up logging code, added log timestamps (using GetTickCount) and changed calls in router code to prevent it from generating extra log messages. 2011-07-13 22:56:19 +00:00
Daniel Collins
f2ca6e3028 Log all stub DLL calls in winsock_calls.txt if enabled in the registry. 2011-06-16 23:55:20 +00:00
Daniel Collins
cbbc7f13b1 Terminate stub symbol names correctly and optionally log calls 2011-05-10 00:21:38 +00:00
Daniel Collins
f0ea3fbea9 Call LoadLibrary() in first find_sym() call rather than DllMain() in stub DLLs as it causes crashes in some conditions. 2011-05-08 20:57:07 +00:00
Daniel Collins
75c0f30518 Rewrote stub generation code to create ASM code, no more unimplemented functions due to missing declarations! 2009-01-25 17:06:29 +00:00
Daniel Collins
4d28856065 Imported current tree into SVN 2008-12-09 21:36:07 +00:00