Commit Graph

170 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
a83357ed03 Fix GitLab mirror failing on GitHub PR refs
The mirror workflow cloned with --mirror and pushed all refs, including GitHub's refs/pull/*, which GitLab rejects as hidden refs, failing the whole push. Clone --bare and push only refs/heads/* and refs/tags/* with --prune, keeping deletion sync while never touching PR refs.
2026-07-23 18:34:16 +02:00
Gioacchino Mazzurco
40db9d6bfe Fix G10h4ck contributions copyright attribution 2026-06-14 16:08:51 +02:00
Gioacchino Mazzurco
400bf3092e Add github workflow to automatically sync to gitlab.com repo 2026-06-14 14:36:13 +02:00
csoler
178aa8ebce
Merge pull request #4 from nicoroeser/fix-c23-varname-keyword-clash
Fix variable name collision with C23 keyword ‘bool’
2025-05-12 09:43:58 +02:00
Nicolas Roeser
7a4c375dc6 Make code compatible with C23
C23 defines ‘bool’ as a keyword. The code used it as a variable, which
caused builds to fail with e.g. GCC 15, which by default assumes C23
sources.

Rename variables to prevent the conflict. The variables are only used
internally.
2025-05-10 18:02:57 +02:00
csoler
634f701d44
Merge pull request #3 from csoler/SS_33
added the possibility to choose the hash algorithm in keypair generation
2024-12-09 21:31:18 +01:00
Cyril Soler
c003682130 added the possibility to choose the hash algorithm in keypair generation 2024-10-26 20:58:03 +02:00
csoler
df542663d8
Merge pull request #2 from csoler/SS_33
Partially fixes backward compatibility between RNP and OpenPGP-SDK
2024-10-09 20:38:54 +02:00
Cyril Soler
6d0ba9013f removed debug info 2024-08-29 22:48:52 +02:00
Cyril Soler
8519b3bf62 added parsing of signature subpacket 33 (RFC 9580 - 5.2.3.35) 2024-08-29 22:45:59 +02:00
csoler
a364741f62
Merge pull request #1 from thunder2/fix_msys2
Fixed MSYS2 compile with gcc 14
2024-08-11 16:47:36 +02:00
thunder2
c487b647a7 Fixed MSYS2 compile with gcc 14 2024-07-08 20:38:25 +02:00
Gioacchino Mazzurco
b416679127
Furter cleanup after OpenPGP-SDK split 2022-01-11 12:25:50 +01:00
thunder2
c8fdbe4498 Moved compiler flags for warnings to retroshare.pri 2022-01-04 00:33:04 +01:00
Gioacchino Mazzurco
9bed312374 Merge pull request #2522 from G10h4ck/cmake_build
Add support to build via CMake
2021-12-09 17:50:30 +01:00
Gioacchino Mazzurco
66a0356f14 Initial CMake support for libretroshare
libretroshare (not all build options yet) and it's dependencies can now
  be built using CMake instead of qmake.
Even Qt itself deprecated qmake, which is not developed anymore, as
  build system and it was making many things much more difficult
  and requiring an enormous amount of black magic to support a wide
  range of platforms.
libretroshare can now easly be build as static or shared library with
  simple commands and a maintaniable build system:
```
cmake \
	-D RS_LIBRETROSHARE_STATIC=OFF -D RS_LIBRETROSHARE_SHARED=ON \
	-S $YOUR_RS_SOURCE_DIR/libretroshare/ -B .
make
```
2021-12-09 13:04:06 +01:00
hunbernd
05b3fb90d9 Merge remote-tracking branch 'remotes/retroshare/master' into feature/msys2enhancements 2020-06-19 22:48:43 +02:00
Klaus Eisentraut
dea421825d cherrypicked missing include from https://github.com/public/OpenPGP-SDK/pull/3 by @agl 2020-06-02 23:18:34 +02:00
hunbernd
762718a3e5 Clang support 2020-05-30 02:16:59 +02:00
Gioacchino Mazzurco
89278136dc Fix a few compiler warnings 2020-04-14 12:17:02 +02:00
Gioacchino Mazzurco
b7c6b3f4e7 Add COPYING
Fixes #1790
2020-04-01 16:35:22 +02:00
defnax
ee40e63f74 Merge pull request #39 from RetroShare/master
update to master
2019-12-19 17:43:28 +01:00
Gioacchino Mazzurco
f324fdc104 Improve license according to REUSE 3.0
FSFE licensing checking program lint is now happy

$ reuse lint

* Bad licenses:
* Missing licenses:
* Unused licenses:
* Used licenses: AGPL-3.0-only, AGPL-3.0-or-later, Apache-2.0, CC-BY-SA-4.0, CC0-1.0, GPL-3.0-or-later, LGPL-3.0-or-later, MIT
* Read errors: 0
* Files with copyright information: 6324 / 6324
* Files with license information: 6324 / 6324

Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)
2019-12-18 17:57:20 +01:00
Gioacchino Mazzurco
43a4e172d2 Use SPDX standard names for licenses 2019-12-18 13:08:22 +01:00
Gioacchino Mazzurco
0df7a3334d Prepare for merging 2019-11-27 18:44:10 +01:00
csoler
ed0e2301ae Merge pull request #1406 from csoler/v0.6.5-DebianPackaging
V0.6.5 debian packaging
2018-11-11 14:27:41 +01:00
csoler
222dd8364f moved qmake files in openpgpsdk to Apache-2.0 2018-11-11 14:24:49 +01:00
csoler
9e93ccea63 fixed licenses in FeedReader 2018-11-11 14:24:46 +01:00
Gioacchino Mazzurco
1217e81324 Remove _USE_32BIT_TIME_T windows define
Why did we added it in first place?
2018-10-07 13:07:22 +02:00
csoler
e8f2945e81 license fix in pqi 2018-05-28 22:03:39 +02:00
csoler
64677ce941 fixed wrong commit with copy-pasted code 2018-05-24 19:50:07 +02:00
csoler
312c8b0ddd added missing license to some libresapi files 2018-05-21 20:17:54 +02:00
Gioacchino Mazzurco
0eaa0ffb13 Multiple improvements to build process
Restructure and document retroshare.pri variables and helper functions
Link sqlite statically like other libraries on Android
qmake has multiple win32-* specs match them correctly
Move a buch of generic thing to retroshare.pri instead of having them replocated
  accross project specific .pro
Fix retroshare-gui too many symbols exported on windows liking error by adding
  QMAKE_LFLAGS+=-Wl,--exclude-libs,ALL
Rename retroshare-gui/src/util/win32.h because the name is too prone to
  confusion and build conflicts
libreasapi avoid usage of cretar_prl link_prl that seems unreliable on some
  platforms
libreasapi rename LIBRESAPI_QT to more understendable LIBRESAPI_SETTINGS
Use use_*.pri instead of copy pasting error prone qmake snippets around
Expose bitdht option to retroshare.pri
Add RS_THREAD_LIB qmake variable for better crossplatform support
Move debug and profiling generic options to retroshare.pri (avoid copy/pasting)
Remove Qt script module in qmake as it is not available anymore
2018-04-18 07:56:43 +02:00
Gioacchino Mazzurco
85d2e7e28a More cleanup of .pro files 2018-01-30 18:25:04 +01:00
Gioacchino Mazzurco
a4a2a9bc7c Make .pro files compiler agnostic on Android 2018-01-30 18:11:31 +01:00
csoler
0d0ee080f2 added two additional non packward compatible changes for future version 0.7, and improvements of verifications of certificate signatures 2017-11-19 18:21:56 +01:00
Phenom
9753dfd2c2 Fix warning: this statement may fall through
/openpgpsdk/src/openpgpsdk/packet-parse.c:2482: warning: this statement
may fall through [-Wimplicit-fallthrough=]
         hashes[n].add(&hashes[n],C.secret_key.salt,OPS_SALT_SIZE);
/openpgpsdk/src/openpgpsdk/packet-parse.c:2484: here
      case OPS_S2KS_SIMPLE:
2017-07-16 20:21:38 +02:00
csoler
bd2acfd318 commented out unused line 2017-07-08 16:47:50 +02:00
Gioacchino Mazzurco
9938249425 Merge branch 'master' into qmlapp_pex_alpha 2017-05-31 12:11:15 +02:00
Enno Boland
129b633a54 fix building with libressl 2017-05-21 10:48:58 +02:00
Gioacchino Mazzurco
a67123852d Merge branch 'master' into merge_alpha_master 2017-04-18 21:30:25 +02:00
csoler
95e13657b3 Merge pull request #775 from csoler/v0.6-PRTest
V0.6 pr test
2017-04-17 22:03:48 +02:00
Phenom
a1844e6756 Fix clang warning:Implicit conversion from enumeration
warning: implicit conversion from enumeration type 'ops_s2k_usage_t' to
different enumeration type 'ops_symmetric_algorithm_t' [-Wenum-
conversion]
      C.secret_key.algorithm=C.secret_key.s2k_usage;
                            ~~~~~~~~~~~~~~^~~~~~~~~
2017-04-17 21:08:59 +02:00
Gioacchino Mazzurco
62904c79c5 Update to Qt 5.8.0
Simplified android buinding and updated documentation
Removed a bunch of unused qml files
2017-03-15 23:11:50 +01:00
csoler
418f75b73e suppressed a few warnings (suggested by Phenom) 2017-02-25 23:16:43 +01:00
csoler
fc1a06702e removed compilation warning 2017-02-25 14:09:39 +01:00
csoler
cee5ec756e fixed typo causing crash in openpgp-sdk 2017-02-23 19:16:48 +01:00
csoler
2aab6a0657 fixed bug causing crash in openssl_crypto due to not zeroing a field that was not duplicated before delete 2017-02-20 23:19:29 +01:00
csoler
13d9ba890c fixing compilation for openssl-1.1.0 (part 10) 2017-02-18 23:47:47 +01:00
csoler
a7ce308a7d fixing compilation for openssl-1.1.0 (part 9) 2017-02-18 18:16:10 +01:00