Commit Graph

74 Commits

Author SHA1 Message Date
computezrmle 821ef461e4
Replace sprintf with snprintf 2022-08-03 11:21:59 +02:00
barton26 9e5ff22dfd
Merge branch 'BOINC:master' into spelling 2021-10-11 03:55:52 -04:00
Vitalii Koshura c1248078b3
[CI] Add CI workflow to check source code for illegal symbols
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2021-10-09 00:17:47 +02:00
barton26 985cecddca lib typos 2021-10-06 14:42:17 -04:00
David Anderson ac4b390ee8 client/manager, Win: remove references to _STDWX_H_; not used anymore 2020-06-04 00:48:21 -07:00
Dmitry Tsarevich edac89740f
lib: Remove already true condition 2020-05-06 23:25:50 +03:00
Dmitry Tsarevich 8cfbf370be
lib: Leave critical section in case of error 2020-05-06 23:01:05 +03:00
Dmitry Tsarevich fe3ed80362
lib: Remove condition which is always true 2020-05-06 22:52:18 +03:00
David Anderson d626dfd8d5 client/wrappers, Win: consolidate defines for _getcwd etc in boinc_win.h
They belong here, not in .cpp files
2017-01-26 20:59:11 -08:00
Anton Samsonov 26532e6cf2 Fix Windows build by including needed headers. 2016-09-09 19:46:04 +03:00
Rom Walton 16e51ec218 LIB: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use.
Use safe_strcpy and safe_strcat when dealing with non-pointer data types.
2016-02-15 17:54:13 -05:00
Rom Walton edcc9ce9d5 client & MGR: Remove byte order markers from UTF-8 encoded files. 2014-03-17 15:44:11 -04:00
Rom Walton 3dbe238996 client & manager: Convert several files to UTF-8 encoding. BOINCBaseView.cpp needed to be converted on a Windows machine to properly handle the original encoding. 2014-01-28 15:29:59 -05:00
Rom Walton 283ca3fead LIB: Remove the call to SetDLLDirectory which removes the current directory from the search path on recent versions of Windows.
Also remove our copies of the Windows debug engine.  Recent version of Windows have recent enough versions of the debugger engine to generate call-stacks.
2014-01-10 15:16:40 -05:00
Rom Walton a4f46e41f4 - lib: Fix the various '????' fields in the diagnostics framework during a
crash on Windows.  Somewhere along the lines I messed up with the
        conversions of single-byte characters vs. double-byte characters.

    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=23842
2011-07-14 15:54:52 +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 e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
David Anderson 563a55f37e - client/libs/samples: remove "#define read _read" etc. from boinc_win.h
These cause problems when "read" is a member name, etc.
		Do these #defines, conditioned on _MSC_VER,
		in the files that actually need them.
	- don't include boinc_win.h from parse.h.
		principle of minimal inclusion

svn path=/trunk/boinc/; revision=18902
2009-08-22 17:00:19 +00:00
Rom Walton 267b2b2cf8 Fix build break
svn path=/trunk/boinc/; revision=18365
2009-06-11 02:14:36 +00:00
Rom Walton 09a2564058 - DIAG: Policy change: Only include the BOINC symbol store for BOINC
binaries.  The old policy was kept around as a backwards compatibility
        thing before a new flag was added to the diagnostics to identify
        project applications.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=18339
2009-06-09 17:30:39 +00:00
Rom Walton 03fb7929c9 - MGR: Fix bug where there was no trailing backslash before
'symbols' was appended to the end of the symbol path.  This
        caused the stack tracing code not to download the actual
        symbol files needed to debug a problem.  I have no idea
        when this bug was introduced.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=18172
2009-05-20 21:48:09 +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
Rom Walton bb5742004e - DIAG: On Windows move the symbol store directory under the
BOINC data directory structure.  Depending on the version
        of Windows, sometimes the temp directory was being set
        to the system temp directory which is not setup for
        everyone to use.  It is just best to use out data
        directory structure.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=16548
2008-11-24 21:19:42 +00:00
Rom Walton c06b99be0e - LIB: Fix the windows callstack dump routine for
Visual Studio 2008
        
    lib/
        stackwalker_imports.h
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=16274
2008-10-23 03:02:16 +00:00
David Anderson 7678669df5 Small fix for MINGW32 build
svn path=/trunk/boinc/; revision=15411
2008-06-17 16:19:36 +00:00
Rom Walton f08acab0c2 Quick Updates
svn path=/trunk/boinc/; revision=15167
2008-05-09 17:45:34 +00:00
Rom Walton a514fa29ed Quick Updates
svn path=/trunk/boinc/; revision=15166
2008-05-09 17:44:50 +00:00
Rom Walton 82983c00dc - DIAG: Include the PDB filename that is linked to the EXE at
compile time to the module information dumped during a crash.
        
      NOTE: This should give a project admin a tickle that the PDB
        and EXE names need to be set before compiling and not renamed
        after the fact.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15165
2008-05-09 17:41:07 +00:00
Rom Walton b146c3b68a - DIAG: Include the list of libraries loaded as well as their locations
when the runtime debugger is engaged.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15161
2008-05-09 09:23:24 +00:00
Rom Walton e796847658 - DIAG: Add an easy way for projects to initialize the diagnostics
framework for graphics applications.
    - DIAG: Make SetDllDirectory work for Win2k3, Vista, and Win2k8
    
    lib/
        diagnostics.C, .h
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15105
2008-04-30 05:42:06 +00:00
Rom Walton c969d98c29 - DIAG: Make sure that if the symstore isn't defined at all, don't
construct the symstore search path.
        
    lib/
        stackwalker_win.cpp

svn path=/trunk/boinc/; revision=15035
2008-04-09 19:08:16 +00:00
David Anderson 41bd38148d Fixes missing routines and defines for MINGW32 application builds.
Also fixes some type warnings.


svn path=/trunk/boinc/; revision=14655
2008-01-31 18:34:51 +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
Rom Walton e51745fd18 *** empty log message ***
svn path=/trunk/boinc/; revision=12364
2007-04-13 06:13:46 +00:00
Rom Walton d6240c3a9d *** empty log message ***
svn path=/trunk/boinc/; revision=12300
2007-04-03 14:33:17 +00:00
Rom Walton cadcbab3d9 *** empty log message ***
svn path=/trunk/boinc/; revision=11769
2007-01-04 17:46:38 +00:00
Rom Walton 35d7169058 *** empty log message ***
svn path=/trunk/boinc/; revision=10998
2006-08-24 07:02:52 +00:00
Rom Walton 42502ba9ed *** empty log message ***
svn path=/trunk/boinc/; revision=10280
2006-06-09 08:30:27 +00:00
Rom Walton 76798b2c96 *** empty log message ***
svn path=/trunk/boinc/; revision=10279
2006-06-09 06:45:28 +00:00
Rom Walton b482e39699 *** empty log message ***
svn path=/trunk/boinc/; revision=10275
2006-06-08 19:40:14 +00:00
Rom Walton aad7a928b2 *** empty log message ***
svn path=/trunk/boinc/; revision=10113
2006-05-08 18:35:56 +00:00
Rom Walton f74d8bd38a *** empty log message ***
svn path=/trunk/boinc/; revision=10072
2006-05-01 21:36:38 +00:00
Rom Walton ecfe6aaf64 *** empty log message ***
svn path=/trunk/boinc/; revision=10003
2006-04-21 06:38:51 +00:00
Rom Walton 3041d396c9 *** empty log message ***
svn path=/trunk/boinc/; revision=10002
2006-04-21 06:37:33 +00:00
Rom Walton c6ae204235 *** empty log message ***
svn path=/trunk/boinc/; revision=9994
2006-04-20 21:21:08 +00:00
Rom Walton ad8b1d3e69 *** empty log message ***
svn path=/trunk/boinc/; revision=9993
2006-04-20 20:16:50 +00:00
Eric J. Korpela 8231cd307a Got stackwalker working on MINGW32
svn path=/trunk/boinc/; revision=9966
2006-04-19 18:06:26 +00:00
Rom Walton 5fbed0a769 *** empty log message ***
svn path=/trunk/boinc/; revision=9915
2006-04-17 06:46:48 +00:00
Rom Walton b17bdcf283 *** empty log message ***
svn path=/trunk/boinc/; revision=9910
2006-04-15 22:45:02 +00:00
Rom Walton c410038fb1 *** empty log message ***
svn path=/trunk/boinc/; revision=9887
2006-04-13 22:21:44 +00:00