Commit Graph

17 Commits

Author SHA1 Message Date
David Anderson ac67e5c5ee - code shuffle
svn path=/trunk/boinc/; revision=24121
2011-09-02 18:32:32 +00:00
David Anderson cf9b7ef4a2 - client: make "wait 30 sec after exclusive app exits" apply to network too
- client: fix bug in "wait 30 sec after exclusive app exits" logic
	- client: fix compile warning and possible bug in is_remote_desktop()
	- win: remove wrappture_example from solution
		(until Hubzereo guys get their win lib working)

svn path=/trunk/boinc/; revision=23077
2011-02-21 00:09:18 +00:00
Rom Walton e8fc714964 - client: Fast User Switching does not change the session protocol
to RDP when the active session is put into the background and
        a new one is brought into the foreground.  It appears it is safe
        to use the connected state in addition to the protocol
        to detect when the session is no longer capable of processing
        GPU work
        
    lib/
        win_util.cpp

svn path=/trunk/boinc/; revision=23068
2011-02-18 20:32:43 +00:00
David Anderson eeab2aee92 - simulator work
- fix some indentation

svn path=/trunk/boinc/; revision=22891
2011-01-07 20:23:22 +00:00
Rom Walton 9cb3e6ffc7 - client & lib: bring header inclusion up-to-date for the CC to begin
hunting down a memory leak.
        
    client/
        <Various Files>
    lib/
        <Various Files>

svn path=/trunk/boinc/; revision=21457
2010-05-11 19:10:29 +00:00
Rom Walton ad60b45f72 - lib: Don't allow the diagnostics threads to be suspended, if a crash happens within
the remaining thread the process will deadlock.

    lib/
        diagnostics.h
        diagnostics_win.cpp
        win_util.cpp

svn path=/trunk/boinc/; revision=20198
2010-01-19 17:22:46 +00:00
David Anderson d5a8f6f1e1 - API: add boinc_init_parallel().
This is like boinc_init() but for multithread apps.
    Unlike boinc_init(), it suspends/resumes all threads in the app,
    not just one.
    In Unix, this is done by forking,
    and having the parent process handle suspend/resume messages
    and suspend/resume the child using signals
    On Win, there's some nasty code that enumerates all
    threads in the whole system, and suspends/resumes
    those in a particular process.


svn path=/trunk/boinc/; revision=20054
2010-01-01 02:50:56 +00:00
Rom Walton 2d25b6698d - Cleanup various warnings
- WINSCR: Implement new configuration dialog with new parameters
    - WINSCR: Remove crufty code
    - WINSCR: Update copyrights in resource files
    
    client/
        app.cpp
    clientscr/
        boinc_ss.h
        boinc_ss.rc
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
    clientscr/
        screensaver.cpp, .h
        screensaver_win.cpp, .h
    lib/
        common_defs.h
        crypt.cpp
        idlemon_win.cpp
        win_util.cpp
    samples/worker/
        worker.cpp
    win_build/
        boinc_ss.vcproj
        multi_thread.vcproj
        sleeper.vcproj
        ss_app.vcproj
        uc2_graphics.vcproj

svn path=/trunk/boinc/; revision=19923
2009-12-16 19:55:09 +00:00
Rom Walton ada6e10461 - client: Use the ANSI version of WTSQuerySessionInformation to determine
is Remote Desktop is in use.
        
    lib/
        coproc.cpp

svn path=/trunk/boinc/; revision=19347
2009-10-20 14:51:20 +00:00
Rom Walton 265de0b15f Quick Updates
svn path=/trunk/boinc/; revision=19299
2009-10-13 22:13:27 +00:00
Rom Walton 2a0dbe4e74 - LIB: Make the is_remote_desktop compilable for all VS versions
and SKUs.
        
    lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=19296
2009-10-13 18:12:33 +00:00
Rom Walton bb2d95953c - lib: revert previous commit, things in lib end up being linked
into project applications, projects may want to continue
        supporting Win9x.
        
    lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=18718
2009-07-25 03:51:18 +00:00
Rom Walton dca67408fd - lib: more code cleanup
lib/
        win_util.cpp, .h

svn path=/trunk/boinc/; revision=18717
2009-07-25 02:27:42 +00:00
David Anderson 114ba8111d compile fixes
svn path=/trunk/boinc/; revision=18589
2009-07-08 22:49:30 +00:00
David Anderson 43231a8dbb svn path=/trunk/boinc/; revision=18588 2009-07-08 19:33:27 +00:00
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
David Anderson 98cfb8d3b0 - rename .C files to .cpp so that Doxygen will work
svn path=/trunk/boinc/; revision=16069
2008-09-26 18:20:24 +00:00