1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Ruben Oliveira Chiavone
50185aec02
Fail build if compiling extensions raises warnings (#1953) (#2494)
* Fail build if compiling extensions raises warnings (#1953)

Make warning into errors and also fix all compiler warnings reported in
mini_ssl source code.

* Fix some compiler warnings and errors reported by checks

* Add MAKE_WARNINGS_INTO_ERRORS env variable

MAKE_WARNINGS_INTO_ERRORS environment variable toggles whether a build should
treat all warnings into errors or not.

Move appending WERRORFLAG to cflags after OpenSSL methods verification because
on some specifics builds this causes mkmf to wrongly detect methods in OpenSSL
headers.

* Add noentry to write date to avoid unused variables

* Ignore implicit-fallthrough warnings

Those warnings are related to ragel state machine generated code.

* Enforce no warnings on GH Actions

* Update History.md file reflecting latest changes
2020-12-01 06:51:16 -07:00
Charles Oliver Nutter
46709adcd3
Eliminate callback objects and indirection altogether.
There's only ever one implementation of these, so just call them
directly.
2019-10-05 16:05:35 -05:00
Charles Oliver Nutter
c81b0dd3d2
Reduce accesses of runtime, parser by passing through. 2019-10-05 12:33:04 -05:00
Tawan Sierek
403b1b968d Fix java parser generation
`rake ragel` failed due to renaming the ragel machine from
`http_parser` to `puma_parser` in 3726b7ef19.
The problem was probably overseen since the file
http11_parser.java.rl has not been touched at this commit
and therefore the rake task did not invoke the parser
generation for the java parser.
2016-01-31 18:56:33 +01:00
Charles Oliver Nutter
0e316b2c20 Fix use of "unsafeBytes" leading to offset errors and regen parser. 2011-11-22 16:23:34 -06:00
Charles Oliver Nutter
d692475955 First pass updating JRuby bits for Puma.
* Rename Mongrel to Puma and move files appropriately
* Add HttParser11#body method
* Fix native.rake to not attempt C ext under JRuby
* Mask out all of test_unix_socket.rb under JRuby
2011-11-22 13:43:54 -06:00
Evan Phoenix
40dac162a2 Change name of parser extension to puma_http11 2011-10-04 20:35:50 -07:00
Renamed from ext/http11/http11_parser.java.rl (Browse further)