Opened 18 years ago

Closed 18 years ago

Last modified 12 years ago

#124 closed task (fixed)

Minor SwEng improvements

Reported by: Jan Wassenberg Owned by: Jan Wassenberg
Priority: If Time Permits Milestone: Pre-Alpha 1
Component: Core engine Keywords: cleanup
Cc: Patch:

Description (last modified by Jan Wassenberg)

Some possibilities for minor improvement noticed while cruising by:

  • premake: document extra_params
  • ogl: remove EXT_ symbols, use glext instead
  • debug_stl: prefix symbols with debug_stl
  • adts: move cache into separate file (also remove old cache impl)
  • wgl: prevent multiple include
  • move SDL files in sysdep/win to libraries/SDL
  • delay_load uses NLSO ctor to register functions. require load_notify to be called at init time. (rationale: this no longer works since splitting up into several static libs)
  • wsock_init: call via module init, have it do load_notify call
  • ScopeTimerAccrue: change #ifdef spaghetti into templated policy class
  • app_hooks, define VOID_FUNC to FUNC(.., (void) )
  • look at stalk walk code; any reason not to work on Win64?
  • replace ERR_TEX_CODEC_CANNOT_HANDLE with INFO_* - not an error. also ERR_SYM_SUPPRESS_OUTPUT ERR_SYM_SINGLE_SYMBOL_LIMIT
  • wdbg_sym: only import RtlCaptureContext once (not every walk_stack)
  • add sys_last_error (GetLastError on win32); converts to text in display_error, also show sys_last_error and errno
  • app_hooks: move i18n impl out (belongs in pyrogenesis)
  • move non-lib asm code into separate asm file; split out memcpy and color code from ia32_asm.asm
  • rename all C headers to C++ name (e.g. cmath) Deemed not worth the effort.
  • fix mem leaks No longer happens.
  • move GUIbase.h errors (DECLARE_ERROR) into philip's error mechanism, remove DECLARE_ERROR, remove ps/errors.h Separate ticket.

Change History (8)

comment:1 by Jan Wassenberg, 18 years ago

Description: modified (diff)

comment:2 by Jan Wassenberg, 18 years ago

(In [4020]) # lots of housekeeping/fixes

premake: document extra_params ogl: remove EXT_ symbols, use glext instead adts: move cache into separate file (also remove old cache impl) move SDL files in sysdep/win to libraries/SDL ScopeTimerAccrue: change #ifdef spaghetti into templated policy class app_hooks, define VOID_FUNC to FUNC(.., (void) ) look at stalk walk code; any reason not to work on Win64? replace ERR_TEX_CODEC_CANNOT_HANDLE with INFO_* - not an error. also ERR_SYM_SUPPRESS_OUTPUT ERR_SYM_SINGLE_SYMBOL_LIMIT wdbg_sym: only import RtlCaptureContext once (not every walk_stack) add sys_last_error (GetLastError on win32); converts to text in display_error, also show sys_last_error and errno app_hooks: move i18n impl out (belongs in pyrogenesis) fixes to string_s test.

refs #124

comment:3 by Jan Wassenberg, 18 years ago

Description: modified (diff)

comment:4 by Jan Wassenberg, 18 years ago

Description: modified (diff)

comment:5 by Jan Wassenberg, 18 years ago

(In [4039]) # improvements to build system for asm files split ia32_asm code up into memcpy, color premake: add (windows-only so far) support for NASM include paths - required when using %include. see rationale in vs.c refs #124

comment:6 by Jan Wassenberg, 18 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

comment:7 by (none), 14 years ago

Milestone: ASAP

Milestone ASAP deleted

comment:8 by historic_bruno, 12 years ago

Milestone: Pre-Alpha 1
Note: See TracTickets for help on using tickets.