Commit Graph

50 Commits

Author SHA1 Message Date
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 c031ea2517 - client: notice debugging
svn path=/trunk/boinc/; revision=22553
2010-10-18 21:03:07 +00:00
David Anderson 9f962b3311 - Win build fix
svn path=/trunk/boinc/; revision=22551
2010-10-18 20:54:33 +00:00
David Anderson 612362d6dc - bug fix for the above
svn path=/trunk/boinc/; revision=22544
2010-10-17 18:02:40 +00:00
David Anderson 575718e420 - client: delete a notice if it's no longer in the RSS feed.
E.g., if a project deletes a news item, remove it from notices.
- notices RSS: remove the "since_time" mechanism
    (an optimization that conflicts with the above)

svn path=/trunk/boinc/; revision=22543
2010-10-17 04:01:36 +00:00
David Anderson fcbb8a286e - client simulator: major remodel and upgrade.
Insteady of using its own XML input files,
    the simulator now takes a client_state.xml file as input.
    The simulator generates a synthetic workload based on the
    projects, apps, app versions, WUs, and result it finds there.

    This means that a user seeing aberrant behavior
    can just send their client_state.xml file
    and (hopefully) we can use the simulator to repro.

    The simulator now can model GPUs.

    As of this checkin, the simulator compiles but doesn't work.
    There should be no change in the actual client.


svn path=/trunk/boinc/; revision=22409
2010-09-24 20:02:42 +00:00
David Anderson 5f23ce067f - client: typo fix
svn path=/trunk/boinc/; revision=22398
2010-09-22 22:50:45 +00:00
David Anderson b3383c281e - client/web: change RSS feed mechanism a little.
If <use_since_time> is included in feed description,
    the client will append &since_time=x to the URL,
    where x is the lastBuildDate of the previous reply.
    This notices handler (notices.php) sends only notices
    newer than this.
- client: discard old notices as they arrive

svn path=/trunk/boinc/; revision=22396
2010-09-21 23:49:21 +00:00
David Anderson 291c0cc7a7 - client: remove duplicate notices based on GUID as well as text
(Google RSS feeds, e.g., change random strings in URLs
		in the item description, but leave the GUID the same)

svn path=/trunk/boinc/; revision=22333
2010-09-09 21:37:28 +00:00
David Anderson e0e237d4dc - debug the above. It now successfully displays an
RSS feed of news items from Google,
		linked from a project manager

svn path=/trunk/boinc/; revision=22326
2010-09-08 21:13:14 +00:00
David Anderson f31e311dd2 - client: support notice feeds from account managers.
Implementation: create a base class PROJ_AM,
    from which both PROJECT and ACCT_MGR_INFO are derived,
    with basic stuff like name, URL, and RSS feed list

svn path=/trunk/boinc/; revision=22324
2010-09-08 18:06:56 +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 9510005e2f - client: the client shouldn't check for a physical connection
(contacting google.com and possibly alerting the user)
    for "background" HTTP ops.  These include:
    - periodic account manager requests
    - periodic notice RSS feed fetches
    - periodic fetch of project list
    - periodic fetch of current client version


svn path=/trunk/boinc/; revision=22037
2010-07-22 19:13:36 +00:00
David Anderson afa6a3bbaf - client: have project update fetch RSS feeds as well as doing
a scheduler RPC.
    This is to facilitate debugging, and is probably temporary.

svn path=/trunk/boinc/; revision=22034
2010-07-22 18:42:15 +00:00
David Anderson a33d6a6f8b - client: don't do two RSS fetches at once
- manager: WxWidget's HTML renderer doesn't seem to like \n's.
		For example, if you try to render
			foo
			<img src=...>
			blah
		all it shows is foo.
		Work around this by replacing \n's with <br>

svn path=/trunk/boinc/; revision=22017
2010-07-20 23:13:26 +00:00
David Anderson a65517bf60 - client: don't archive system notices,
so they don't persist across client restarts.
    These notices are for transient conditions.
    If the user has fixed the condition,
    there's no reason to keep showing the notice.
    If they haven't fixed it, the notice will be regenerated soon.
- manager: fix spelling error in simple GUI.

svn path=/trunk/boinc/; revision=22015
2010-07-20 21:15:15 +00:00
David Anderson d59af26596 - client: add ".xml" to notice file names
svn path=/trunk/boinc/; revision=21857
2010-07-01 02:01:05 +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
Charlie Fenton 36fcd2fcc7 client: revert my recent change to keep_old argument above
svn path=/trunk/boinc/; revision=21838
2010-06-29 12:09:25 +00:00
Charlie Fenton 0987478dc8 client: Fix 2 bugs in handling of notices
svn path=/trunk/boinc/; revision=21837
2010-06-29 11:51:17 +00:00
Rom Walton dd0cb83107 - CC: Fix typo
client/
        cs_notice.cpp

svn path=/trunk/boinc/; revision=21831
2010-06-28 15:04:58 +00:00
David Anderson 0610339065 - client: notice tweak
svn path=/trunk/boinc/; revision=21790
2010-06-22 19:25:46 +00:00
David Anderson 28bd0f452c - client: fix notice ordering bug
- client: if don't need network connection,
		remove "need network connection" notices

svn path=/trunk/boinc/; revision=21773
2010-06-18 17:09:18 +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
David Anderson 7db608660f - client: standardize debug messages.
Messages enabled by <foo_debug> are prefixed by "[foo]"


svn path=/trunk/boinc/; revision=21335
2010-04-29 20:32:51 +00:00
David Anderson 4462fe534b - client: don't do RSS fetch if network suspended
svn path=/trunk/boinc/; revision=21123
2010-04-06 20:32:02 +00:00
David Anderson b0cb81159f - client: when looking for new file xfers to start,
favor those that are partially done
- client: fix crashing bug if a project is detached
    while an RSS feed fetch for it is in progress
- code cleanup: switch from /// back to // for comments
    (so much for doxygen)

svn path=/trunk/boinc/; revision=21041
2010-04-01 05:54:29 +00:00
David Anderson e5ac873205 - boinccmd: add --set_gpu_mode command
- fix some compile warnings


svn path=/trunk/boinc/; revision=21002
2010-03-25 23:48:58 +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 416c1d4c49 - client: fix notice crash
svn path=/trunk/boinc/; revision=20353
2010-02-02 00:53:05 +00:00
David Anderson 42683a8a31 svn path=/trunk/boinc/; revision=20269 2010-01-27 03:55:46 +00:00
David Anderson 564cd7cece - Notices: put message bodies inside CDATA
- XML_PARSER: handle CDATA

svn path=/trunk/boinc/; revision=20146
2010-01-13 05:32:11 +00:00
David Anderson 10f5d255ab - compile warnings
svn path=/trunk/boinc/; revision=20120
2010-01-10 22:18:42 +00:00
Charlie Fenton 10a8041371 client: Fix another crash bug due to calling memset(this, 0, sizeof(*this)) when the data contains a std::string
svn path=/trunk/boinc/; revision=20109
2010-01-09 00:13:12 +00:00
David Anderson d800ae43eb - client: work fetch fix: avoid sending null request in certain cases.
- client: fix crash in notices code

svn path=/trunk/boinc/; revision=20101
2010-01-07 21:00:42 +00:00
David Anderson 76e778a44d - manager: tweak notice appearance
svn path=/trunk/boinc/; revision=20100
2010-01-07 17:12:56 +00:00
Charlie Fenton 91567b526b client: Fix compiler warning
svn path=/trunk/boinc/; revision=20087
2010-01-07 02:06:41 +00:00
David Anderson ac3adff1d7 - client: notice fixes
svn path=/trunk/boinc/; revision=20085
2010-01-06 21:39:31 +00:00
David Anderson bd93c0dde2 - GUI RPC: return notices in order of increasing seqno, not decreasing
svn path=/trunk/boinc/; revision=20072
2010-01-05 01:56:30 +00:00
David Anderson 3530f59d73 - client: RSS feed stuff
svn path=/trunk/boinc/; revision=20064
2010-01-04 17:08:46 +00:00
David Anderson 5822c19de5 - make startup msgs normal priority; fix crash
svn path=/trunk/boinc/; revision=20031
2009-12-23 23:25:45 +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 36b04b6279 - client: further work on notices.
The RSS feed part of it is mostly working.
- client: fix bug in XML_PARSER (tags with attributes weren't
    parsed correctly if no attribute buffer supplied)

svn path=/trunk/boinc/; revision=20026
2009-12-23 17:18:13 +00:00
David Anderson b499654603 - client: more notice stuff. Substantial progress!
We're now saving feed lists, and fetching items from feeds.

svn path=/trunk/boinc/; revision=20021
2009-12-23 00:58:27 +00:00
David Anderson b0463cffae - client: more notice stuff. Add <notice_debug> log flag
svn path=/trunk/boinc/; revision=20019
2009-12-22 23:00:55 +00:00
David Anderson 711430b081 - more notice stuff
svn path=/trunk/boinc/; revision=20011
2009-12-22 17:11:59 +00:00
David Anderson 62ece8f222 - client: intermediate checkin for RSS/notice stuff.
It's coming along.

svn path=/trunk/boinc/; revision=20006
2009-12-22 03:56:24 +00:00
David Anderson 37ea627866 - Win compile fixes. Also, needed to provide a replacement
for strptime() on Win.  WTF?

svn path=/trunk/boinc/; revision=20003
2009-12-21 19:20:28 +00:00
David Anderson 4e9fc3d595 - client: a big glob of new code related to notices.
Not functional yet.


svn path=/trunk/boinc/; revision=20002
2009-12-21 17:49:28 +00:00
David Anderson 62156200f4 - client and GUI RPC: add some plumbing for notices
svn path=/trunk/boinc/; revision=19973
2009-12-18 21:52:08 +00:00