Commit Graph

457 Commits

Author SHA1 Message Date
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
Pascal Obry
da09106f7e Add proper support for cross-environments.
This patch makes it possible to build AWS in native and cross
environments from the same tree. That is the build happen now
into .build/<target_name> AWS's root directory. The installation
is also done in specific directories for the cross builds
$prefix/$target.

Moreover generating OS constants and type definitions (in AWS.OS_Lib)
is done using xoscons and a template. This way it is possible to
create AWS.OS_Lib for a cross-target. It is then now possible to
remove the VxWorks specific AWS.OS_Lib (aws-os_lib__vxworks.ads) as
this can now be generated.

Generally this patch fix wrong uses of host kind where target is
meant. Consequently, some clean-ups and simplifications have
occured in makefiles.

For LA06-001.
2012-10-14 21:49:59 +02:00
Pascal Obry
ddc390d4be Use GNAT.String_Split instead of Strings_Cutter.
Remove unit Strings_Cutter from include.
2012-09-26 15:43:39 +02:00
Pascal Obry
7f28dee594 Use GNAT.SHA1 API instead of AWS own's.
General code clean-up, remove reference to obsolete unit in readme.txt.
2012-09-26 15:16:25 +02:00
Dmitriy Anisimkov
b86450ca1b Synchronize ZLib-Ada sources with original repository 2012-08-30 14:21:45 +07:00