repo string | commit string | message string | diff string |
|---|---|---|---|
smtlaissezfaire/hopcroft | 6e06b430085ddd4d4d789b72305fbb47db776a37 | include instead of extend'ing Identifiable | diff --git a/lib/hopcroft/machine/identifiable.rb b/lib/hopcroft/machine/identifiable.rb
index 767b26a..85bd6a3 100644
--- a/lib/hopcroft/machine/identifiable.rb
+++ b/lib/hopcroft/machine/identifiable.rb
@@ -1,38 +1,40 @@
module Hopcroft
module Machine
module Identifiable
class << self
def ext... |
smtlaissezfaire/hopcroft | d1d8b8fa343a57165fa587eb3aaf0b847909b795 | Move unique id tracking into a module | diff --git a/lib/hopcroft/machine.rb b/lib/hopcroft/machine.rb
index f09720e..47b3b37 100644
--- a/lib/hopcroft/machine.rb
+++ b/lib/hopcroft/machine.rb
@@ -1,17 +1,18 @@
module Hopcroft
module Machine
extend Using
+ using :Identifiable
using :TransitionTable
using :NfaTransitionTable
u... |
smtlaissezfaire/hopcroft | b886eba1281094be4656ff10a86a04213230b59e | Don't add the same state twice when calculating epsilon_closure. Don't inifinite recur. | diff --git a/lib/hopcroft/machine/state_machine_helpers.rb b/lib/hopcroft/machine/state_machine_helpers.rb
index a566c6c..bc35ce9 100644
--- a/lib/hopcroft/machine/state_machine_helpers.rb
+++ b/lib/hopcroft/machine/state_machine_helpers.rb
@@ -1,25 +1,26 @@
module Hopcroft
module Machine
module StateMachineHe... |
smtlaissezfaire/hopcroft | 3aa8ee5b043adeffc54a06905757d1d53578a539 | Add epsilon-closure function | diff --git a/lib/hopcroft/machine.rb b/lib/hopcroft/machine.rb
index 35c207f..f09720e 100644
--- a/lib/hopcroft/machine.rb
+++ b/lib/hopcroft/machine.rb
@@ -1,16 +1,17 @@
module Hopcroft
module Machine
extend Using
using :TransitionTable
using :NfaTransitionTable
using :DfaTransitionTable
... |
smtlaissezfaire/hopcroft | 54ffc4b74e9c6eda816d02aec7824330a624d8e3 | Add a TODO | diff --git a/TODO b/TODO
index 09dbda4..4c7025c 100644
--- a/TODO
+++ b/TODO
@@ -1,6 +1,7 @@
- More integration specs
- NFA -> DFA minimization using the subset construction algorithm (or another, if there is one).
- Integration tests should be matching against both the DFA + NFA matching techniques
- Google Prot... |
smtlaissezfaire/hopcroft | 27ca0e873d335d6b50beb90723d2fae242dd0218 | Add state ids | diff --git a/lib/hopcroft/machine/state.rb b/lib/hopcroft/machine/state.rb
index 72d4e87..cbe21f9 100644
--- a/lib/hopcroft/machine/state.rb
+++ b/lib/hopcroft/machine/state.rb
@@ -1,135 +1,137 @@
module Hopcroft
module Machine
class State
class << self
def reset_counter!
@counter = ... |
smtlaissezfaire/hopcroft | e58cf3c7b070bf836cf723f3385584a514c6ab4a | Enough spec'ing for rcov | diff --git a/lib/hopcroft/machine/transition_table.rb b/lib/hopcroft/machine/transition_table.rb
index 86437df..4e2b709 100644
--- a/lib/hopcroft/machine/transition_table.rb
+++ b/lib/hopcroft/machine/transition_table.rb
@@ -1,40 +1,39 @@
module Hopcroft
module Machine
class TransitionTable < Hash
class... |
smtlaissezfaire/hopcroft | dc297790eb1c8ff8ccc7be70002a74a951891c09 | Refactor | diff --git a/lib/hopcroft/machine/dfa_transition_table.rb b/lib/hopcroft/machine/dfa_transition_table.rb
index 54431d2..3a88da0 100644
--- a/lib/hopcroft/machine/dfa_transition_table.rb
+++ b/lib/hopcroft/machine/dfa_transition_table.rb
@@ -1,42 +1,42 @@
module Hopcroft
module Machine
class DfaTransitionTable ... |
smtlaissezfaire/hopcroft | 98e16913cdd66e72b44d0063012c11d41f9b6e5d | Comment out code which isn't covered as reported by rcov | diff --git a/lib/hopcroft/machine/transition_table.rb b/lib/hopcroft/machine/transition_table.rb
index 7695b40..0a96ae7 100644
--- a/lib/hopcroft/machine/transition_table.rb
+++ b/lib/hopcroft/machine/transition_table.rb
@@ -1,40 +1,40 @@
module Hopcroft
module Machine
class TransitionTable < Hash
class... |
smtlaissezfaire/hopcroft | 10aeefcedb34ec07760bb4f14aeca5683e8e9635 | Fix matching in DFAs. | diff --git a/lib/hopcroft/machine/dfa_transition_table.rb b/lib/hopcroft/machine/dfa_transition_table.rb
index 1f1b03c..54431d2 100644
--- a/lib/hopcroft/machine/dfa_transition_table.rb
+++ b/lib/hopcroft/machine/dfa_transition_table.rb
@@ -1,25 +1,42 @@
module Hopcroft
module Machine
class DfaTransitionTable ... |
smtlaissezfaire/hopcroft | 4a0c326b21e54d1270225ad43ce6bb70e1a159d9 | Add TODO list | diff --git a/TODO b/TODO
new file mode 100644
index 0000000..09dbda4
--- /dev/null
+++ b/TODO
@@ -0,0 +1,6 @@
+- More integration specs
+- NFA -> DFA minimization using the subset construction algorithm (or another, if there is one).
+ - Integration tests should be matching against both the DFA + NFA matching techniqu... |
smtlaissezfaire/hopcroft | 9895f9fbe511ea3d678fe4df94a6363f0389ac30 | Fill in integration specs | diff --git a/spec/hopcoft/integration_spec.rb b/spec/hopcoft/integration_spec.rb
index dcc6343..b2d1b60 100644
--- a/spec/hopcoft/integration_spec.rb
+++ b/spec/hopcoft/integration_spec.rb
@@ -1,167 +1,173 @@
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
module Hopcroft
describe "Integrati... |
smtlaissezfaire/hopcroft | 7a40d7944ba1b36d9e3d4a3b5855a3068f0a7463 | Don't infinitely recur with loops in #substates | diff --git a/lib/hopcroft/machine/state.rb b/lib/hopcroft/machine/state.rb
index 4184a43..72d4e87 100644
--- a/lib/hopcroft/machine/state.rb
+++ b/lib/hopcroft/machine/state.rb
@@ -1,122 +1,135 @@
module Hopcroft
module Machine
class State
class << self
def reset_counter!
@counter = ... |
smtlaissezfaire/hopcroft | 8b7742d73803d2829e5b0fc3bf73b3ddee7fd460 | Fix escaping which was intentionally broken when refactoring to grep's grammar | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index 66bced1..7180511 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,168 +1,168 @@
#
# This grammar is taken from GNU's grep grammar, with slight modifications. It... |
smtlaissezfaire/hopcroft | 53cad6f57a2deabdd4402e5a2f3916f89114f23c | Replace regex grammar with the grammar from grep (but use left-factorization so that it does not recurse infinitely). Add comments to parser. | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index b6ccb7c..66bced1 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,95 +1,168 @@
+#
+# This grammar is taken from GNU's grep grammar, with slight modifications. It ... |
smtlaissezfaire/hopcroft | 1be1a6995c60b5107fee2a236ee49923b64c976a | Use autoload instead of require | diff --git a/lib/hopcroft.rb b/lib/hopcroft.rb
index 1b0b77c..926c2cb 100644
--- a/lib/hopcroft.rb
+++ b/lib/hopcroft.rb
@@ -1,9 +1,11 @@
require "using"
require "facets/kernel/returning"
module Hopcroft
extend Using
+
+ Using.default_load_scheme = :autoload
using :Regex
using :Machine
end
|
smtlaissezfaire/hopcroft | 0646215c414675f96589a326f0727a3927112122 | Turn off debugging information | diff --git a/spec/hopcoft/regex/parser_spec.rb b/spec/hopcoft/regex/parser_spec.rb
index 6073c10..76e0577 100644
--- a/spec/hopcoft/regex/parser_spec.rb
+++ b/spec/hopcoft/regex/parser_spec.rb
@@ -1,316 +1,316 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
module Hopcroft
module Regex... |
smtlaissezfaire/hopcroft | 21e722b7f9b01a4a11bc99f554b5573685b9cded | Add another pending concatenation spec | diff --git a/spec/hopcoft/regex/parser_spec.rb b/spec/hopcoft/regex/parser_spec.rb
index ae0be97..6073c10 100644
--- a/spec/hopcoft/regex/parser_spec.rb
+++ b/spec/hopcoft/regex/parser_spec.rb
@@ -1,309 +1,316 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
module Hopcroft
module Regex... |
smtlaissezfaire/hopcroft | 01b7d6afb29f6243796b5b7b96ad445b4fa34d6c | Add some pending specs | diff --git a/spec/hopcoft/integration_spec.rb b/spec/hopcoft/integration_spec.rb
index d430299..5f0389e 100644
--- a/spec/hopcoft/integration_spec.rb
+++ b/spec/hopcoft/integration_spec.rb
@@ -1,151 +1,165 @@
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
module Hopcroft
describe "Integrati... |
smtlaissezfaire/hopcroft | 5bee6c9ff5a52f0b42287c465df4bc7aed35f304 | Allow multiple ranges / chars inside a CharClass | diff --git a/lib/hopcroft/regex/character_class.rb b/lib/hopcroft/regex/character_class.rb
index bbf62a0..608cb60 100644
--- a/lib/hopcroft/regex/character_class.rb
+++ b/lib/hopcroft/regex/character_class.rb
@@ -1,54 +1,75 @@
module Hopcroft
module Regex
class CharacterClass < Base
class InvalidCharact... |
smtlaissezfaire/hopcroft | 6687657af2fa569b56f45c1dc061003a610e1086 | Fill in a pending spec | diff --git a/spec/hopcoft/regex/parser_spec.rb b/spec/hopcoft/regex/parser_spec.rb
index 41bba8d..868b60d 100644
--- a/spec/hopcoft/regex/parser_spec.rb
+++ b/spec/hopcoft/regex/parser_spec.rb
@@ -1,286 +1,289 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
module Hopcroft
module Regex... |
smtlaissezfaire/hopcroft | 1c61aa26afbfb9ec80241fbfeb7a89544e051f4b | Fill in pending specs | diff --git a/spec/hopcoft/integration_spec.rb b/spec/hopcoft/integration_spec.rb
index 986f24d..d430299 100644
--- a/spec/hopcoft/integration_spec.rb
+++ b/spec/hopcoft/integration_spec.rb
@@ -1,126 +1,151 @@
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
module Hopcroft
describe "Integrati... |
smtlaissezfaire/hopcroft | 2f5721954fa8a9230b7452c6146a0e710d30b74d | More consistent handling of Epsilon states (empty strings) in the parser | diff --git a/lib/hopcroft/regex/syntax_nodes.rb b/lib/hopcroft/regex/syntax_nodes.rb
index 47d797f..e33d97f 100644
--- a/lib/hopcroft/regex/syntax_nodes.rb
+++ b/lib/hopcroft/regex/syntax_nodes.rb
@@ -1,136 +1,136 @@
module Hopcroft
module Regex
module SyntaxNodes
class Base < ::Treetop::Runtime::Syntax... |
smtlaissezfaire/hopcroft | 3b60eefe5bc15221238b925e36946b07e1c4487d | Treat concatenation more consistently in the parser | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index 881c8fc..1189067 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,91 +1,91 @@
module Hopcroft
module Regex
grammar TreetopRegex
# expr -> expr "*"
... |
smtlaissezfaire/hopcroft | 04f3b2565488ae8035620c3857c9e9aee79cabc0 | Refactor to use common code | diff --git a/lib/hopcroft/regex/syntax_nodes.rb b/lib/hopcroft/regex/syntax_nodes.rb
index 7910161..6bd94a7 100644
--- a/lib/hopcroft/regex/syntax_nodes.rb
+++ b/lib/hopcroft/regex/syntax_nodes.rb
@@ -1,124 +1,126 @@
module Hopcroft
module Regex
module SyntaxNodes
class Base < ::Treetop::Runtime::Syntax... |
smtlaissezfaire/hopcroft | 3f6378d4fb8d8a06a68d86bb3dfe79ad9086c5f2 | Rename leading_expression => LeftFactoredExpression | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index 0968523..881c8fc 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,91 +1,91 @@
module Hopcroft
module Regex
grammar TreetopRegex
# expr -> expr "*"
... |
smtlaissezfaire/hopcroft | 9d139f7a530745f33cfb697960b63efd818fbd38 | Parse /(a|b)+/ properly | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index ed2b2be..0968523 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,91 +1,91 @@
module Hopcroft
module Regex
grammar TreetopRegex
# expr -> expr "*"
... |
smtlaissezfaire/hopcroft | c426a4941e5bb708ecf01cadb0f97f528fa490d3 | Replace parent nodes of parser with left-factorization (necessary for LL grammars which contain left recursion) | diff --git a/lib/hopcroft/regex.rb b/lib/hopcroft/regex.rb
index 185ef01..308919c 100644
--- a/lib/hopcroft/regex.rb
+++ b/lib/hopcroft/regex.rb
@@ -1,34 +1,34 @@
require "treetop"
module Hopcroft
module Regex
SPECIAL_CHARS = [
DOT = ".",
PLUS = "+",
QUESTION = "... |
smtlaissezfaire/hopcroft | 1484a92da2cfdc9cedda6be9d9f1f86f164d9686 | Output debugging info for a parse that fails | diff --git a/lib/hopcroft/regex/parser.rb b/lib/hopcroft/regex/parser.rb
index a3aae4a..2a21d61 100644
--- a/lib/hopcroft/regex/parser.rb
+++ b/lib/hopcroft/regex/parser.rb
@@ -1,30 +1,39 @@
require "treetop"
Treetop.load File.dirname(__FILE__) + "/regex_parser"
module Hopcroft
module Regex
class Parser
... |
smtlaissezfaire/hopcroft | 832901cf0bf5a4a511b25c78c4acc4f42b2c3d65 | Add a pending spec | diff --git a/spec/hopcoft/regex/parser_spec.rb b/spec/hopcoft/regex/parser_spec.rb
index 856b20e..a254999 100644
--- a/spec/hopcoft/regex/parser_spec.rb
+++ b/spec/hopcoft/regex/parser_spec.rb
@@ -1,235 +1,242 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
module Hopcroft
module Regex... |
smtlaissezfaire/hopcroft | 06e1eb28768e72e9ad9a6b12c30f6ba0131582eb | Remove unnecessary 'do's from treetop grammar | diff --git a/lib/hopcroft/regex/regex_parser.treetop b/lib/hopcroft/regex/regex_parser.treetop
index 367406d..ae30193 100644
--- a/lib/hopcroft/regex/regex_parser.treetop
+++ b/lib/hopcroft/regex/regex_parser.treetop
@@ -1,155 +1,155 @@
module Hopcroft
module Regex
- grammar TreetopRegex do
- rule a_regex d... |
smtlaissezfaire/hopcroft | 5816a56f3684a7f9f3fa71a828acde679d7cf546 | Add DFA transition table. Refactor TransitionTable to DFA | diff --git a/lib/hopcroft/machine.rb b/lib/hopcroft/machine.rb
index b6c94d3..35c207f 100644
--- a/lib/hopcroft/machine.rb
+++ b/lib/hopcroft/machine.rb
@@ -1,14 +1,16 @@
module Hopcroft
module Machine
extend Using
+ using :TransitionTable
using :NfaTransitionTable
+ using :DfaTransitionTable
... |
smtlaissezfaire/hopcroft | b2a09907efe5120853a40a24b0856ad98a2c7507 | Rename TransitionTable => NfaTransitionTable | diff --git a/lib/hopcroft/machine.rb b/lib/hopcroft/machine.rb
index c1529e7..b6c94d3 100644
--- a/lib/hopcroft/machine.rb
+++ b/lib/hopcroft/machine.rb
@@ -1,14 +1,14 @@
module Hopcroft
module Machine
extend Using
- using :TransitionTable
+ using :NfaTransitionTable
using :State
using :T... |
smtlaissezfaire/hopcroft | 5127e70d7fdf56bab248de18311f78ffd60195eb | Remove pending specs which now work | diff --git a/spec/hopcoft/regex/kleen_star_spec.rb b/spec/hopcoft/regex/kleen_star_spec.rb
index 2c28b2b..c43de79 100644
--- a/spec/hopcoft/regex/kleen_star_spec.rb
+++ b/spec/hopcoft/regex/kleen_star_spec.rb
@@ -1,81 +1,79 @@
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper")
module Hopcroft
... |
smtlaissezfaire/hopcroft | e5e273e6e77a06a35c0f5c4949f0e65ad8bf44ae | State#substates now recursively traverses substates | diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b90e3e3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.bundle
+*.o
+tmp/
+doc/
+TAGS
\ No newline at end of file
diff --git a/GPL_LICENSE b/GPL_LICENSE
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/GPL_LICENSE
@@ -0,0 +1,674 @... |
btbytes/ci | 4c167913a3d05528292ef57033c67af33b88c0c3 | adding VC Project file to PSOS | diff --git a/psos/PSOS.vcproj b/psos/PSOS.vcproj
new file mode 100644
index 0000000..b569245
--- /dev/null
+++ b/psos/PSOS.vcproj
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="PSOS"
+ ProjectGUID="{3CE314D3-DF51-428F-B57C-68BD1F33B... |
btbytes/ci | 0a68a321eef8fdd47ce4293e6a311815f939aff5 | adding example run file for Genetic Algorithms | diff --git a/ga_bin/ga.run b/ga_bin/ga.run
new file mode 100644
index 0000000..b26213c
--- /dev/null
+++ b/ga_bin/ga.run
@@ -0,0 +1,12 @@
+results.out
+10
+4
+10000
+16
+20
+0.75
+0.005
+0.02
+0
+2
+1
|
btbytes/ci | 6d86e5e0fbaa5868bb2c49fe028e709fd15a86aa | adding Fuzzy Evolutionary fuzzy rule system; NOT working on linux yet | diff --git a/fu_ga_fs/Makefile b/fu_ga_fs/Makefile
new file mode 100644
index 0000000..1f64fb0
--- /dev/null
+++ b/fu_ga_fs/Makefile
@@ -0,0 +1,3 @@
+all: array.h extern.h headfile.h misc.h popuint.h variablf.h chromint.h fuzzyrul.h memberf.h mystring.h ruleset.h vector.h
+ gcc -Wall -lm array.cpp average.cpp chromint.... |
btbytes/ci | 7c1477502c17c612acc36b14297c7f7f3046ab36 | removing obsolete header file ref | diff --git a/fs/headfile.h b/fs/headfile.h
index f850d46..4e98e11 100644
--- a/fs/headfile.h
+++ b/fs/headfile.h
@@ -1,11 +1,8 @@
-#include <iostream.h>
+#include <iostream>
#include <fstream.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
-#i... |
btbytes/ci | 581435765de3faf641edfa273253721a1ef4bf62 | adding fuzzy system | diff --git a/fs/Makefile b/fs/Makefile
new file mode 100644
index 0000000..63aac62
--- /dev/null
+++ b/fs/Makefile
@@ -0,0 +1,2 @@
+all: fuzzyrul.h headfile.h memberf.h mystring.h ruleset.h variablf.h vector.h
+ gcc -Wall -lm fl.cpp fuzzyrul.cpp main.cpp memberf.cpp mystring.cpp ruleset.cpp variablf.cpp -o... |
btbytes/ci | 4912294e4c419d386b4c8b059e3c6f98097ce4a5 | added Evolutionary back-propagation neural network | diff --git a/pso_nn/Makefile b/pso_nn/Makefile
new file mode 100644
index 0000000..c940796
--- /dev/null
+++ b/pso_nn/Makefile
@@ -0,0 +1,2 @@
+all: bp.h definiti.h headfile.h mem_loc.h nnet.h psostate.h sigmoid.h
+ gcc -Wall -lm bp.c main.c mem_loc.c psostate.c sigmoid.c -o pso_nn
diff --git a/pso_nn/bp.c b/pso... |
btbytes/ci | 59ba4d911be8269a1d64974561783c5ade748b9c | adding Self-organizing feature map neural network | diff --git a/sofm/Makefile b/sofm/Makefile
new file mode 100644
index 0000000..adb0445
--- /dev/null
+++ b/sofm/Makefile
@@ -0,0 +1,3 @@
+all: definiti.h headfile.h mem_loc.h nnet.h sofm.h
+ gcc -Wall -lm main.c mem_loc.c sofm.c -o sofm
+
diff --git a/sofm/definiti.h b/sofm/definiti.h
new file mode 100644
index 00... |
btbytes/ci | 452b4ac2a0daf3218d2ad7d948b1767636115da0 | adding back propagation files | diff --git a/bp/Makefile b/bp/Makefile
new file mode 100644
index 0000000..06ceaf5
--- /dev/null
+++ b/bp/Makefile
@@ -0,0 +1,2 @@
+all: bp.h definiti.h headfile.h mem_loc.h nnet.h sigmoid.h
+ gcc -Wall -lm bp.c main.c mem_loc.c sigmoid.c -o bp
diff --git a/bp/bp.c b/bp/bp.c
new file mode 100644
index 0000000..5b2... |
btbytes/ci | 0dfcb36ad39d89be32495db294d5f0b67bc1b58a | adding a sample run file | diff --git a/psos/psos.run b/psos/psos.run
new file mode 100644
index 0000000..ee399fc
--- /dev/null
+++ b/psos/psos.run
@@ -0,0 +1,54 @@
+2
+1
+300
+
+
+0
+0
+1
+1
+0.0
+50.0
+10
+100
+100
+30
+13
+0.9
+1
+0 1.0
+0 1.0
+0 1.0
+0 1.0
+0 1.0
+0 1.0
+0 1.0
+0 1.0
+0 1... |
btbytes/ci | 4428916c6188692ada0df9f5941a70647fcc9862 | added newline | diff --git a/psos/main.c b/psos/main.c
index 419d0c7..b771ceb 100644
--- a/psos/main.c
+++ b/psos/main.c
@@ -1,49 +1,49 @@
#include "headfile.h"
#include "psostate.h"
#include "mem_loc.h"
/**************************************/
/* Constants and Macros */
/**************************************/
... |
btbytes/ci | b24779facf0abcdb023d07822aa1cd8e3ea531ac | removed conio.h refs | diff --git a/lvq/headfile.h b/lvq/headfile.h
index af5c635..cca8e6e 100644
--- a/lvq/headfile.h
+++ b/lvq/headfile.h
@@ -1,11 +1,10 @@
#ifndef __HEADFILE_H__
#define __HEADFILE_H__
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
-#include <conio.h>
#incl... |
btbytes/ci | f4b1fdb36865243e8608af7308b4548330f4f160 | adding lvq files | diff --git a/lvq/Makefile b/lvq/Makefile
new file mode 100644
index 0000000..d74bab6
--- /dev/null
+++ b/lvq/Makefile
@@ -0,0 +1,3 @@
+all: definiti.h headfile.h lvq.h mem_loc.h nnet.h
+ gcc -Wall -lm lvq.c main.c mem_loc.c -o lvq
+
diff --git a/lvq/definiti.h b/lvq/definiti.h
new file mode 100644
index 0000000..e3... |
btbytes/ci | ac7d68c4ae4540e2e6f595b938245f4145b9944b | fixed typo | diff --git a/psos/psostate.c b/psos/psostate.c
index abea4ff..cc5ac18 100644
--- a/psos/psostate.c
+++ b/psos/psostate.c
@@ -334,1618 +334,1618 @@ static void free_pso_memory (void)
*
* Parameters:
*
* Returns:
*
* Description:
*
*************************************************************/
static voi... |
btbytes/ci | 1bb93f5ec879153a467d7bf5ca9f1e8dd742c7e2 | adding Particle Swarm Optimization files | diff --git a/psos/Makefile b/psos/Makefile
new file mode 100644
index 0000000..e2af14d
--- /dev/null
+++ b/psos/Makefile
@@ -0,0 +1,2 @@
+all: definiti.h headfile.h mem_loc.h psostate.h
+ gcc -Wall -lm main.c mem_loc.c psostate.c -o psos
diff --git a/psos/definiti.h b/psos/definiti.h
new file mode 100644
index 0000000.... |
marook/tagfs | 4a6383ee9573fac369dba66e6f915c7de0bf784c | removes link to group because no longer existing | diff --git a/README b/README
index f644717..b66488e 100644
--- a/README
+++ b/README
@@ -1,217 +1,216 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | 988fc91dd37c3189df06861eae39abf5fb558f07 | Possible fix for issue 'Unable to set enableValueFilters=true, possible short term solution #9' | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 2b0c607..367396c 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,353 +1,353 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | e463ba3f12e9425ec2ad224658e38e7cf22a44ca | Combined with previous fix, this effectively (though clumsily) fixes issue 'e2e_test pulling settings from configuration files #8' | diff --git a/test/e2e/anyContextValueFilter/items/.tagfs/tagfs.conf b/test/e2e/anyContextValueFilter/items/.tagfs/tagfs.conf
new file mode 100644
index 0000000..6cbd7cb
--- /dev/null
+++ b/test/e2e/anyContextValueFilter/items/.tagfs/tagfs.conf
@@ -0,0 +1,4 @@
+[global]
+tagFileName = .tag
+enableValueFilters = false
+e... |
marook/tagfs | ba72df0c8810590b3665d68ef4ac9a2b3d07daae | Fixed issue 'Configuration files reading in opposite order #10' | diff --git a/src/modules/tagfs/config.py b/src/modules/tagfs/config.py
index 9653d30..bf17fe0 100644
--- a/src/modules/tagfs/config.py
+++ b/src/modules/tagfs/config.py
@@ -1,62 +1,63 @@
#!/usr/bin/env python
#
# Copyright 2009, 2010, 2012 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free softwa... |
marook/tagfs | a8f003c379a154c13c564bdbfd563925d116a2c8 | [#7] fixed deep recursion in ContextValueListDirectoryNodes | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index 881b255..d521311 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,48 +1,57 @@
#!/bin/bash
set -e
ASSERT_BIN=$1
fail() {
echo "TEST FAILED: $1" >&2
exit 1
}
assertExists(){
local path="$1"
if ... |
marook/tagfs | 4a9697d29caf4a1600a1596cfab766523b23c498 | improved readability of e2eAssertSandbox.sh | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index 6e3bc87..881b255 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,48 +1,48 @@
#!/bin/bash
set -e
ASSERT_BIN=$1
fail() {
echo "TEST FAILED: $1" >&2
exit 1
}
assertExists(){
- P=$1
+ local path="$1"
... |
marook/tagfs | f18bbe67a83442893c8bbac06a8200bab7cf6f0c | fixed item ordering in charts, enabled grid in charts | diff --git a/src/modules/tagfs/node_export_chart.py b/src/modules/tagfs/node_export_chart.py
index 1c55aa6..acd0722 100644
--- a/src/modules/tagfs/node_export_chart.py
+++ b/src/modules/tagfs/node_export_chart.py
@@ -1,78 +1,80 @@
#
# Copyright 2013 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is fr... |
marook/tagfs | 19d5ef3a5efe0ea466d3d01db0f1e2253d67d201 | added python-matplotlib dependency to README | diff --git a/README b/README
index 5dbda0b..679584c 100644
--- a/README
+++ b/README
@@ -1,216 +1,217 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | 47ce4930d026ea40d6284c2a81c1a62b94ce31f3 | added sum chart | diff --git a/src/modules/tagfs/node_export.py b/src/modules/tagfs/node_export.py
index 62052eb..502c4d8 100644
--- a/src/modules/tagfs/node_export.py
+++ b/src/modules/tagfs/node_export.py
@@ -1,59 +1,70 @@
#
# Copyright 2011 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can red... |
marook/tagfs | bc638e3bfedabf2ca9f12523cfc909c1a7146655 | added value charts | diff --git a/src/modules/tagfs/node_export.py b/src/modules/tagfs/node_export.py
index 39ebbf3..62052eb 100644
--- a/src/modules/tagfs/node_export.py
+++ b/src/modules/tagfs/node_export.py
@@ -1,57 +1,59 @@
#
# Copyright 2011 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can red... |
marook/tagfs | d8f94d7a6ece5ab01b2d8e12aa6407e330be2588 | implemented rendering demo chart | diff --git a/src/modules/tagfs/node_export_chart.py b/src/modules/tagfs/node_export_chart.py
index 41652b6..1c51259 100644
--- a/src/modules/tagfs/node_export_chart.py
+++ b/src/modules/tagfs/node_export_chart.py
@@ -1,33 +1,51 @@
#
# Copyright 2013 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is fr... |
marook/tagfs | 10c53dbce6f460048ad095d4bd8169d8095a1780 | added generate chart image structure | diff --git a/src/modules/tagfs/node_export.py b/src/modules/tagfs/node_export.py
index 36fc57d..39ebbf3 100644
--- a/src/modules/tagfs/node_export.py
+++ b/src/modules/tagfs/node_export.py
@@ -1,55 +1,57 @@
#
# Copyright 2011 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can red... |
marook/tagfs | b225ecee9f0575a879ed03a2c3b2d1399a9ef086 | fixed my email address | diff --git a/setup.py b/setup.py
old mode 100644
new mode 100755
index 20609bd..c7cb0a4
--- a/setup.py
+++ b/setup.py
@@ -1,295 +1,295 @@
#!/usr/bin/env python
#
# Copyright 2009 Peter Prohaska
#
# This file is part of tagfs.
#
# tagfs is free software: you can redistribute it and/or modify
# it under the terms... |
marook/tagfs | 2767231c6930ffff4e73ed249902137f8ded6e22 | umlaute are now possible again in item names (also added testcase) | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 6af7d7d..2b0c607 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,351 +1,353 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | b8d29adadc703fc1023a8c5ed1984ff42c4d0d52 | added generic freebase query demo to README | diff --git a/README b/README
index c485db6..5dbda0b 100644
--- a/README
+++ b/README
@@ -1,202 +1,216 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | 41e948c07fc3bb8fd53225441c38a201488e2d31 | implemented freebase query inheritance | diff --git a/README b/README
index 94b75fb..c485db6 100644
--- a/README
+++ b/README
@@ -1,199 +1,202 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | 79970ac8c31e46b1b94224aa6b5d5d263e9acffe | added roadmap section to README.dev | diff --git a/README.dev b/README.dev
index 8f88b97..c6d270c 100644
--- a/README.dev
+++ b/README.dev
@@ -1,95 +1,103 @@
tagfs - tag file system
developer readme
-1) Logging
-2) Profiling
-3) Tracing
-4) Distribution
-4.1) tar Distribution
-5) Tests
-6) Code Coverage
-7) End-To-End Tests
+1) Roadmap
+2) Logging
+3) ... |
marook/tagfs | 3def97443abfa94173412c70f844928b79c5cf08 | added section aboug bugs to readme | diff --git a/README b/README
index 54c4de3..94b75fb 100644
--- a/README
+++ b/README
@@ -1,190 +1,199 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | 295249485dbb8c902c618ec2c2fe053ce98d1fd2 | added missing import in freebase integration | diff --git a/src/modules/tagfs/freebase_support.py b/src/modules/tagfs/freebase_support.py
index 0b536d3..24b13cf 100644
--- a/src/modules/tagfs/freebase_support.py
+++ b/src/modules/tagfs/freebase_support.py
@@ -1,84 +1,86 @@
#
# Copyright 2012 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free s... |
marook/tagfs | 77ebfbf3582df79041b3020042b85e010c21aec0 | added e2e test which valides umlaute | diff --git a/test/e2e/umlauteItems/assert b/test/e2e/umlauteItems/assert
new file mode 100755
index 0000000..6311d12
--- /dev/null
+++ b/test/e2e/umlauteItems/assert
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+assertDir "$TEST_MOUNT_DIR/.any_context/umlaut"
+assertDir "$TEST_MOUNT_DIR/.any_context/umlaut/äöü"
diff --git a/test/... |
marook/tagfs | fa541ec8cc455c02825902a8e325f91e49ff3053 | added assertExists | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index af5bd08..6e3bc87 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,35 +1,48 @@
#!/bin/bash
set -e
ASSERT_BIN=$1
fail() {
echo "TEST FAILED: $1" >&2
exit 1
}
+assertExists(){
+ P=$1
+
+ if [ ! -e "$P"... |
marook/tagfs | bad26a27dcb0b639da01c71e3b02c04e09bd6a3c | e2e assert output is now logged to file | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index bd92c0a..af5bd08 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,26 +1,35 @@
#!/bin/bash
set -e
ASSERT_BIN=$1
fail() {
echo "TEST FAILED: $1" >&2
exit 1
}
assertLink(){
PATH=$1
if [ ! -L "$P... |
marook/tagfs | 46bfd6400f09e6af64c6bc361286b7dbbb796248 | e2e test no longer tries to execute files | diff --git a/setup.py b/setup.py
index a66dddd..20609bd 100644
--- a/setup.py
+++ b/setup.py
@@ -1,290 +1,295 @@
#!/usr/bin/env python
#
# Copyright 2009 Peter Prohaska
#
# This file is part of tagfs.
#
# tagfs is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Publi... |
marook/tagfs | 28c24e5f2c7fd6b4e6c471520087a03c79d33909 | removed debugging code | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index ad76bc5..af2a9e3 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,307 +1,303 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 4de870bd9eb1a0796e85bcaf3bb65b3555440b80 | extended freebase support in README | diff --git a/README b/README
index dd97abe..54c4de3 100644
--- a/README
+++ b/README
@@ -1,183 +1,190 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | d138e05427be96850b8ce9cccef8694162d92d24 | made freebase dependency optional | diff --git a/src/modules/tagfs/freebase_support.py b/src/modules/tagfs/freebase_support.py
index 2933855..0b536d3 100644
--- a/src/modules/tagfs/freebase_support.py
+++ b/src/modules/tagfs/freebase_support.py
@@ -1,71 +1,84 @@
#
# Copyright 2012 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free s... |
marook/tagfs | 897b112be6a43aaf087243d181e64726972b0484 | fixed some encoding issues | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 451ae32..ad76bc5 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,307 +1,307 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 5b9fbe80dc4634509ac371ed2c55842f14936f81 | added debug logging / removed some dead code | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 109da66..451ae32 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,309 +1,307 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 502b8a0878bd35ba683db27317fc2fb020da9c93 | removed unused object members | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 1abddb6..109da66 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,313 +1,309 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 012a0556c2f598132256b84f903da9db1ec02a9a | implemented some freebase integratoin | diff --git a/README b/README
index e2e3434..dd97abe 100644
--- a/README
+++ b/README
@@ -1,180 +1,183 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | d4e1b132e081a4c67e046113a23a7e9d0014ef4d | fixed my email address :) | diff --git a/AUTHORS b/AUTHORS
index 1a2c117..d2e400d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,2 @@
-Markus Pielmeier <markus.pielmeier@googlemail.com>
+Markus Pielmeier <markus.pielmeier@gmail.com>
Peter Prohaska <pitrp@web.de>
diff --git a/README b/README
index 024f7c8..6cfc235 100644
--- a/README
+++ b/README
... |
marook/tagfs | 022c0ff1d4a57f1cacbf40e452d2e70263dd2200 | added warning about freebase syntax | diff --git a/README b/README
index d8e7baf..986ddd6 100644
--- a/README
+++ b/README
@@ -1,177 +1,180 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | c6e91b52784c5ea49f1c61c1919faaaf20e07fe6 | prepared parseTagsFromFile in Items to be mocked | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 2f400e8..569e591 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,296 +1,297 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | cd6ca9b04c7294d8b9eb3cd8f47cbb9e1370d5ee | added unit tests for withspace tagging parsing | diff --git a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
index ee398d5..ab29a4d 100644
--- a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
+++ b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
@@ -1,4... |
marook/tagfs | a992946c24b2f264941e85fd1853a29c867a9251 | added unittest for parsing tagging with context | diff --git a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
index 6425e29..ee398d5 100644
--- a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
+++ b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
@@ -1,3... |
marook/tagfs | 9418c357fc3abdf32eebdaa2cc94438773e9c036 | added GPL header to test case | diff --git a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
index 2c1446e..6425e29 100644
--- a/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
+++ b/src/test/tagfs_test_small/test_item_access_parseTagsFromFile.py
@@ -1,2... |
marook/tagfs | 8968febb19d5784c468fe01ae0cd587ceed4112b | implemented unit test for parseTagsFromFile | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index c9e3d2e..2f400e8 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,300 +1,296 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | d461424bd8f50d6943d0c91c2d1759717c859d78 | wrapped calls to 'open' to be ready for unit test mocking | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index 7e05447..c9e3d2e 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,297 +1,300 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 3fe72a56df0da237b695196931973a1d86b7e6a1 | added freebase section to README | diff --git a/README b/README
index 024f7c8..d8e7baf 100644
--- a/README
+++ b/README
@@ -1,164 +1,177 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
-7... |
marook/tagfs | 11fab09c054f36238b75629d26d28bd29614b5aa | added ~/.local/bin to PATH hint | diff --git a/README b/README
index bf94d90..024f7c8 100644
--- a/README
+++ b/README
@@ -1,160 +1,164 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
4) Tagging Files
5) Usage
6) Configuration
6.1) Options
6.1.1) tagFileName
6.1.2) enableValueFilters
6.1.3) enableRootItemLinks
7... |
marook/tagfs | d8ca342f8a463de6e124375269546f194753cffa | added tagging documentation | diff --git a/README b/README
index a1397c3..bf94d90 100644
--- a/README
+++ b/README
@@ -1,120 +1,160 @@
tagfs - tag file system
1) Introduction
2) Requirements
3) Installation
-4) Usage
-5) Configuration
-5.1) Options
-5.1.1) tagFileName
-5.1.2) enableValueFilters
-5.1.3) enableRootItemLinks
-6) Further Reading
... |
marook/tagfs | 6a29ab9e9883ebcef603727775055afdd132ff0d | added backlog | diff --git a/backlog b/backlog
new file mode 100644
index 0000000..4e273ae
--- /dev/null
+++ b/backlog
@@ -0,0 +1 @@
+* add 'howto tag files' to documentation
|
marook/tagfs | b34f2c2bccf371dfc9b0e4c924b5f479eed5fafa | added .unset filter for context filter directories | diff --git a/src/modules/tagfs/node_filter_context.py b/src/modules/tagfs/node_filter_context.py
index 70f5703..3f67849 100644
--- a/src/modules/tagfs/node_filter_context.py
+++ b/src/modules/tagfs/node_filter_context.py
@@ -1,102 +1,123 @@
#
# Copyright 2011 Markus Pielmeier
#
# This file is part of tagfs.
#
# t... |
marook/tagfs | 8ea74a0f80a6a84337f20bdeaf151a6ab8758b45 | added .any_context filter directory | diff --git a/src/modules/tagfs/item_access.py b/src/modules/tagfs/item_access.py
index eeed313..7e05447 100644
--- a/src/modules/tagfs/item_access.py
+++ b/src/modules/tagfs/item_access.py
@@ -1,292 +1,297 @@
#
# Copyright 2009 Markus Pielmeier
#
# This file is part of tagfs.
#
# tagfs is free software: you can r... |
marook/tagfs | 64333f0232032e0e17704e22f4ba15705c3635f5 | escaped compared file names in e2e tests | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index 0f3172c..bd92c0a 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,26 +1,26 @@
#!/bin/bash
set -e
ASSERT_BIN=$1
fail() {
echo "TEST FAILED: $1" >&2
exit 1
}
assertLink(){
PATH=$1
if [ ! -L "$P... |
marook/tagfs | f90ab15d4efb4cf2e444bff9a323e16adf573eed | added e2e test for empty csv export | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
index 979cdb5..0f3172c 100755
--- a/bin/e2eAssertSandbox.sh
+++ b/bin/e2eAssertSandbox.sh
@@ -1,19 +1,26 @@
#!/bin/bash
+set -e
+
ASSERT_BIN=$1
fail() {
- echo "$1" >&2
+ echo "TEST FAILED: $1" >&2
exit 1
}
assertLink(){
PATH=$1
... |
marook/tagfs | 6bc916bf92dd4c0d89cde49565fa60327f1877c4 | added context tagging test case | diff --git a/test/e2e/contextValueFilter/assert b/test/e2e/contextValueFilter/assert
new file mode 100755
index 0000000..a952aa8
--- /dev/null
+++ b/test/e2e/contextValueFilter/assert
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+assertLink "$TEST_MOUNT_DIR/category/fruit/banana"
+
+assertLink "$TEST_MOUNT_DIR/category/vegetable/car... |
marook/tagfs | 07c24ff8c6117bce10d18126bc63023aeae7d915 | added docs for untaggedItems test case | diff --git a/test/e2e/untaggedItems/assert b/test/e2e/untaggedItems/assert
index 24004fd..33bbafb 100755
--- a/test/e2e/untaggedItems/assert
+++ b/test/e2e/untaggedItems/assert
@@ -1,3 +1,7 @@
#!/bin/bash
+#
+# This makes sure that items without .tag file are linked within
+# untagged items.
+#
assertLink "$TEST_MO... |
marook/tagfs | 6cba48db7303b30964e1ffa4bbf3b28c7fa5121a | added some documentation about end-to-end tests | diff --git a/README.dev b/README.dev
index 6853992..8f88b97 100644
--- a/README.dev
+++ b/README.dev
@@ -1,79 +1,95 @@
tagfs - tag file system
developer readme
1) Logging
2) Profiling
3) Tracing
4) Distribution
4.1) tar Distribution
5) Tests
6) Code Coverage
+7) End-To-End Tests
------------------------... |
marook/tagfs | 4efe60c207b3f23311a83c41a30a8fab5a1c71c2 | added support for end-to-end tests | diff --git a/bin/e2eAssertSandbox.sh b/bin/e2eAssertSandbox.sh
new file mode 100755
index 0000000..979cdb5
--- /dev/null
+++ b/bin/e2eAssertSandbox.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+ASSERT_BIN=$1
+
+fail() {
+ echo "$1" >&2
+ exit 1
+}
+
+assertLink(){
+ PATH=$1
+
+ if [ ! -L "$PATH" ]
+ then
+ fail "E... |
marook/tagfs | 8ff45af73e805709c466a65357912722a62c6dc4 | added unit test for Tag class | diff --git a/src/test/tagfs_test_small/test_item_access_tag.py b/src/test/tagfs_test_small/test_item_access_tag.py
new file mode 100644
index 0000000..6c82215
--- /dev/null
+++ b/src/test/tagfs_test_small/test_item_access_tag.py
@@ -0,0 +1,36 @@
+#
+# Copyright 2012 Markus Pielmeier
+#
+# This file is part of tagfs.
+#... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.