repo string | commit string | message string | diff string |
|---|---|---|---|
foxbunny/Timetrack | cea1df2ee5c814a2fa064c6e5d3e250c6d0c397c | Added TSV export | diff --git a/tt.py b/tt.py
index b8d5059..53ed4ef 100755
--- a/tt.py
+++ b/tt.py
@@ -1,213 +1,237 @@
#!/usr/bin/env python
"""
Simple-stupid time tracker script
=================================
Timetrack
opyright (C) 2010, Branko Vukelic <studio@brankovukelic.com>
This program is free software: you can r... |
foxbunny/Timetrack | 10e052cee28076302a7b1152b71c18a5d42d63ae | Fixed mistake in usage text. | diff --git a/tt.py b/tt.py
index 95b93f6..b8d5059 100755
--- a/tt.py
+++ b/tt.py
@@ -1,213 +1,213 @@
#!/usr/bin/env python
"""
Simple-stupid time tracker script
=================================
Timetrack
opyright (C) 2010, Branko Vukelic <studio@brankovukelic.com>
This program is free software: you can r... |
winton/dialog | 1286c8a0bb0a663e89acd7f6a43f7fbe1439d9cb | First working version | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..496ee2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.DS_Store
\ No newline at end of file
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
diff --git a/install.rb b/install.rb
new file mode 100644
index 0000000..e69de29
d... |
davidwisch/ci_memsess | 400d2a1d76f2f07937c1b9d25209fdf7fe3bd420 | moved comment block | diff --git a/libraries/Session.php b/libraries/Session.php
index e919fb3..daea634 100644
--- a/libraries/Session.php
+++ b/libraries/Session.php
@@ -1,463 +1,468 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
-* Memcache Class
+* Use memcached as session storage backend in CodeIgn... |
davidwisch/ci_memsess | f80a25605ce53e1b6dc80353463662524acde1f7 | require that BASEPATH be defined & added accessor to session array | diff --git a/libraries/Session.php b/libraries/Session.php
index 43c5f1f..e919fb3 100644
--- a/libraries/Session.php
+++ b/libraries/Session.php
@@ -1,448 +1,463 @@
-<?php
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+
/**
* Memcache Class
*
* @author David Wischhusen
*/
class CI_Se... |
davidwisch/ci_memsess | f9db764d41e4fdfb7f463a7ae89c159f519f0be4 | fixed bug in function extend_flashdata | diff --git a/libraries/Session.php b/libraries/Session.php
index b94a7d9..4ef6d79 100644
--- a/libraries/Session.php
+++ b/libraries/Session.php
@@ -1,448 +1,448 @@
<?php
/**
* Memcache Class
*
* @author David Wischhusen
*/
class CI_Session{
/**
* Memcache Object
*/
var $memcache;
/**
* Session Nam... |
davidwisch/ci_memsess | 4b954b14499551dd7a8ef86aa30b71b0013b8658 | fixed a bug that occurred after a call to destroy() | diff --git a/libraries/Session.php b/libraries/Session.php
index 70d3cb8..b94a7d9 100644
--- a/libraries/Session.php
+++ b/libraries/Session.php
@@ -1,446 +1,448 @@
<?php
/**
* Memcache Class
*
* @author David Wischhusen
*/
class CI_Session{
/**
* Memcache Object
*/
var $memcache;
/**
* Session Nam... |
davidwisch/ci_memsess | 9c13421535ba3cf3a6f358d586513790390aeda4 | made README less ugly | diff --git a/README.markdown b/README.markdown
index 21fc9a9..e2c36ee 100644
--- a/README.markdown
+++ b/README.markdown
@@ -1,50 +1,47 @@
# Memsess - A memcached backend for CodeIgniter sessions
***
## Usage
### Installation
Simply copy **libraries/Session.php** to the libraries/ directory in your applica... |
davidwisch/ci_memsess | 3d00ff732e806c19c31f84a3621f455b8b27694f | Finally added stuff to the README | diff --git a/README b/README
deleted file mode 100644
index e69de29..0000000
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..21fc9a9
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,50 @@
+# Memsess - A memcached backend for CodeIgniter sessions
+
+***
+
+## Usage
+
+### Installation
+
... |
davidwisch/ci_memsess | 2a589da8edbbc5e886caa3f4ce5259df2918ec82 | fixed some commenting | diff --git a/config/appconfig.php b/config/appconfig.php
index b65165c..d297758 100644
--- a/config/appconfig.php
+++ b/config/appconfig.php
@@ -1,9 +1,11 @@
<?php
$config['memsess_name'] = "app_session";
$config['memsess_expire_time'] = 36288000;
$config['memsess_servers'] = array(
array(
'host' => '127.0.0... |
apg/django-favorites | b1459497453cfcecd06b56e42a152194feb5d472 | use PositiveIntegerField for object_id, as in http://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/#id1 | diff --git a/favorites/models.py b/favorites/models.py
index 76517ff..302d572 100644
--- a/favorites/models.py
+++ b/favorites/models.py
@@ -1,71 +1,71 @@
from django.db import models, connection
from django.contrib.auth.models import User
from django.utils.translation import ugettext_lazy as _
from django.contri... |
apg/django-favorites | baebdc0f773db77e41db4c1aea5255846faa3266 | * Backwards Incompatible Change: Changed the order of the args in `create_favorite' to be more compatible with the other methods * Now calling get_query_set() in the Manager's methods | diff --git a/favorites/managers.py b/favorites/managers.py
index 6b0657f..ff88e2c 100644
--- a/favorites/managers.py
+++ b/favorites/managers.py
@@ -1,38 +1,38 @@
from django.db import models, connection
from django.contrib.contenttypes.models import ContentType
from models import Favorite
qn = connection.ops.q... |
apg/django-favorites | e8a37f6d233dfb1a34ff1482e0e8aa22a8476efc | * Quoted things that should be quoted | diff --git a/favorites/managers.py b/favorites/managers.py
index f52a897..6b0657f 100644
--- a/favorites/managers.py
+++ b/favorites/managers.py
@@ -1,36 +1,38 @@
-from django.db import models
+from django.db import models, connection
from django.contrib.contenttypes.models import ContentType
from models import Fav... |
apg/django-favorites | 0cbfd0481d1dec98da7c60fa71c3a2747a87c44c | * setup.py referred to "tagging," which is where the setup.py originall came from | diff --git a/favorites/views.py b/favorites/views.py
deleted file mode 100644
index e69de29..0000000
diff --git a/setup.py b/setup.py
index 4714ea9..311f770 100644
--- a/setup.py
+++ b/setup.py
@@ -1,18 +1,18 @@
from distutils.core import setup
setup(
- name = 'tagging',
+ name = 'favorites',
version = '... |
apg/django-favorites | 5d429a0704108c65f25dab228a6fe2b0ab6945d8 | * Forgot to set the version number in setup.py | diff --git a/setup.py b/setup.py
index 7183278..4714ea9 100644
--- a/setup.py
+++ b/setup.py
@@ -1,18 +1,18 @@
from distutils.core import setup
setup(
name = 'tagging',
- version = version,
+ version = '0.1',
description = 'Generic favorites application for Django',
author = 'Andrew Gwozdziewyc... |
apg/django-favorites | 3935e47548b21e15b4d4e984b0c9be8cf4442c3e | * Initial commit of my Django favorites library. Yes there are others, but this one is mine. | diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..cca7fc2
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and dis... |
redjohn/misc | 17be97cdaa581663c5e139bea1484ea3b7a243e9 | Added eclipse preferences | diff --git a/tango.epf b/tango.epf
new file mode 100644
index 0000000..5faec3d
--- /dev/null
+++ b/tango.epf
@@ -0,0 +1,254 @@
+#Wed Sep 15 14:53:18 MDT 2010
+/instance/org.eclipse.wst.html.core/piUndefined=2
+/instance/org.eclipse.wst.jsdt.web.core/jspIndexState=1
+/instance/org.eclipse.mylyn.context.core/mylyn.attent... |
redjohn/misc | 3580bfd7c51b861d88bdce9998d9b1122fba7d5f | Added .emacs file used at work | diff --git a/emacs-work b/emacs-work
new file mode 100644
index 0000000..9f962e6
--- /dev/null
+++ b/emacs-work
@@ -0,0 +1,44 @@
+(color-theme-select)
+;(color-theme-deep-blue)
+(load "~/.emacs.d/color-theme-tango.el")
+(color-theme-tango)
+
+(setq viper-mode t)
+(require 'viper)
+
+(setq make-backup-files nil)
+
+(req... |
redjohn/misc | 73fac54f7fe6e77a8271ee41f7f001fe90f4161c | Added file for bash aliases | diff --git a/aliases b/aliases
new file mode 100644
index 0000000..4658099
--- /dev/null
+++ b/aliases
@@ -0,0 +1 @@
+alias em='emacs -nw -q -l ~/.emacs-cl'
|
redjohn/misc | 9da31f3f88bc2a6b72cde256cb95a704bd4cf5d9 | Stupid fix cause the symlink wasn't working | diff --git a/emacs-home b/emacs-home
new file mode 100644
index 0000000..fecdd5d
--- /dev/null
+++ b/emacs-home
@@ -0,0 +1,18 @@
+(autoload 'python-mode "python-mode.el" "Python mode." t)
+(setq auto-mode-alist (append '(("/*.\.py$" . python-mode)) auto-mode-alist))
+
+(setq erlang-root-dir "/usr/lib/erlang")
+(setq ex... |
simosx/myname | 2a5ab250cc2f94a79148913e57ba6e944a506d63 | Added more | diff --git a/README b/README
index ca0e44c..f8e7ff3 100644
--- a/README
+++ b/README
@@ -1,2 +1,3 @@
This is the best readme file.
And another test.
+And more.
|
simosx/myname | f9c57cca3e4a69dfb9ec6e2b86d55d9f6e5ee163 | Added zz | diff --git a/Makefile.am b/Makefile.am
index ba26731..d84e526 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1 @@
-DOC_LINGUAS = am el en es fr sl zh
+DOC_LINGUAS = am el en es fr sl zh zz
|
simosx/myname | 983b8f3737422ddbb21f3d0a7c43b2165ba8a3ae | Added sl to DOC_LINGUAS | diff --git a/Makefile.am b/Makefile.am
index 49977b5..ba26731 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1 @@
-DOC_LINGUAS = am el en es fr zh
+DOC_LINGUAS = am el en es fr sl zh
|
simosx/myname | 16cad25be3b00d3d3e917487964ae1df563b91da | Added zh to DOC_LINGUAS | diff --git a/Makefile.am b/Makefile.am
index c366ea3..49977b5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1 @@
-DOC_LINGUAS = am el en es fr
+DOC_LINGUAS = am el en es fr zh
|
simosx/myname | 2e91fe2ea1b75175d45e17f57364414769450a99 | Added Makefile.am | diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..c366ea3
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1 @@
+DOC_LINGUAS = am el en es fr
|
simosx/myname | 8efa98dcec3c18e217eab8e45c1357765d942b4b | Added Greek | diff --git a/el.po b/el.po
new file mode 100644
index 0000000..ccac651
--- /dev/null
+++ b/el.po
@@ -0,0 +1,2 @@
+msgid "Hello"
+msgstr "Îεια ÏοÏ
"
|
simosx/myname | 5e0a8793d129e3b0db367c8c3f2a8ca9774edd32 | Modifications | diff --git a/README b/README
index 0db0fe1..ca0e44c 100644
--- a/README
+++ b/README
@@ -1,2 +1,2 @@
-This is the readme file.
-And a test.
+This is the best readme file.
+And another test.
|
simosx/myname | eba82c1eb1e1944cc822f22d5b096a3939ab53d9 | more text | diff --git a/text b/text
index e69de29..fd1b6cc 100644
--- a/text
+++ b/text
@@ -0,0 +1 @@
+hejsdfljsjkl
|
simosx/myname | f1dfa91a3d49b2efd0c5f1a4f152dbcb2f8aaec2 | a text file | diff --git a/text b/text
new file mode 100644
index 0000000..e69de29
|
simosx/myname | 0f1eafb0eb18bf047aafb81b6b53a512cf3e57fa | Added README | diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
|
bld/bld-dyn | 52ac273e0269aa6d1a92eff70c8158b80263b74a | Added cartesian state class & equations of motion. | diff --git a/orbit.lisp b/orbit.lisp
index 31d4efa..579b426 100644
--- a/orbit.lisp
+++ b/orbit.lisp
@@ -1,344 +1,356 @@
#|
Orbital Mechanics Library
=========================
Includes:
* Cartesian coordinate equations of motion
* Kustaanheimo-Stiefel equations of motion cast into geometric algebra by Hestene... |
bld/bld-dyn | e94591b31f70c5d2a90a343100a471098d44af13 | starting work on adding genetic algorithm calculation of solar sail trajectories | diff --git a/sailgeco.lisp b/sailgeco.lisp
new file mode 100644
index 0000000..8ebd93d
--- /dev/null
+++ b/sailgeco.lisp
@@ -0,0 +1,7 @@
+;; Solar sail trajectory optimization via genetic algorithm as implemented in Genetic Evolution through Combination of Objects (GECO)
+
+(asdf:load-system :geco)
+(asdf:load-system :... |
bld/bld-dyn | a04382692f88736e2eb20dd044ae00d2362c1979 | changing to use user defined classes for states | diff --git a/orbit.lisp b/orbit.lisp
index 7aa4b3f..31d4efa 100644
--- a/orbit.lisp
+++ b/orbit.lisp
@@ -1,314 +1,344 @@
+#|
+
+Orbital Mechanics Library
+=========================
+
+Includes:
+* Cartesian coordinate equations of motion
+* Kustaanheimo-Stiefel equations of motion cast into geometric algebra by Hestene... |
bld/bld-dyn | bc9e8619fe463e46779fa298bedd2b16c7673002 | Added *forcefun* and *sigma0* variables for KSHEOM to use so TESTKSH now works using the solar sail force function defined in *KSHSAILTEST* | diff --git a/orbit.lisp b/orbit.lisp
index bcad480..7aa4b3f 100644
--- a/orbit.lisp
+++ b/orbit.lisp
@@ -1,300 +1,314 @@
(in-package :bld-orbit)
;; Define infinity norm method for BLD-ODE Runge-Kutta method
(defmethod norminfx ((x g))
(norminf x))
;; Sail force functions
(defvar *lightness* 0.1 "Sail lightn... |
bld/bld-dyn | b9cce1a8a9237b89d264853a1db6970904be1e14 | put orbit dynamics into it's own system. Working on rigid body dynamics for BLD-DYN now. Work in progress. | diff --git a/bld-dyn.asd b/bld-dyn.asd
index 7994c50..deed766 100644
--- a/bld-dyn.asd
+++ b/bld-dyn.asd
@@ -1,14 +1,8 @@
-(defpackage :bld.dyn.system
- (:use :asdf :cl))
-(in-package :bld.dyn.system)
-(defsystem :bld-dyn
- :name "bld-dyn"
+(asdf:defsystem :bld-dyn
:author "Ben Diedrich"
- :version "0.0.1"
- :ma... |
bld/bld-dyn | 83b60ba2d29511bcccde77ce610c3d3dc88c0d92 | deleted PRINT-OBJECT method for hash tables because it's already defined in BLD-ODE | diff --git a/dyn.lisp b/dyn.lisp
index 43fb4c1..389363a 100644
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,306 +1,300 @@
(in-package :bld-dyn)
-;; Infinity norm
+;; Define infinity norm method for BLD-ODE Runge-Kutta method
(defmethod norminfx ((x g))
(norminf x))
-;; Print hash table entries
-(defmethod print-object ... |
bld/bld-dyn | 478f143174d390747286994eb689ee99cb3365e2 | changed to use generic arithmetic from BLD-GEN. Fixed some other changes leaving it non-functional. Uses *G3 method for vector-bivector-vector->rotor multiplications. | diff --git a/bld-dyn.asd b/bld-dyn.asd
index 486caf3..7994c50 100644
--- a/bld-dyn.asd
+++ b/bld-dyn.asd
@@ -1,15 +1,14 @@
(defpackage :bld.dyn.system
(:use :asdf :cl))
(in-package :bld.dyn.system)
(defsystem :bld-dyn
:name "bld-dyn"
:author "Ben Diedrich"
:version "0.0.1"
:maintainer "Ben Diedrich"
... |
bld/bld-dyn | ab908787044856579d0cb4b5f6b8c5055ec44a11 | bunch of changes. not everything's working. still need to verify correctness of Kustannheimo-Stiefel equations. | diff --git a/bld-dyn.asd b/bld-dyn.asd
index 8308710..486caf3 100644
--- a/bld-dyn.asd
+++ b/bld-dyn.asd
@@ -1,14 +1,15 @@
(defpackage :bld.dyn.system
(:use :asdf :cl))
(in-package :bld.dyn.system)
(defsystem :bld-dyn
:name "bld-dyn"
:author "Ben Diedrich"
:version "0.0.1"
:maintainer "Ben Diedrich"
... |
bld/bld-dyn | 747d86a45fe75d1a13451086fec2c3f1468f8d0f | added simple solar sail test case for KS equations | diff --git a/dyn.lisp b/dyn.lisp
index 5fad240..ad7dfc4 100755
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,242 +1,266 @@
(in-package :bld-dyn)
;; State algebra methods
(defmethod +x2 ((a g) (b g))
(g2+ a b))
(defmethod -x2 ((a g) (b g))
(g2- a b))
(defmethod *xs ((x g) (s number))
(*gs x s))
(defmethod norminf... |
bld/bld-dyn | 63257fee04d17917f0a886c227bb212446da8f3e | replaced LETHASH with WITH-KEYS | diff --git a/dyn.lisp b/dyn.lisp
index 3d7ac07..5fad240 100755
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,242 +1,242 @@
(in-package :bld-dyn)
;; State algebra methods
(defmethod +x2 ((a g) (b g))
(g2+ a b))
(defmethod -x2 ((a g) (b g))
(g2- a b))
(defmethod *xs ((x g) (s number))
(*gs x s))
(defmethod norminf... |
bld/bld-dyn | e63830d3b3f80529ebc5fdfa0e147d730ccd6b78 | changed use of *g to *g3 or *g2, because they return the correct object types | diff --git a/dyn.lisp b/dyn.lisp
index b5195d6..3d7ac07 100755
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,242 +1,242 @@
(in-package :bld-dyn)
;; State algebra methods
(defmethod +x2 ((a g) (b g))
(g2+ a b))
(defmethod -x2 ((a g) (b g))
(g2- a b))
(defmethod *xs ((x g) (s number))
(*gs x s))
(defmethod norminf... |
bld/bld-dyn | 112b944e2e97846a07cf616e36dd14f7fc3039ee | changing email address | diff --git a/dyn.lisp b/dyn.lisp
old mode 100644
new mode 100755
index 8151ea5..b5195d6
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,242 +1,242 @@
(in-package :bld-dyn)
;; State algebra methods
(defmethod +x2 ((a g) (b g))
(g2+ a b))
(defmethod -x2 ((a g) (b g))
(g2- a b))
(defmethod *xs ((x g) (s number))
(*gs ... |
bld/bld-dyn | 3ce972f0373a6f7b69dd212a32bbf0f58feabbde | changed class-states to hash-table states | diff --git a/dyn.lisp b/dyn.lisp
index 595f926..8151ea5 100644
--- a/dyn.lisp
+++ b/dyn.lisp
@@ -1,244 +1,242 @@
(in-package :bld-dyn)
;; State algebra methods
(defmethod +x2 ((a g) (b g))
(g2+ a b))
(defmethod -x2 ((a g) (b g))
(g2- a b))
(defmethod *xs ((x g) (s number))
(*gs x s))
(defmethod norminf... |
svenfuchs/rack-cache-tags | 21fcf3aaa2711288bf853b310ea4d3d418a50288 | add gemfile and fix gemspec dependencies | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..677c465
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.bundle
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..e45e65f
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
diff --git a/Gemfile.lock b/Gemfile.loc... |
svenfuchs/rack-cache-tags | 2a5a8c6e0a71abbbbb4fa0ff30045ba203aceb85 | Bump to 0.0.6 | diff --git a/lib/rack_cache_tags/version.rb b/lib/rack_cache_tags/version.rb
index 4543eab..948e95e 100644
--- a/lib/rack_cache_tags/version.rb
+++ b/lib/rack_cache_tags/version.rb
@@ -1,3 +1,3 @@
module RackCacheTags
- VERSION = "0.0.5"
+ VERSION = "0.0.6"
end
\ No newline at end of file
|
svenfuchs/rack-cache-tags | 30cb0d212836aef2e5b942b6de0ebe7573a2b6c0 | use less queries for storing taggings | diff --git a/lib/rack/cache/tags/store/active_record.rb b/lib/rack/cache/tags/store/active_record.rb
index 31416a9..4fe6c2e 100644
--- a/lib/rack/cache/tags/store/active_record.rb
+++ b/lib/rack/cache/tags/store/active_record.rb
@@ -1,32 +1,37 @@
require 'active_record'
module Rack
module Cache
class Tags
... |
svenfuchs/rack-cache-tags | 9e6a9e795fc9c2c18d47bfda0ea2b39c0e50e653 | urls should be unique | diff --git a/lib/rack/cache/tags/store/active_record.rb b/lib/rack/cache/tags/store/active_record.rb
index fda5376..31416a9 100644
--- a/lib/rack/cache/tags/store/active_record.rb
+++ b/lib/rack/cache/tags/store/active_record.rb
@@ -1,32 +1,32 @@
require 'active_record'
module Rack
module Cache
class Tags
... |
svenfuchs/rack-cache-tags | 17c709dc244371763f85f5e8184adb6a70929f2a | Bump to 0.0.5 | diff --git a/lib/rack_cache_tags/version.rb b/lib/rack_cache_tags/version.rb
index e1d954b..4543eab 100644
--- a/lib/rack_cache_tags/version.rb
+++ b/lib/rack_cache_tags/version.rb
@@ -1,3 +1,3 @@
module RackCacheTags
- VERSION = "0.0.4"
+ VERSION = "0.0.5"
end
\ No newline at end of file
|
svenfuchs/rack-cache-tags | 36b4f74249e06d98f243e9918e83e4c5672e4c1a | fix taggings_by_tags to make a given tag "site-1:title" match an existing tagging for "site-1" | diff --git a/lib/rack/cache/tags/store/active_record.rb b/lib/rack/cache/tags/store/active_record.rb
index 1f02caa..fda5376 100644
--- a/lib/rack/cache/tags/store/active_record.rb
+++ b/lib/rack/cache/tags/store/active_record.rb
@@ -1,31 +1,32 @@
require 'active_record'
module Rack
module Cache
class Tags
... |
svenfuchs/rack-cache-tags | 442333b525c57c0ecbfa7f58319cd1e1e9a8ff38 | use already defined Purge::PURGE_HEADER constant | diff --git a/lib/rack/cache/tags.rb b/lib/rack/cache/tags.rb
index 06605e6..dc511c6 100644
--- a/lib/rack/cache/tags.rb
+++ b/lib/rack/cache/tags.rb
@@ -1,47 +1,47 @@
require 'rack/request'
+require 'rack/cache/purge'
module Rack
module Cache
class Tags
autoload :Store, 'rack/cache/tags/store'
... |
svenfuchs/rack-cache-tags | 6851313ba0410339be00300d8a6b6769cb92bb28 | don't delete purge tags header | diff --git a/lib/rack/cache/tags.rb b/lib/rack/cache/tags.rb
index a7315b6..06605e6 100644
--- a/lib/rack/cache/tags.rb
+++ b/lib/rack/cache/tags.rb
@@ -1,48 +1,47 @@
require 'rack/request'
module Rack
module Cache
class Tags
autoload :Store, 'rack/cache/tags/store'
class << self
de... |
svenfuchs/rack-cache-tags | 9b4340073e0e3074cc263430f565ad4ace7da9df | bump to 0.0.4 | diff --git a/lib/rack_cache_tags/version.rb b/lib/rack_cache_tags/version.rb
index cf72005..e1d954b 100644
--- a/lib/rack_cache_tags/version.rb
+++ b/lib/rack_cache_tags/version.rb
@@ -1,3 +1,3 @@
module RackCacheTags
- VERSION = "0.0.3"
+ VERSION = "0.0.4"
end
\ No newline at end of file
|
svenfuchs/rack-cache-tags | 99aafb1421814c818f5578b14684931a9ea4a874 | do purge when purge headers are present, no matter what status | diff --git a/lib/rack/cache/tags.rb b/lib/rack/cache/tags.rb
index 649f4a0..a7315b6 100644
--- a/lib/rack/cache/tags.rb
+++ b/lib/rack/cache/tags.rb
@@ -1,50 +1,48 @@
require 'rack/request'
module Rack
module Cache
class Tags
autoload :Store, 'rack/cache/tags/store'
class << self
de... |
svenfuchs/rack-cache-tags | 82ed3a8cec9524aea3fc4f271243ceb80a7e661b | bump to 0.0.3 | diff --git a/lib/rack_cache_tags/version.rb b/lib/rack_cache_tags/version.rb
index 387da18..cf72005 100644
--- a/lib/rack_cache_tags/version.rb
+++ b/lib/rack_cache_tags/version.rb
@@ -1,3 +1,3 @@
module RackCacheTags
- VERSION = "0.0.2"
+ VERSION = "0.0.3"
end
\ No newline at end of file
|
svenfuchs/rack-cache-tags | e9692c0ebbc1152faa703351497a3537fddd6e8f | always use wildcard lookups | diff --git a/lib/rack/cache/tags/store/active_record.rb b/lib/rack/cache/tags/store/active_record.rb
index d3ab8fc..1f02caa 100644
--- a/lib/rack/cache/tags/store/active_record.rb
+++ b/lib/rack/cache/tags/store/active_record.rb
@@ -1,26 +1,31 @@
require 'active_record'
module Rack
module Cache
class Tags
... |
svenfuchs/rack-cache-tags | cbe6c6e661a545219ebf3acdd449570e668c851f | bump to 0.0.2 | diff --git a/lib/rack_cache_tags/version.rb b/lib/rack_cache_tags/version.rb
index d4a0e39..387da18 100644
--- a/lib/rack_cache_tags/version.rb
+++ b/lib/rack_cache_tags/version.rb
@@ -1,3 +1,3 @@
module RackCacheTags
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
end
\ No newline at end of file
|
svenfuchs/rack-cache-tags | 5501e1e7a6a4209d693546b70c0ddc1c0d1a8fe4 | cleanup | diff --git a/rack-cache-tags.gemspec b/rack-cache-tags.gemspec
index 46b7f96..c77b200 100644
--- a/rack-cache-tags.gemspec
+++ b/rack-cache-tags.gemspec
@@ -1,20 +1,19 @@
# encoding: utf-8
$:.unshift File.expand_path('../lib', __FILE__)
require 'rack_cache_tags/version'
Gem::Specification.new do |s|
s.name ... |
svenfuchs/rack-cache-tags | 2ee4531422564e5f3b00957458d2ed0513cd20d2 | simplified reimplementation | diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..47e7ef4
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,10 @@
+require 'rake'
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs << 'lib'
+ t.pattern = 'test/**/*_test.rb'
... |
svenfuchs/rack-cache-tags | 5dc2657c9a0e76f868eb6735e1d5a82025d5508c | add method call tracking and rails/action_controller adapter | diff --git a/lib/method_call_tracking.rb b/lib/method_call_tracking.rb
new file mode 100644
index 0000000..01ca903
--- /dev/null
+++ b/lib/method_call_tracking.rb
@@ -0,0 +1,88 @@
+# Simple mechanism to track calls on methods.
+#
+# Include the module and call track_methods(an_array, :foo, :bar) on any object.
+# This... |
svenfuchs/rack-cache-tags | bf23b6b41a589f1ae4749d5de8bcf2b4623ad262 | add a Disk tagstore implementation, refactor Heap implementation | diff --git a/lib/core_ext/file_utils/rmdir_p.rb b/lib/core_ext/file_utils/rmdir_p.rb
new file mode 100644
index 0000000..a8d2bb4
--- /dev/null
+++ b/lib/core_ext/file_utils/rmdir_p.rb
@@ -0,0 +1,14 @@
+require 'fileutils'
+
+module FileUtils
+ def self.rmdir_p(path)
+ begin
+ while(true)
+ FileUtils.rmd... |
svenfuchs/rack-cache-tags | c449b5da6c7eea8564e65a3f058080e90b0135a7 | make Storage#clear clear the tagstores as well | diff --git a/lib/rack/cache/tags/storage.rb b/lib/rack/cache/tags/storage.rb
index 02c2f14..0628c6b 100644
--- a/lib/rack/cache/tags/storage.rb
+++ b/lib/rack/cache/tags/storage.rb
@@ -1,6 +1,12 @@
Rack::Cache::Storage.class_eval do
+ alias :clear_without_tagstore :clear
+ def clear
+ @tagstores.clear
+ clear_... |
martensite/OS_Practice | f2dcab7fae35a1b3a4f8f5d22e9ae7c51dc3e112 | modify to hide the name. | diff --git a/README b/README
index 8b9ef7d..68b8f2c 100644
--- a/README
+++ b/README
@@ -1 +1 @@
-This is tintin's OS Practice.
+This is an OS Practice.
|
martensite/OS_Practice | 71014016b92b4fede536a2a91fc25db8d6fcef2e | add some intro to README | diff --git a/README b/README
index e69de29..8b9ef7d 100644
--- a/README
+++ b/README
@@ -0,0 +1 @@
+This is tintin's OS Practice.
|
bentford/NSArchiveExample | 27c4ae45afd9040c5ed56dab5052325ba0e71ca6 | Show Custom Object as it exists in the database. | diff --git a/Classes/NSArchiveExampleAppDelegate.m b/Classes/NSArchiveExampleAppDelegate.m
index f014149..d582f6e 100644
--- a/Classes/NSArchiveExampleAppDelegate.m
+++ b/Classes/NSArchiveExampleAppDelegate.m
@@ -1,36 +1,41 @@
//
// NSArchiveExampleAppDelegate.m
// NSArchiveExample
//
// Created by Ben Ford on ... |
bentford/NSArchiveExample | 62c0ecf098efe952dc7d0173b3c4905165274693 | Cleaning up | diff --git a/Classes/PersonEntryView.xib b/Classes/PersonEntryView.xib
index f8fcf58..c36b0d6 100644
--- a/Classes/PersonEntryView.xib
+++ b/Classes/PersonEntryView.xib
@@ -1,669 +1,471 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
- <in... |
bentford/NSArchiveExample | 799456d0305ba65ec27faa7c4b44583e2f8e2ea6 | Fixed crash on empty data | diff --git a/Classes/ArrayEntryViewController.m b/Classes/ArrayEntryViewController.m
index c5c7741..3297012 100644
--- a/Classes/ArrayEntryViewController.m
+++ b/Classes/ArrayEntryViewController.m
@@ -1,47 +1,48 @@
//
// ArrayEntryViewController.m
// NSArchiveExample
//
// Created by Ben Ford on 4/27/10.
// C... |
bentford/NSArchiveExample | d33a908095d7b16322b3f4c6d3ac960ad86c2d93 | This is a working Xcode 4 project that builds successfully. (although it crashes still on weird error). | diff --git a/.gitignore b/.gitignore
index 378eac2..0008167 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,18 @@
-build
+# osx noise
+.DS_Store
+profile
+
+# xcode noise
+build/*
+*.mode1
+*.mode1v3
+*.mode2v3
+*.perspective
+*.perspectivev3
+*.pbxuser
+*.xcworkspace
+xcuserdata
+
+# svn & cvs
+.svn
+CVS
diff --git ... |
bentford/NSArchiveExample | a6ef379360189f55a69c866e1ae61f6010af5f41 | Revert "added ignore template that gitbox provides" | diff --git a/.gitignore b/.gitignore
index 0008167..378eac2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,18 +1 @@
-# osx noise
-.DS_Store
-profile
-
-# xcode noise
-build/*
-*.mode1
-*.mode1v3
-*.mode2v3
-*.perspective
-*.perspectivev3
-*.pbxuser
-*.xcworkspace
-xcuserdata
-
-# svn & cvs
-.svn
-CVS
+build
|
bentford/NSArchiveExample | ee994f03bbfc6bc1fc4612f4fc0c2f24065fc89f | Revert "cleared Xcode 4 / iOS5 compiler warning" | diff --git a/Classes/Persistance.m b/Classes/Persistance.m
index 46a63b8..f15eec4 100644
--- a/Classes/Persistance.m
+++ b/Classes/Persistance.m
@@ -1,124 +1,124 @@
//
// Persistance.m
// GuestInfo
//
// Created by Ben Ford on 10/23/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import ... |
bentford/NSArchiveExample | 910bac95787ac24ecfa19ad40726cbfc8542a930 | Revert "Updated some settings for iOS5 and Xcode 4" | diff --git a/NSArchiveExample.xcodeproj/Ben.pbxuser b/NSArchiveExample.xcodeproj/Ben.pbxuser
index 3492133..0422a7b 100644
--- a/NSArchiveExample.xcodeproj/Ben.pbxuser
+++ b/NSArchiveExample.xcodeproj/Ben.pbxuser
@@ -1,268 +1,126 @@
// !$*UTF8*$!
{
1D3623240D0F684500981E51 /* NSArchiveExampleAppDelegate.h */ = {
... |
bentford/NSArchiveExample | 2bfbd0fc1ee3945407566c84f2771b4d49304183 | Revert "updated protect for Xcode 4 (again)." | diff --git a/NSArchiveExample.xcodeproj/project.pbxproj b/NSArchiveExample.xcodeproj/project.pbxproj
index 3358f01..e6b4173 100755
--- a/NSArchiveExample.xcodeproj/project.pbxproj
+++ b/NSArchiveExample.xcodeproj/project.pbxproj
@@ -1,284 +1,283 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
- objectVers... |
bentford/NSArchiveExample | 5062c62e45b311c7aeccd39305a177cb22e59470 | cleared Xcode 4 / iOS5 compiler warning | diff --git a/Classes/Persistance.m b/Classes/Persistance.m
index f15eec4..46a63b8 100644
--- a/Classes/Persistance.m
+++ b/Classes/Persistance.m
@@ -1,124 +1,124 @@
//
// Persistance.m
// GuestInfo
//
// Created by Ben Ford on 10/23/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import ... |
bentford/NSArchiveExample | 55ffbaab69db00da9e03a4cb06e2e3eb0038597e | added ignore template that gitbox provides | diff --git a/.gitignore b/.gitignore
index 378eac2..0008167 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,18 @@
-build
+# osx noise
+.DS_Store
+profile
+
+# xcode noise
+build/*
+*.mode1
+*.mode1v3
+*.mode2v3
+*.perspective
+*.perspectivev3
+*.pbxuser
+*.xcworkspace
+xcuserdata
+
+# svn & cvs
+.svn
+CVS
|
bentford/NSArchiveExample | 7a08267b69a69d8411a1454af90368b16b5b0fd8 | added last example, showing the NSArray | diff --git a/Classes/ArrayEntryView.xib b/Classes/ArrayEntryView.xib
new file mode 100644
index 0000000..9b4d66d
--- /dev/null
+++ b/Classes/ArrayEntryView.xib
@@ -0,0 +1,631 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDo... |
bentford/NSArchiveExample | fba09e474be35ac22e53176864f272c0c3665cf4 | restructured code to store 1) custom object 2) NSDictionary 3) NSArray (before I was going for a boss, manager, employee structure, but it was not practical anymore.) | diff --git a/Classes/DictionaryEntryView.xib b/Classes/DictionaryEntryView.xib
new file mode 100644
index 0000000..bd1762c
--- /dev/null
+++ b/Classes/DictionaryEntryView.xib
@@ -0,0 +1,624 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ ... |
bentford/NSArchiveExample | bec59428eeedfc41e0071bb1d6b86a4e882d3dcb | added sections to view all view | diff --git a/Classes/ViewAllViewController.m b/Classes/ViewAllViewController.m
index aa15ba7..d0002b1 100644
--- a/Classes/ViewAllViewController.m
+++ b/Classes/ViewAllViewController.m
@@ -1,74 +1,93 @@
//
// ViewAllViewController.m
// NSArchiveExample
//
// Created by Ben Ford on 4/22/10.
// Copyright 2010 _... |
bentford/NSArchiveExample | 0c156aac2bc879edc6be92330492374de09fd378 | Fixed bug where last name was not being saved. | diff --git a/Classes/Person.m b/Classes/Person.m
index ba6091c..7634429 100644
--- a/Classes/Person.m
+++ b/Classes/Person.m
@@ -1,57 +1,57 @@
//
// Person.m
// NSArchiveExample
//
// Created by Ben Ford on 4/21/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "Person.h"
@impl... |
bentford/NSArchiveExample | 4fc5c09b5c57e1e2faa9c3da26d2123a558c1194 | added initial behavior for view all tab | diff --git a/Classes/BossViewController.m b/Classes/BossViewController.m
index 68e423d..9ad0303 100644
--- a/Classes/BossViewController.m
+++ b/Classes/BossViewController.m
@@ -1,43 +1,43 @@
//
// BossViewController.m
// NSArchiveExample
//
// Created by Ben Ford on 4/21/10.
// Copyright 2010 __MyCompanyName_... |
bentford/NSArchiveExample | c642b7c333c9924bf0bd383b9b2f7c2a6458d753 | goes with previous commit (added helper property fullName) | diff --git a/Classes/Person.h b/Classes/Person.h
index 7ed09f5..6feaaff 100644
--- a/Classes/Person.h
+++ b/Classes/Person.h
@@ -1,25 +1,27 @@
//
// Person.h
// NSArchiveExample
//
// Created by Ben Ford on 4/21/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundatio... |
bentford/NSArchiveExample | 1c77744545c5f433682244a64e3724b91655fdf7 | Fixed persistance bug and added helper property for fullName | diff --git a/Classes/Person.m b/Classes/Person.m
index 0e078d8..ba6091c 100644
--- a/Classes/Person.m
+++ b/Classes/Person.m
@@ -1,54 +1,57 @@
//
// Person.m
// NSArchiveExample
//
// Created by Ben Ford on 4/21/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "Person.h"
@impl... |
bentford/NSArchiveExample | b66f9bba22cdfdcce4793412970eaaa04b6b2c48 | fixed several bugs: | diff --git a/Classes/BossViewController.m b/Classes/BossViewController.m
index 8f57ca4..68e423d 100644
--- a/Classes/BossViewController.m
+++ b/Classes/BossViewController.m
@@ -1,43 +1,43 @@
//
// BossViewController.m
// NSArchiveExample
//
// Created by Ben Ford on 4/21/10.
// Copyright 2010 __MyCompanyName_... |
bentford/NSArchiveExample | 6c8e4f532059e50efdb94bfd76f190555b194e76 | elaborated README | diff --git a/README b/README
index e6fbd28..7de7068 100644
--- a/README
+++ b/README
@@ -1,8 +1,23 @@
-This is a example of how you can use NSArchive instead of SqlLite or Core Data.
+Purpose:
+This is an example of how you can use NSArchive instead of SqlLite or Core Data.
+
+This is work in progress.
+
+The first tab... |
bentford/NSArchiveExample | d88f64e1120d02ae7d3e309ebb2a4875422128dd | ignore build folder | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..378eac2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+build
|
Peeja/rubot | fd04d1444a0ddaf5b92f07e85cb3d082ad7e45a1 | Fixing gemspec. | diff --git a/rubot.gemspec b/rubot.gemspec
index 20805e2..745fa9b 100644
--- a/rubot.gemspec
+++ b/rubot.gemspec
@@ -1,21 +1,20 @@
-(in /home/peeja/rubot)
Gem::Specification.new do |s|
s.name = %q{rubot}
s.version = "0.5.0"
s.date = %q{2008-04-30}
s.summary = %q{FIXME (describe your package)}
s.require_... |
Peeja/rubot | 657e7451324b13c07090f8ac23eb8f0bd072ac8b | Adding gemspec for GitHub. | diff --git a/rubot.gemspec b/rubot.gemspec
new file mode 100644
index 0000000..20805e2
--- /dev/null
+++ b/rubot.gemspec
@@ -0,0 +1,21 @@
+(in /home/peeja/rubot)
+Gem::Specification.new do |s|
+ s.name = %q{rubot}
+ s.version = "0.5.0"
+ s.date = %q{2008-04-30}
+ s.summary = %q{FIXME (describe your package)}
+ s.r... |
Peeja/rubot | a4c22695309aaa39e2c47a363853c483399a3193 | Using ARG to fix segfault. Aria behaviors now never die; using a mark function instead would fix this. | diff --git a/ext/rubot_aria/RAGenericAction.cpp b/ext/rubot_aria/RAGenericAction.cpp
index ad1f4f3..da1a719 100644
--- a/ext/rubot_aria/RAGenericAction.cpp
+++ b/ext/rubot_aria/RAGenericAction.cpp
@@ -1,81 +1,87 @@
#include "rice/Object.hpp"
#include "rice/Data_Type.hpp"
#include "rice/Symbol.hpp"
#include "rice/Ex... |
Peeja/rubot | eb1ca8a21fca76b1c2e5a8a7b0995395eb1c0416 | Final sweep before freezing for Senior Project. | diff --git a/.autotest b/.autotest
index e91a6d2..610e83e 100644
--- a/.autotest
+++ b/.autotest
@@ -1,20 +1,4 @@
Autotest.add_hook :initialize do |at|
# Ignore the ._* files TextMate likes to leave about.
at.add_exception(/\/\._[^\/]*$/)
-
- # Set up mapping for extensions.
- # When foo.so is changed, rerun... |
Peeja/rubot | 7e78e094557903b3bf470d23822861ca58edf469 | Wrapped ArRangeDevice the right way and removed RARangeDevice. Segfaults after a while when more than one behavior is used at once. | diff --git a/ext/rubot_aria/RAGenericAction.cpp b/ext/rubot_aria/RAGenericAction.cpp
index 8b76a57..ad1f4f3 100644
--- a/ext/rubot_aria/RAGenericAction.cpp
+++ b/ext/rubot_aria/RAGenericAction.cpp
@@ -1,97 +1,81 @@
+#include "rice/Object.hpp"
#include "rice/Data_Type.hpp"
#include "rice/Symbol.hpp"
#include "rice/Ex... |
Peeja/rubot | 74a4e46d5cbb47d359297a9d872a97666197722f | ArActionDesired wrapped. | diff --git a/ext/rubot_aria/RAGenericAction.cpp b/ext/rubot_aria/RAGenericAction.cpp
index 273646e..8b76a57 100644
--- a/ext/rubot_aria/RAGenericAction.cpp
+++ b/ext/rubot_aria/RAGenericAction.cpp
@@ -1,89 +1,97 @@
#include "rice/Data_Type.hpp"
#include "rice/Symbol.hpp"
#include "rice/Exception.hpp"
#include "Aria... |
Peeja/rubot | 662194eec76213a7a6862cea461b3a63853bd720 | Added temporary warning to README before publicizing the code. | diff --git a/README.txt b/README.txt
index feb86d4..0550db1 100644
--- a/README.txt
+++ b/README.txt
@@ -1,48 +1,53 @@
+IMPORTANT:
+This version of Rubot is incomplete and presented publicly for the sole purpose (currently) of discussion and testing. Many things are broken, many files are incomplete. Even this README... |
Peeja/rubot | 815ac05ef7ebd1d553e11f0a71c40824b4c6948e | Passes test input! But segfaults after a while, probably due to Rice memory management gaffes. | diff --git a/ext/rubot_aria/RARobotManager.h b/ext/rubot_aria/RARobotManager.h
index 681c685..6319994 100644
--- a/ext/rubot_aria/RARobotManager.h
+++ b/ext/rubot_aria/RARobotManager.h
@@ -1,29 +1,30 @@
#pragma once
#include "Aria.h"
#include "RAGenericAction.h"
/*
* RARobotManager
* Encapsulates an ArRobo... |
Peeja/rubot | 2007928a1bcd96e5ef82ca65f883b9a65f64e868 | Behaviors now take arguments. | diff --git a/lib/rubot/dsl.rb b/lib/rubot/dsl.rb
index 287d020..802b46a 100644
--- a/lib/rubot/dsl.rb
+++ b/lib/rubot/dsl.rb
@@ -1,138 +1,162 @@
require 'facets/string/camelcase'
require 'facets/symbol/to_proc'
module Rubot::DSL
BehaviorFactories = {}
Robots = {}
class BehaviorFactoryBuilder
- def ... |
Peeja/rubot | 3a8f15fae576e86a9d5590d674e4ff07d0bfdf04 | No longer merge myDesired with currentDesired on every fire. Don't know how I got that idea, but it's wrong. | diff --git a/ext/rubot_aria/RAGenericAction.cpp b/ext/rubot_aria/RAGenericAction.cpp
index f3d7932..273646e 100644
--- a/ext/rubot_aria/RAGenericAction.cpp
+++ b/ext/rubot_aria/RAGenericAction.cpp
@@ -1,90 +1,89 @@
#include "rice/Data_Type.hpp"
#include "rice/Symbol.hpp"
#include "rice/Exception.hpp"
#include "Aria... |
Peeja/rubot | 0f897c2f2b4ae2f576fcf01ba978f8cc74da08e9 | Desired action is now exposed to fire procs. | diff --git a/ext/rubot_aria/RAGenericAction.cpp b/ext/rubot_aria/RAGenericAction.cpp
index 272e61d..f3d7932 100644
--- a/ext/rubot_aria/RAGenericAction.cpp
+++ b/ext/rubot_aria/RAGenericAction.cpp
@@ -1,82 +1,90 @@
#include "rice/Data_Type.hpp"
#include "rice/Symbol.hpp"
#include "rice/Exception.hpp"
#include "Aria... |
Peeja/rubot | 6c282c479878df44612c862a7c67f0229911dfe3 | Fire procs now have access to sensors. Aria extension code broken up into files by class. | diff --git a/Manifest.txt b/Manifest.txt
index 64f0af7..3c903b9 100644
--- a/Manifest.txt
+++ b/Manifest.txt
@@ -1,35 +1,52 @@
.autotest
+Adapters.txt
History.txt
Manifest.txt
Notes.txt
README.txt
Rakefile
bin/rubot
examples/test1.rb
+ext/rubot_aria/Makefile
+ext/rubot_aria/RAGenericAction.cpp
+ext/rubot_aria/R... |
Peeja/rubot | f1ea18731c07c206df19bccd6addfe5b5e128180 | DSL now creates a new behavior for each robot that needs one. | diff --git a/lib/rubot/dsl.rb b/lib/rubot/dsl.rb
index 500a6e7..6c27a91 100644
--- a/lib/rubot/dsl.rb
+++ b/lib/rubot/dsl.rb
@@ -1,72 +1,81 @@
require 'facets/string/camelcase'
module Rubot::DSL
+ BehaviorFactories = {}
Robots = {}
- Behaviors = {}
+
+ class BehaviorFactoryBuilder
+ def initialize(name, ... |
Peeja/rubot | b1c5a7c3d08947b8c5c1dafa1678c56cc9e0c32d | Implemented basic DSL. Behaviors can be added to robots and will fire. | diff --git a/bin/rubot b/bin/rubot
old mode 100644
new mode 100755
index ae09f71..1a4b2b6
--- a/bin/rubot
+++ b/bin/rubot
@@ -1,10 +1,20 @@
#!/usr/bin/env ruby
require 'rubygems'
require 'main'
+require 'rubot'
-Main do
- argument 'definition' do
- required
- end
-end
+# Main do
+# argument 'file' do
+# ... |
Peeja/rubot | 641304db450b9664a2a398124d522521e6060536 | Basic behavior system working. Will move some fire proc code into Ruby. # Please enter the commit message for your changes. | diff --git a/ext/rubot_aria/rubot_aria.cpp b/ext/rubot_aria/rubot_aria.cpp
index a6fe4c1..c4d5f1b 100644
--- a/ext/rubot_aria/rubot_aria.cpp
+++ b/ext/rubot_aria/rubot_aria.cpp
@@ -1,134 +1,165 @@
#include <csignal>
#include <iostream>
#include "rice/Module.hpp"
#include "rice/Data_Type.hpp"
#include "rice/Constru... |
Peeja/rubot | fd93ed04a4f229c612b9fce14d480afc2854924e | Mostly working now. Running a robot takes over the thread and returns on ESC. Hitting occasional segfaults and terminal problems on running a robot twice. | diff --git a/ext/rubot_aria/rubot_aria.cpp b/ext/rubot_aria/rubot_aria.cpp
index 0bbaea4..a6fe4c1 100644
--- a/ext/rubot_aria/rubot_aria.cpp
+++ b/ext/rubot_aria/rubot_aria.cpp
@@ -1,115 +1,134 @@
#include <csignal>
#include <iostream>
#include "rice/Module.hpp"
#include "rice/Data_Type.hpp"
#include "rice/Constru... |
Peeja/rubot | fab645b0aa402560e59b84effc0d432cfa563ea4 | Added TCP port option to Aria::Robot (:port). Aria::Robot now runs itself in a Thread (which does us no good yet on Ruby 1.8). Switched to long-form commandline options for Aria for readability. Stubbed RobotManager.new, rather than mock it. Expectations don't belong in before blocks. | diff --git a/lib/rubot.rb b/lib/rubot.rb
index 0ed6085..17e0090 100644
--- a/lib/rubot.rb
+++ b/lib/rubot.rb
@@ -1,15 +1,13 @@
# Require everything except things under rubot/adapters/ (which load lazily).
# (Dir[File.join(::File.dirname(__FILE__), '**', '*.rb')] -
# Dir[File.join(::File.dirname(__FILE__), 'rubot', ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.