1 |
wakaba |
1.20 |
2009-09-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.22 |
* Document.pm (name): Separated from |title|. |
4 |
|
|
|
5 |
|
|
2009-09-23 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
|
7 |
wakaba |
1.21 |
* Document.pm (lock): Typo; it did not lock in fact, orz. |
8 |
|
|
|
9 |
|
|
* Graph.pm (schelling_update): Reuse the |repo| object's child |
10 |
|
|
objects where possible to avoid locking timing problem and so on. |
11 |
|
|
|
12 |
|
|
2009-09-23 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
|
14 |
wakaba |
1.20 |
* Document.pm (prop_untainted): Typo. |
15 |
|
|
(untainted_prop): The |prop_untainted| property was not set. |
16 |
|
|
|
17 |
wakaba |
1.16 |
2009-09-21 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
|
19 |
wakaba |
1.19 |
* Repository.pm (weight_lock, weight_unlock): New methods. |
20 |
|
|
(term_weight_vector, save_term_weight_vector): Changed to use |
21 |
|
|
global props to save the term weight vector. |
22 |
|
|
|
23 |
|
|
2009-09-21 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
|
25 |
wakaba |
1.18 |
* Document.pm (repo, prop_untainted, untainted_prop, save_prop, |
26 |
|
|
locked): New method. Introduced the concept of "tainted" such |
27 |
|
|
that we can access to the property in the locked code fragment |
28 |
|
|
without being afraid to update the property using old values. |
29 |
|
|
(get_or_create_graph_node): Updated to utilize |prop| family of |
30 |
|
|
method with locks. |
31 |
|
|
|
32 |
|
|
* Graph.pm (repo, lock, unlock): New methods. |
33 |
|
|
(add_nodes, create_node, schelling_update): Locks the database |
34 |
|
|
before the modifications. |
35 |
|
|
|
36 |
|
|
* Repository.pm (graph, get_document_by_id): New methods. |
37 |
|
|
|
38 |
|
|
* Node.pm (repo): New method. |
39 |
|
|
|
40 |
|
|
2009-09-21 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
|
42 |
wakaba |
1.17 |
* Document.pm (lock): Changed to use the $db->id_lock method to |
43 |
|
|
obtain the lock object. |
44 |
|
|
|
45 |
|
|
* Node.pm (neighbor_documents): New method. |
46 |
|
|
|
47 |
|
|
2009-09-21 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
|
49 |
wakaba |
1.16 |
* Document.pm (title, get_or_create_graph_node): New methods (made |
50 |
|
|
from codes moved from main.pl). |
51 |
|
|
|
52 |
wakaba |
1.14 |
2009-09-20 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
|
54 |
wakaba |
1.15 |
* Graph.pm (schelling_update): Implemented. |
55 |
|
|
|
56 |
|
|
2009-09-20 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
|
58 |
wakaba |
1.14 |
* Graph.pm (add_nodes): Improved the way to determine the number |
59 |
|
|
of added nodes. |
60 |
|
|
|
61 |
wakaba |
1.10 |
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
|
63 |
wakaba |
1.13 |
* Document.pm (prop): New method. |
64 |
|
|
(content_media_type): Changed to return the real media type. |
65 |
|
|
(to_xml_media_type, to_text_media_type, to_xml, to_html_fragment): |
66 |
|
|
Changed to return appropriate default value. |
67 |
|
|
|
68 |
|
|
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
|
70 |
wakaba |
1.12 |
* Document.pm: Added |rebless| method family. Moved |
71 |
|
|
SWML-to-HTML/XML/text convertion methods to another module. |
72 |
|
|
|
73 |
|
|
* Document/: New directory. |
74 |
|
|
|
75 |
|
|
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
|
77 |
wakaba |
1.11 |
* Document.pm (to_html_fragment): New method. |
78 |
|
|
|
79 |
|
|
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
|
81 |
wakaba |
1.10 |
* Document.pm (to_xml, to_text): New methods. |
82 |
|
|
|
83 |
wakaba |
1.7 |
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
|
85 |
wakaba |
1.9 |
* Document.pm (new_id): New method. |
86 |
|
|
|
87 |
|
|
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
|
89 |
wakaba |
1.8 |
* Document.pm (update_tfidf): New method copied from main.pl. |
90 |
|
|
|
91 |
|
|
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
|
93 |
wakaba |
1.7 |
* Document.pm: New module. |
94 |
|
|
|
95 |
wakaba |
1.5 |
2009-03-16 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
|
97 |
wakaba |
1.6 |
* Repository.pm (are_related_ids): Repeat the relearning process |
98 |
|
|
until the right answer is deduced. |
99 |
|
|
|
100 |
|
|
2009-03-16 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
|
102 |
wakaba |
1.5 |
* Repository.pm: New module. |
103 |
|
|
|
104 |
wakaba |
1.1 |
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
|
106 |
wakaba |
1.4 |
* Node.pm (document_id): New method. |
107 |
|
|
|
108 |
|
|
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
|
110 |
wakaba |
1.3 |
* Graph.pm (get_node_by_id): New method. |
111 |
|
|
(create_node): Changed to instantiate SWE::Object::Node. |
112 |
|
|
|
113 |
|
|
* Node.pm: New module. |
114 |
|
|
|
115 |
|
|
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
|
117 |
wakaba |
1.2 |
* Graph.pm: New module. |
118 |
|
|
|
119 |
|
|
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
|
121 |
wakaba |
1.1 |
* ChangeLog: New file. |
122 |
|
|
|
123 |
|
|
|