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