Commit Graph

36 Commits

Author SHA1 Message Date
Juha Sointusalo fdb8149796 mgr: replace strncpy with strlcpy
strlcpy always null terminates the dest buffer, strncpy doesn't when the
buffer is too small
2015-11-23 21:45:40 +02:00
Christian Beer c4edb59837 Manager: make sure strings are null terminated
strncpy() doesn't null-terminate the destination string if the source string is not null terminated.
fixes CID 38958, 38959, 38960 found by Coverity
2015-11-10 15:58:45 +01:00
Charlie Fenton 5271c5969c MGR: Fix a possible (but unlikely) crash bug identified by Coverity scan (CID 117629) 2015-10-14 00:53:34 -07:00
David Anderson 28e18f6b8d Manager, client: use WxWidgets functions for number formatting
Turns out WxWidgets has functions for localized number formatting.
This was added in 2.9 so we weren't able to use it last time I checked.

Remove our own number-formatting code.
Don't do localized number formatting in client.
2015-09-22 11:22:07 -07:00
David Anderson 7f91596fae Manager, client: have comma_print() return a std::string, avoid static buffer problem 2015-08-27 15:05:56 -07:00
David Anderson d10bf89a25 Manager and client: print numbers with thousands separators in various places 2015-08-26 12:50:11 -07:00
Charlie Fenton f1e1b7167a MGR: Fix a crash bug if connection to client is lost in Simple View 2015-04-07 21:35:56 -07:00
David Anderson 42c4f7adc7 Manager: menu item shuffle
Advanced view: move Event Log to Tools
Simple view: add Tools menu, and put Event Log and Add Project there.
2015-04-04 11:44:16 -07:00
Charlie Fenton 1536c74a81 MGR: Fix bug in initial layout of Simple View project panel. 2014-08-30 04:15:31 -07:00
Charlie Fenton 92d9cb3fd5 MGR: On MS Windows, adjust Simple View images from skin file for users DPI setting. 2014-08-26 03:56:21 -07:00
Charlie Fenton 8f3256753c MGR: Fix compiler warning. 2014-08-25 06:42:48 -07:00
Charlie Fenton 69909aa47c MGR: On MS Windows, adjust Simple View metrics and images for users DPI setting. 2014-08-25 06:24:54 -07:00
Charlie Fenton 3bdef01f9e MGR: Fix Mac Simple View updating broken by commit 185c45 2014-03-18 18:16:53 -07:00
Rom Walton 7185c45dca MGR: Get rid of some crufty code that is no longer needed on Windows/Linux. Use wxBitmapComboBox instead. 2014-03-18 16:08:55 -04:00
David Anderson dfe1e5eb5d Manager: string tweaks
- Let's use "web site" instead of "website"
2013-11-17 12:29:11 -08:00
Rom Walton c320168c06 MGR: Fix translation problem. 2013-06-03 13:25:41 -04:00
Charlie Fenton 217a21f79a MGR: Immediately update Simple View default project icon, window icon and window title when switching skin 2013-04-26 03:16:16 -07:00
Charlie Fenton 0601bdbd19 Attempt to fix appearance of Simple View buttons on Windows 2013-03-05 17:30:04 +01:00
Charlie Fenton 462be89f01 Restore changes lost due to GIT confusion 2013-03-04 17:01:36 +01:00
David Anderson ca652519cf - scheduler: log message tweaks
- Some C++ files in client had execute permissions (??).  Clear them.
2013-03-01 16:26:08 +01:00
Charlie Fenton 28c52cfd9d MGR: In Simple View, sort Project & Task Selection Controls case-insensitive, fix bugs in MacBitmapComboBox.cpp
svn path=/trunk/boinc/; revision=24647
2011-11-24 11:10:07 +00:00
Charlie Fenton dc40ffd6e2 MGR: The asserts were correct; fix minor errors in calling code
svn path=/trunk/boinc/; revision=24643
2011-11-22 00:40:07 +00:00
Charlie Fenton b7962e25b0 MGR: Fix button font sizes in Simple View Projects panel
svn path=/trunk/boinc/; revision=24620
2011-11-19 12:23:39 +00:00
Charlie Fenton a0939b8e4b MGR: Sort Simple View task selection control alphabetically, working around clientData bug in wxBitmapComboBox::Insert()
svn path=/trunk/boinc/; revision=24476
2011-10-25 11:19:42 +00:00
Rom Walton 0319bc4dfe - MGR: More simple GUI text changes
- MHR: Reduce clutter in log file
    
    clientgui/
        sg_BoincSimpleFrame.cpp
        sg_ProjectPanel.cpp, .h

svn path=/trunk/boinc/; revision=24415
2011-10-18 13:47:36 +00:00
Rom Walton de72c0b4b9 - MGR: Make the Default skin loadable from the file system.
- MGR: Change the in-memory defaults for the skin to be a light-gray
        background.
    - MGR: Change the dots used in the simple gui.
    - MGR: Make the dots used in the simple gui skinable.
    - MGR: Change the 'Project Web Sites' button text to 'Project Web Pages'.
    - MGR: Add a basic 'Default' skin to be included by the various
        installers
    - MGR: Remove a bunch of files that are not used by the default skin
        anymore.

    clientgui/res/skins/default/graphic/
        <various files>
    clientgui/res/templates/
        dotgreen.gif
        dotred.gif
        dotyellow.gif
    clientgui/
        sg_DlgPreferences.cpp
        sg_ProjectPanel.cpp
        sg_TaskPanel.cpp, .h
        SkinManager.cpp, .h
    clientgui/skins/Default/
        background_image.png
    clientgui/skins/Default/
        skin.xml

svn path=/trunk/boinc/; revision=24412
2011-10-18 04:58:05 +00:00
David Anderson 9b7d5702ab - manager, simple view:
- edit label text
		- increase opacity of main area;
			otherwise some text is hard to read
		- change borders from blue to light gray.
			In general shouldn't use primary colors
		- display credit as integer
		- reduce size of project name;
			otherwise long names don't fit (on Win)
		- don't use "(in slot x)".
			"Slot" is not part of the vocabulary here.

svn path=/trunk/boinc/; revision=24158
2011-09-11 18:55:19 +00:00
Charlie Fenton 02d0303133 MGR: Fix "Can't load Image" messages in Simple View; allow gaps in slide show file numbering; reload images if new project files downloaded
svn path=/trunk/boinc/; revision=23849
2011-07-18 11:29:41 +00:00
Charlie Fenton 164d3a2f76 MGR: New Simple GUI: better displays if no tasks or no projects
svn path=/trunk/boinc/; revision=23550
2011-05-16 09:34:08 +00:00
Charlie Fenton d77468cf1d MGR: Fixes to new Simple GUI for Linux
svn path=/trunk/boinc/; revision=23548
2011-05-14 01:57:15 +00:00
Charlie Fenton a7cb3f6a6d MGR: Fixes to new Simple GUI for Windows
svn path=/trunk/boinc/; revision=23539
2011-05-13 12:51:29 +00:00
Charlie Fenton 9d90857fdd MGR: make sure new Simple GUI Add Project / Synchronize button is large enough for the larger of its localized labels
svn path=/trunk/boinc/; revision=23537
2011-05-13 12:24:20 +00:00
Charlie Fenton b8894dac61 MGR: Fixes to new Simple GUI for Linux
svn path=/trunk/boinc/; revision=23532
2011-05-13 08:15:03 +00:00
Charlie Fenton d1ae7a2fcc MGR: Fixes to new Simple GUI for Linux
svn path=/trunk/boinc/; revision=23522
2011-05-11 00:50:52 +00:00
Charlie Fenton a0cbc14c5d MGR: Code cleanup
svn path=/trunk/boinc/; revision=22960
2011-01-30 05:55:56 +00:00
Charlie Fenton bf789a23db Add new Simple GUI
svn path=/trunk/boinc/; revision=22948
2011-01-27 14:36:49 +00:00