+Explain startup files +
+Explain shared memory mechanism in general +
+Explain work-related use of shmem diff --git a/doc/client_app_graphic.html b/doc/client_app_graphic.html new file mode 100644 index 0000000000..08c943fbae --- /dev/null +++ b/doc/client_app_graphic.html @@ -0,0 +1,14 @@ +
+Explain graphics startup files +
+Explain graphics modes of apps +
+Explain graphics use of shmem +
+Explain screensaver module +
+Explain screensaver logic in core
diff --git a/lib/filesys.C b/lib/filesys.C
index 1640830caa..d5559fcd25 100755
--- a/lib/filesys.C
+++ b/lib/filesys.C
@@ -263,6 +263,22 @@ int boinc_rename(char* old, char* newf) {
return rename(old, newf);
}
+int boinc_mkdir(char* name) {
+#ifdef _WIN32
+ return CreateDirectory(name, NULL);
+#else
+ return mkdir(name, 0777);
+#endif
+}
+
+int boinc_rmdir(char* name) {
+#ifdef _WIN32
+ return RemoveDirectory(name, NULL);
+#else
+ return rmdir(name);
+#endif
+}
+
#ifdef _WIN32
void full_path(char* relname, char* path) {
_getcwd(path, 256);
diff --git a/lib/filesys.h b/lib/filesys.h
index d01ea2ccfc..eb63e01d7f 100755
--- a/lib/filesys.h
+++ b/lib/filesys.h
@@ -42,6 +42,8 @@ extern int boinc_link(char *existing, char *new_link);
extern int clean_out_dir(char*);
extern int dir_size(char* dirpath, double&);
extern int boinc_rename(char* old, char* newf);
+extern int boinc_mkdir(char*);
+extern int boinc_rmdir(char*);
#ifdef _WIN32
extern void full_path(char* relname, char* path);
#endif
diff --git a/todo b/todo
index 5aa90c58b4..90e6289e45 100755
--- a/todo
+++ b/todo
@@ -1,11 +1,13 @@
-----------------------
BUGS (arranged from high to low priority)
-----------------------
+- CPU benchmarks take way too long (linux)
- Client treats URL "maggie/ap/" different than URL "maggie/ap",
though this isn't really a bug it might be good to fix anyway
- global battery/user active prefs are always true in the client
-- Client should display "Upload failed" and "Download failed" when failure occurs
-- Result status should say "downloading files", "uploading files", etc.
+- GUI client should display "Upload failed" and "Download failed"
+ in transfers tab when failure occurs
+- GUI: Result status should say "downloading files", "uploading files", etc.
- message window should reposition to bottom when new message
- show_message should expect \n, discard it if GUI
- Win GUI: line between menus and tabs
@@ -19,29 +21,68 @@ BUGS (arranged from high to low priority)
run_on_startup
hangup_if_dialed
- trim leading/trailing spaces from account ID (Win GUI)
-- I entered in a wrong URL - there was no obvious feedback that it wasn't correct.
- Messages showed up in the messages tab, but I was looking at the progress tab.
- Shouldn't the client expect something from the server? If it doesn't get it,
- especially on logging in for the first time, you should get an obvious warning.
- when i quit a project, I have to exit and restart the client, which is ugly.
-- after quitting a project, the project name still showed up in gray in the projects
- list - I could right click on it to "relogin" (which did nothing) or "quit project"
+- after quitting a project, the project name still showed up in gray
+ in the projects list - I could right click on it to "relogin"
+ (which did nothing) or "quit project"
which I thought I already did.
- consider warning message during windows (and perhaps other platforms)
install that checks to see if the BOINC directory already exists,
and if so, should the user overwrite it? or upgrade it?
-- After running all night (on Win98) I shook the mouse to wake up the blank screen, and
- all I saw was the top half of the screen was solid gray, and the bottom half the
- bottom half of the astropulse graphics. They weren't moving. The computer was frozen.
+- After running all night (on Win98) I shook the mouse to wake up
+ the blank screen, and all I saw was the top half of the screen
+ was solid gray, and the bottom half the
+ bottom half of the astropulse graphics.
+ They weren't moving. The computer was frozen.
I had to ctrl-alt-del to restart.
-----------------------
HIGH-PRIORITY (should do for beta test)
-----------------------
-On "add project" the core client should immediately attempt to
- get project master page and verify user account.
- If failure, let user retype URL/ID
+"Add project" behavior:
+ Goal: give user timely feedback if bad project URL or account ID;
+ don't leave bad project files sitting around
+
+ A project addition is "successful" when
+ 1) the client fetches the master page,
+ 2) the master page has at least one scheduler URL
+ 3) the client contacts a scheduler and gets a user name back.
+
+ The cmdline and GUI clients need to inform the user if a project
+ add is not successful, since it probably means the master URL
+ or account ID were typed in wrong.
+
+ A project is "tentative" if the above hasn't happened yet.
+ This is flagged in the project file (