461 Commits

Author SHA1 Message Date
Nicolas Boulenguez
20bf52aa37 Pass ADAFLAGS to include.gpr and add CPPFLAGS to CFLAGS.
This patch does not apply the common style flags to include/*, it only
allow explicit user flags (ADAFLAGS) to override default flags.

The External is in shared.gpr so that there is only one environment
lookup for each variable.
2020-04-20 14:39:48 +02:00
Dmitriy Anisimkov
bde9f5a194 Don't raise error on Flush repeat
S325-036
2019-09-25 16:33:23 +06:00
Dmitriy Anisimkov
ce404d1e48 Synchronize with zlib-ada repository 2019-09-25 15:26:05 +06:00
Dmitriy Anisimkov
2814995677 Update ZLib sources to the latest version 1.2.11
S201-013
2019-02-03 18:47:18 +01:00
Dmitriy Anisimkov
f38f41b98b Use "to" instead of "for" in English properly. 2018-07-22 23:15:57 +06:00
Dmitriy Anisimkov
4211dfdea7 Synch with original ZLib-Ada repository
ZLib-Ada original repository ssh://git.code.sf.net/p/zlib-ada/git
was accepted all AWS modifications and returns one back to AWS here.
At this stage include/zlib?* files absolutely equal to zlib-ada
sources after commit 4b89ae14ca71f8584f8202b8f9bf8874f26431a9.
2018-07-16 05:18:52 +06:00
Pascal Obry
9c181ea8a9 Merge branch 'po/send-socket-set'
* po/send-socket-set:
  Add support for sending WebSocket messages without blocking.
  Add support for memory socket.
  Add support for sending the same data to a Socket_Set.
  Add new routine Pending in Memory_Stream.
  Minor style fixes.
2015-11-17 19:17:28 +01:00
Pascal Obry
412442839e Refine previous fix.
For OB15-006.
2015-11-16 18:47:09 +01:00
Pascal Obry
7408fef0bb Fix Zlib/Gzip footer data encoding.
The Gzip footer is an 8 bytes array. The first four bytes are for the
CRC and the last four bytes are the total size of the uncompressed
data modulo 2 ** 32.

For OB15-006.
2015-11-15 17:51:28 +01:00
Pascal Obry
7017509416 Add new routine Pending in Memory_Stream.
This routine returns the number of byte yet to be read.

Part of OA28-005.
2015-11-08 19:31:20 +01:00
Dmitriy Anisimkov
0cc23276ea Fix error on append value after constant access.
OB04-011
2015-11-04 18:45:37 +06:00
Pascal Obry
be9f73b780 Minor style fixes. 2015-11-04 08:19:30 +01:00
Pascal Obry
4e4159335f Rename makefile to Makefile (GNU standard)
This is also what GPS expects by default.

For O604-017.
2015-06-16 17:20:29 +02:00
Pascal Obry
7b66658db1 Minor style fixes.
Remove superfluous with and use clauses.
Remove superfluous type conversion.

Contributed by Nicolas Boulenguez.
2014-08-18 19:01:35 +02:00
Pascal Obry
0b8e5d2e19 Add support for external CFLAGS, ADAFLAGS and LDFLAGS for building.
Contributed by Nicolas Boulenguez.
2014-08-18 11:40:16 +02:00
Pascal Obry
4fd283479f Minor style fixes. 2014-08-01 23:39:08 +02:00
Pascal Obry
f2db7e6f01 Mark zlib project as not to be installed.
We never want the .h to be installed with AWS sources. These are really
for internal use by AWS.
2014-04-29 18:45:57 +02:00
Dmitriy Anisimkov
19de2c4c7b Update ZLib to current release 1.2.8 2014-01-13 09:54:21 +01:00
Pascal Obry
a0a73228e9 Set compilation to Ada 2012.
Part of MA30-042.
2013-12-09 10:51:08 +01:00
Pascal Obry
49a90d338a Use Ada 2012 aspect instead of pragma.
Part of MA30-042.
2013-12-09 10:50:36 +01:00
Pascal Obry
99bdaa2bdd Minor reformatting. 2013-12-09 10:50:36 +01:00
Pascal Obry
9f4055b2d8 Rework the installation using gprinstall.
This simplifies the makefile circuitry and will make the maintenance
of this part of the code easier.

For MA30-041.
2013-11-08 13:23:19 +01:00
Pascal Obry
4e4524da58 Build a single AWS library using an aggregate library.
This is a nice build clean-up where now a single library (libaws.a
or libaws.so) will be created for the AWS runtime. This runtime will
also contains the zlib built for AWS if requested.

For MA30-040.
2013-11-06 16:36:13 +01:00
Pascal Obry
bbf0004064 Clean-up license sections, remove obsolete parts.
For M204-005.
2013-02-04 18:54:14 +01:00
Pascal Obry
d7d45c4936 Remove reference to Strings_Cutter component.
This component has been removed.

Part of M204-005.
2013-02-04 18:54:14 +01:00