adeniz
95eaa859f9
Updated version to 1.4.1.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@60 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
8 lat temu
madscientist
b64f4a4bec
Updating Application Version for using newest Engine Version.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@59 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
9 lat temu
adeniz
5733bae97d
Incremented version to 1.3.0 (added saccades functionality).
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@58 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
10 lat temu
madscientist
6978ec4c3f
Corrected bug where Hold action cannot complete because the reader is not available. Previous "improvement" was based on a bad assumption that responses were emitted during the job. Actually, responses are emitted after the job is finalized and sent to the output processor so that theory was incorrect. Earlier problem was related to something else & this code was ok.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@57 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
11 lat temu
madscientist
0c49c83aa6
Minor revision tick.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@56 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
11 lat temu
madscientist
5279129279
Bug fix: doFile now closes message reader immediately after scan so that the file is not open when CGP resumes processing.
Cleanup: Clarified code in output processor to avoid confusion about the (J = CompletedJobs.take()) assignment while waiting for a 0.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@55 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
11 lat temu
adeniz
107979a5c3
Remove non-source files from source directories.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@54 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
11 lat temu
adeniz
826bcdb9cf
Not needed because the LabRats run "autoreconf --install".
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@53 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
12 lat temu
adeniz
c5c18db997
Added so that software from the repository can be built without
running autoreconf.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@52 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
13 lat temu
madscientist
f0fb9225aa
Fixed bug where Reject action told CGP REJECTED. Quixotically CGPs API indicates that to Reject a message it needs to see ERROR, and that when it sees REJECTED message processing is actually postponed. A look at CGP logs indicates that REJECTED messages are scanned again later.
Added Postpone action which allows SNF4CGP to exercise CGPs REJECTED response.
Updated SNF4CGP revision numbers appropriately.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@51 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
14 lat temu
madscientist
b1d5a74b4c
Improved default snf_engine.xml.sample.in
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@50 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
14 lat temu
madscientist
96852c9546
Updated snf_engine.xml.sample.in to include XML extensions (XSL/CSS)
Updated snf_engine.xml.sample.in for new default configuration
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@49 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
14 lat temu
adeniz
7bd623aa7d
Changed version from 0.1.0 to 0.1.2 to match name of tarball.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@48 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
14 lat temu
madscientist
aa7601fc0a
Simplified default configuration file path logic
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@47 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
c3dbdd76e4
Default config file is now snf_milter.xml in the same directory as the
executable.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@46 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
3b2dc7305c
Implemented default config file. Tested under Ubuntu; need to test
under Windows.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@45 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
3f47061355
Changed log and startup message prefix from "SNF4CGP" to "CGPSNF".
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@44 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
2e034a757e
Initial revision.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@43 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
54f2ac7c54
Initial revision. This files is used for building the *nix package.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@42 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
0a9d4beabc
Updated config files for CommuniGate.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@41 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
4275f5bfb4
Renamed SNF4CGP.xml.sample.in to snf_engine.xml.sample.in
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@40 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
adeniz
44ca7ac75b
Initial revision.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@39 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
b8bbba509e
Fixed extra qualifier string Job::ScanName(); in JobPool.hpp
Fixed backslashes in header paths in ConfigurationEngine.cpp
Moved version number to 0.1.0 (First Official Beta)
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@38 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
76fbc60db3
Changed revision number (missed it in last commit)
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@37 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
6677ba8387
Fixed bug - PlatformVersion was not reported. PlatformVersion is now propagated through the initialization sequence to the scanner pool and ultimately the rulebase so it can be reported properly.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@36 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
16f5e640f4
Cleaned up some logical expressions for clarity.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@35 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
1f9713514c
Fixed potential race condition where the ExecutiveProcess might send a notification message through cout while the OutputProcessor was busy using cout also. The result would be (at best) corrupted output. Now the ExecutiveProcess and the OutputProcessor both use OutputProcessor::sendString() which protects cout with a mutex.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@34 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
67a3f85926
Fixed bad cin bug - if cin went bad the executive process would loop, rapidly generate UNKNOWN commands, and produce FAILURE outputs. This would happen when CGP was disabling the plugin (Specs say the plugin should get QUIT first, but it didn't). The fix creates a new Command::NOTGOOD that is produced by getCommand() if cin.good() becomes false. The executive process responds to Command::NOTGOOD by announcing the input has gone bad and then shutting down cleanly.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@33 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
6fabcf96d3
Created Misc directory
Populated Misc directory with architectural notes
Populated Misc directory with a sample configuration
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@32 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
14e9da2854
Completed ConfigurationEngine
Cleaned up for production testing
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@31 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
3493f12b56
Refactored command comment reporting
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@30 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
f7fc41fee1
Completed doMove() logic with and without header injection
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@29 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
727b31b9b0
Added temporary code for testing Actions during FILE command
Completed Bypass Action
Completed Allow Action
Completed Reject Action
Completed Delete Action
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@28 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
3f7198f89a
Added file release to Job::finalize()
Improved shutdown reporting
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@27 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
566a593b83
Refactored exception handling and reporting.
Began implementing the Configuration Engine.
Began implementing the message move mechanism.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@26 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
105cc56b2f
Re-factored for multiplexed configuration access and cycle stealing updates.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@25 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
7180b0d31d
Added CGP string formatting
Added all command features except FILE
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@24 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
d38973aa63
Corrected shutdown deadlock in Workers.
Completed WAKE process.
It's Alive! Starts, WAKEs, QUITs.
Now it needs a brain (how to do jobs).
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@23 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
27aafa90e0
Added guts to JobPool
Added safety to ScannerPool and WorkerPool
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@22 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
182de1201d
Added utility method skeleton to Job class.
Built a bit more of Job class guts.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@21 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
2111d2b112
Added clearJob()
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@20 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
2005147208
Filled in ScannerPool (Completed?)
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@19 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
e9131c36d5
Sketched in ScannerPool.cpp
Successfully compiled & linked skeleton app :-)
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@18 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
46123c5a75
JobPool.cpp Skeleton.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@17 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
90075fc40c
Refactored a bit to solve circular references in module includes.
Fixed some compiler errors.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@16 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
fba5c00979
Fleshed out WorkerPool.cpp
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@15 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
2ace5f1f8a
Filled in OutputProcessor.cpp
Thread states for WorkerPool
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@14 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
27a8a4a5f6
Cleaned up ExecutiveProcess constructor.
Sketched in ExecutiveProcess::dispatchCommand.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@13 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
22b1be6bb0
Fleshed out WorkerPool.hpp.
Added Started flags to WorkerPool and JobPool.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@12 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu
madscientist
61e3c9e6af
Reworked and cleaned up allocation and initialization paradigm.
Fleshed out JobPool and ScannerPool.
git-svn-id: https://svn.microneil.com/svn/SNF4CGP/trunk@11 59e8e3e7-56fa-483b-b4b4-fa6ab0af3dfc
15 lat temu