change various std::string to char[n], to improve performance.
NOTE: std::string should ONLY be used in cases where there is
no a priori limit on string length.
If there's a limit (e.g. because the string originates in
a fixed-size database field) always use char[n].
svn path=/trunk/boinc/; revision=20877
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
- 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
* Move all logic for reloading a project/stat icon into the StatImageLoader class
* Fix bug that prevented the default stat icons from being updated with reskining
svn path=/trunk/boinc/; revision=11365
- Update User Stats when a rpc has completed with a project
- Update project slide show when new downloads have been received from the project
svn path=/trunk/boinc/; revision=11285
- Add message to space below slide show images to explain status of the workunit (running, paused)
- Fixed bug that sometimes caused slide shows to not load properly when first downloaded
or after they have been updated by the project
- Prevent workunit name from overflowing the side of BSG
- Play with tabs to make the selected tab stand out
- Fixed bug which caused a crash when switching between simple and advanced views
- Fixed a significant memory leak
- Eliminate some compiler warnings
svn path=/trunk/boinc/; revision=11274
- Eliminate dual timer issue if you change skins and have a slide show running
- Extend the wxFlatNotebook and moved all code related to the notebook and workunits into the new class (WorkunitNotebook)
- Change the height of the BSG to 570 pixels (from 600)
- Change the display area for the slide show to eliminate black border except where required by text for show graphics. New dimensions are width = 290, height = 126
- Check for updated slideshows after a project RPC and any files finish downloading
svn path=/trunk/boinc/; revision=11267
- Add a link to the home page for all projects in the drop down
- Change label in menu in the advanced view read 'Switch to Simple View'
- Fix bug that occurs when the notebook is rendered while a dialogue box is open
svn path=/trunk/boinc/; revision=11201
Make sure that the first tab is the selected tab when the BSG is opened
The 'currently running' indicator is now properly added and removed as different results are started and stopped
The percent displayed now includes one decimal place
svn path=/trunk/boinc/; revision=11012