Branch: Tag:

2004-01-11

2004-01-11 00:52:01 by Martin Nilsson <mani@lysator.liu.se>

this_object() -> this

Rev: lib/modules/ADT.pmod/Priority_queue.pike:1.6
Rev: lib/modules/ADT.pmod/Queue.pike:1.9
Rev: lib/modules/ADT.pmod/Relation.pmod/Binary.pike:1.10
Rev: lib/modules/ADT.pmod/Table.pmod:1.27
Rev: lib/modules/Audio.pmod/Codec.pmod:1.10
Rev: lib/modules/Audio.pmod/Format.pmod/module.pmod:1.7
Rev: lib/modules/Calendar.pmod/Event.pmod:1.22
Rev: lib/modules/Calendar.pmod/Stardate.pmod:1.15
Rev: lib/modules/Calendar.pmod/Time.pmod:1.30
Rev: lib/modules/Calendar.pmod/TimeRanges.pmod:1.27
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.32
Rev: lib/modules/Calendar.pmod/YMD.pike:1.9
Rev: lib/modules/Calendar.pmod/mkrules.pike:1.10
Rev: lib/modules/Calendar_I.pmod/Gregorian.pmod:1.31
Rev: lib/modules/Calendar_I.pmod/ISO.pmod:1.11
Rev: lib/modules/Calendar_I.pmod/module.pmod:1.15
Rev: lib/modules/Filesystem.pmod/System.pike:1.17
Rev: lib/modules/Filesystem.pmod/Tar.pmod:1.26
Rev: lib/modules/Filesystem.pmod/module.pmod:1.14
Rev: lib/modules/GTKSupport.pmod/Alert.pike:1.6
Rev: lib/modules/GTKSupport.pmod/Util.pmod:1.9
Rev: lib/modules/GTKSupport.pmod/pCtree.pike:1.7
Rev: lib/modules/GTKSupport.pmod/pDrawingArea.pike:1.6
Rev: lib/modules/Languages.pmod/PLIS.pmod:1.19
Rev: lib/modules/Locale.pmod/module.pmod:1.18
Rev: lib/modules/MIME.pmod/module.pmod:1.10
Rev: lib/modules/Parser.pmod/RCS.pike:1.31
Rev: lib/modules/Parser.pmod/XML.pmod/DOM.pmod:1.11
Rev: lib/modules/Parser.pmod/XML.pmod/NSTree.pmod:1.12
Rev: lib/modules/Parser.pmod/XML.pmod/Tree.pmod:1.38
Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Torrent.pike:1.21
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.64
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/Port.pike:1.7
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/Request.pike:1.17
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Server.pmod/SSLPort.pike:1.4
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.14
Rev: lib/modules/Protocols.pmod/IMAP.pmod/types.pmod:1.30
Rev: lib/modules/Protocols.pmod/IRC.pmod/Client.pike:1.11
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.51
Rev: lib/modules/Protocols.pmod/LDAP.pmod/ldap_privates.pmod:1.7
Rev: lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1.11
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Connection.pike:1.11
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike:1.33
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Threads.pike:1.8
Rev: lib/modules/Protocols.pmod/SNMP.pmod/protocol.pike:1.13
Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.23
Rev: lib/modules/Protocols.pmod/X.pmod/Atom.pmod:1.13
Rev: lib/modules/Protocols.pmod/X.pmod/Auth.pmod:1.13
Rev: lib/modules/Protocols.pmod/X.pmod/Extensions.pmod:1.15
Rev: lib/modules/Protocols.pmod/X.pmod/Types.pmod:1.39
Rev: lib/modules/Protocols.pmod/X.pmod/XImage.pmod:1.21
Rev: lib/modules/Protocols.pmod/X.pmod/XTools.pmod:1.9
Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.49
Rev: lib/modules/Remote.pmod/module.pmod:1.3
Rev: lib/modules/SSL.pmod/Cipher.pmod:1.7
Rev: lib/modules/SSL.pmod/connection.pike:1.31
Rev: lib/modules/SSL.pmod/handshake.pike:1.36
Rev: lib/modules/SSL.pmod/session.pike:1.28
Rev: lib/modules/SSL.pmod/sslport.pike:1.12
Rev: lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:1.28
Rev: lib/modules/Standards.pmod/PKCS.pmod/PFX.pmod:1.9
Rev: lib/modules/Standards.pmod/URI.pike:1.17
Rev: lib/modules/Stdio.pmod/FakeFile.pike:1.8
Rev: lib/modules/Tools.pmod/Hilfe.pmod:1.108
Rev: lib/modules/Tools.pmod/Standalone.pmod/rsqld.pike:1.10
Rev: lib/modules/Tools.pmod/X509.pmod:1.21
Rev: lib/modules/Web.pmod/Crawler.pmod:1.19
Rev: lib/modules/Web.pmod/RDF.pike:1.29
Rev: lib/modules/Yabu.pmod/module.pmod:1.28
Rev: lib/modules/_Image_XCF.pmod:1.22

1:   #pike __REAL_VERSION__    - // $Id: Session.pike,v 1.13 2003/10/22 19:18:24 jhs Exp $ + // $Id: Session.pike,v 1.14 2004/01/11 00:49:02 nilsson Exp $      import Protocols.HTTP;   
49:   //! Loops will currently not be detected, only the limit   //! works to stop loops.    int follow_redirects= // from parent, will count down -  function_object(object_program(this_object()))->follow_redirects; +  function_object(this_program)->follow_redirects;      //! Cookie callback. When a request is performed,   //! the result is checked for cookie changes and
173:    continue;    }    } -  return this_object(); +  return this;    }    return 0;    }
194:    {    if(!con) con=give_me_connection(url_requested);    con->thread_request(@args); -  return this_object(); +  return this;    }      //! Wait for the request thread to finish.
207:    if (con->`()())    {    check_for_cookies(); -  return this_object(); +  return this;    }    return 0;    }
257:    connections_inuse_n>=maximum_total_connections))    {    wait_for_connection(do_async,args); -  return this_object(); +  return this;    }    con=give_me_connection(url_requested);    }    con->set_callbacks(async_ok,async_fail);    con->async_request(@args); -  return this_object(); +  return this;    }       static void async_ok(object q)
468:    !stringp(path) ||    !intp(expires))    error("Cookie.decode: parse error\n"); -  return this_object(); +  return this;    }   }   
617:       call_out(disconnect,time_to_keep_unused_connections);    connection_cache[lookup]= -  (connection_cache[lookup]||({}))+({this_object()}); +  (connection_cache[lookup]||({}))+({this});    connections_kept_n++;    }       void disconnect()    { -  connection_cache[lookup]-=({this_object()}); +  connection_cache[lookup]-=({this});    if (!sizeof(connection_cache[lookup]))    m_delete(connection_cache,lookup);    remove_call_out(disconnect); // if called externally
633:    if (!--connections_host_n[lookup])    m_delete(connections_host_n,lookup);    destruct(q); -  destruct(this_object()); +  destruct(this);    }       Query use()    { -  connection_cache[lookup]-=({this_object()}); +  connection_cache[lookup]-=({this});    if (!sizeof(connection_cache[lookup]))    m_delete(connection_cache,lookup);    remove_call_out(disconnect);