[Pkg] Packages: Packages-Library-kph.39.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Thu Feb 26 22:11:07 UTC 2009
A new version of Packages-Library was added to project Packages:
http://www.squeaksource.com/Packages/Packages-Library-kph.39.mcz
==================== Summary ====================
Name: Packages-Library-kph.39
Author: kph
Time: 26 February 2009, 10:10:50 pm
UUID: 540ae122-0452-11de-aedb-000a95edb42a
Ancestors: Packages-Library-kph.38
regnerated
=============== Diff against Packages-Library-kph.38 ===============
Item was changed:
----- Method: PackagesDevU>>SakeScheduler (in category 'Group Development') -----
SakeScheduler
self name: 'Sake-Scheduler'.
+ self version: '10'.
- self version: ''.
info category: 'Group Development'.
info description:
+ 'Periodic actions, with logging support'.
- 'Periodic actions'.
info maintainer: 'Keith Hodges'.
info homepage: 'http://wiki.squeak.org/squeak/5953'.
info squeakMapID: ''.
+ info url: 'http://www.squeaksource.com/Sake/Sake-Scheduler-kph.10.mcz'.
- info url: 'http://www.squeaksource.com/Sake/Sake-Scheduler-kph.6.mcz'.
self provides: #('Sake-Scheduler').
+ self dependsOn: #('Logging').
- self dependsOn: #().
!
Item was changed:
----- Method: PackagesDevU>>Monticello15 (in category 'Group Development') -----
Monticello15
self name: 'Monticello15'.
self version: '1.5+'.
info category: 'Group Development'.
info description:
'Monticello - evolution - Improvements over 1.0
- Method/Class Orphanage which enables out-of-order loading of packages, and maintenance of packages whose dependencies have not been loaded.
- Method Overrides (if properly categorized) are fully supported preserving the integrity of a package even if it has overridden methods
- Refactored UI/repository classes so that one UI heirachy serves all.
- Dual Changes Browser
- In memory cache repository
- Support for configurations (Please name them using the MC conventions)
- Support for more complex version numbering conventions i.e. Package-kph-1.0.3.mcz
known problems:
methods have been known to loose their categories
future:
Atomic Loading loader using System Editor is already coded and contained in this release.
See #theChosenLoaderClass.
'.
info maintainer: 'kph <keith_hodges at yahoo.co.uk>'.
info homepage: ''.
info squeakMapID: ''.
info url: 'http://installer.pbwiki.com/f/mc15.st'.
+ self provides: #('PackageInfo-Base' 'Installer' 'MonticelloConfigurations' 'Monticello15').
- self provides: #('Monticello15' 'Installer' 'MonticelloConfigurations' 'PackageInfo-Base').
self dependsOn: #().
!
Item was changed:
----- Method: PackagesSqueak37U>>KomPackaging (in category 'Uncategorized') -----
KomPackaging
self name: 'KomPackaging'.
self version: '1.0'.
info category: 'Uncategorized'.
info description:
+ 'This package adds support for two types of urls, package and squeakmap...they take the forms:
- '
- This package adds support for two types of urls, package and squeakmap...they take the forms:
sqpkg://httpserver.kom:6.1
sqmap://Named Process:1.1
You can to interesting things with these URLs, such as install them:
''sqpkg://httpserver.kom:6.1'' asUrl install
or, query whether or not a version of the package is currently installed:
''sqpkg://httpserver.kom:6.1'' asUrl isPresent
Version 1.0:
- initial version'.
info maintainer: ''.
info homepage: ''.
info squeakMapID: ''.
info url: 'http://universes.dnsalias.net:8888/universes/repositories/stable-3.7/KomPackaging-1.0univ.sar'.
self provides: #().
self dependsOn: #().
!
Item was changed:
----- Method: PackagesSqueak37U>>KomServices (in category 'Uncategorized') -----
KomServices
self name: 'KomServices'.
self version: '1.0'.
info category: 'Uncategorized'.
info description:
+ '===== Release Notes =====
- '
- ===== Release Notes =====
KomServices provides a framework for the creation and management of background processes. A generic Service class is provided for this purpose. Additionally, TcpService is provided for creating services that respond to inbound TCP connections.
===== Release History =====
Version 1.0:
- initial version, this package is bourne out of KomHttpServer and renames a few classes:
- ComancheService -> Service
- ComancheNetService -> TcpService
- the old ConnectionHandler is dropped in favor of a cleaner TcpListener.'.
info maintainer: ''.
info homepage: ''.
info squeakMapID: ''.
info url: 'http://universes.dnsalias.net:8888/universes/repositories/stable-3.7/KomServices-1.0univ.sar'.
self provides: #().
self dependsOn: #('DynamicBindings' 'KomPackaging').
!
Item was changed:
----- Method: PackagesDev>>Tasks (in category 'Group Development') -----
Tasks
| thisVersion sqVersion testCandidate |
self name: 'Tasks'.
self info mcName: 'Tasks-Common'.
self version: '1+'.
info description: 'Package definitions for this version of squeak'.
info author: 'keith_hodges at yahoo.co.uk'.
info owner: 'Keith Hodges'.
self dependsOn: { 'Sake' }.
thisVersion := 'Tasks-', (sqVersion := SystemVersion current majorMinorVersion copyWithout: $.).
testCandidate := ('ReleaseAfter', sqVersion) asSymbol.
self load: [
+ self halt.
+
Installer squeaksource project: 'Bob';
install: 'Tasks-Common';
install: thisVersion.
((Smalltalk classNamed: testCandidate) ifNil: [ self stop ]) releaseCandidateTasksInstaller install.
].
self unload: [
Installer mc unload: thisVersion.
Installer mc unload: 'Tasks-Common'.
].
!
Item was changed:
----- Method: PackagesDevU>>OmniBrowserTools (in category 'Development') -----
OmniBrowserTools
self name: 'OmniBrowser-Tools'.
+ self version: '0.62'.
- self version: '0.61'.
info category: 'Development'.
info description:
'Set of tools (debugger, inspector...) rewritten on top of the OmniBrowser framework.'.
info maintainer: 'Dale Henrichs <dale.henrichs at gemstone.com>'.
info homepage: ''.
info squeakMapID: ''.
+ info url: 'http://source.lukas-renggli.ch/omnibrowser/OB-Tools-dkh.62.mcz'.
- info url: 'http://source.lukas-renggli.ch/omnibrowser/OB-Tools-dkh.60.mcz'.
self provides: #().
self dependsOn: #('OmniBrowser-Standard').
!
Item was changed:
----- Method: PackagesSqueak37U>>KomHttpServer (in category 'Uncategorized') -----
KomHttpServer
self name: 'KomHttpServer'.
self version: '6.2'.
info category: 'Uncategorized'.
info description:
+ 'KomHttpServer is the Comanche web server package. To get a simple web server running, install this package and evaluate the code below. A simple file serving web server will be started and will serve the files in your default directory.
- '
- KomHttpServer is the Comanche web server package. To get a simple web server running, install this package and evaluate the code below. A simple file serving web server will be started and will serve the files in your default directory.
| ma |
ma := ModuleAssembly core.
ma serverRoot: FileDirectory default fullName.
ma documentRoot: FileDirectory default fullName.
ma directoryIndex: ''index.html index.htm''.
ma serveFiles.
(HttpService startOn: 8080 named: ''httpd'') plug: ma rootModule
After starting the server, point your web browser to http://localhost:8080/
If you have loaded Seaside, you can start a web server that serves Seaside based applications using the following configuration:
| ma seaside |
seaside := WAKom default.
ma := ModuleAssembly core.
ma serverRoot: FileDirectory default fullName.
ma alias: ''/seaside'' to: [ma addPlug: [:request | seaside process: request]].
ma documentRoot: FileDirectory default fullName.
ma directoryIndex: ''index.html index.htm''.
ma serveFiles.
(HttpService startOn: 8080 named: ''httpd'') plug: ma rootModule
See the class comments of the various subclasses of ComancheModule for documentation and usage examples.
===== Release History =====
Version 6.2:
- Added support for Squeak 3.6
- Now uses SocketStream from the network rewrite
Version 6.1:
- (build #41) Fixes various issues for running on Mac OSX
- Packaged using KomPackaging (Squeak version only)
- Separated the services framework into a separate package called KomServices
- Added a module framework
- The following modules have been added (see the individual classes for details):
- ModCore - this is the core module and designed to be the root of a module assembly, it extracts basic information from the request and makes it available to sub-modules, it also handles http TRACE and OPTIONS methods
- ModMulti - this is a module designed only to wrap submodules into a single entity
- ModAlias - for mapping url prefixes to sub modules
- ModAuth - for authentication
- KomAuthDb - a very basic user and password database
- ModAutoIndex - for generating directory listings
- ModDir - for directory processing (including redirects to fix the trailing slash problem)
- ModDoc - for file location processing in a file server
- ModVhost - for name based virtual hosting
- ModVhostDoc - for document serving based on virtual host name
- ModVhostAlias - for module routing based on the virtual host name
- ModFile - for serving files
- ModLog - for logging http requests (not yet usable)
- KomLogger - writes out a log in CLF format
- KomTracer - writes out a detailed trace of http request/response pairs
- ModNotFound - if reached will generate a not found response
- ModSession - for client session handling
- KomSession - the session class used by ModSession (by default)
- Added ModuleAssembly to help in creating module assemblies
- Renamed classes:
- ComancheHttpService -> HttpService
- Removed classes
- BoundedStream
- HttpBadRequest
- HttpParser
- NetworkProtocolAdaptor
- NetworkRequest
Version 6.0.1:
- Adds pluggability to ComancheHttpService (see class comments).
Version 6.0:
- Initial ComancheNG release
===== Future Enhancement Plans =====
- add WebDAV server capability (in a separate package)
- synchronize with the network rewrite project
- separate some of the http protocol support into a separate package and provide an Http/WebDAV client implementation (separate package)
- rework the handling of chunked responses (using the SharedStreams package)
- rework the handling of document uploads (via multipart/form-data) using the SharedStreams package
- support chunked transfer encoding for incoming requests
- Reify cookies and make them easier to work with
- Slim down HttpRequest and HttpResponse such that they are only responsible for constructing requests and responses (currently, these classes are heavily overloaded)
'.
info maintainer: ''.
info homepage: ''.
info squeakMapID: ''.
info url: 'http://universes.dnsalias.net:8888/universes/repositories/stable-3.7/KomHttpServer-6.2univ.sar'.
self provides: #().
self dependsOn: #('KomServices').
!
Item was changed:
----- Method: PackagesDevU>>SimpleLog (in category 'Development') -----
SimpleLog
self name: 'SimpleLog'.
+ self version: '1.15'.
- self version: '1.13'.
info category: 'Development'.
info description:
'Nice and simple logging. There are eight messages for logging based on severity. These correspond to the eight levels defined in syslog:
7 - debug (Debug-level messages)
6 - info (Informational)
5 - notice (Normal but significant Condition)
4 - warning (Warning Condition)
3 - err (Error Condition)
2 - crit (Critical Conditions)
1 - alert (must be handled immediately)
0 - emerg (System is unusable)
The absolutely easiest way to log is like this:
SLLog warn: ''Oopsidaisy''
We only need to include the actual message in the string, timestamp etc is added automatically.
You can also explicitly supply a "sender" object which can be anything you like, a symbol or a specific domain object even:
SLLog warn: ''Yowsa'' sender: #email
SLLog uses printString on the sender when producing the log entry, so if you use domain objects - make sure they have a unique printOn: method defined so that you can distinguish them. See class side category "logging" and "logging shorthand" for the available log messages.
By default there is a single emitter registered that logs on Transcript, you can turn this off with:
SLLog useTranscript: false
And you can set a threshold for the above 8 syslog levels that should be logged onto Transcript using:
SLLog instance transcriptMaxLevel: 4
..or set a global threshold for all emitters:
SLLog instance globalMaxLevel: 4
Global flushing of all emitters can be done using "SLLog flush" and should ideally be called regularly by some background process.
Finally take a look at SLLogFile for details on how to add it as an emitter to get logging onto file instead of Transcript, and SLLogMorph for getting logging into a very nice UI that offers filtering, searching etc.
'.
info maintainer: 'keith_hodges at yahoo.co.uk'.
info homepage: ''.
info squeakMapID: ''.
+ info url: 'http://www.squeaksource.com/Logging/SimpleLog-kph.15.mcz'.
- info url: 'http://www.squeaksource.com/Logging/SimpleLog-kph.13.mcz'.
self provides: #('SimpleLog').
self dependsOn: #().
!
Item was changed:
----- Method: PackagesDevU>>Logging (in category 'Development') -----
Logging
self name: 'Logging'.
+ self version: '3.44'.
- self version: '3.42'.
info category: 'Development'.
info description:
'Logging for squeak, a front end to Toothpick OR SimpleLog (apologies to LogEngine)
usage:
self log this.
self log x: 10 y: 20.
and much more...
'.
info maintainer: 'Keith Hodges <keith_hodges at yahoo.co.uk>'.
info homepage: 'http://wiki.squeak.org/squeak/3706'.
info squeakMapID: '6c1b03cd-6c37-4acf-b971-72ff132c03f0'.
+ info url: 'http://www.squeaksource.com/Logging/Logging-kph.44.mcz'.
- info url: 'http://www.squeaksource.com/Logging/Logging-kph.42.mcz'.
self provides: #('Logging').
self dependsOn: #('ProcessSpecific' 'StreamsReadability').
!
More information about the Packages
mailing list