summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2016-05-19build system: when building from a git repo, explicitly depend on .git/index.midipix2-4/+4
2016-05-15build system: remove generic dependency on version.tag.midipix1-2/+2
Since git-status touches several files (including .git/index), a generic object file dependency on version.tag means that all objects get recompiled whenever git-status is invoked. This patch works around this problem at the cost of ad-hoc dependency rules for specific objects.
2016-05-15nt_socket.h: added NT_AFD_POLL_CONNECT_FAIL.midipix1-0/+1
2016-05-14__ntapi_sc_wait(): fix return value assignment after a successful wait.midipix1-3/+1
2016-05-14__ntapi_tt_sync_block_lock(): properly handle signedness.midipix1-1/+2
2016-05-14__ntapi_tt_generic_memset(): properly handle signedness.midipix1-1/+1
2016-05-14__ntapi_log_write(): properly handle signedness.midipix1-2/+2
2016-05-14__ntapi_tt_get_argv_envp_utf16(): properly handle signedness.midipix1-1/+1
2016-05-14__blt_popcount(): properly handle signedness.midipix1-1/+2
2016-05-14__ntapi_pty_query(), __ntapi_pty_set(): remove an always-false comparison.midipix2-2/+2
2016-05-14__is_bmp_code_point(): remove an always-true comparison, add readability.midipix1-3/+2
2016-05-14ntapi_tt_get_option(): properly declare static inlined functions.midipix1-2/+2
2016-05-14nt_sync.h: union _nt_sync_block: changed type of lock_tries to int32_t.midipix1-1/+1
2016-05-14code maintenance: properly initialize struct entities.midipix4-8/+16
2016-05-14code maintenance: mark unused parameters.midipix24-0/+82
2016-05-14code maintenance: remove unused variables.midipix1-1/+0
2016-05-14build system: PE targets: handle subsystem setting in pe.mk.midipix2-3/+3
2016-05-14project: remove direct linker invocation sysroot assignment (no longer needed).midipix1-3/+0
2016-05-14project: free-standing environment: LDFLAGS_SHARED: add missing -nostdlib.midipix1-1/+1
2016-05-14build system: upgrade build system, eliminate differences in core definitions.midipix30-161/+751
Prior to this patch, there were several differences between this project's build system and the one from which it was derived (sofort). Although the differences were very minor and for the most part related to this project being part of a free-standing, midipix-specific development framework, they still added an extra maintenance burden, specifically by requiring that common changes be applied via patch(1) rather than git-am(1). Following recent improvements to the common build system, it is now possible to have a free-standing, midipix-specific project without any changes to the core build system files, hence the current upgrade.
2016-05-14__ntapi_pty_connect(): added resilience.midipix1-1/+17
This patch accounts for zw_map_view_of_section() returning NT_STATUS_CONFLICTING_ADDRESSES (0xC0000018) due to third-party software thread creation upon process initialization. The conflict occurs when the address of the stack that is allocated for the third-party thread happens to coincide with the internal section address which was derived from the parent. As should be noted, and while we could decide to always reset ctx->section_addr prior to mapping the internal section, the advantage of the current solution (when acocmpanied by the wrapping calls to __ntapi_log_write) consists in the indication as to whether third-party thread creation had interfered with internal process initialization routines.
2016-05-14internals: __ntapi_log_write(): initial implementation.midipix2-0/+67
2016-05-14debug: remove dead buffer.midipix1-3/+1
2016-05-07daemon init routine: internal client init: take a more robust code path.midipix2-10/+14
Following this change, the temporary internal client thread is created only after the daemon dedicated thread has signaled the daemon-is-ready event.
2016-04-21build system: remove syslibdir support, fix related typo in config.usage.midipix3-10/+1
2016-04-21build system: added empty --prefix and --exec-prefix support.midipix1-2/+8
2016-04-21build system: set proper defaults to the various directory variables.midipix2-21/+10
2016-04-21build system: added --exec-prefix support.midipix4-0/+11
2016-04-21build system: properly use DESTDIR in conjunction with individual variables.midipix3-16/+16
2016-04-21build system: remove erroneous build-time references to LIBDIR.midipix2-8/+8
2016-04-01socket interfaces: added afd poll-related definitions.midipix1-0/+25
2016-04-01socket interfaces: ntapi_sc_connect_v2(): fix ipv6 support.midipix1-0/+11
2016-03-27socket interfaces: __ntapi_sc_recv(): added connectionless datagram support.midipix2-8/+31
2016-03-23socket interfaces: __ntapi_sc_send(): added connectionless datagram support.midipix2-8/+41
2016-03-22socket interfaces: sc_shutdown(): remove non-native code path and constants.midipix2-29/+5
2016-03-22struct nt_socket: split the client reserved member into 'state' and 'iomode'.midipix1-1/+2
2016-03-22socket interfaces: sc_getpeername: initial integration.midipix7-0/+134
Integration of this function into the library has been delayed since the AFD ioctl operation, while succeeding, seems to only memset the caller's address buffer, and accordingly to never copy the remote socket address to it. Callers of sc_getpeername() should therefore first check the return value for success -- which may be used as indication that the socket is connected -- and then test the returned address buffer for validity.
2016-03-22nt_socket.h: fixed AFD IOCTL definitions.midipix1-2/+5
2016-03-02__ntapi_pty_read_write(): defer thread-based pty ownership to posix layer.midipix1-3/+0
2016-02-28zw_delay_execution(): fix signature.midipix1-1/+1
2016-02-27build system: configure: call make host.tag in quiet mode.midipix1-1/+1
2016-02-27build system: Makefile.in: .display-env: $(CROSS_COMPILE)'s label now matches.midipix1-1/+1
2016-02-27build system: Makefile.in: added the .display-project virtual target.midipix1-2/+7
2016-02-27build system: render detection of the native compiler informational only.midipix1-4/+4
2016-02-27build system: added fallback compiler recipe.midipix2-0/+36
2016-02-27build system: configure: fix usage() for out-of-tree builds.midipix1-1/+1
2016-02-27build system: configure, host.sh: use modern portable shell idioms.midipix2-23/+23
2016-02-27build system: added fallback host recipe.midipix5-2/+34
2016-02-27build system: --toolchain: initial implementation.midipix9-57/+51
2016-02-27build system: toolchain archiver: pass arguments as commands.midipix1-1/+1