Commit Graph

11852 Commits

Author SHA1 Message Date
Eric J. Korpela 70baf36e93 - Added database table credit_multiplier and script to be run daily
(calculate_credit_multiplier) to determine what factor to multiply
   claimed credit by before insertion into the database.  Changes to scheduler
   to implement have not yet been checked in.


svn path=/trunk/boinc/; revision=15309
2008-05-28 17:28:19 +00:00
David Anderson 5583762116 - web: style tweaks; fixes #667
svn path=/trunk/boinc/; revision=15307
2008-05-28 16:33:51 +00:00
Eric J. Korpela 798eadd92c Eric May 28 2008
- Added a stage target for staging a distribution.
      Executing "make stage" will "make all" and will install the client
      under the stage directory (i.e. binaries is stage/$(prefix)/bin, libraries
      in stage/$(prefix)/lib, etc)

    Makefile.am


svn path=/trunk/boinc/; revision=15306
2008-05-28 16:27:41 +00:00
Eric J. Korpela f2787de1c7 - moved icons from sea into clientgui/icons
- added Makefile to clientgui/icons to install them in $(pkgdatadir) which
      is usually $(prefix)/share/boinc.
    - Even though these icons are packaged with the sea, they don't appear
      to be referenced in any code and don't appear to ever be used.


svn path=/trunk/boinc/; revision=15305
2008-05-28 16:15:09 +00:00
Eric J. Korpela b3db477623 - fixed problem with missing includes and missing namespace notations
in wxPieCtrl.cpp


svn path=/trunk/boinc/; revision=15302
2008-05-28 02:01:15 +00:00
Eric J. Korpela d3266f98c1 - configure:
added LIBBOINC_VERSION definition for libtool use.


svn path=/trunk/boinc/; revision=15301
2008-05-28 01:55:21 +00:00
Eric J. Korpela 1f2d65bccb - Makefiles:
added client/scripts to default client build
    removed sea from the default clientgui build
    added locale/client to the default clientgui build
    moved installed headers from $(includedir) to $(pkgincludedir) which
       is $(includedir)/boinc by default.
    removed redefinitions of $(includedir) from Makefiles.
- configure:
    added locale/client/Makefile to AC_CONFIG_FILES


svn path=/trunk/boinc/; revision=15300
2008-05-28 01:38:39 +00:00
Eric J. Korpela 249407f505 - clientgui: renamed locale files from "BOINC Manager.*" to
"BOINC-Manager.*"
- Added Makefile to locale/client to install the BOINC Manager.po files
  into $(datadir)/locale (typically $(prefix)/share/locale)


svn path=/trunk/boinc/; revision=15299
2008-05-28 00:58:53 +00:00
Rom Walton 4939d9441c - WINSETUP: The call to GetFreeDiskSpaceEx was failing becuase the path
didn't exist yet, so all the values in the returned data structures
        was random junk. If the directory had never been created before
        then it was returning 27/57 bytes free. If the drectory had existed
        at one time then the return values were several gigabytes.
        
        If the first request to GetFreeDiskSpaceEx fails, then check for the
        parent directory, if that fails pass a NULL value which means check
        the default volume.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.def
        boinccas.rc
        boinccas.vcproj
        CAMigrateBOINCData.cpp
        CASetPermissionBOINCDiagnostics.cpp, .h (deleted)
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15298
2008-05-27 22:26:58 +00:00
Matt Lebofsky 864f6f0b6a Added <email/> tag (so users can see which e-mail these reminders
were being sent to, as to hopefully avoid confusion)


svn path=/trunk/boinc/; revision=15297
2008-05-27 22:19:14 +00:00
David Anderson e48ea93727 - web: team transfer request was being rejected if email to founder failed,
so there was no way of rescuing a team with invalid founder email.
    I changed it to record the request anyway.
    This is potentially hazardous - if the founder's email server
    is temporarily down, the request would go through
    without the founder being notified.
    To offset this, I added a notification via private message.

svn path=/trunk/boinc/; revision=15296
2008-05-27 21:26:49 +00:00
Rom Walton 02141eb5fc - DIAG: When an application crashes, dump out the install and data
directory as part of the crash report.
        
    lib/
        diagnostics_win.C

svn path=/trunk/boinc/; revision=15295
2008-05-27 21:18:17 +00:00
Frank Thomas c6489cce1e Fixed not matching HTML tags.
svn path=/trunk/boinc/; revision=15293
2008-05-27 08:45:21 +00:00
David Anderson a143d50ddf - client: reduce min CPU time for valid benchmark from 3 to 2
svn path=/trunk/boinc/; revision=15292
2008-05-25 04:06:45 +00:00
Rom Walton 9056176cfa Quick Updates
svn path=/trunk/boinc/; revision=15291
2008-05-23 23:35:26 +00:00
David Anderson ac77678d16 - client: test the above; compile fixes for Win
svn path=/trunk/boinc/; revision=15290
2008-05-23 22:20:45 +00:00
David Anderson 18d6f5e708 - client: handle coprocs in RR simulation. Not tested.
TODO: handle multithread apps in RR simulation; should be easy now.

svn path=/trunk/boinc/; revision=15288
2008-05-23 22:03:27 +00:00
David Anderson c01e75ec4c - client: shuffle code to abstract coprocessor reservation
svn path=/trunk/boinc/; revision=15287
2008-05-23 21:24:36 +00:00
David Anderson cea5801b89 - client: shuffle to code to give an abstraction (RR_SIM_STATUS)
of a project's state during round-robin simulation
    (first step to handling coprocs in RR sim)

svn path=/trunk/boinc/; revision=15286
2008-05-23 20:58:06 +00:00
David Anderson 8befa29f81 - client: if GUI RPC auth error, close the socket.
This prevents a DoS by sending <auth1> over and over,
    filling the send buffer and eventually causing the client to block.
- Unix build: if m4 missing, check for gm4


svn path=/trunk/boinc/; revision=15282
2008-05-23 19:24:20 +00:00
David Anderson 49eb1246cf - scheduler: added
- config option <matchmaker> for matchmaker scheduling
    - config options <mm_min_slots>, <mm_max_slots>, <job_size_matching>
        to control matchmaker scheduling
- scheduler: tweaks to matchmaker scheduling from Kevin Reed
- web: fixes to alternative stylesheet from Simek

svn path=/trunk/boinc/; revision=15281
2008-05-23 16:13:30 +00:00
Jens Seidler d92eedb96a BOINC Manager, distributed web site and homepage language files updated: Chinese simplified(zh_CN), Spanish(es), Arabic(ar), Hungarien(hu)
svn path=/trunk/boinc/; revision=15280
2008-05-23 05:17:31 +00:00
David Anderson 8294fba98f - client: print a message at startup if computation is suspended
svn path=/trunk/boinc/; revision=15279
2008-05-22 20:57:12 +00:00
David Anderson d1b0f1d295 - client: copy api_version of APP_VERSIONs in scheduler reply,
even if we already have the APP_VERSION.
    Otherwise, when upgrading from 5.10 to 6.2,
    we won't have the api_version,
    and we won't learn about it until project releases new version.

svn path=/trunk/boinc/; revision=15277
2008-05-22 19:09:52 +00:00
David Anderson 9a390c235d svn path=/trunk/boinc/; revision=15272 2008-05-22 03:57:55 +00:00
David Anderson 640f0d85c9 - boinccmd (Windows): chdir to the data directory (from registry)
svn path=/trunk/boinc/; revision=15271
2008-05-22 03:09:11 +00:00
David Anderson a1ab573857 - scheduler: if client has bad code sign key, don't send work
svn path=/trunk/boinc/; revision=15270
2008-05-21 22:33:21 +00:00
David Anderson 605b29ae40 - web: remove separate blockquote style; fixes #668
svn path=/trunk/boinc/; revision=15269
2008-05-21 18:51:18 +00:00
David Anderson e9451a0bf1 - web: fix errors in translation changes
svn path=/trunk/boinc/; revision=15268
2008-05-21 16:37:11 +00:00
Rom Walton e21e399661 Quick Updates
svn path=/trunk/boinc/; revision=15267
2008-05-21 05:40:22 +00:00
Rom Walton f28fda8dac - DIAG: For Windows, lookup and store the install directory
location so that the diagnostics framework can use the
        debugger libraries.
        
        NOTE: This is only a problem for applications running
          under the v6 clients.
        
    lib/
        diagnostics.C, .h
        diagnostics_win.C
        

svn path=/trunk/boinc/; revision=15266
2008-05-21 05:09:15 +00:00
David Anderson c25344e343 - fix FCGI compile
svn path=/trunk/boinc/; revision=15265
2008-05-20 22:36:43 +00:00
David Anderson 8b9dae29d8 svn path=/trunk/boinc/; revision=15264 2008-05-20 22:29:43 +00:00
David Anderson 586c07e3b4 - Add alternative stylesheet for project web
- Tweak error messages in client and server

svn path=/trunk/boinc/; revision=15263
2008-05-20 21:47:02 +00:00
David Anderson 4ef8f7a3dd - web: fix bugs introduced by recent tra() changes.
PLEASE CHECK THESE CHANGES BEFORE SUBMITTING THEM

svn path=/trunk/boinc/; revision=15262
2008-05-20 21:08:52 +00:00
David Anderson 9963f0958b - web: fix for cross-site scripting vulnerability
(from Nicolas Alvarez)

svn path=/trunk/boinc/; revision=15261
2008-05-20 16:42:01 +00:00
Charlie Fenton d9c427bb1e Release Mac BOINC 6.2.4
svn path=/trunk/boinc/; revision=15260
2008-05-20 00:30:32 +00:00
David Anderson e0f418dbf7 - client: eliminate spurious "unparsed XML" messages
Fixes #664.  Rom, please backport to 6.2
- web: convert some tr() to tra() on BOINC web pages

svn path=/trunk/boinc/; revision=15258
2008-05-20 00:11:28 +00:00
Charlie Fenton f0305fcfd1 MGR: Don't enlarge pie control slices if value is zero
svn path=/trunk/boinc/; revision=15256
2008-05-19 23:47:01 +00:00
Rom Walton 4e7042d37c Quick Updates
svn path=/trunk/boinc/; revision=15254
2008-05-19 22:36:55 +00:00
Frank Thomas ef97c97572 Link to the MediaWiki pages in man pages.
svn path=/trunk/boinc/; revision=15243
2008-05-19 11:11:06 +00:00
David Anderson fd6bb6e637 - client: on Windows (at least) if you kill a task (e.g. reset project)
ACTIVE_TASK::handle_exited_app() never gets called,
    so the coprocessors weren't getting freed.
    Fix this.

svn path=/trunk/boinc/; revision=15242
2008-05-16 22:52:09 +00:00
David Anderson 902522158f - client: go one step further, and don't create temp files
in some system-supplied directory;
    create them in the BOINC data directory.

svn path=/trunk/boinc/; revision=15241
2008-05-16 22:28:47 +00:00
David Anderson 3c9192678c - client: JM7 was seeing repeated file upload failures.
It turned out that when we close and reopen
    the temp file that stores the HTTP reply, the open was failing.
    I have no idea why.
    Attempted workaround: open the file for R/W originally,
    and instead of close/open do a seek.

svn path=/trunk/boinc/; revision=15238
2008-05-16 17:02:43 +00:00
Rom Walton d5a1a5ebfd - MGR: Fix a casting issue that was causing crashes on x64 platforms.
fixes# 658 (From: bbaetz)
    
    clientgui/
        SkinManager.cpp

svn path=/trunk/boinc/; revision=15234
2008-05-16 16:45:54 +00:00
Frank Thomas 7303c44f5e Removed wiki remnant and added link to wiki:BashCommandCompletion.
svn path=/trunk/boinc/; revision=15233
2008-05-16 15:01:52 +00:00
David Anderson a493d5f9ba - scheduler: there were several situations where the scheduler
would send a reply without having looked up the user and team
    in the DB; e.g.:
    - client version# is too low
    - DB is down
    - host is blacklisted
    It would then send a full scheduler reply,
    including a blank team name and other missing info.
    
    Fix this by setting reply.nucleus_only initially
    (this causes a minimal reply to be sent)
    and clearing it only if the host/user/team lookup succeeds.
    Fixes #417, #633 (I think)

svn path=/trunk/boinc/; revision=15232
2008-05-16 00:14:48 +00:00
David Anderson 902bb1d46f - client: when parsing state file, don't change result states
unless there's an inconsistency
    Fixes #621

svn path=/trunk/boinc/; revision=15231
2008-05-15 23:33:47 +00:00
David Anderson ac152ad4f9 - client: If a scheduler reply doesn't include <host_venue>
(as is the case if its DB is down,
    or it has no work and skips the DB check)
    don't overwrite the host_venue on the client.
    Fixes #656, I hope (Rom: please port)

svn path=/trunk/boinc/; revision=15230
2008-05-15 23:05:28 +00:00
David Anderson 812d033008 svn path=/trunk/boinc/; revision=15229 2008-05-15 22:10:29 +00:00