Commit Graph

34 Commits

Author SHA1 Message Date
David Anderson 846b8c7757 all components: change strcpy() to strlcpy() when possible.
This commit should cover the client and manager code.
2013-06-03 20:24:48 -07:00
David Anderson 6c2631ec6f client: make "missing app" messages more consisten 2013-05-16 12:40:43 -07:00
Rom Walton 9b83503d9d client: Another typo 2013-03-05 16:31:08 +01:00
Rom Walton 49e41f7123 client: Fix typo from previous commit 2013-03-05 15:57:35 +01:00
Rom Walton af7948910e client: Adjust logging on Android so that all messages that show up in the event log are also dumped to LogCat, things were originally setup with that intent but I don't think __VA_ARGS__ was having the desired effect. 2013-03-05 15:57:34 +01:00
David Anderson 22f93cf009 - Client: initial checkin for Android version. From Joachim Fritzsch.
svn path=/trunk/boinc/; revision=25982
2012-08-04 00:27:32 +00:00
David Anderson 490b740682 - web: improve forum pagination
svn path=/trunk/boinc/; revision=25863
2012-07-11 19:24:28 +00:00
David Anderson 863950ecc1 - client: show error messages from account managers correctly
- client/manager: if a job is missing a GPU, show details
	- client: win compile fix

svn path=/trunk/boinc/; revision=23430
2011-04-24 19:56:28 +00:00
David Anderson 05b9c0aa40 - client: show a given system notice at most once a week
svn path=/trunk/boinc/; revision=22861
2011-01-03 20:09:52 +00:00
David Anderson 878ec29353 - client: improve text of "message from server" notices
- manager: change "add account manager" to "use account manager".
		"Add" is confusing, because you can't add multiple account managers
		like you add projects.
	- client: recognize a few new ATI GPU models
		from Robert Kreß

svn path=/trunk/boinc/; revision=22843
2010-12-17 18:56:10 +00:00
David Anderson a7c51c6340 - client and manager: fix notice titles
- code cleanup: please use standard coding conventions

svn path=/trunk/boinc/; revision=22607
2010-10-29 18:58:26 +00:00
David Anderson ac435d0857 - scheduler: don't send translatable strings to pre-6.12 clients
svn path=/trunk/boinc/; revision=22603
2010-10-28 21:46:18 +00:00
David Anderson 3de15a592d - client simulator: various fixes
svn path=/trunk/boinc/; revision=22555
2010-10-19 15:48:33 +00:00
David Anderson 33713781d1 - client: distinguish between messages to be displayed as HTML
(e.g. "Download new client here" link) and others
		(e.g. "Bad tag in cc_config.xml: <foo>").
	- code cleanup; move show_message from main.cpp to client_msgs.cpp

svn path=/trunk/boinc/; revision=22548
2010-10-18 20:09:51 +00:00
David Anderson 7c4363a7ba - client: improve "wrong URL" messages
- client: add title to client/server messages: "Notice from BOINC"

svn path=/trunk/boinc/; revision=22383
2010-09-17 05:24:37 +00:00
David Anderson 11fc2dcdd2 - client: treat notices from schedulers a little differently.
Ignore duplicate notices unless they're at least 24 hours
    newer than the previous one.

svn path=/trunk/boinc/; revision=22293
2010-08-26 21:26:52 +00:00
David Anderson ef044d6841 - client/manager: add the ability to associate URLs with
client-generated notices.
    Use this as appropriate: e.g., for errors about cc_config.xml syntax,
    direct user to the web page describing this syntax.

svn path=/trunk/boinc/; revision=22024
2010-07-21 19:04:46 +00:00
David Anderson 7e060aa08a - client: entity-encode client-generated notices
(e.g. they may contain XML tags)


svn path=/trunk/boinc/; revision=22010
2010-07-20 00:27:37 +00:00
David Anderson e96747d3e0 - client: bug fix in message code
svn path=/trunk/boinc/; revision=21951
2010-07-15 17:30:03 +00:00
David Anderson e2299ef8bb - client/manager/GUI RPC: add optional "translatable" arg
to get_messages() RPC; if absent or false,
    client will strip _( ) from messages.

svn path=/trunk/boinc/; revision=21946
2010-07-14 21:23:17 +00:00
David Anderson 3589e02c00 - win build: don't build CUDA/OpenCL apps by default
svn path=/trunk/boinc/; revision=21883
2010-07-08 18:03:39 +00:00
David Anderson 9735a3a2be - client: improve (or at least change) logic related to duplicate notices
svn path=/trunk/boinc/; revision=21841
2010-06-29 19:33:18 +00:00
David Anderson 6c3cd72f89 - bug fixes to the above
svn path=/trunk/boinc/; revision=21708
2010-06-08 22:29:53 +00:00
David Anderson 5a28b5672e - client: user-visible text (message body, notice title and description)
are now translatable,
    using the convention that any substring enclosed in _(" ... ")
    should be passed throughh wxGetTranslation() or the equivalent.
- client: when writing messages to stdout, strip out _(...)
- manager: translate strings from client
- scheduler: message tweaks

svn path=/trunk/boinc/; revision=21706
2010-06-08 18:56:53 +00:00
David Anderson 5453185a1f - client: delete messages on exit
svn path=/trunk/boinc/; revision=21463
2010-05-11 20:18:57 +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 0ca396f73d - Manager/client: show project name with notices
svn path=/trunk/boinc/; revision=20870
2010-03-12 04:42:25 +00:00
David Anderson 42683a8a31 svn path=/trunk/boinc/; revision=20269 2010-01-27 03:55:46 +00:00
David Anderson da1476f47d compile fixes
svn path=/trunk/boinc/; revision=20056
2010-01-01 05:12:03 +00:00
David Anderson 4569b258c5 - client: more work on notices.
Create notices for client and scheduler user alerts

svn path=/trunk/boinc/; revision=20030
2009-12-23 21:22:24 +00:00
David Anderson 13fe6a468c - client: code cleanup: most message code into a class
svn path=/trunk/boinc/; revision=20029
2009-12-23 19:52:34 +00:00
David Anderson 10f9e11ee6 - lib: created a new file for declaring "replacements"
for functions like strlcpy() etc.
    config.h is included here rather than in str_util.h


svn path=/trunk/boinc/; revision=18437
2009-06-16 20:54:44 +00:00
David Anderson 8de66223fd - client: tweak work fetch messages
- client: buffer 2000 messages instead of 1000

svn path=/trunk/boinc/; revision=17089
2009-01-30 22:33:45 +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