Commit Graph

120 Commits

Author SHA1 Message Date
Rom Walton 28c72cab79 - WIN: First pass through the code to fix compliation errors when
building in a Unicode enabled environment.
        
        NOTE: For files that are shared between the core client and
          the manager, it was simpliar to just call the ANSI versions
          of the specific Windows API functions then to monkey with
          all of the string handling code and convert between ANSI
          and UCS-2 strings.  CreateFile becomes CreateFileA instead
          of the default of CreateFileW.
          
        Down to 11 compile time errors from over 100.

    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp
        browser.cpp
        browser.h
        sg_StatImageLoader.cpp
    lib/
        boinc_win.h
        diagnostics_win.cpp
        filesys.cpp
        gui_rpc_client_ops.cpp
        proc_control.cpp
        stackwalker_imports.h
        stackwalker_win.cpp
        str_util.cpp
        util.cpp
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=17859
2009-04-23 03:40:49 +00:00
Charlie Fenton be2b680f1d client: fix boinc_copy (again); Mac Mgr: fix bugs showing Mgr when minimized to Dock; fix XCode project for moved src file.
svn path=/trunk/boinc/; revision=16929
2009-01-16 06:41:52 +00:00
David Anderson d93eb6da48 - GUI RPC: finish the changed started above;
update the way that app versions are identified.

Old: WORKUNIT contains version_num
    RESULT contains app_version_num (but only if running)

New: Keep old fields so new client works with old manager.
    RESULT contains version_num, plan_class
    Manager: if RESULT doesn't have version/plan_class
    (because talking to old client)
    look up app version based on WU version num.

svn path=/trunk/boinc/; revision=16903
2009-01-13 22:46:58 +00:00
David Anderson 85d65bd849 - client: GPU bug fix; compile warning fixes
svn path=/trunk/boinc/; revision=16901
2009-01-13 20:02:50 +00:00
Charlie Fenton 9ae54f7001 Mac: Add new source files mac_address.cpp,.h to XCode project; MGR: Fix compiler warnings on non-Windows builds
svn path=/trunk/boinc/; revision=16436
2008-11-06 00:08:44 +00:00
Rom Walton 0a19a338b4 - MGR: Only tweak the BOINC was started by us variable on
Windows.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16434
2008-11-05 22:03:45 +00:00
Rom Walton ade7eb5d1f - MGR: Tweak the shutdown logic so that it can still shutdown the
BOINC service even though it didn't start it.
    - MGR: It BOINC Manager starts the BOINC deamon on the mac don't bother
        trying to shut it down. (reverting to previous behaviour)
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.cpp, .h
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=16427
2008-11-05 16:07:12 +00:00
Rom Walton 7652d57839 - MGR: Bug fixes for the new Exit dialog.
clientgui/
        BOINCBaseFrame.cpp
        BOINCClientManager.h
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        screensaver_win.cpp

svn path=/trunk/boinc/; revision=16414
2008-11-04 16:51:31 +00:00
Rom Walton 1f1cc48a4c - client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
    - MGR: Have the BaseFrame call a function to determine if the
        selection list should be saved instead of traversing
        the application pointer.  Each view just overrides the function
        returning a true/false value.  We don't have to worry about null
        pointers and the like.
    - MGR: BOINCGUIApp should never need to know how either the views
        work or the document.  Move the code that determines which
        RPCs should be fired into each of the views.  Have the document
        look for it there.
    - MGR: Reduce duplicate code for hiding and showing an application
    - MGR: Move some Windows and Mac specific code into functions
        and streamline the application startup and shutdown rountines.
    - MGR: Move the event processing that was in BOINCGUIApp into the
        BaseFrame.
    - MGR: General cleanup.
    - MGR: Doxygen comments.
    - MGR: Cleanup some warnings.

    client/
        rr_sim.cpp
    clientgui/
        AdvancedFrame.cpp, .h
        AsyncRPC.cpp, .h
        BOINCBaseFrame.cpp, .h
        BOINCBaseView.cpp, .h
        BOINCClientManager.cpp
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        MainDocument.cpp, .h
        sg_BoincSimpleGUI.cpp, .h
        ViewProjects.cpp, .h
        ViewTransfers.cpp, .h
        ViewWork.cpp, .h
        WelcomePage.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/
        sim.vcproj

svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
Charlie Fenton 39f17fc77c MGR: Multiple fixes to Async GUI RPCs: Filter events during Please Wait dialog, hide Please Wait dialog when BOINC hidden, use try / catch blocks for all cached list data.
svn path=/trunk/boinc/; revision=16197
2008-10-14 12:35:48 +00:00
Charlie Fenton 655301bfda MGR: Multiple fixes to Async GUI RPCs, message polling, task bar tooltip updates
svn path=/trunk/boinc/; revision=16196
2008-10-14 03:28:34 +00:00
Charlie Fenton f3e6fd50ce Mgr: Fix a rare crash bug in CTaskBarIcon::OnMouseMove()
svn path=/trunk/boinc/; revision=16026
2008-09-19 07:55:38 +00:00
Charlie Fenton f3146210d7 MGR: async GUI RPCs: Create SafeMessageBox function to suspend periodic RPCs during modal dialogs
svn path=/trunk/boinc/; revision=15901
2008-08-20 16:07:06 +00:00
Charlie Fenton 1cf4b28528 MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk. Eliminate Grid views.
svn path=/trunk/boinc/; revision=15850
2008-08-15 07:13:00 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Charlie Fenton 3237c4ae3e MGR: async GUI RPCs: All periodic RPCs for Simple View implemented.
svn path=/workspaces/charlief/; revision=15703
2008-07-29 13:06:28 +00:00
Charlie Fenton f48643e837 MGR: async GUI RPCs: Get RPCs all working in separate thread; temporarily ignore timer events which would do RPCs while a previous RPC request is in progress.
svn path=/workspaces/charlief/; revision=15667
2008-07-24 10:18:31 +00:00
Rom Walton e3558ce478 - MGR: Fix small bug when displaying the active task count in the
taskbar.
        
    clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=15593
2008-07-11 16:07:42 +00:00
Rom Walton ef6ac744bd Quick Updates
svn path=/trunk/boinc/; revision=15475
2008-06-25 19:38:55 +00:00
Rom Walton fc27eb0e50 Quick Updates
svn path=/trunk/boinc/; revision=15473
2008-06-25 19:15:55 +00:00
Rom Walton 1238d2d18b - MGR: If more than two active tasks are running then tell the
user how many active tasks are running instead of attempting
        to display the percent complete of each one.
    - MGR: If the computer name is the local host then skip displaying
        it in the tooltip.
        
    clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=15469
2008-06-25 18:11:28 +00:00
Charlie Fenton c719556ae7 MGR: Fix build breaks on Mac.
svn path=/trunk/boinc/; revision=15455
2008-06-24 01:09:09 +00:00
Rom Walton d1cff66f64 - MGR: Change from using balloons to tooltips. Fixes #9.
Thanks David Barnard.
      
    clientgui/
        BOINCTaskBar.cpp
    clientgui/msw/
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=15452
2008-06-23 18:47:51 +00:00
Rom Walton be64fef081 - MGR: Fix a refresh bug when opening BOINC Manager from the taskbar.
clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=14692
2008-02-06 17:20:23 +00:00
Rom Walton 9b631ce48f - MGR: Don't display the snooze icon when CPU benchmarks are
running or when computation has been suspended due to
        preferences.
        
    clientgui/
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=14257
2007-11-19 14:09:04 +00:00
David Anderson d0256a3802 - Manager compile fix
svn path=/trunk/boinc/; revision=14235
2007-11-17 00:36:53 +00:00
Charlie Fenton db772ab82a MGR: Fix bug which showed Snooze task bar icon when it shouldn't.
svn path=/trunk/boinc/; revision=14224
2007-11-16 09:28:02 +00:00
Rom Walton 50f63c1fd4 - MGR: Shrink the external web link icon to 12x12 to avoid having the
grey border.
    - MGR: Use tooltips instead of balloons when displaying result completion
        status. (from David Barnard)
    
    clientgui/
        BOINCTaskBar.cpp, .h
        ProjectListCtrl.cpp
    clientgui/msw
        taskbarex.cpp, .h

svn path=/trunk/boinc/; revision=14214
2007-11-15 15:59:59 +00:00
Rom Walton b1db7ede89 - MGR: Change the layout of the Project List control.
- MGR: Clean up some comments in the task bar code since the comments
        no longer served a purpose.
        
    clientgui/res/
        externalweblink.xpm (Added)
    clientgui/res/templates/
        externalweblink.gif (Added)
    clientgui/
        BOINCGUI.pjd
        BOINCTaskBar.cpp
        ProjectInfoPage.cpp
        ProjectListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=14111
2007-11-07 18:08:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +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
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
Charlie Fenton dbfb00570e Mac: Fix bugs when user chooses Quit from menubar icon menu and then cancels in confirmation dialog.
svn path=/trunk/boinc/; revision=13001
2007-06-24 09:24:52 +00:00
Rom Walton d32fe787e2 - fixes #182 - System tray icon should be removed for both exit
scenarios.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp

svn path=/trunk/boinc/; revision=12704
2007-05-21 16:07:10 +00:00
Rom Walton d508c88a9a - Possible fix for a crashing condition when the manager is shutdown
from the system tray icon.
        
    clientgui/
        BOINCBaseFrame.cpp
        BOINCTaskBar.cpp, .h

svn path=/trunk/boinc/; revision=12635
2007-05-10 15:41:10 +00:00
Charlie Fenton c540722761 *** empty log message ***
svn path=/trunk/boinc/; revision=12159
2007-02-26 02:58:40 +00:00
Rom Walton 721fb8b0e0 *** empty log message ***
svn path=/trunk/boinc/; revision=11913
2007-01-19 23:45:19 +00:00
Rom Walton 5af91f736f *** empty log message ***
svn path=/trunk/boinc/; revision=11908
2007-01-19 17:52:48 +00:00
Charlie Fenton 99c8874340 *** empty log message ***
svn path=/trunk/boinc/; revision=11905
2007-01-19 14:30:18 +00:00
Charlie Fenton e3708f2f12 *** empty log message ***
svn path=/trunk/boinc/; revision=11896
2007-01-18 10:01:35 +00:00
Rom Walton 931efa9e6c *** empty log message ***
svn path=/trunk/boinc/; revision=11713
2006-12-21 17:05:58 +00:00
Rom Walton 2f7955d80c *** empty log message ***
svn path=/trunk/boinc/; revision=11580
2006-11-23 19:47:35 +00:00
Charlie Fenton f068c7262d *** empty log message ***
svn path=/trunk/boinc/; revision=11571
2006-11-23 00:52:21 +00:00
Rom Walton e14d4890a2 *** empty log message ***
svn path=/trunk/boinc/; revision=11570
2006-11-22 21:26:21 +00:00
Rom Walton aed031d7d2 *** empty log message ***
svn path=/trunk/boinc/; revision=11565
2006-11-22 18:42:22 +00:00
Charlie Fenton 2bc6dd124b *** empty log message ***
svn path=/trunk/boinc/; revision=11564
2006-11-22 11:53:17 +00:00
Rom Walton 178a16c6c9 *** empty log message ***
svn path=/trunk/boinc/; revision=11563
2006-11-22 09:51:59 +00:00
Rom Walton 6adf64a4f3 *** empty log message ***
svn path=/trunk/boinc/; revision=11556
2006-11-20 21:59:03 +00:00
Rom Walton 2b080cc41f *** empty log message ***
svn path=/trunk/boinc/; revision=11529
2006-11-15 12:01:46 +00:00