2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-31 13:55:10 +00:00
Commit Graph

1428 Commits

Author SHA1 Message Date
Pablo Martin
88adefb092 minor adjustments
- struct to namespace, remove unused utility method in integration main
2023-10-16 12:59:26 +02:00
Pablo Martin
d9724a52c6 Fixes for Windows building
- unify vcpkg inclusion
- disable object_parallel_to_source for windows
- removed not available icon.rc for tests executables
- disable sanitizer for win32 in unit tests
- other building adjustments
- have InstrumentsException inherit form exception instead of
system_error
2023-10-16 12:50:00 +02:00
Diego Ximenez
30ab7e556a Fix possible crash when getting root node handle 2023-10-13 14:24:47 +02:00
Pablo Martin
3be402f289 have setup not sleep and use intruments event instead 2023-10-10 14:11:04 +02:00
Pablo Martin
b408d0c561 confine cpu affinity enforcing to linux only in integration tests 2023-10-10 13:14:31 +02:00
Pablo Martin
0eea84d6c2 have cross-platform slep in BasicTest 2023-10-10 13:06:02 +02:00
Pablo Martin
7e7700f08b change isatty to _isatty to fix win32 error 2023-10-10 12:56:37 +02:00
Pablo Martin
323d394edc do not use STDOUT_FILENO 2023-10-10 12:48:42 +02:00
Pablo Martin
a1bfa7b1cd avoid inclusion of unitstd.h in windows 2023-10-10 12:40:16 +02:00
Pablo Martin
6d5f8a7826 avoid name clashing MEGAcmdServer.exe and library in cmake build 2023-10-10 12:11:49 +02:00
Pablo Martin
ff40d6ea96 add cmake support for integration/unit tests
- include other adjustments in cmake
  -> refactor MEGAcmd server build in a library
  -> workaround linkage of not required libavfilter/libavdevice
  -> fix missing NDEBUG causing compilation issues in linux
- add missing include in Instruments.h
2023-10-10 11:56:46 +02:00
Pablo Martin
6583e947bf add missing new main cpp to cmake 2023-10-09 18:26:34 +02:00
Pablo Martin
2f574c1b6e have megacmd::executeServer always return integer 2023-10-09 18:05:06 +02:00
Pablo Martin
d4c27c6c33 Create initial integration & unit tests structure
- only qmake
- define mockup tests
- include instruments (to be used/adjusted)
2023-10-09 17:58:30 +02:00
Diego Ximenez
1a7a6e4685 Small style changes 2023-10-09 17:51:40 +02:00
Pablo Martin
968979c6e1 separate main from megacmd.cpp and have a new includable MEGAcmdServer.pri
expose executeServer and stopServer exposed in megacmd.h
2023-10-09 17:21:06 +02:00
Diego Ximenez
97589d984c Refactor unique_ptr initialization from existing raw pointers 2023-10-09 16:27:31 +02:00
Diego Ximenez
45e2f22b52 Refactor nodebypath to use unique_ptr 2023-10-09 16:12:10 +02:00
Diego Ximenez
a39c91b1d0 Refactor nodesbypath to return unique_ptr 2023-10-09 13:03:42 +02:00
Pablo Martin
70f66a8759 fix compilation in windows
determine ambiguos mega namespace resolution
2023-10-06 10:44:59 +02:00
Diego Ximenez
2b26d2ea29 Merge branch 'task/CMD-323_fix_vcpkg_compilation' into 'develop'
CMD-323. Fix compilation with vcpkg third parties

Closes CMD-323

See merge request apps/MEGAcmd!604
2023-10-06 03:04:41 +13:00
Diego Ximenez
cc509aeaa1 Fix compilation with vcpkg third parties 2023-10-05 15:46:45 +02:00
Roddy Benjamín González Garcés
57ece5a0c0 Merge branch 'feature/CMD-295-fedora39-ubuntu2310-builds' into 'develop'
CMD-295. Add support for ubuntu 23.10 build

Closes CMD-295

See merge request apps/MEGAcmd!603
2023-10-05 05:36:04 +13:00
Roddy González
2e2aff97c7 Add support for ubuntu 23.10 build 2023-10-02 12:36:44 +02:00
Pablo M
8faa47e528 Merge branch 'fix/CMD-298_use-non-deprecated-send-event_single-change' into 'develop'
CMD-298. Stop using deprecated MegaApi::sendEvent version

Closes CMD-298

See merge request apps/MEGAcmd!602
2023-09-30 01:36:46 +13:00
Pablo Martin
f6f03a919a Adjust MegaApi::sendEvent uses to non deprecated version
And change event code to use GENERATOR_MACRO and refactor the event
sending
2023-09-29 14:13:20 +02:00
Pablo Martin
83c7edc512 stop using deprecated MegaApi::sendEvent version 2023-09-29 14:03:27 +02:00
Pablo M
a041c2e40c Merge branch 'fix/wrong-3rdparty-path-cmake' into 'develop'
use the megacmd specific expected 3rdparty folder in cmake build

See merge request apps/MEGAcmd!598
2023-09-29 00:56:06 +13:00
Pablo Martin
75c185c771 use the megacmd specific expected 3rdparty folder in cmake build 2023-09-28 13:31:06 +02:00
Pablo Martin
d6a705a9d7 minor enhancements in confirmation asking / checkNoErrors after request 2023-09-22 12:17:42 +02:00
Pablo M
6667178a2f Merge branch 'task/fix-packages-creation-after-icu' into 'develop'
add libicu as building dependency in RPM/DEB

See merge request apps/MEGAcmd!596
2023-09-22 21:54:09 +12:00
Pablo Martin
b473a951da add libicu as building dependency in RPM/DEB 2023-09-22 11:14:05 +02:00
Pablo M
c386e8b52b Merge branch 'task/CMD-291_adjust_to_SDK-2848_startDownload_changes' into 'develop'
CMD-291. Fix startDownload usage

Closes CMD-291

See merge request apps/MEGAcmd!594
2023-09-18 23:46:44 +12:00
Pablo Martin
0d57e0fde9 fix startDownload usage
pass collision check & resolution values to keep existing behaviour
2023-09-18 12:54:59 +02:00
Pablo M
8faffd0fe6 Merge branch 'CMD-285-Deprecate-warning-to-Ub1804-2210-Fed36' into 'develop'
CMD-285-Deprecation-warning Ubuntu 18.04 Ubuntu 22.10 Fedora 36

Closes CMD-285

See merge request apps/MEGAcmd!593
2023-09-07 23:06:59 +12:00
Xavier Rins Lozano
cb8e2a0727 Deprecation-warning Ubuntu 18.04 Ubuntu 22.10 Fedora 36 2023-09-07 12:43:40 +02:00
David Ward
817be6f7a5 Merge branch 'release/1.6.3-synology' into 'develop'
Update Synology build scripts (develop.)

See merge request apps/MEGAcmd!591
2023-07-13 07:58:07 +12:00
David Ward
417c9fb948 Merge branch 'release/1.6.3-qnap' into 'develop'
Update QNAP build scripts (develop.)

See merge request apps/MEGAcmd!589
2023-07-13 07:57:26 +12:00
David Ward
f4b8191229 Don't version things that can be easily regenerated. 2023-06-29 08:56:43 +12:00
David Ward
59d0b310ea Remove unneeded patch. 2023-06-29 08:54:50 +12:00
David Ward
5ce27f26ec Added convenience script to download DSM toolchains. 2023-06-29 08:54:20 +12:00
David Ward
6c713eeafb Add new build scripts. 2023-06-28 09:21:12 +12:00
David Ward
e8639ad5f9 Remove old build scripts. 2023-06-28 09:20:55 +12:00
David Ward
53d1764cbc Copy patches only if they're actually present. 2023-06-28 08:05:24 +12:00
Victor Teniente
43362191b2 Merge branch 'release/1.6.3b' into 'develop'
Release/1.6.3b

See merge request apps/MEGAcmd!588
2023-06-13 23:22:28 +12:00
Victor Teniente
d8343041aa Merge branch 'release/1.6.3a' into 'develop'
Release v1.6.3a

See merge request apps/MEGAcmd!586
2023-06-13 23:22:10 +12:00
Xavier Rins Lozano
8108edb5fe Add support for debian12 and Suse15.5 2023-06-13 13:01:56 +02:00
Xavier Rins Lozano
94757c7582 Remove Debian 10 EOL Warning 2023-05-26 12:55:22 +02:00
Pablo M
ca56bffdae Merge branch 'update/files-163' into 'develop'
Update files for 1.6.3 [develop]

See merge request apps/MEGAcmd!584
2023-05-20 02:24:31 +12:00
Pablo Martin
5a7e7af878 update windows update files to 1.6.3 2023-05-16 23:07:46 +02:00