Commit graph

91 commits

Author SHA1 Message Date
Alistair Riddoch
d9b205fd58 URL decode the requirements form entry 2009-04-06 01:05:02 +01:00
Alistair Riddoch
64d4efd268 Use urlencode for forms, and add structure for login and update forms 2009-04-06 00:53:34 +01:00
Alistair Riddoch
25b208fa1e Add check to detect logged in. 2009-04-06 00:09:05 +01:00
Alistair Riddoch
5a80f409a8 Catch URL open failure exceptions 2009-04-05 18:48:59 +01:00
Alistair Riddoch
f435a49658 Implement logging in using urllib and raw httplib 2009-04-05 04:50:44 +01:00
Alistair Riddoch
85647b9434 Add work in progress file for experimenting. 2009-04-04 18:25:29 +01:00
Alistair Riddoch
cd215aed51 Move the safe check into the function to clean up main 2009-04-02 00:29:10 +01:00
Alistair Riddoch
b646a8a2cb Move autopackage to function. Check if packages are built before building 2009-04-01 23:25:57 +01:00
Alistair Riddoch
6e5129280c Move rpm build into a function 2009-04-01 12:50:31 +01:00
Alistair Riddoch
e52e9cae62 Move lots of functionality into functions. Check done tasks 2009-04-01 03:50:30 +01:00
Alistair Riddoch
cc2fa2ad36 Add building binary rpms 2009-04-01 02:58:20 +01:00
Alistair Riddoch
6948bc3dce Implement a load more functionality 2009-03-31 05:57:17 +01:00
Alistair Riddoch
137b9cf9d8 Add a script to automate release geneation 2009-03-30 17:18:53 +01:00
Alistair Riddoch
dd9244c195 Clarify the message about missing libs 2009-03-27 00:51:36 +00:00
Alistair Riddoch
1b6df16ec5 Improve the library age check 2009-03-26 17:50:05 +00:00
Alistair Riddoch
471ccf6f3e Improve checks to allow for some standard differences 2009-03-24 03:18:00 +00:00
Alistair Riddoch
051068340a Add a new script to check header guards. 2009-03-22 19:15:05 +00:00
Al Riddoch
138ec76e2d Add script to check that class names in files match the file names 2009-03-12 01:27:14 +00:00
Al Riddoch
76dea9d8d3 2009-03-10 Al Riddoch <alriddoch@googlemail.com>
* scripts/extract_revision.sh: A new script to extract a build ID
	  revision number differently depending on what source control
	  is being used.

	* Makefile.am: Add the new script to dist.

	* server/Makefile.am: Use the new script, and add the generated
	  buildid.cpp to the distributed sources.
2009-03-10 17:43:05 +00:00
Al Riddoch
e6093cac9b 2008-10-28 Al Riddoch <alriddoch@googlemail.com>
* scripts/cyphesis-setup.sh: Fix a mistake in the calling of
	  cyloadrules.
2008-10-28 01:56:10 +00:00
Al Riddoch
0eca781f8f 2008-10-27 Al Riddoch <alriddoch@googlemail.com>
* scripts/cyphesis-setup.sh: Ensure there are no errors because
	  of permissions on the source directory. Shorten some variable
	  names to clean up formatting. Clean up error handling with database
	  commands.
2008-10-27 17:18:41 +00:00
Al Riddoch
adf534907c 2008-10-27 Al Riddoch <alriddoch@googlemail.com>
* scripts/cyphesis-setup.sh: Add checks for a whole bunch of
	  environment variables which could contain the calling user's
	  username after sudo or su have been run. Improve some of the
	  messages.
2008-10-27 03:39:22 +00:00
Al Riddoch
9acdbfdb75 Add a new script to check the state of the static libraries to be used during
linking.
2008-10-26 23:29:16 +00:00
Al Riddoch
8c0dcbff09 2008-06-08 Al Riddoch <alriddoch@googlemail.com>
* scripts/cyphesis-setup.sh: Fix command line to su so it works.
2008-06-08 22:59:05 +00:00
Al Riddoch
55b28f9169 2008-05-28 Al Riddoch <alriddoch@googlemail.com>
* scripts/import_bullet: Check explicitly for source files suffixes
	  before treating them as sources. Create temporary files to avoid
	  updating Makefile.am if there is no change. Mark headers as not to
	  be installed.
2008-05-28 17:01:51 +00:00
Al Riddoch
029b440f43 More changes. Import now works. 2008-05-09 15:35:53 +00:00
Al Riddoch
614523d19e 2008-05-08 Al Riddoch <alriddoch@googlemail.com>
* scripts/import_bullet: An experimental script.
2008-05-08 22:26:51 +00:00
Al Riddoch
bb779e2bb7 In a compound object, that contains sub-objects, COMPONENTS can be like
CONTAINS, but COMPONENTS do not have a separate existence. They are destroyed
if the entity is destroyed, and do not have globally addressable IDs.
They can still be represented by Entity, but won't be in the global ID
dictionary. This leads to the idea of a component property interface whcih
abstracts looking up component IDs. An accompanying stamp can reduce the
frequency with which clients need to inspect the components, as they should
change very infrequently.

SEQ is not being used in the memmap code, as it is not being set.

Re-write plant using properties when we can write scripts for property
handlers.
2007-12-31 13:48:57 +00:00
Al Riddoch
4f2e20bd06 2007-09-18 Al Riddoch <alriddoch@zepler.org>
* scripts/cyphesis-setup.sh: Clarify the message when a database
	  account is found to already exist.
2007-09-18 17:06:04 +00:00
Al Riddoch
e2f97526c3 2007-07-09 Al Riddoch <alriddoch@zepler.org>
* scripts/cyphesis-setup.sh: Complete the database setup script
	  functionality. Clean up the output, and polish.

	* server/PersistantThingFactory.cpp, server/PersistantThingFactory.h,
	  server/PersistantThingFactory_impl.h: Partially specialise the non
	  persistent entity factory so we can register the persistor database
	  tables for the world object when persistence is disabled, so the
	  state of this entity can be restored.

	* server/server.cpp: Tidy up the startup output.

	* server/EntityFactory.cpp: Don't try and set up world persistence if
	  it is turned off.
2007-07-08 23:45:12 +00:00
Al Riddoch
0a87aab96c 2007-07-07 Al Riddoch <alriddoch@zepler.org>
* Makefile.am, scripts/cyphesis-setup.sh: Get the script for setting
	  up database working fairly smoothly.
2007-07-07 16:21:12 +00:00
Al Riddoch
c98d06fabb 2007-05-30 Al Riddoch <alriddoch@zepler.org>
* scripts/Info.plist: Correct the syntax.
2007-05-31 03:09:48 +00:00
Al Riddoch
b554571606 2007-05-28 Al Riddoch <alriddoch@zepler.org>
* scripts/Info.plist: Add package list spec.

	* scripts/gen_mac_app.sh: Use pre-created package list rather than
	  trying to generate it on the fly.
2007-05-29 00:36:53 +00:00
Al Riddoch
56b7ab64b8 2007-05-28 Al Riddoch <alriddoch@zepler.org>
* scripts/gen_mac_app.sh: Script to configure cyphesis in a way
2007-05-28 10:12:00 +00:00
Al Riddoch
7512de5046 2007-05-01 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Add version and help options to the usage
	  information.
2007-05-02 00:14:38 +00:00
Al Riddoch
5ea10f9ded 2007-02-17 Al Riddoch <alriddoch@zepler.org>
* scripts/cyphesis-setup.sh: Add new untested script that automates
	  setting up a database account for cyphesis.

	* Makefile.am: Add a message to the end of the install output
	  informing that the setup script needs to be run to sort out
	  the database access.
2007-02-17 20:16:28 +00:00
Al Riddoch
adedf138f4 2006-12-27 Al Riddoch <alriddoch@zepler.org>
* common/const.h: Add declaration for buildid, an incrementing
	  build number to give finer version tracking of development code.

	* server/ServerRouting.cpp: Add buildid to the server status
	  made available to all clients. Fix entity count in server status
	  as it wasn't fully added in the last change.

	* server/Makefile.am, scripts/gen_buildid.py: Implement buildid
	  by pulling the RCS revision number out of ChangeLog from its
	  embedded RCS $Id$ entry.
2006-12-27 10:49:05 +00:00
Al Riddoch
23ec5d757a 2006-12-27 Al Riddoch <alriddoch@zepler.org>
* common/const.cpp: Remove build time and date, because they almost
	  never get updated here.

	* scripts/gen_buildid.py: New script to generate a source file
	  to note the build time and date.

	* server/Makefile.am: Create a new file that depends on all server
	  sources that contains the build time and data, and will contain
	  the build number.

	* server/ServerRouting.cpp: Add number of entities in the world
	  to the server info.
2006-12-27 01:11:57 +00:00
Al Riddoch
09bbd448af 2006-08-02 Al Riddoch <alriddoch@zepler.org>
* scripts/compile_python.py: Add a new script which compiles python
	  files.

	* cyphesis.spec.in: Modify spec to compile installed python
	  scripts, and remove original source for runtime performance
	  and compact package size.
2006-08-02 13:50:05 +00:00
Al Riddoch
ca2d0cc5e5 2005-09-12 Al Riddoch <alriddoch@zepler.org>
* common/Add.h, common/Burn.h, common/Chop.h, common/Connect.h,
	  common/Cut.h, common/Delve.h, common/Dig.h, common/Eat.h,
	  common/Monitor.h, common/Mow.h, common/Nourish.h, common/Setup.h,
	  common/Tick.h, common/Unseen.h, common/Update.h,
	* common/operations.cpp, scripts/gen_op.py:
	  Try a new much simpler way of handling custom ops.

	* common/CustomOp.cpp, common/CustomOp.h, common/CustomOp_impl.h:
	  Remove obsolete old template for custom ops.

	* common/custom.cpp: Install factories in a different way for all
	  the custom op types.
2005-09-12 00:31:15 +00:00
Al Riddoch
736bf3ac49 2005-08-28 Al Riddoch <alriddoch@zepler.org>
* scripts/gen_op.py: Script to generate operation class headers.

	* common/Connect.h, common/Monitor.h: New op classes added during
	  port.
2005-08-27 23:26:56 +00:00