Commit Graph

98 Commits

Author SHA1 Message Date
sezero
32967f8b64 gendef.c (getMemonic): add /* fallthru */ comments in the switch to avoid -Wimplicit-fallthrough 2017-06-15 09:50:44 +03:00
sezero
c730648362 gendef configury: fix function checks when --with mangle is specified. 2017-03-07 23:43:51 +03:00
sezero
4bcf9b54b1 gendef.c (main): run imp32_free() before returning to avoid leaks. 2017-03-07 18:21:07 +03:00
sezero
0eef7fef97 gendef.h: fix unbalanced #pragma pack(1) 2017-03-07 18:21:07 +03:00
sezero
4faccd5d56 fix gendef segmentation fault when running with certain dlls.
In map_va(), if sec->Misc.VirtualSize is 0, use sec->SizeOfRawData
instead. Fixes bug #592: https://sourceforge.net/p/mingw-w64/bugs/592/
2017-03-07 17:01:25 +03:00
sezero
209fc0c683 fix use-after-free 2017-03-07 13:42:51 +03:00
sezero
06f93e74a4 remove pointless -O3 -g from gendef_CFLAGS 2017-03-07 13:42:37 +03:00
sezero
8a6eb68ff9 '\x0' -> '\0' 2017-03-07 13:39:36 +03:00
sezero
05ef7694d1 fix HAVE_STRLWER typo 2017-03-07 13:39:17 +03:00
sezero
0f4019dc20 update config.guess and config.sub from upstream 2015-03-19 11:22:28 +02:00
sezero
63949b3e1d update config.guess and config.sub from mainstream 2014-09-27 19:56:24 +03:00
sezero
50c78e65bf autotools update 2014-08-10 20:00:03 +03:00
Ozkan Sezer
f43ef38d0c merge r6389 from trunk to fix a memory corruption.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@6401 4407c894-4637-0410-b4f5-ada5f102cad1
2013-12-08 09:01:32 +00:00
Ozkan Sezer
b6628f29f3 update config.guess and config.sub from upstream sources at git.savannah.gnu.org
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@4630 4407c894-4637-0410-b4f5-ada5f102cad1
2011-11-19 12:40:24 +00:00
Ozkan Sezer
3c7859292d Add gdiplus from mingw.org sources: Original work was by Markus Koenig
<basilo@users.sourceforge.net>.  Patch to integrate into mingw-w64 was
provided by Mark Dootson <mark.dootson@znix.com>.

mingw-w64-headers/include/

	* gdiplus.h: New.
	* gdiplus/gdiplus.h: New.
	* gdiplus/gdiplusbase.h: New.
	* gdiplus/gdiplusbrush.h: New.
	* gdiplus/gdipluscolor.h: New.
	* gdiplus/gdipluscolormatrix.h: New.
	* gdiplus/gdipluseffects.h: New.
	* gdiplus/gdiplusenums.h: New.
	* gdiplus/gdiplusflat.h: New.
	* gdiplus/gdiplusgpstubs.h: New.
	* gdiplus/gdiplusgraphics.h: New.
	* gdiplus/gdiplusheaders.h: New.
	* gdiplus/gdiplusimageattributes.h: New.
	* gdiplus/gdiplusimagecodec.h: New.
	* gdiplus/gdiplusimaging.h: New.
	* gdiplus/gdiplusimpl.h: New.
	* gdiplus/gdiplusinit.h: New.
	* gdiplus/gdipluslinecaps.h: New.
	* gdiplus/gdiplusmatrix.h: New.
	* gdiplus/gdiplusmem.h: New.
	* gdiplus/gdiplusmetafile.h: New.
	* gdiplus/gdiplusmetaheader.h: New.
	* gdiplus/gdipluspath.h: New.
	* gdiplus/gdipluspen.h: New.
	* gdiplus/gdipluspixelformats.h: New.
	* gdiplus/gdiplusstringformat.h: New.
	* gdiplus/gdiplustypes.h: New.
	* configure.ac: Add GDIPLUSHEAD_LIST as a new header list.
	* configure: Regenerate.
	* Makefile.am: Add gdiplusheaddir and gdiplushead_HEADERS.
	* Makefile.in: Regenerate.

mingw-w64-crt/

	* lib32/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
	* lib64/gdiplus.def: New, generated from version 1.1.7601.17514 dll.
	* libsrc/gdiplus.c: New.
	* Makefile.am: Add gdiplus defs and sources to build.
	* Makefile.in: Regenerate.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@4614 4407c894-4637-0410-b4f5-ada5f102cad1
2011-11-17 07:52:30 +00:00
Ozkan Sezer
d47beaecec set latest svn information in revstamp.h. removed empty changelogs.
marked the current state as stable in _mingw.mac.h.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/stable/v2.x@4535 4407c894-4637-0410-b4f5-ada5f102cad1
2011-10-09 15:11:00 +00:00
Ozkan Sezer
684c2f0a3d updated autotools files under build-aux from upstream sources
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/branches/releases/v2_branch@4377 4407c894-4637-0410-b4f5-ada5f102cad1
2011-08-10 19:45:44 +00:00
Jonathan Yong
5d7446086c Use autoconf 2.67 and automake 1.11 to regenerate all subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/branches/releases/v2_branch@4372 4407c894-4637-0410-b4f5-ada5f102cad1
2011-08-10 11:48:07 +00:00
Jonathan Yong
47523a87c2 Changelog move on new year.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3932 4407c894-4637-0410-b4f5-ada5f102cad1
2011-01-02 11:04:05 +00:00
Ozkan Sezer
ee6a6c9f57 update config.guess and config.sub from upstream sources
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3706 4407c894-4637-0410-b4f5-ada5f102cad1
2010-10-07 12:06:04 +00:00
Ozkan Sezer
443a7b5f02 configure.ac: fix typo which broke --with-mangle configuration option.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3572 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-14 20:37:44 +00:00
Ozkan Sezer
4cf7e73b98 update config.sub from upstream sources.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3569 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-14 11:00:37 +00:00
Kai Tietz
d2c83653cb Fix issue about comment in comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3560 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-13 11:38:35 +00:00
Kai Tietz
53763ffd23 Fix some escaped debugging code, and modify id() print.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3559 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-13 11:35:39 +00:00
Kai Tietz
2b4ab5f368 Alter display of signed integers and unsigned integers in output.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3558 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-13 11:21:36 +00:00
Kai Tietz
9ce81e1fe5 Fix some type outputs.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3557 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-13 11:09:40 +00:00
Ozkan Sezer
7cf38939ab updated config.guess and config.sub from upstream sources.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3509 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-06 08:37:46 +00:00
Jonathan Yong
22a2817611 2010-09-01 Jonathan Yong <jon_y@users.sourceforge.net>
* configure.ac: Rework to avoid using user variables.
        * Makefile.am: Likewise.
        * configure: Regenerate.
        * Makefile.in: Likewise.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3475 4407c894-4637-0410-b4f5-ada5f102cad1
2010-09-01 17:01:04 +00:00
Jonathan Yong
c2b7c32d84 2010-08-29 Jonathan Yong <jon_y@users.sourceforge.net>
* src/fsredir.c (doredirect): Use GetModuleHandleW instead of LoadLibraryA.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3446 4407c894-4637-0410-b4f5-ada5f102cad1
2010-08-29 12:48:10 +00:00
Jonathan Yong
7e92ca6ba8 2010-08-29 Jonathan Yong <jon_y@users.sourceforge.net>
* src/fsredir.c (doredirect): Use GetModuleHandleW instead of LoadLibraryA.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3445 4407c894-4637-0410-b4f5-ada5f102cad1
2010-08-29 12:46:33 +00:00
Ozkan Sezer
f44df7e17d update config.guess and config.sub from upstream savannah git repo
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3099 4407c894-4637-0410-b4f5-ada5f102cad1
2010-08-03 13:24:19 +00:00
Jonathan Yong
922caa25ed 2010-07-23 Jonathan Yong <jon_y@users.sourceforge.net>
* src/gendef.c (decode_mangle): Adjust libmangle_gc_context to
        libmangle_gc_context_t and libmangle_tokens to libmangle_tokens_t
        to reflect API change in libmangle.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2931 4407c894-4637-0410-b4f5-ada5f102cad1
2010-07-23 03:09:21 +00:00
Kai Tietz
bd65031cce Fix a potential double-free and a possible null-pointer access.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2924 4407c894-4637-0410-b4f5-ada5f102cad1
2010-07-22 10:32:25 +00:00
Kai Tietz
85bd6895f0 Simplify and more reliable 64-bit retpop initialization (prevents wrongly read in @<n> of 32-bit .def to get outputed to processed .def
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2923 4407c894-4637-0410-b4f5-ada5f102cad1
2010-07-22 10:18:52 +00:00
Kai Tietz
16d99358a9 2010-07-22 Kai Tietz <kai.tietz@onevision.com>
* src/gendef.c (dump_def): Fix output of @0 for 64-bit.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2922 4407c894-4637-0410-b4f5-ada5f102cad1
2010-07-22 10:16:10 +00:00
Jonathan Yong
2f363623c7 2010-07-22 Jonathan Yong <jon_y@users.sourceforge.net>
*src/gendef.c (decode_mangle): Rename sGcCtx to libmangle_gc_context.
        Rename pMToken to libmangle_tokens.
        Rename decode_ms_name to libmangle_decode_ms_name.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2920 4407c894-4637-0410-b4f5-ada5f102cad1
2010-07-22 09:58:17 +00:00
Kai Tietz
5f717760d0 Add experimental header export feature. Additional prevent wrong custom
data dump for interfaces and dispinterfaces.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2417 4407c894-4637-0410-b4f5-ada5f102cad1
2010-05-22 18:59:34 +00:00
a256fx
89dcf841fe Added lisence to gendef/genidl fsredir.h/c files
Added a lisence to the header of the files identical to gnedef.h/c

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2364 4407c894-4637-0410-b4f5-ada5f102cad1
2010-05-12 02:28:19 +00:00
Ozkan Sezer
31cbb1c0c9 updated config.guess and config.sub from upstream sources.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2349 4407c894-4637-0410-b4f5-ada5f102cad1
2010-05-03 14:56:03 +00:00
Ozkan Sezer
717d3775b7 formatting/whitespace fix for ChangeLog
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2303 4407c894-4637-0410-b4f5-ada5f102cad1
2010-05-02 15:01:14 +00:00
Jonathan Yong
d38423727c New "--disable-fs-redirector" option for gendef and genidl.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2274 4407c894-4637-0410-b4f5-ada5f102cad1
2010-05-01 12:45:00 +00:00
Kai Tietz
dcb907bbbc 2010-03-20 Kai Tietz <kai.tietz@onevision.com>
* src/gendef_def.c (gendef_getsymbol_info): Handle ordinals forwarders, too.



git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2089 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-20 08:44:23 +00:00
NightStrike
c6641c561d Add AM_MAINTAINER_MODE to all packages to disable automatic rebuilding by default
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2021 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-05 19:25:18 +00:00
NightStrike
a43e9c663c Missed one dash/underscore
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2008 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:48:48 +00:00
NightStrike
b599c020c9 Missed one dash/underscore
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2006 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:46:50 +00:00
NightStrike
9807d635a9 Keep underscore/dash paradigm
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2005 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:44:56 +00:00
NightStrike
8f9434ba54 Add all source files to sources list
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2003 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:42:17 +00:00
NightStrike
baad90ccf2 Enable distcheck for gendef
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2002 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:40:01 +00:00
NightStrike
0ba755871d Remove extraneous configury parts from old methodology
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1998 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 20:18:15 +00:00
NightStrike
89db44adc5 Major cleanup of gendef build system to support conditional libmangle
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1997 4407c894-4637-0410-b4f5-ada5f102cad1
2010-03-04 19:41:19 +00:00