Commit Graph

110 Commits

Author SHA1 Message Date
Love Hornquist Astrand 0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Asanka C. Herath 6d662f71d7 Windows: Fix export lists 2010-11-29 10:53:49 -05:00
Asanka C. Herath 9d7227d1c1 Windows: Fix missing exports 2010-11-24 15:32:47 -05:00
Love Hornquist Astrand cf925c82b8 typecase to avoid warning 2010-09-15 22:47:52 -07:00
Asanka Herath e3ce1ff01b lib/wind/test-normalize.c: Dump failing vectors
If a Unicode string fails a normalization test, dump it so we can
figure out why its failing.
2010-08-20 13:09:48 -04:00
Asanka Herath 12909ec109 lib/wind: Canonical ordering can't use unstable sort 2010-08-20 13:09:45 -04:00
Asanka Herath f807cb8152 Windows: Update exports 2010-08-20 13:07:58 -04:00
Asanka Herath ba44354336 Windows: Check exported symbols
During a test run, cross check the Windows exports list against the
version-script files.  For the test to pass, all symbols on either
list should be accounted for.

If there are symbols that are specific to Windows or symbols that are
not included on Windows, they should be annotated in the .def file as
follows:

    ;!  non_windows_symbol

    	common_symbol

        windows_only_symbol ;!
2010-08-20 13:06:55 -04:00
Asanka Herath d83611238a Windows: Build a single heimdal.dll
Heimdal.dll is a combination of libasn1, libwind, libhcrypto, libhx509
and libkrb5.
2010-08-20 13:06:54 -04:00
Asanka Herath ea4d8dbfdb Windows: Use EXEPREP and DLLPREP macros for processing binaries
Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
2010-08-20 13:04:06 -04:00
Asanka Herath 24cbddd4b9 Resolve warnings on Windows
Appease the compiler by resolving some of the reported warnings,
including:

- Control paths that don't return.

- Potentially uninitialized variables.

- Unused local variables.

- Unreachable code.

- Type safety.

- Synchronize declarations with definitions for functions.
2010-08-20 13:03:38 -04:00
Asanka Herath e9160dbcfa Support parallelized builds on Windows 2010-08-20 13:03:32 -04:00
Love Hornquist Astrand abcbfe08fb don't use python if (!maintainer mode and we have built files) 2010-05-26 11:03:41 -05:00
Love Hornquist Astrand af0f2717c2 test case compare 2010-05-01 11:45:40 +02:00
Love Hornquist Astrand a76daa7e35 support WIND_PROFILE_LDAP_CASE 2010-03-29 01:13:30 -07:00
Love Hornquist Astrand 04d3215d39 _wind_ucs2read is not a private symbol 2010-02-02 20:16:47 -08:00
Asanka Herath 1d624801c1 Compile on windows
- include <stdlib.h>
- export file
- fill out structs to make it compile with visual studio

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 12:33:37 -08:00
Love Hornquist Astrand c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hornquist Astrand 1e9ec73bbc [HEIMDAL-646] aix
AIX qsort() is unstable and might change the order of the elements
if they are equal, libwind require them to be in the same order as they were
on the input, pull in FreeBSD qsort and use that instead of AIX version.
2009-10-11 15:08:58 -07:00
Love Hornquist Astrand e1b14b7854 Use right type when mallocing data (allocated too much) 2009-10-11 15:08:27 -07:00
Love Hornquist Astrand 377543e78e use size_t for index 2009-10-11 14:36:46 -07:00
Love Hornquist Astrand 93f0e450cc fix sizeof, only matter on platforms where sizeof(unsigned) != sizeof(uint32_t) 2009-10-11 12:22:19 -07:00
Love Hornquist Astrand 983d0f66f1 print lineno 2009-10-11 12:18:22 -07:00
Love Hornquist Astrand 9bace01559 Check for malloc(0) to make AIX happy
Prompted by [HEIMDAL-646] by Anton Lundin
2009-09-24 07:32:35 -07:00
Love Hornquist Astrand 9e4bc686d3 drop rcsid 2009-09-07 21:22:46 -07:00
Love Hornquist Astrand d0aadb9a0d Fix depenencies for test_punycode
This only matters in development enviroments and where you run make check.
2009-07-16 22:26:43 -07:00
Love Hörnquist Åstrand 1ba2a45b7b ep not use, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:20 +00:00
Love Hörnquist Åstrand fea9aa5894 don't set unused variables, move cc to propper scope.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:42 +00:00
Love Hörnquist Åstrand 7f8bf49564 makefile fixes from Martin von Gagern
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:27 +00:00
Love Hörnquist Åstrand 940cbcfcae drop libnwind.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:39 +00:00
Love Hörnquist Åstrand 80842059fc drop HAVE_CONFIG_H
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:31:00 +00:00
Love Hörnquist Åstrand 24a0e35602 Spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:27:49 +00:00
Love Hörnquist Åstrand ed56de38d9 make profiles const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-23 22:05:05 +00:00
Love Hörnquist Åstrand d9e9b83469 add libnwind.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:35 +00:00
Love Hörnquist Åstrand 8e7e0f8130 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 02:59:51 +00:00
Love Hörnquist Åstrand 6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand 7bb270c1ee x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 20:38:30 +00:00
Love Hörnquist Åstrand 47c72666f4 Try to do depencies better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 20:38:17 +00:00
Love Hörnquist Åstrand 2ef3feda03 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:02 +00:00
Love Hörnquist Åstrand 2e03f4d7b4 add punycode_examples.[ch] to built files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:24:45 +00:00
Love Hörnquist Åstrand ae06abd499 replace <stdint.h> with <krb5-types.h>, From David Leonard
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-27 14:42:17 +00:00
Love Hörnquist Åstrand 722f28d740 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:29:18 +00:00
Love Hörnquist Åstrand a40cae4e15 Add utf8 <-> utf16 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:29:04 +00:00
Love Hörnquist Åstrand 2f72a8df7a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:28:13 +00:00
Love Hörnquist Åstrand bb63782258 generate files into the source tree
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:27:54 +00:00
Love Hörnquist Åstrand f370e599b8 Clean built files in maintainer mode.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:27:36 +00:00
Love Hörnquist Åstrand 28241ed5cf Build python files into source tree, add propper depenencies.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:27:18 +00:00
Love Hörnquist Åstrand 937cd16799 Support utf8 to utf16 conversion.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-01 22:25:41 +00:00