Branch: Tag:

2004-05-31

2004-05-31 23:02:04 by Stephen R. van den Berg <srb@cuci.nl>

Changed several Roxen legacy functions to native ChiliMoon

Rev: COMPATIBILITY:1.25
Rev: README.hackers:1.7
Rev: server/admin_interface/boxes/Box.pmod:1.12
Rev: server/admin_interface/boxes/crunch.pike:1.12
Rev: server/admin_interface/boxes/server_status.pike:1.10
Rev: server/admin_interface/change_user.pike:1.6
Rev: server/admin_interface/dbs/browser.pike:1.47
Rev: server/admin_interface/dbs/db_matrix.pike:1.29
Rev: server/admin_interface/dbs/import_dbs.pike:1.6
Rev: server/admin_interface/dbs/new_db.pike:1.14
Rev: server/admin_interface/event_log/clear_log.pike:1.9
Rev: server/admin_interface/event_log/log.pike:1.13
Rev: server/admin_interface/inheritinfo.pike:1.20
Rev: server/admin_interface/logutil.pike:1.20
Rev: server/admin_interface/sites/add_module.pike:1.84
Rev: server/admin_interface/sites/check-valid-url.pike:1.6
Rev: server/admin_interface/sites/config_left_item.pike:1.78
Rev: server/admin_interface/sites/create_site.pike:1.11
Rev: server/admin_interface/sites/create_site_with_template.pike:1.36
Rev: server/admin_interface/sites/drop_module.pike:1.18
Rev: server/admin_interface/sites/drop_site.pike:1.22
Rev: server/admin_interface/sites/log.pike:1.16
Rev: server/admin_interface/sites/module_info.pike:1.10
Rev: server/admin_interface/sites/site_content.pike:1.145
Rev: server/admin_interface/sites/site_header.pike:1.23
Rev: server/admin_interface/sites/verify_site_name.pike:1.9
Rev: server/admin_interface/statusinfo.pike:1.9
Rev: server/admin_interface/tasks/cachestatus.pike:1.20
Rev: server/admin_interface/tasks/change_version.pike:1.19
Rev: server/admin_interface/tasks/connections.pike:1.10
Rev: server/admin_interface/tasks/debug_info.pike:1.29
Rev: server/admin_interface/tasks/feature_list.pike:1.19
Rev: server/admin_interface/tasks/ftpstatus.pike:1.7
Rev: server/admin_interface/tasks/listfonts.pike:1.28
Rev: server/admin_interface/tasks/locks.pike:1.14
Rev: server/admin_interface/tasks/make_site_template.pike:1.12
Rev: server/admin_interface/tasks/reloadconfigurations.pike:1.8
Rev: server/admin_interface/tasks/resolv.pike:1.32
Rev: server/admin_interface/tasks/restart.pike:1.20
Rev: server/admin_interface/tasks/threads.pike:1.11
Rev: server/admin_interface/user_create.pike:1.5
Rev: server/admin_interface/user_delete.pike:1.11
Rev: server/admin_interface/user_form.pike:1.9
Rev: server/data/include/roxen.h:1.28
Rev: server/data/test/tests/RoxenTest_argcache.pike:1.5
Rev: server/data/test/tests/RoxenTest_base.pike:1.11
Rev: server/data/test/tests/RoxenTest_help.pike:1.7
Rev: server/data/test/tests/db/RoxenTest_dbmanager.pike:1.8
Rev: server/data/test/tests/userdbmodules/RoxenTest_userdbs.pike:1.8
Rev: server/java/doc/Makefile:1.4
Rev: server/java/src/com/roxen/roxen/AbstractLocationModule.java:1.6
Rev: server/java/src/com/roxen/roxen/Defvar.java:1.5
Rev: server/java/src/com/roxen/roxen/ExperimentalModule.java:1.6
Rev: server/java/src/com/roxen/roxen/FileExtensionModule.java:1.6
Rev: server/java/src/com/roxen/roxen/Frame.java:1.5
Rev: server/java/src/com/roxen/roxen/HTTP.java:1.9
Rev: server/java/src/com/roxen/roxen/JarUtil.java:1.4
Rev: server/java/src/com/roxen/roxen/LastResortModule.java:1.4
Rev: server/java/src/com/roxen/roxen/LocationModule.java:1.8
Rev: server/java/src/com/roxen/roxen/Module.java:1.13
Rev: server/java/src/com/roxen/roxen/ParserModule.java:1.7
Rev: server/java/src/com/roxen/roxen/ProviderModule.java:1.5
Rev: server/java/src/com/roxen/roxen/RXML.java:1.5
Rev: server/java/src/com/roxen/roxen/RoxenClassLoader.java:1.2
Rev: server/java/src/com/roxen/roxen/RoxenConfiguration.java:1.6
Rev: server/java/src/com/roxen/roxen/RoxenFileResponse.java:1.4
Rev: server/java/src/com/roxen/roxen/RoxenLib.java:1.8
Rev: server/java/src/com/roxen/roxen/RoxenRXMLResponse.java:1.4
Rev: server/java/src/com/roxen/roxen/RoxenRequest.java:1.9
Rev: server/java/src/com/roxen/roxen/RoxenResponse.java:1.7
Rev: server/java/src/com/roxen/roxen/RoxenStringResponse.java:1.6
Rev: server/java/src/com/roxen/roxen/SecurityModule.java:1.6
Rev: server/java/src/com/roxen/roxen/SimpleTagCaller.java:1.9
Rev: server/java/src/com/roxen/roxen/UniqueModule.java:1.6
Rev: server/java/src/com/roxen/servlet/HTTPInputStream.java:1.5
Rev: server/java/src/com/roxen/servlet/HTTPOutputStream.java:1.7
Rev: server/java/src/com/roxen/servlet/HeaderTokenizer.java:1.6
Rev: server/java/src/com/roxen/servlet/RoxenServletContext.java:1.8
Rev: server/java/src/com/roxen/servlet/RoxenSession.java:1.5
Rev: server/java/src/com/roxen/servlet/RoxenSessionContext.java:1.5
Rev: server/java/src/com/roxen/servlet/ServletConfig.java:1.7
Rev: server/java/src/com/roxen/servlet/ServletRequest.java:1.15
Rev: server/java/src/com/roxen/servlet/ServletResponse.java:1.12
Rev: server/modules/administration/avg_profiling.pike:1.15
Rev: server/modules/administration/config_filesystem.pike:1.122
Rev: server/modules/administration/config_tags.pike:1.196
Rev: server/modules/compat/ssi.pike:1.47
Rev: server/modules/directories/indexfiles.pike:1.24
Rev: server/modules/filesystems/filesystem.pike:1.126
Rev: server/modules/graphics/atlas.pike:1.16
Rev: server/modules/graphics/business.pike:1.150
Rev: server/modules/graphics/cimg.pike:1.57
Rev: server/modules/graphics/gbutton.pike:1.104
Rev: server/modules/graphics/graphic_text.pike:1.303
Rev: server/modules/graphics/gxml.pike:1.28
Rev: server/modules/graphics/pimage.pike:1.34
Rev: server/modules/icecast/icecast.pike:1.15
Rev: server/modules/ldap/userdb_ldap.pike:1.19
Rev: server/modules/logging/home_logger.pike:1.34
Rev: server/modules/misc/language2.pike:1.27
Rev: server/modules/misc/preferred_language.pike:1.23
Rev: server/modules/misc/wapadapter.pike:1.14
Rev: server/modules/proxies/ftpgateway.pike:1.44
Rev: server/modules/proxies/gopher.pike:1.31
Rev: server/modules/proxies/proxy.pike:1.60
Rev: server/modules/proxies/relay2.pike:1.31
Rev: server/modules/proxies/wais.pike:1.31
Rev: server/modules/scripting/cgi.pike:2.65
Rev: server/modules/scripting/php4.pike:2.19
Rev: server/modules/scripting/servlet.pike:2.26
Rev: server/modules/scripting/webapp.pike:2.27
Rev: server/modules/security/htaccess.pike:1.100
Rev: server/modules/tags/accessed.pike:1.57
Rev: server/modules/tags/additional_rxml.pike:1.32
Rev: server/modules/tags/cache.pike:1.2
Rev: server/modules/tags/development.pike:1.3
Rev: server/modules/tags/diremit.pike:1.21
Rev: server/modules/tags/email.pike:1.28
Rev: server/modules/tags/rxmlparse.pike:1.76
Rev: server/modules/tags/rxmltags.pike:1.426
Rev: server/modules/tags/session_tag.pike:1.21
Rev: server/modules/tags/translation_mod.pike:1.14
Rev: server/modules/throttling/throttling_byhostname.pike:1.3
Rev: server/pike_modules/GText.pmod:1.17
Rev: server/pike_modules/LazyImage.pmod/Legend.pike:1.3
Rev: server/pike_modules/LazyImage.pmod/module.pmod:1.18
Rev: server/pike_modules/Map.pmod:1.8
Rev: server/pike_modules/RXML.pmod/module.pmod:1.310
Rev: server/pike_modules/RXML.pmod/refs.pmod:1.14
Rev: server/pike_modules/Roxen.pmod:1.193
Rev: server/pike_modules/Servlet.pmod:1.33
Rev: server/pike_modules/VFS.pmod:1.6
Rev: server/pike_modules/Variable.pmod/module.pmod:1.88
Rev: server/plugins/protocols/http.pike:1.405
Rev: server/server_core/cache.pike:1.90
Rev: server/server_core/configuration.pike:1.568
Rev: server/server_core/core.pike:1.867
Rev: server/server_core/global_variables.pike:1.110
Rev: server/server_core/loader.pike:1.384
Rev: server/server_core/module_support.pike:1.132
Rev: server/server_core/prototypes.pike:1.74
Rev: server/server_core/rxmlhelp.pike:1.65
Rev: server/server_core/wizard.pike:1.159
Rev: server/site_templates/common.pike:1.31

2:   //      #include <module.h> + #include <stat.h>   inherit "module";   constant thread_safe=1;    - roxen.ImageCache the_cache; + core.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.56 2004/05/27 21:24:37 _cvs_stephen Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.57 2004/05/31 23:01:52 _cvs_stephen Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Graphics: Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "
135:      void start()   { -  the_cache = roxen.ImageCache( "cimg", generate_image ); +  the_cache = core.ImageCache( "cimg", generate_image );    do_ext = query("ext");   }   
177:    }       if( args->data ) -  layers = roxen.decode_layers( args->data, opts ); +  layers = core.decode_layers( args->data, opts );    else    { -  mixed tmp = roxen.load_layers( args->src, id, opts ); +  mixed tmp = core.load_layers( args->src, id, opts );    if (mappingp(tmp)) {    if (tmp->error == Protocols.HTTP.HTTP_UNAUTH)    return tmp;