2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-29 21:07:43 +00:00

1778 Commits

Author SHA1 Message Date
Vibhav Pant
132e945eff
Merge remote-tracking branch 'origin/develop' into CMD-209-async-node-file-folder-count 2023-12-27 12:50:33 +05:30
Pablo Martin
ada1acced6
more adjustments in dmg creation and loader removal
- moved Info.plist and added CFBundleShortVersionString and
LSMinimumSystemVersion (10.13) entries
- have installer_mac.sh fully support cmake and not rely on macdeployqt:
   -> create .app bundle structure from scratch
   -> have dylibs use relative paths using install_name_tool
   -> no longer install MEGAcmdLoader (not produced)
-> unified spaces, refactored some pieces and improve code
readability
- adjust forked executable (forking the server directly instead of the
loader)
2023-12-26 15:03:44 +01:00
Pablo Martin
5810743a8c
update installer script
- measure time
- prepare for cross arch and do not use x64 when building in arm
- prepare for non qt build (WIP)
- have volume name differ from app name
- allow for SKIP_REMOVAL (to not recompile when env variable set)
- extract version from megacmdversion.h to be place in Info.plist
- use noratytool for notarizing, simplifying the notarization bits
2023-12-26 10:26:31 +01:00
Vibhav Pant
8e3b15f239 Merge branch 'CMD-396-use-gmock-matchers' into 'develop'
CMD-396. Use gmock matchers for more idiomatic assertions/expectations.

Closes CMD-396

See merge request apps/MEGAcmd!653
2023-12-23 03:06:00 +13:00
Vibhav Pant
9ded2ea371
Use ASSERT_STRNE for C string comparisons. 2023-12-21 21:15:48 +05:30
Vibhav Pant
3a85aaadb8
Use gmock matchers for more idiomatic assertions/expectations. 2023-12-21 21:02:36 +05:30
Vibhav Pant
6cdc7fb599 Merge branch 'CMD-357-create-container-image-for-tests_catcherror_attempt' into 'develop'
CMD-357. Integration tests containerized  tsan failure allowance and improvements/fixes

Closes CMD-357

See merge request apps/MEGAcmd!650
2023-12-21 05:26:48 +13:00
Vibhav Pant
6d98ffceed
Randomize order in which unit and integration tests are run. 2023-12-20 19:06:23 +05:30
Vibhav Pant
aecb2ed118
Ensure that sanitizer/debug builds always generate full stacks. 2023-12-20 18:54:03 +05:30
Vibhav Pant
482b9a103e
Ensure that the base class' SetUp() method is called in all test fixtures. 2023-12-20 17:48:39 +05:30
Vibhav Pant
9fc7f5cc9d
Add -lgmock flag for integration and unit tests. 2023-12-20 17:24:08 +05:30
Vibhav Pant
05c9011c2a
Add libgmock-dev as a build dependency. 2023-12-20 16:55:00 +05:30
Vibhav Pant
64bb15b5da
Merge remote-tracking branch 'origin/develop' into CMD-357-create-container-image-for-tests_catcherror_attempt 2023-12-20 16:53:36 +05:30
Pablo M
0525ccbe88 Merge branch 'task/CMD-392_arch_linux_enforce_pacman_signing_key_initialization' into 'develop'
CMD-392. Ensure pacman-key sigining key is initialized

Closes CMD-392

See merge request apps/MEGAcmd!652
2023-12-21 00:03:42 +13:00
Pablo Martin
d5f38588c3
ensure pacman-key sigining key is initialized 2023-12-20 11:14:59 +01:00
Vibhav Pant
8285ebd019
Merge remote-tracking branch 'origin/develop' into CMD-209-async-node-file-folder-count 2023-12-19 18:05:10 +05:30
Vibhav Pant
01a03182e2 Merge branch 'CMD-357-create-container-image-for-tests' into 'develop'
CMD-357 Create container image for tests

See merge request apps/MEGAcmd!635
2023-12-20 01:31:07 +13:00
Vibhav Pant
b4d97e1f66 Merge branch 'CMD-283-use-account-details-whoami' into 'develop'
CMD-283. whoami: Use two MegaAccountDetail objects for storage/other details

Closes CMD-283

See merge request apps/MEGAcmd!637
2023-12-20 01:27:46 +13:00
Pablo Martin
5965eea395
more fixes and improvements in automatic full build for windows
- have not signed installed named _unsigned
- allow for skipping rebuild
- fix ONLY_BUILD_THIRD_PARTIES
- fix gathering
- nsi adjustments: refactors, and disable expected warning 6020
- make deletion of ssl/crypto cross-arch
2023-12-19 13:18:58 +01:00
Pablo Martin
9d1663bdcc
fixes and improvements in full automated build system
- have production_build.cmd working
- integrate the 3rd party building within full_build_process.cmd (single
point of entrance)
- fix exit conditions to have an early exit in case of failure in
several places
- removed some remaining qt references
- renamed signed gatherer script and have pause called when not using
MINGW bash
2023-12-19 11:50:51 +01:00
Pablo Martin
ff755a99ab
Fixes and automation scripts for producing installers
- updated ports
- fixed libzen build in build_from_scratch (removed nopkgconfig)
- make build_from_scratch use 12 cores by default
- create and adjust .cmd scripts to automate all the processes (pending
signinig) in order to produce executables
- fix .nsi to work with new dependencies and automated runs
- adjusted .gitignore with new build products
2023-12-18 19:21:39 +01:00
Diego Ximenez
4a81373e45 Merge branch 'fix/CMD-288_fix_python_tests_failing' into 'develop'
CMD-288. Fix Python tests failing in Jenkins

Closes CMD-288

See merge request apps/MEGAcmd!644
2023-12-19 00:13:35 +13:00
Diego Ximenez
7a1c653b01
Rename wait_for return value for clarity
Plus other very small changes suggested in the MR.
2023-12-18 11:33:08 +01:00
Diego Ximenez
21518b5c13
Fix string sxception when authKey is empty 2023-12-15 14:15:42 +01:00
Diego Ximenez
7f3dda1063
Fix memory leak when getting the node versions 2023-12-15 14:04:51 +01:00
Diego Ximenez
13a217e7f2
Fix export -a usage in Python tests 2023-12-15 13:58:47 +01:00
Pablo Martin
a576d7f9e4
fix tsan failure allowance code 2023-12-15 12:48:34 +01:00
Diego Ximenez
733c90a910
Check if trigger is destroyed before spawning a new thread
This fixes a race condition if the `triggerDeferredSingleShot` lock was
waiting on the destructor's lock, which ensures no threads are spawned
if they can't be joined in the destructor.
2023-12-15 11:59:50 +01:00
Diego Ximenez
b9104f6efa
Fix bad merge in previous commit 2023-12-15 11:30:07 +01:00
Diego Ximenez
97d389734c
Merge branch 'develop' into fix/CMD-288_fix_python_tests_failing 2023-12-15 11:16:54 +01:00
Pablo Martin
1f1b16576b
fix indents 2023-12-15 10:50:05 +01:00
Pablo Martin
cc9ef463c5
allow tsan failure for now in MR builds 2023-12-15 10:49:40 +01:00
Pablo M
0da6f87600 Merge branch 'task/CMD-379_support-rpi12' into 'develop'
CMD-379. Revert raspbian 11 repository folder name

Closes CMD-379

See merge request apps/MEGAcmd!649
2023-12-15 22:27:50 +13:00
Pablo Martin
92d6df1cb0
revert raspbian 11 repository folder name 2023-12-15 10:24:29 +01:00
Pablo M
eb69bc905c Merge branch 'task/CMD-379_support-rpi12' into 'develop'
CMD-379. Fix compilation for Raspbian 12

Closes CMD-379

See merge request apps/MEGAcmd!648
2023-12-15 22:22:42 +13:00
Pablo Martin
5b4113b66a
support raspbian12
have explicit -mfpu seet to fix compilation in raspbian 12
2023-12-15 09:47:18 +01:00
Diego Ximenez
a0df6a37fb
Use a DeferredSingleTrigger class to fix race condition 2023-12-14 18:45:54 +01:00
Diego Ximenez
5c3c2992a9 Merge branch 'task/CMD-200_report-errors-over-existing-exports' into 'develop'
CMD-200. Report errors over existing exports when using the -a argument and other export improvements

Closes CMD-200

See merge request apps/MEGAcmd!623
2023-12-15 04:37:54 +13:00
Diego Ximenez
b8695be086
Fix race conditions in verifyShared thread code 2023-12-14 12:49:26 +01:00
Diego Ximenez
0df7e000fd
Use unique ptrs for petition threads 2023-12-13 17:48:16 +01:00
Diego Ximenez
c5b01a96c9
Change exported node assertions to actual errors 2023-12-12 18:12:46 +01:00
Diego Ximenez
fe7826c6b4
Add proper output codes for error messages 2023-12-12 18:01:40 +01:00
Diego Ximenez
710cda73d2
Fix memory leak after transfer finish 2023-12-12 13:19:17 +01:00
Diego Ximenez
7ed6cfe08a
Fix verification thread not being properly cleaned up 2023-12-12 11:20:02 +01:00
Pablo M
8e3263f1e9 Merge branch 'fix/include-am-missing-plus' into 'develop'
Fix src_libmegacmdclient_la_CXXFLAGS overriden

See merge request apps/MEGAcmd!646
2023-12-12 23:07:33 +13:00
Vibhav Pant
1bc3ef6f81
While creating quota warning string, check email and warnings list for null. 2023-12-12 12:56:21 +05:30
Vibhav Pant
f793904e4d
Merge remote-tracking branch 'origin/develop' into CMD-209-async-node-file-folder-count 2023-12-12 12:49:12 +05:30
Vibhav Pant
921dda5c19
Use the Debian 12 deb for pdfium. 2023-12-11 21:59:07 +05:30
Vibhav Pant
757ce34007
Add additional output checks for whoami -l. 2023-12-11 21:50:12 +05:30
Vibhav Pant
6c05b4e7c4
Merge Whoami* tests into one test, using subtests for the extended cmd. 2023-12-11 21:43:02 +05:30