-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increased scheduler options for screen saver. #2
Comments
Commented by romw on 12 Jun 39425703 23:06 UTC |
Commented by spammerfromnowhere on 4 Jan 41984541 16:26 UTC |
Commented by bema on 4 May 42446471 23:54 UTC |
Current script_validator implementation contains next statements: sprintf(cmd, "../bin/%s", init_script[0].c_str()); and sprintf(cmd, "../bin/%s", compare_script[0].c_str()); It is dangerous to use this arrays that are filled by parsing command line without validating whether they contain any elements and leads to next behavior: Program received signal SIGSEGV, Segmentation fault. 0x000000000040f838 in compare_results (r1=..., r2=..., match=match@entry=@0x7ffffffb6c17: false) at script_validator.cpp:154 154 script_validator.cpp: No such file or directory. (gdb) bt #0 0x000000000040f838 in compare_results (r1=..., r2=..., match=match@entry=@0x7ffffffb6c17: false) at script_validator.cpp:154 #1 0x000000000040e85d in check_set (results=std::vector of length 2, capacity 2 = {...}, wu=..., canonicalid=@0x7ffffffb6dd0: 0, retry=@0x7ffffffb6dcf: false) at validate_util2.cpp:134 #2 0x000000000040944e in handle_wu (validator=..., items=std::vector of length 3, capacity 4 = {...}) at validator.cpp:411 BOINC#3 0x000000000040a9f2 in do_validate_scan () at validator.cpp:730 BOINC#4 0x000000000040aae4 in main_loop () at validator.cpp:756 BOINC#5 0x00000000004039f6 in main (argc=5, argv=0x7fffffffdd48) at validator.cpp:929 This fix checks whether these arrays contain some elements and output a readable error of missed inout parameter. Signed-off-by: Vitalii Koshura <[email protected]>
…ersions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64. CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system. CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs.
…elease/7/7.16 * commit 'b2ca098750879d81f96edbb91eb17a20dc941c99': (120 commits) update translation Mac: Don't offer to run graphics apps if architecture incompatible with CPU type and OS version - For example, MacOS 10.15 or later can't run 32-bit apps; Intel macs can't run arm apps, etc. Manager: Change "Show graphics" button to "Stop graphics" when gfx is running - provides another GUI to stop graphics apps Mac: add x86_64-apple-darwin platform to arm64 Macs, since Apple's Rosetta 2 emulator will run x86_64 apps Update translations Update translations Mac: Enable close button when running "Show Graphics" from BOINC Manager under MacOS 11 Big Sur Mac: FIx screensaver coordinator to run properly under Mac OS 11 Big Sur Mac: Remove some obsolete code from Xcode project Mac: Fix script which creates debug build of wxWidgets library for arm64 architecture Mac: fixes to client and Manager to support arm64, remove some obsolete PowerPC support. Caution: we need to add code for arm64 CPU to get_cpu_info_mac() in hostinfo_unix.cpp I have not removed is_native_i386_app() in app_start.cpp so it can be modified to identify arm64 apps Mac: Screensaver fixes for arm64 and MacOS 11 Big Sur Ensured essential menu items remain enabled when client shuts down Mac: Remove obsolete references to PowerPC architecture from BOINC Xcode project Mac: Automatically build Universal x86_64 / arm64 binaries on Xcode versions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64. CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system. CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs. script_validator: make scripts optional. Added MENU_OPEN to the event table Update Core KTX and desugar_jdk_libs versions. Add keyword The user can specify 3 priority-related prefs in cc_config.h: bool no_priority_change int process_priority int process_priority_special ... # Conflicts: # curl/ca-bundle.crt
- The native arm64 client tries to launch a separate helper program that is compiled only for the x86_64 architecture. If successful, this means that Rosetta2 is installed and the host can run x86_64 applications, so x86_64-apple-darwin is added as an alternative platform. The helper program 'detect_rosetta_cpu' gets the feature string for the emulated x86_64 CPU (e.g. SSE), and writes it to a file in the BOINC data directory. If this file exists, this file is read in hostinfo_unix_mac() and the features of the meulated CPU are added to that of the native CPU.
- The native arm64 client tries to launch a separate helper program that is compiled only for the x86_64 architecture. If successful, this means that Rosetta2 is installed and the host can run x86_64 applications, so x86_64-apple-darwin is added as an alternative platform. The helper program 'detect_rosetta_cpu' gets the feature string for the emulated x86_64 CPU (e.g. SSE), and writes it to a file in the BOINC data directory. If this file exists, this file is read in hostinfo_unix_mac() and the features of the meulated CPU are added to that of the native CPU.
- The native arm64 client tries to launch a separate helper program that is compiled only for the x86_64 architecture. If successful, this means that Rosetta2 is installed and the host can run x86_64 applications, so x86_64-apple-darwin is added as an alternative platform. The helper program 'detect_rosetta_cpu' gets the feature string for the emulated x86_64 CPU (e.g. SSE), and writes it to a file in the BOINC data directory. If this file exists, this file is read in hostinfo_unix_mac() and the features of the meulated CPU are added to that of the native CPU.
- The native arm64 client tries to launch a separate helper program that is compiled only for the x86_64 architecture. If successful, this means that Rosetta2 is installed and the host can run x86_64 applications, so x86_64-apple-darwin is added as an alternative platform. The helper program 'detect_rosetta_cpu' gets the feature string for the emulated x86_64 CPU (e.g. SSE), and writes it to a file in the BOINC data directory. If this file exists, this file is read in hostinfo_unix_mac() and the features of the meulated CPU are added to that of the native CPU.
Introduce tag <multiattach_vdi_file>
Reported by romw on 12 Jun 37289966 16:00 UTC
Would like to see the ability to schedule the screen saver per day. I have three computers that would do as nice advertisements 8-5 M-F. However, I would like to blank the three when no-one is in the office.
The text was updated successfully, but these errors were encountered: