Commit Graph

1505 Commits

Author SHA1 Message Date
David Anderson d8c6e5a17f - client: clean up (old undergrad-written) code related to pers file xfer.
The main goal is to fix a bug where,
        if a file is deleted from a project's download server,
        a client will keep trying to download it for 2 weeks.
        A download "file not found" is a permanent error, not transient.
        (fixes #383)
        In general, revised and renamed things to clarify the
        distinction between permanent and transient errors.
        Old functions:
            handle_xfer_failure(), try_next_url(), xfer_failed(), retry_or_backoff()
        New functions:
            permanent_failure(), transient_failure()
    - manager: compile fix for win (don't include sys/wait.h)

svn path=/trunk/boinc/; revision=13641
2007-09-24 18:32:55 +00:00
Charlie Fenton e7fba03746 Fix uninitialized instance variable
svn path=/trunk/boinc/; revision=13636
2007-09-22 04:35:30 +00:00
Charlie Fenton 8bd55b67a9 MGR V6 GFX: If no graphics apps are running, CMainDocument::OnPoll() doesn't call CachedResultsStatusUpdate()
svn path=/trunk/boinc/; revision=13635
2007-09-22 04:22:23 +00:00
Charlie Fenton c9a529f8d2 MGR: Fix build problems, crash on Linux.
svn path=/trunk/boinc/; revision=13634
2007-09-22 00:22:42 +00:00
David Anderson 135c38a7e3 - client: get_proxy_settings GUI RPC requires authentication
svn path=/trunk/boinc/; revision=13623
2007-09-21 15:07:15 +00:00
Charlie Fenton 0b8b6d922f MGR: Every 10 seconds, kill any running graphics apps whose associated worker tasks are no longer running
svn path=/trunk/boinc/; revision=13620
2007-09-21 11:45:57 +00:00
Charlie Fenton 683a8bad08 Fix bug in routine to kill any graphics apps whose tasks are no longer running
svn path=/trunk/boinc/; revision=13607
2007-09-20 13:35:47 +00:00
Charlie Fenton 0ee4c5e74c Add a routine to kill any graphics apps whose tasks are no longer running, but don't call it yet
svn path=/trunk/boinc/; revision=13606
2007-09-20 12:14:03 +00:00
Charlie Fenton 70cfba942d MGR: Keep a list of currently running gfx apps; launch only one instance of gfx app per task; kill all gfx apps on exiting Manager.
svn path=/trunk/boinc/; revision=13604
2007-09-20 11:10:59 +00:00
Charlie Fenton 2a48ccb9e6 Consolidate common Show Graphics functionality into CMainDocument::WorkShowGraphics(); implement V6 graphics in SimpleGui
svn path=/trunk/boinc/; revision=13603
2007-09-20 00:32:16 +00:00
Charlie Fenton 457efa155f Mac SCR: Put a copy of switcher utility inside screensaver's bundle to launch graphics applications as user and group "nobody".
svn path=/trunk/boinc/; revision=13601
2007-09-19 09:41:23 +00:00
Charlie Fenton 7fd15f2b5f Mac MGR: Launch the graphics application using switcher to fix a potential security risk
svn path=/trunk/boinc/; revision=13598
2007-09-18 12:18:42 +00:00
David Anderson 9253114f0c - Manager: clean up text in system tray balloon
- Client: use dd-MMM-yyyy format for dates;
		mm/dd/yyyy is ambiguous and mixed-endian

svn path=/trunk/boinc/; revision=13582
2007-09-12 18:52:46 +00:00
Charlie Fenton f2ea5d5fd9 MGR: Fix #388: Snooze menu item is disabled and not checked if user selects RUN_MODE_NEVER
svn path=/trunk/boinc/; revision=13541
2007-09-05 02:55:29 +00:00
David Anderson dabba949a4 - client: when a job finishes, read last (not first) 63KB of stderr
- client: parse <cpid_time> in scheduler reply;
        add cpid_time field to PROJECT.
        This defaults to the user_create_time.
        In deciding which CPID to send in a scheduler request,
        use the one with oldest cpid_time (not user_create_time).
        This is the client half of fixing a bug that causes
        CPID to flip/flop between to values in a certain case.

svn path=/trunk/boinc/; revision=13531
2007-09-03 23:00:22 +00:00
Charlie Fenton e0424f3365 Mac MGR: if BOINC is running as a service / daemon, connect to BOINC Client before creating menubar icon menu to work around unresponsive icon bug
svn path=/trunk/boinc/; revision=13523
2007-09-03 01:16:11 +00:00
Charlie Fenton 424795ca7f Back out previous change - I found a better solution
svn path=/trunk/boinc/; revision=13522
2007-09-03 01:15:42 +00:00
Charlie Fenton ed7a08ef3e Mac MGR: if BOINC is running as a service / daemon, delay setting up menubar icon menu to work around problem of unknown cause
svn path=/trunk/boinc/; revision=13512
2007-09-02 14:01:18 +00:00
Charlie Fenton b6f79ec6da Mac screensaver: replace image in screensaver control panel with new logo, move to common clientscr/res/ directory
svn path=/trunk/boinc/; revision=13503
2007-09-01 07:54:14 +00:00
Charlie Fenton f818d84983 MGR: Add V6 GFX support to grid view.
svn path=/trunk/boinc/; revision=13496
2007-08-29 23:38:37 +00:00
Charlie Fenton 37dd3aeec8 Launch the graphics application via a shell by using the UNIX system() api
svn path=/trunk/boinc/; revision=13491
2007-08-29 14:09:33 +00:00
Charlie Fenton 21ef24ec5c Move Mac sreensaver files to common clientscr directory
svn path=/trunk/boinc/; revision=13478
2007-08-29 01:11:57 +00:00
Charlie Fenton 94f7730db3 Move Mac sreensaver files to common clientscr directory
svn path=/trunk/boinc/; revision=13477
2007-08-29 01:11:43 +00:00
Charlie Fenton 193797ed2b Move Mac sreensaver files to common clientscr directory
svn path=/trunk/boinc/; revision=13476
2007-08-29 01:11:29 +00:00
Charlie Fenton ee43d7e443 Move Mac sreensaver files to common clientscr directory
svn path=/trunk/boinc/; revision=13475
2007-08-29 01:11:09 +00:00
Charlie Fenton 5a1dfe2285 Preferences: fix #363: per-day time preferences work incorrectly; MGR: use cached preferences if connected to pre-5.10.18 client..
svn path=/trunk/boinc/; revision=13454
2007-08-25 09:53:33 +00:00
Charlie Fenton 1bae24b1e8 Mac SG: Ugly hack for unknown alignment problem on Mac, requested by Kevin Reed
svn path=/trunk/boinc/; revision=13424
2007-08-21 05:04:05 +00:00
Charlie Fenton 88da6e04e8 New Mac application icons built with artwork from Michal Krakowiak.
svn path=/trunk/boinc/; revision=13414
2007-08-19 21:48:19 +00:00
Charlie Fenton 9e70619846 MGR: Disable Simple GUI if the screen height < 600 (instead of== 480)
svn path=/trunk/boinc/; revision=13409
2007-08-18 00:22:21 +00:00
Charlie Fenton 91a660f5e9 New Mac application icon
svn path=/trunk/boinc/; revision=13393
2007-08-16 23:15:55 +00:00
Rom Walton c553674e19 - MGR: Make sure all the dialogs contain the application name
and do not have BOINC Manager hard coded in them.

    clientgui/
        AdvancedFrame.cpp
        DlgAbout.h
        DlgAdvPreferencesBase.cpp, .h
        DlgOptions.cpp, .h
        DlgSelectComputer.cpp, .h

svn path=/trunk/boinc/; revision=13391
2007-08-16 20:06:50 +00:00
Rom Walton e6d7d911ec - MGR: Update skin manager for the following changes:
project name = application short name
             company name = organization name
             company website = organization website
             added organization help url.
             
           See http://boinc.berkeley.edu/trac/wiki/ManagerSkin
             for details.
             
    clientgui/
        AdvancedFrame.cpp
        BOINCBaseFrame.cpp
        BOINCDialupManager.cpp
        BOINCTaskBar.cpp
        CompletionPage.cpp
        DlgAbout.cpp
        DlgAdvPreferences.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp
        SkinManager.cpp, .h

svn path=/trunk/boinc/; revision=13389
2007-08-16 18:53:42 +00:00
David Anderson 4e1f0b7019 - client: add a <data_dir> option in cc_config.xml;
tells the client to use this as the data directory
- scheduler: improve the message telling the client that
    more disk or memory is needed;
    tell them the minimum amount needed to
    send any of the jobs rejected,
    rather than the amount needed for the first job rejected
- manager: fix text in "connect now" dialog

svn path=/trunk/boinc/; revision=13387
2007-08-16 17:33:41 +00:00
Rom Walton 078d788108 - MGR: Update taskbar icons.
clientgui/res/
        boinc.xpm
        boincdisconnect.xpm
        boincsnooze.xpm
    clientgui/res/templates/
        boincsnooze.ico (deleted)
        boincdisconnect.ico (deleted)
        boinc.gif (added)
        boincdisconnect.gif (added)
        boincsnooze.gif (added)

svn path=/trunk/boinc/; revision=13327
2007-08-15 21:38:42 +00:00
Rom Walton b04e39fce3 Quick Updates
svn path=/trunk/boinc/; revision=13325
2007-08-15 18:09:37 +00:00
Rom Walton 82c765437d - MGR: Fix the synchronize button and variables.
clientgui/
        sg_ProjectsComponent.cpp, .h
        SkinManager.cpp, .h
    clientgui/res/skins/default/graphic
        synchronize_button.xpm
        synchronize_clicked_button.xpm
    clientgui/res/templates/skins/
        btnSynchronize.png
        btnSynchronizeClick.png

svn path=/trunk/boinc/; revision=13324
2007-08-15 18:06:18 +00:00
Charlie Fenton 0e305ec1fe Mac MGR: Work around bugs in wxMac 2.82 - 2.8.4 to fix wxPieCtrl to work correctly on wxMac 2.6.3 - 2.8.4.
svn path=/trunk/boinc/; revision=13321
2007-08-15 10:50:59 +00:00
Rom Walton f841b17404 SCR: Enable V6 style applications, screensaver is no longer
compatible with v5 style graphics.
    
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h

svn path=/trunk/boinc/; revision=13318
2007-08-14 17:23:30 +00:00
Charlie Fenton 2712eb4fb7 Add transparency mask to boinc_logo.xpm
svn path=/trunk/boinc/; revision=13310
2007-08-14 10:07:36 +00:00
Charlie Fenton a5c5b732e3 Fix compiler warnings.
svn path=/trunk/boinc/; revision=13309
2007-08-14 02:38:38 +00:00
David Anderson c148085143 - Manager: change "Retry communications" to "Do network communication"
- client: use gethostname() to get host name on Linux

svn path=/trunk/boinc/; revision=13295
2007-08-11 03:34:38 +00:00
David Anderson 4a2e57e552 - Manager: show the AMS name, not the skin name, in Wizard
svn path=/trunk/boinc/; revision=13294
2007-08-11 03:30:03 +00:00
Rom Walton 00cc8c516e - MGR: Update taskbar icons.
clientgui/res/
        boinc.xpm
        boincdisconnect.xpm
        boincsnooze.xpm
    clientgui/res/templates/
        boincsnooze.ico
        boincdisconnect.ico

svn path=/trunk/boinc/; revision=13272
2007-08-08 16:21:29 +00:00
Rom Walton c8d4216006 - MGR: Respect the disallow_attach and simple_gui_only status
flags in both the simple GUI and advanced GUI.
    - MGR: Enable the syncronize button in the simple GUI which
        just causes an account manager update request.
    - MGR: Fix an overactive assert in debug builds

    clientgui/
        AdvancedFrame.cpp
        Events.h
        sg_BoincSimpleGUI.cpp
        sg_ProjectsComponent.cpp, .h
        SkinManager.cpp
        WelcomePage.cpp
    clientgui/res/skins/default/graphic
        syncronize_button.xpm (Added)
        syncronize_clicked_button.xpm (Added)
    clientgui/res/templates/skins
        btnSynronize.png (Added)
        btnSynronizeClick.png (Added)

svn path=/trunk/boinc/; revision=13271
2007-08-07 20:10:36 +00:00
Rom Walton e2c620b1be Quick Updates
svn path=/trunk/boinc/; revision=13269
2007-08-03 17:09:46 +00:00
Rom Walton c6e5897a02 fix build break on linux
svn path=/trunk/boinc/; revision=13268
2007-08-03 17:08:10 +00:00
Rom Walton 545ebd67cb Quick Updates
svn path=/trunk/boinc/; revision=13266
2007-08-02 21:03:35 +00:00
Rom Walton edb3ace8aa Quick Updates
svn path=/trunk/boinc/; revision=13265
2007-08-02 21:01:55 +00:00
Rom Walton 9e0edc6bab Quick Updates
svn path=/trunk/boinc/; revision=13264
2007-08-02 20:53:30 +00:00
Rom Walton 00c88b6c8a - DIAG: Disable symbol server technology for applications where a symbol
server isn't specified.
    - MGR: Provide some additional text to the begining of the attach to project
        wizard when the client is attached to an account manager. Warn the user
        that the AMS will not know about the project or its stats.
    - MGR: Fix dialog titles for the Simple GUI dialogs.
    - MGR: Eliminate bogus error messages when using the default skin.
    - MGR: Introduce new logo into the manager
    - MGR: Introduce the notion of the syncronize button in the Simple GUI.
        NOTE: This button will replace the 'attach to project' button when
        the manager detects that the client is attached to an account manager.
    
    client/win/res/
        icon.ico
    clientgui/
        DlgAbout.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        SkinManager.cpp, .h
        WelcomePage.cpp
    clientgui/res/
        boinc.xpm
        boinc_logo.xpm
        BOINCGUIApp.ico
    clientgui/res/templates/
        boinc.ico
        boinc16.bmp
        boinc32.bmp
        boinc48.bmp
        boinc128.bmp
        boinc256.bmp
        boinc_logo.gif
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=13263
2007-08-02 20:03:21 +00:00