Commit Graph

3829 Commits

Author SHA1 Message Date
Gigablast
33a05b17c1
Merge pull request #184 from CompunixAustralia/standard-cpp11
Standard cpp11
2021-06-18 15:58:30 -06:00
CompunixAu
96cba626fa Cleaned up 2021-06-18 20:15:19 +00:00
CompunixAu
4eae9e81de Updated throw to new C++11 standard 2021-06-18 20:02:08 +00:00
Gigablast
126f85364e
Merge pull request #182 from CompunixAustralia/issue-168
Issue 168. Partial fix of segfault on startup.
2021-06-18 09:45:58 -06:00
Gigablast
05850c92a4
Merge pull request #183 from onlyjob/pragma
backported #pragma_pack-related fixes from primacore fork (Closes: #86, #179)
2021-06-18 09:43:43 -06:00
Dmitry Smirnov
45c29fe649 Fixed m_buf-related FTBFS in XmlDoc.cpp to align with previous cherry-picked commits. (Closes: #86, #179) 2021-06-18 13:30:34 +10:00
Ivan Skytte Jørgensen
9b02e87913 Removed global #pragma pack(4) from <types.h>
The global setting was causing fragility other places requiring include order
to be specific. Remoed the global "#pragma pack(4)" and replaced it with the
equally ugly "__attribute__((packed, aligned(4)))", but at least it is explicit
and doesn't interfere with system and 3rd-party header files and libraries.

Origin: e4323f397f
2021-06-18 13:07:08 +10:00
Ivan Skytte Jørgensen
62af7c9cfa Made padding in Inlink explicit
Origin: 3f8e094a25
2021-06-18 13:06:32 +10:00
Ivan Skytte Jørgensen
80ca589751 Removed explicit m_buf[0] from InjectionRequest
Origin: 1f6305087e
2021-06-18 13:05:42 +10:00
Ivan Skytte Jørgensen
aa89c75565 Removed explicit m_buf[0] from Msg25Request
Origin: ce5a6cf3a9
2021-06-18 13:05:18 +10:00
Ivan Skytte Jørgensen
8d8552b027 Removed explicit m_buf[0] from Msg13Request
Origin: ef3b8a343b
2021-06-18 13:04:51 +10:00
Ivan Skytte Jørgensen
8eba33f359 Removed explicit m_buf[0] from Msg39Request/Msg39Reply
This also fixes the sizeof/(...) versus &m_buf-this confusion which is currently
harmless but a bug in the upcoming encoding changes.

Origin: e57fb2f72c
2021-06-18 13:04:21 +10:00
Ivan Skytte Jørgensen
1a2693dc12 Removed explicit m_buf [0] member from Msg20Request/Msg20Reply
And some comment cleanup

Origin: b82536583f
2021-06-18 13:03:48 +10:00
Ivan Skytte Jørgensen
e006d52d09 Use general serialize/deserialize functions in Msg20Request
Origin: f6efc87728
2021-06-18 13:03:09 +10:00
Ivan Skytte Jørgensen
85e1874de5 Use general serialization/deserialization functions in msg20
Origin: 7f6b3e4f7e
2021-06-18 13:02:32 +10:00
Ivan Skytte Jørgensen
36027e9ddb Removed unnecessary clearing in Msg20Request::reset()
memset(this...) was already done so the pointers were reset too, so no need for
additional memset()

Origin: 807218902e
2021-06-18 13:00:54 +10:00
CompunixAu
014ed8d7dc Issue 168. Partial fix of segfault on startup. 2021-06-17 16:27:33 +00:00
Gigablast
5b3f7677c0
Merge pull request #175 from onlyjob/codespell
codespell: spelling corrections
2021-05-09 10:28:31 -06:00
Gigablast
4d80cc4f95
Merge pull request #180 from onlyjob/build
make: build fixes and improvements
2021-05-09 10:23:56 -06:00
Dmitry Smirnov
670b8647ee L:image-file-has-conflicting-name, fixed file name inconsistencies (Closes: #173) 2021-05-09 16:37:45 +10:00
Dmitry Smirnov
d9fe286116 make: sync FLAGS for 32bit architectures 2021-05-09 15:02:07 +10:00
Dmitry Smirnov
83d7ebf4c4 make: "gb" target to build "gb.pem" if required. 2021-05-09 15:02:06 +10:00
Dmitry Smirnov
857a62d3ba make: moved build instructions to README. 2021-05-09 15:02:06 +10:00
Dmitry Smirnov
64cf6411b2 make: parametrise "-O2" and remove very unstable "-O3". 2021-05-09 14:49:59 +10:00
Dmitry Smirnov
ff6fe922d9 make: build and check "gb.pem"; updated expired "gb.pem" (Closes: #178).
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2021-05-09 11:08:19 +10:00
Dmitry Smirnov
b1ace63607 codespell: spelling corrections 2021-05-06 01:52:55 +10:00
Gigablast
9bf4fd2e63
Merge pull request #170 from onlyjob/master
cleanup
2021-05-04 23:55:20 -06:00
Dmitry Smirnov
50d2cf9bc1 Removed obsolete private libiconv (Closes: #167) 2021-05-05 12:56:40 +10:00
Dmitry Smirnov
c124eda914 cleanup: remove local zlib. All distros provide zlib1g-dev. 2021-05-05 10:36:21 +10:00
Dmitry Smirnov
3a55b74050 cleanup: removed useless local binaries (libgcc.a libc.a) 2021-05-05 10:24:45 +10:00
Dmitry Smirnov
e18d2396a6 Removed private OpenSSL [hygiene,FTBFS]. All distros provide OpenSSL. 2021-05-05 10:20:11 +10:00
Dmitry Smirnov
7a2bca9649 Compile with "-std=c++98" to fix FTBFS (Closes: #164)
~~~~
Mem.cpp:233:8: error: declaration of ‘void* operator new(size_t) throw (std::bad_alloc)’ has a different exception specifier
  233 | void * operator new (size_t size) throw (std::bad_alloc) {
      |        ^~~~~~~~
~~~~
2021-05-05 10:07:55 +10:00
Gigablast
9146f05574
Merge pull request #157 from shijuraj/master
Merge pull request #1 from gigablast/master
2020-05-04 08:55:25 -06:00
Shijuraj J
c1e5f9fd7f
Merge pull request #1 from gigablast/master
Commits on Jun 02, 2017
2019-09-21 08:24:58 +05:30
Gigablast
4a943f1c79 Merge pull request #136 from vonbetz/master
Fix infinite loop on malformed proxy.
2017-06-02 11:32:56 -06:00
Zak Betz
f10fdada73 Fix infinite loop on malformed proxy. 2017-06-02 11:28:58 -06:00
Matt
3d248732d0 fix to shut up app checker. 2016-11-04 17:28:26 -06:00
Matt
c0b2cdb60a hide the verify disk writes parm, seems to be causing
cores when activated. and shouldn't really need to be used.
is for debugging disk issues.
2016-11-04 17:09:15 -06:00
Matt
8891100c2a fix add url on root page to set collnum properly.
fix Summary::getBestWindow() underrun bug.
2016-04-06 10:31:04 -06:00
Matt
70ca2fe48c update ./gb -h desc for ./gb inject. 2016-04-05 21:06:38 -06:00
Gigablast
f5d0045b43 Merge pull request #82 from vonbetz/testing
Fix for сацминэнергорф --> сацминэнерго.рф in getDisplayUrl(...)
2016-03-29 13:12:56 -06:00
Zak Betz
3c140b87aa Merge branch 'testing' of https://github.com/gigablast/open-source-search-engine into testing 2016-03-29 12:42:05 -06:00
Zak Betz
cf7ec13de6 Fix international domain printing bug. 2016-03-29 12:41:34 -06:00
Matt
33e76af1d1 Merge branch 'testing' 2016-03-29 04:11:30 -06:00
Matt
816d69b34c a lot of bug fixes thanks to isj. 2016-03-29 04:08:17 -06:00
Matt
5072e851b7 fix misspelling 2016-03-28 17:26:40 -06:00
Matt
5935619eb2 hack on parentUrlDocId to the json object dump
of diffbot objects.
2016-03-28 12:39:48 -06:00
Matt
cab6d5c519 fix keysize==8 bug in keycmp 2016-03-28 09:17:01 -06:00
Matt
b65a16caee Merge branch 'diffbot-testing' into testing 2016-03-22 16:25:21 -06:00
Matt Wells
3c743a7d0e allow more docids to be downloaded/served in search results. 2016-03-22 15:24:33 -07:00