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