Jason Volk
a5bed9b058
bandb: Convert rsdb_sqlite3 + suggested printf attribute.
2016-07-25 12:29:47 -07:00
Jason Volk
b68010df31
Merge pull request #203 from jevolk/master
...
Bison C++ linkage + build improvements
2016-07-25 10:56:37 -07:00
Jason Volk
4796bec441
Activate PCH for position independent code.
...
Cuts compilation time by 30%+
2016-07-25 00:54:38 -07:00
Jason Volk
1eb7d4f319
configure.ac: Use stddef.h as dead header.
...
/dev/null cannot be used on windows, and /dev/null appears as modified
dependency when checking the PCH.
2016-07-25 00:54:38 -07:00
Jason Volk
d1edbc0e58
Complete the C++ linkage with flex/bison.
2016-07-25 00:54:38 -07:00
Jason Volk
530faa46a4
Add --with-included-boost=shared because it is not going to be installed.
2016-07-25 00:54:38 -07:00
Jason Volk
649561f79f
configure.ac: adjust version to meet integral targets.
2016-07-25 00:54:38 -07:00
Jason Volk
e06f50a5de
travis: Make a record of installed build util version numbers.
2016-07-25 00:54:20 -07:00
Jason Volk
9951e63d56
Recognize subdirectories as make targets.
2016-07-24 21:15:54 -07:00
Jason Volk
78ad65f386
ircd/rb: Move some remaining macros to rb.
2016-07-24 21:15:47 -07:00
Jason Volk
02119375b1
Add --disable-pch configuration option.
2016-07-23 19:40:18 -07:00
Jason Volk
31f4d0d699
Fix rb.h.gch compilation flags.
2016-07-23 19:40:18 -07:00
Jason Volk
983f0bc154
Fix configure.ac macro expression.
2016-07-23 19:40:18 -07:00
William Pitcock
8fed90ba8a
Merge pull request #198 from jevolk/cpp
...
Full C++14 integration.
2016-07-22 23:46:44 -05:00
Jason Volk
404239eb60
Build system cleanup.
2016-07-22 19:46:28 -07:00
Jason Volk
c9bef62db8
travis.yml: Update for C++
2016-07-22 19:46:28 -07:00
Jason Volk
02a1175d79
appveyor: Add callback shellcode.
...
If you feel the need to peep around.
2016-07-22 19:46:28 -07:00
Jason Volk
8f03786300
ircd: Use rb_socklen_t type.
2016-07-22 19:46:28 -07:00
Jason Volk
1a8ed13747
ircd: Make Chm::mode_type unsigned long.
2016-07-22 19:46:28 -07:00
Jason Volk
ac577c1322
Regress brace init relaxation for clang.
2016-07-22 19:46:28 -07:00
Jason Volk
7ad2bf79bc
m4: Update CHARYBDIS_C_GCC_TRY_FLAGS, which has a $CFLAGS impurity.
2016-07-22 19:46:28 -07:00
Jason Volk
5ed274e082
m4: Add macro argument to pass an SD-6 feature test number.
...
This test against the __cplusplus #define value allows for a more
granular feature test.
2016-07-22 19:46:28 -07:00
Jason Volk
69e345aac7
m4: Fix error in ax_cxx_compile_stdcxx macro script.
2016-07-22 19:46:28 -07:00
Jason Volk
191c856d77
m4: Rename argument.
2016-07-22 19:46:27 -07:00
Jason Volk
e7e7f8ff9f
Convert bison.
...
NOTE: This only has "C" linkage right now.
2016-07-22 19:46:27 -07:00
Jason Volk
754a6d9b5c
ircd: add local .gitignore.
2016-07-22 19:46:27 -07:00
Jason Volk
7d0d2add64
appveyor: Update for C++
2016-07-22 19:46:27 -07:00
Jason Volk
748faeb264
Improve warnings.
2016-07-22 19:46:27 -07:00
Jason Volk
8873731aa0
Attempt at shipping boost.
2016-07-22 19:46:27 -07:00
Jason Volk
834964c659
Convert IRCd to C++
...
Happy 28th birthday. You're all grown up.
2016-07-22 19:46:27 -07:00
Jason Volk
7cea4c784d
ircd: Merge the defaults/ircd_defs stuff for now.
...
ircd/rb: Move some lowish level macros down to rb.
2016-07-21 20:51:02 -07:00
Jason Volk
ffb2f63850
ircd: newconf: Fix const correctness.
2016-07-21 20:51:02 -07:00
Jason Volk
ac4dda1e67
Towards a leak-free repository.
...
Adds a Makefile target 'mrproper' though this only works on new versions of AC.
2016-07-21 20:51:02 -07:00
Jason Volk
ea53aab823
Refactor repository layout.
...
* librb is no longer a separately configured subproject.
* charybdis is now a standalone directory with a binary.
* Include path layout now requires a directory ircd/ rb/ etc.
2016-07-21 20:51:02 -07:00
Jason Volk
007c6bf496
ircd/librb: Move "AFP" macro from ircd to rb.
2016-07-19 22:38:56 -07:00
Jason Volk
b903059075
Autotools preparation for GNU++14.
...
Files with the suffix .cpp will automatically integrate.
2016-07-19 22:38:56 -07:00
Jason Volk
acd516444a
Fix header compatibility with c++ dialects.
...
This allows the option of at least -std=gnu++14 for new translation units.
Changes are trivial.
2016-07-19 22:38:56 -07:00
Jason Volk
de800bd3d7
ircd: Fix log error.
2016-07-19 22:35:49 -07:00
William Pitcock
3ec073dc83
Merge pull request #201 from jevolk/master
...
ircd: Fix missing operhash reference decrement from b02a913b
.
2016-07-19 18:14:50 -05:00
Jason Volk
fbcb6a2549
ircd: Fix missing operhash reference decrement from b02a913b
.
2016-07-19 15:59:35 -07:00
Jason Volk
d58468f03b
Fix erroneous return value.
2016-07-16 11:49:19 -07:00
Aaron Jones
8a5fb52836
reference.conf: Document fingerprint generation
...
[ci skip]
2016-07-16 05:42:58 +00:00
Jason Volk
4928572037
travis: Fix GCC compiler environment.
2016-06-30 21:07:03 -07:00
William Pitcock
7f6e873ec7
Merge pull request #197 from jevolk/mapi3
...
Module API Version 3 + ratbox package
2016-06-28 22:19:57 -05:00
Jason Volk
e8355cb7be
MAPI Version 3
...
This version leverages a flexible, cleaner key-value strategy
reducing the need to design entire new headers for every feature
addition, change, etc.
* A friendly declaration for the module authors, with minimal
requirements to fill in, and explicit labels of what the fields are.
* Repetition of keys, removing references to (and the requirement to
build) a clist, hlist and hfnlist and caplist and whatever the future
holds.
* Safe deterministic loading and unloading. Keys are evaluated in
order, errors can be recognized, and unloading occurs in reverse
order.
ircd: Refactor internal half of modules.c, with some V3 additions.
Provides better delegation for versions, a cleaner stack with better
error handling, and some functionality deduping. V1 and V2 handlers
are still somewhat unaltered, just factored in.
2016-06-28 20:14:09 -07:00
Jason Volk
97a4adae40
ircd/librb: epoch needs a john hancock
2016-06-28 20:14:09 -07:00
Jason Volk
ba7cb82ab3
librb: Add backtrace support and trace on assertions.
2016-06-28 20:13:52 -07:00
Jason Volk
5a0016ccbd
librb: Minor cleanup of rb_dlink.h
...
Add prototypes; some macro cleanup.
2016-06-28 17:00:14 -07:00
Jason Volk
c5698b0276
librb: Move bool type stuff from ircd stdinc to rb.
2016-06-28 17:00:14 -07:00
Jason Volk
1490dd36b5
librb: Add missing rb_dictionary.h to rb_lib.h list.
2016-06-28 17:00:14 -07:00