Commit Graph

29942 Commits

Author SHA1 Message Date
Christian Beer f640f89bb2 Merge pull request #1824 from BOINC/travis_mingw_build
Travis: fix mingw build command and add wrapper

Documentation on http://boinc.berkeley.edu/trac/wiki/CompileAppWin#mingw-cli was updated to reflect changes in lib/Makefile.mingw.
2017-03-23 09:46:17 +01:00
Christian Beer cfa12a7e17 Travis: fix mingw build command and add wrapper
The previous command was only working because Travis already exports CC and CXX. This works even if this is not the case.
2017-03-23 09:06:55 +01:00
Bernd Machenschalk 348c9199cf update lib/Makefile.mingw 'clean' and 'wrapper' targets
- also, if you set MINGW, the whole chain of used tools
  (gcc, g++, ar, ranlib) will be set based on that
2017-03-23 08:59:44 +01:00
tristanolive d6717a834b Merge pull request #1825 from drshawnkwang/drupal_fix-i18n-teamforumlist
Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
2017-03-22 17:19:42 -04:00
tristanolive 04dd60a90b Merge pull request #1823 from drshawnkwang/drupal_fix_userprofileFeature
Drupal: Removed another line in user_profiles feature to remove overrides.
2017-03-22 17:13:54 -04:00
tristanolive 901ea91cff Merge pull request #1822 from drshawnkwang/drupal_feature-i18n-add-context-other-bts
Drupal: Added ability to add context to other-boinc-translation-strings text file.
2017-03-22 17:13:07 -04:00
tristanolive ee1878b3bf Merge pull request #1815 from drshawnkwang/drupal_fix-l10n_update_newpath
Drupal: Added hook to boinctranslate to update the URL/path for l10n_update
2017-03-22 17:04:45 -04:00
Shawn Kwang 64f4a3954c Drupal: Added !empty() function to check if timestamp does/does not exist. 2017-03-22 14:57:58 -05:00
Shawn Kwang 0e32f27e70 Drupal: Fixed bug where font-awesome icons were not appearing correctly on some translated pages.
Changed template for team forum topic to use different variables. Now template uses $results, not topics/rows variable. The former has numerical values, which won't be translated into another language.

https://dev.gridrepublic.org/browse/DBOINCP-360
2017-03-21 16:05:11 -05:00
Shawn Kwang 37953c0307 Drupal: Added trim() function to tokens. 2017-03-21 09:24:21 -05:00
Shawn Kwang a2b3abea5f Drupal: Added ability to add context to other-boinc-translation-strings text file.
boinctranslate module will read file and use '|' as delimiter to separate the string from its context.
Added context to a number of string in the other-boinc-translation-strings file.

https://dev.gridrepublic.org/browse/DBOINCP-361
2017-03-20 14:54:06 -05:00
Shawn Kwang 7dd7727fdb Drupal: Removed another line in user_profiles feature to remove overrides. 2017-03-20 14:39:16 -05:00
Christian Beer 95af69b395 Locale: Update localization files [skip ci] 2017-03-20 15:15:54 +01:00
Christian Beer 1f0054c7e1 Locale: Update localization files [skip ci] 2017-03-20 15:01:06 +01:00
Christian Beer 405fd8b61e Merge pull request #1798 from ffontaine/master
Fix LDFLAGS for cross-compilation
2017-03-20 13:36:59 +01:00
David Anderson 10bcf5ed88 client: send acct keys to acct manager only for projects attached via acct mgr. 2017-03-17 15:08:50 -07:00
David Anderson 6485e50647 DB: add indices to credit_user and credit_team
Should make queries for top items fast.
2017-03-17 11:45:45 -07:00
David Anderson 853de1f5f0 web: code cleanup
Note: the top_*.php pages should be changed so that they cache
the entire 10000 items as a unit.
Otherwise there could be inconsistency.
2017-03-17 11:44:07 -07:00
Shawn Kwang ca5f418129 Drupal: Added hook to boinctranslate to update the URL/path for l10n_update.
https://dev.gridrepublic.org/browse/DBOINCP-363
2017-03-16 14:54:57 -05:00
Charlie Fenton aaa0254e4c Mac: modify Xcode project and build script setupForBOINC.sh for new approach to compatibility between production builds and Travis CI builds. The paths to the correct dependent library are now specified entirely in the Header Search Paths and Library SearchPaths for each target instead of the LD Flags, and we no longer use symbolic links in a mac3rdParty directory. 2017-03-16 02:42:50 -07:00
tristanolive 3e6398691f Merge pull request #1810 from BOINC/drupal_teamlist
Drupal: implement creditonly switch for team_email_list.php RPC
2017-03-15 11:29:25 -04:00
tristanolive 329efccd36 Merge pull request #1808 from BOINC/drupal-quickfix
Drupal: fixed error messages
2017-03-15 11:21:58 -04:00
David Anderson ee3f8f1aa2 Web: paginate user/team lists ordered by per-app credit 2017-03-15 00:59:05 -07:00
Christian Beer 1698897faa Drupal: implement creditonly switch for team_email_list.php RPC
This is used by stats sites to regularly query user credit stats during a special event. The default implementation is inefficient as it creates a DB query per team member which is slowing down the query in big teams. The creditonly switch is also available in upstream where it supresses certain xml outputs. We still don't support all the fields that upstream supports but the missing fields are not credit relevant.
2017-03-14 13:44:50 +01:00
Charlie Fenton 554c1d41bc Mac: Remove references to the obsolete targets MakeAppIcon_h and WaitPermissions from build script. 2017-03-11 16:24:35 -08:00
Christian Beer 9d1a7a1222 Web: update scrutinizer settings
Modeles after the current http://boinc.berkeley.edu/trac/wiki/CodingStyle
2017-03-10 15:45:19 +01:00
Christian Beer ee12c14aa0 Drupal: fixed error messages
see comment in https://dev.gridrepublic.org/browse/DBOINCP-317
2017-03-10 15:00:05 +01:00
tristanolive eb6d5e1b2f Merge pull request #1806 from drshawnkwang/drupal_fix-usermodlinks-utf8
Drupal: Added UTF-8 encoding for loadHTML.
2017-03-09 12:04:14 -05:00
tristanolive c6fe7c810e Merge pull request #1802 from drshawnkwang/drupal_fix-respdes-paths
Drupal: Renamed moderation queue menu item as 'Queue'
2017-03-09 09:17:12 -05:00
Shawn Kwang 4ceda504bb Drupal: Added UTF-8 encoding for HTML being loaded by DOMDocument. Fixes garbage output text for links and moderator links.
https://dev.gridrepublic.org/browse/DBOINCP-359
2017-03-08 10:54:43 -06:00
Shawn Kwang 61c20207e0 Drupal: Adjusted margin, so hamburger menu is centered in menu bar. 2017-03-08 08:25:10 -06:00
tristanolive 72d6849c5a Merge pull request #1803 from drshawnkwang/drupal_fix-userprofile-ovrd
Drupal: Fix user_profiles Feature to eliminate Feature override
2017-03-07 13:15:14 -05:00
Charlie Fenton f1ceeab610 Mac: fix compile error from Xcode 8. All APIs deprecated as of OS 10.12 are now replaced, except for the following:
[1] MGR: MacAccessibility.mm. Updating the accessibility support will require a complete rewrite to use Apple's new NSAccessibility APIs, which are not available on systems prior to OS 10.10, while retaining the current code for use with older versions of OS X.
[2] API: Apple has deprecated many  OpenGL  / GLUT APIs as of OS 10.12. This affects these files in libboinc_graphics2.a: graphics2_unix.cpp, gutil_text.cpp and gutil.cpp. Apple recommends their proprietary APIs to replace OpenGL  / GLUT.
[3] All: Apple has deprecated libstdc++ and recommends switching to libc++ with a minimum deployment target of OS X 10.9, but that would eliminate support for OS 10.6 through OS 10.8.
2017-03-07 06:21:03 -08:00
Charlie Fenton 729a9bb6cb lib: Mac: fix compile error from Xcode 8. 2017-03-07 06:02:55 -08:00
Charlie Fenton 58f6978c1e SCR: Mac: replace all deprecated Mac APIs as of OS 10.12. 2017-03-07 06:01:26 -08:00
Charlie Fenton 5d12d626c2 MGR: Mac: finish replacing all Mac APIs deprecated in OS 10.12, except in MacAccessibility.mm as explained in commit 75179d8, but replace one API in MacAccessibility.mm that was deprecated in OS 10.6. 2017-03-07 05:58:34 -08:00
Charlie Fenton fc1cf33315 client: Mac: replace all deprecated Mac APIs as of OS 10.12 2017-03-07 05:51:20 -08:00
David Anderson bde961e8bb client: fix estimate of job RAM usage
In estimating the WSS of a job, we were using
- the observed WSS of the job itself
- if not available, the max WSS of current jobs of same app version

However, if neither is available we need a backup, namely WU.rsc_memory_bound.
Otherwise we can schedule jobs that exceed available RAM.
2017-03-06 16:12:25 -08:00
David Anderson c3eb84db1e client: add report_results_immediately config on project and app levels
see http://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration
2017-03-06 16:04:44 -08:00
David Anderson 25308ea433 BOINC web: put client emulator page under version control 2017-03-06 15:31:56 -08:00
David Anderson f3624743e8 Merge pull request #1762 from obsproth/android_fix_str_comparison
Android: Fixed and reduced string comparisons
2017-03-06 15:27:51 -08:00
David Anderson 4b85e216ef Merge pull request #1789 from BOINC/fix_select_dialog
Manager: Fix select computer dialog
2017-03-06 15:26:06 -08:00
David Anderson 737a26241f COPYING is the GPL license; COPYING.LESSER is additional text for LGPL.
Thanks to Nicolas for clarifying this.
2017-03-06 11:48:18 -08:00
David Anderson 61710233cd Project creation: fix a couple of bugs 2017-03-06 11:35:00 -08:00
Charlie Fenton d29a166204 SCR: Mac: continue replacing deprecated Mac APIs 2017-03-06 05:23:38 -08:00
Charlie Fenton f7ae4c631b client: Mac: continue replacing deprecated Mac APIs 2017-03-06 05:22:22 -08:00
David Anderson 18c6f7b9fc COPYING erroneously had GPL text 2017-03-06 01:40:39 -08:00
Fabrice Fontaine bf807980c1 Fix LDFLAGS for cross-compilation
Remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS of boinc libraries in
Makefile.am of api, lib, sched and zlib directories to be able to
cross-compile boinc.

Indeed, libdir is not equal to the path where BOINC will be installed
but to exec_prefix/lib. The full installation path is
$(DESTDIR)/$(libdir).

To cross-compile boinc, exec_prefix will be set to the target path (for
example: /usr) and DESTDIR will be set (during make install) to the
staging or target directory on the host (for example /home/xxx/target).
The issue of adding -L$(libdir) is that it is not allowed by the
compiler, the error "unsafe header/library path used in
cross-compilation: '-L/usr/lib'" will be raised.

As a result, remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS, the
default library search paths are sufficient for "standard" compilation
or can be updated manually by passing the additional search path to
LDFLAGS during the configure call for cross-compilation.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-03-04 16:46:41 +01:00
Charlie Fenton a0c2d8a949 Mac: add new header file needed for replacing system() calls with posix_spawn() calls. 2017-03-03 15:28:50 -08:00
Shawn Kwang df4bf42847 Drupal: Removed alter=>TRUE from user_profile menu_links, which was causing a permanent override. 2017-03-03 09:20:58 -06:00