summaryrefslogtreecommitdiff
path: root/src/win32
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "cmake: Update Windows resources to reflect the optional vendor string"Vicent Marti2013-06-121-1/+5
| | | | This reverts commit 095bfd748766966f5515bdfe64867d6a09287123.
* Fix Windows warningsRussell Belfer2013-06-121-0/+1
| | | | | This fixes problems with missing function prototypes and 64-bit data issues on Windows.
* thread: fix segfault on Windows 64 bitsyorah2013-05-301-1/+3
| | | | | | `lpExitCode` is a pointer to a long. A long is 32 bits wide on Windows. It means that on Windows 64bits, `GetExitCodeThread()` doesn't set/clear the high-order bytes of the 64 bits memory space pointed at by `value_ptr`.
* cmake: Update Windows resources to reflect the optional vendor stringnulltoken2013-05-221-5/+1
| | | | Make InternalName and OriginalFilename resources reflect the name of the compiled binary.
* calloc() to initialize memoryLinquize2013-05-161-1/+1
|
* Fix trailing whitespacesnulltoken2013-05-152-2/+1
|
* Unify whitespaces to tabsLinquize2013-05-151-57/+57
|
* Merge pull request #1547 from ethomson/win32_statVicent Martí2013-05-061-1/+12
|\ | | | | p_stat() should follow symlinks on windows
| * p_stat() should follow symlinks on windowsEdward Thomson2013-05-041-1/+12
| |
* | allow checkout to proceed when a dir to be removed is in use (win32)Edward Thomson2013-05-031-1/+12
|/
* Make indexer use shared packfile open codeRussell Belfer2013-04-222-6/+10
| | | | | | | | | | | The indexer was creating a packfile object separately from the code in pack.c which was a problem since I put a call to git_mutex_init into just pack.c. This commit updates the pack function for creating a new pack object (i.e. git_packfile_check()) so that it can be used in both places and then makes indexer.c use the shared initialization routine. There are also a few minor formatting and warning message fixes.
* Fixes for Windows cas/threading stuffRussell Belfer2013-04-221-6/+11
|
* Fix whitespace in src/win32/version.hPhilip Kelley2013-03-311-2/+2
|
* Add git_has_win32_version helperPhilip Kelley2013-03-312-1/+21
|
* Win32 error reporting: Support WinHTTP errorsPhilip Kelley2013-03-311-18/+54
|
* Fixes and cleanupsRussell Belfer2013-03-182-17/+18
| | | | | Get rid of some dead code, tighten things up a bit, and fix a bug with core::env test.
* Switch search paths to classic delimited stringsRussell Belfer2013-03-182-45/+29
| | | | | | | | | | | | This switches the APIs for setting and getting the global/system search paths from using git_strarray to using a simple string with GIT_PATH_LIST_SEPARATOR delimited paths, just as the environment PATH variable would contain. This makes it simpler to get and set the value. I also added code to expand "$PATH" when setting a new value to embed the old value of the path. This means that I no longer require separate actions to PREPEND to the value.
* Implement global/system file search pathsRussell Belfer2013-03-152-60/+160
| | | | | | | | | | | | | | | | | | | | | | | The goal of this work is to expose the search logic for "global", "system", and "xdg" files through the git_libgit2_opts() interface. Behind the scenes, I changed the logic for finding files to have a notion of a git_strarray that represents a search path and to store a separate search path for each of the three tiers of config file. For each tier, I implemented a function to initialize it to default values (generally based on environment variables), and then general interfaces to get it, set it, reset it, and prepend new directories to it. Next, I exposed these interfaces through the git_libgit2_opts interface, reusing the GIT_CONFIG_LEVEL_SYSTEM, etc., constants for the user to control which search path they were modifying. There are alternative designs for the opts interface / argument ordering, so I'm putting this phase out for discussion. Additionally, I ended up doing a little bit of clean up regarding attr.h and attr_file.h, adding a new attrcache.h so the other two files wouldn't have to be included in so many places.
* Merge pull request #1373 from arrbee/why-cdecl-whyVicent Martí2013-02-282-1/+11
|\ | | | | Why cdecl why?
| * Fix some deprecation warnings on WindowsRussell Belfer2013-02-282-1/+9
| | | | | | | | | | This fixes some snprintf and vsnprintf related deprecation warnings we've been having on Windows with recent compilers.
| * Add GIT_STDLIB_CALLRussell Belfer2013-02-281-0/+2
| | | | | | | | | | | | This removes the one-off GIT_CDECL and adds a new standard way of doing this named GIT_STDLIB_CALL with a src/win32 specific def when on the Windows platform.
* | w32-posix: Wrap the `timezone` declaration with a clauseVicent Marti2013-02-281-0/+3
|/ | | | Allows compilation in newer versions of MinGW that already defined it.
* Win32: Use constants in version resource definitions where possibleSven Strickroth2013-02-271-2/+2
| | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Change git2.rc to identify git.dll as VOS_NT_WINDOWS32Philip Kelley2013-02-131-1/+1
|
* Fix Windows symlinksJameson Miller2013-02-081-1/+1
|
* Moved braces to conform to code stylePatrick Pokatilo2013-02-081-2/+1
|
* Replace LoadLibrary with GetModuleHandle, since kernel32 is loaded by defaultPatrick Pokatilo2013-02-081-3/+3
| | | | As requested
* Replace call to strnlen with call to strlenPatrick Pokatilo2013-02-081-6/+5
|
* Include <string.h>Patrick Pokatilo2013-02-081-0/+1
|
* Fix call to readlinkPatrick Pokatilo2013-02-081-1/+4
|
* Call p_readlink to determine symlink sizePatrick Pokatilo2013-02-071-0/+13
|
* Merge pull request #1303 from csware/win32_consistent_error_encodingVicent Martí2013-02-012-0/+54
|\ | | | | Win32: Make sure error messages are consistently UTF-8 encoded
| * Deduplicate FormatMessage UTF-16 to UTF-8 conversion codeSven Strickroth2013-02-022-0/+54
| | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | Stick to coding style: Move up bracesSven Strickroth2013-02-011-6/+3
| | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | Detect msysgit installation of users without admin rightsSven Strickroth2013-01-311-4/+7
| | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | Refactored: Move msysgit registry detection to it's own functionSven Strickroth2013-01-312-17/+25
|/ | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* update copyrightsEdward Thomson2013-01-0815-15/+15
|
* Fix MSVC compilation warningsnulltoken2012-12-171-1/+0
|
* Fix warnings on Win64 buildRussell Belfer2012-11-271-3/+3
|
* Clean up config.hBen Straub2012-11-271-1/+1
|
* Minor optimization in win32 do_lstatEduardo Bart2012-11-201-3/+2
|
* update win32 lstat commentEduardo Bart2012-11-191-5/+2
|
* Fix win32 lstatEduardo Bart2012-11-191-19/+7
|
* Add POSIX compat lstat() variant for win32Russell Belfer2012-11-144-57/+90
| | | | | | | | | | The existing p_lstat implementation on win32 is not quite POSIX compliant when setting errno to ENOTDIR. This adds an option to make is be compliant so that code (such as checkout) that cares to have separate behavior for ENOTDIR can use it portably. This also contains a couple of other minor cleanups in the posix_w32.c implementations to avoid unnecessary work.
* Move inet_pton to posix platform-compatibility layerEduardo Bart2012-11-072-1/+44
|
* Incremental improvements to pack-objects logicPhilip Kelley2012-10-171-0/+3
| | | | Incorporate feedback for incr. improvements to pack-objects
* Support pthread_cond_* on Win32Philip Kelley2012-10-162-0/+72
|
* Merge pull request #952 from csware/config-locationsVicent Martí2012-10-162-0/+172
|\ | | | | Config location fixes
| * Move win32 specific stuff to win32/findfile.cSven Strickroth2012-10-022-0/+172
| | | | | | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* | Always use internal fnmatch, not systemRussell Belfer2012-10-151-1/+0
|/