diff --git a/CHANGESTODO b/CHANGESTODO index 6a73138..bb48e36 100644 --- a/CHANGESTODO +++ b/CHANGESTODO @@ -28,6 +28,11 @@ LPC ________________________________________________________________________ == NEXT RELEASE ======================================================== ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ++ active certs: have data/host/psyc.host.name.pem contain tls cert + for this host, so when that file exists psyced automatically tries + a tls_init_connection() when psyc-connecting that host and checks if + the certificate is still correct. it also does on incoming tls. + - net/jabber reissues unnecessary friend() requests whenever a user simply reorganizes friends into other roster groups @@ -2135,6 +2140,14 @@ thoughts from buddy-heggy.txt: - where IS_NEWBIE is known to be 0 several parts of code can be ifdef'd out - logged_on should be gone + ++ this is more about predictability than performance. fippo thinks it's + easier to develop in psyced if sendmsg() was executed asynchronously, + that means: messages queued up, rest of the current code executed, + messages delivered when current object is done. only decent way to do + this seems to be with 0-delay call_out() - unfortunately lpc does not + provide for that (yet) - even in pike you need to tweak it, as pike + inverts the order of execution of 0-delay callouts. ________________________________________________________________________ > DRIVER TODO: ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ @@ -2169,13 +2182,6 @@ ________________________________________________________________________ the UNI). still my friends need to be able to do all of this with a psyconaut.. - checkout the fileshare stuff in perlpsyc/bin/ -________________________________________________________________________ -> PSYC SPEC TODO: -¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ - + option to receive rendered messages instead of templates ( as in ve:w() ) - + option to not receive templates for standard messages? - + standardized way to select language? - ________________________________________________________________________ > MISCELLANEOUS STUFF: ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ @@ -2193,50 +2199,6 @@ ________________________________________________________________________ was ich mir wünschen würde wäre eine if-ueberpruefung, ob ne var gesetzt ist -? fippo findet, psyc sollte zumindest das nodeprep von xmpp übernehmen - am besten auch noch saslprep benutzen, nameprep sowies. - Bahnhof? http://about.psyc.eu/Stringprep - -== MOBILE APPS / GPRS / PSYCobile ====================================== -Similar Projexx: - http://freshmeat.net/projects/jimm/ - http://freshmeat.net/projects/mojab/ - http://freshmeat.net/projects/eb-lite/ - http://freshmeat.net/projects/ymsgr/ - -== HINTS: Multicast (see also COMPETITION) ============================= -? reliable multicast library? -From: Gerd Flaig - > Was brauchen wir in der Praxis also? Eine reliable Multicast - > Implementation in PSYC einbinden (müsste ja heutzutage ne fertige - > Library sein zum Aufrufen), [..] -nach so etwas suche ich schon eine ganze Weile, habe aber bisher nur -im OCaml-Umfeld eine Implementierung gefunden (genaue URL habe ich -nicht mehr, irgendwo unter http://caml.inria.fr/), die aber wohl noch -einiges an Arbeit verschlingen würde, bis daraus eine mundfertige, -stabile Bibliothek entsteht. - - hmm.. könnte das hier so eine bibliothek sein? - wer kann ich das mal ansehen? - http://www.junglemonkey.net/emcast/ - -== DOC: HOW TO PORT TO MUD ============================================= -* #define MUD - > #undef _flag_enable_routing_UDP will force psyc to use tcp only - > #define NO_EXTERNAL_LOGINS if you want - > #define CONFIG_PATH to where your /local/ is - > #define TEXT_PATH to where you want to put /default/* - -if you care to define SERVER_HOST, please do so in local.h, not in net.h -same goes for DEFAULT_USER_OBJECT. if you need to fake the library -#include "/net/gl-psyc/simulated.h" in your local.h - -________________________________________________________________________ -> LOOKING INTO PIKE: -¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ -irc bot in pike: http://caudiumforge.net/anoncvs.rxml -http://cvsweb.caudiumforge.net/cgi-bin/cvsweb.cgi/sugor/?cvsroot=sugor - ________________________________________________________________________ ======================================================================== *** CHANGELOG *** diff --git a/makefile b/makefile index 9446db1..85875d5 100644 --- a/makefile +++ b/makefile @@ -29,6 +29,10 @@ INSTALL.txt: corpses: find . -name .#\* -print +# show me the fingerprint of the certificate i am about to install +fp: local/cert.pem + openssl x509 -in local/cert.pem -fingerprint -sha1 | head -n 1 + ############################################################################## ## USER AND PLACE DATA MAINTAINANCE @@ -59,6 +63,7 @@ local/all.ls: (cd world;../bin/findlinks */de/* */en/*) >$@ rights: +# how do i tell him to skip .git ? find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; chmod +x bin/* run/* config/psyced.settings install.sh utility/multipatcher diff --git a/place/rendezvous.c b/place/rendezvous.c index cf8b14d..0ad7727 100644 --- a/place/rendezvous.c +++ b/place/rendezvous.c @@ -16,9 +16,7 @@ // //# define PLACE_HISTORY // if you want to keep a /history //# define LOCAL // if you don't want to allow remote users here - -// but this one can't harm ;) -# define PLACE_MASQUERADE +//# define PLACE_MASQUERADE // currently brokenish #endif #include // now generate the place according to the rules diff --git a/world/net/library.i b/world/net/library.i index 2e7cf94..949961f 100644 --- a/world/net/library.i +++ b/world/net/library.i @@ -1234,11 +1234,9 @@ int bignum_cmp(string a, string b) { // allocating a local variable to "cache" it if (strlen(a) > strlen(b)) return 1; if (strlen(a) < strlen(b)) return -1; - for (i=0; i b[i]) return 1; - if (a[i] < b[i]) return -1; - } + for (i=0; i b[i]) return 1; + return -1; } #endif // __PIKE__