| 1 |
2009-09-23 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
| 3 |
* Document.pm (name): Separated from |title|. |
| 4 |
|
| 5 |
2009-09-23 Wakaba <wakaba@suika.fam.cx> |
| 6 |
|
| 7 |
* 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 |
* Document.pm (prop_untainted): Typo. |
| 15 |
(untainted_prop): The |prop_untainted| property was not set. |
| 16 |
|
| 17 |
2009-09-21 Wakaba <wakaba@suika.fam.cx> |
| 18 |
|
| 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 |
* 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 |
* 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 |
* Document.pm (title, get_or_create_graph_node): New methods (made |
| 50 |
from codes moved from main.pl). |
| 51 |
|
| 52 |
2009-09-20 Wakaba <wakaba@suika.fam.cx> |
| 53 |
|
| 54 |
* Graph.pm (schelling_update): Implemented. |
| 55 |
|
| 56 |
2009-09-20 Wakaba <wakaba@suika.fam.cx> |
| 57 |
|
| 58 |
* Graph.pm (add_nodes): Improved the way to determine the number |
| 59 |
of added nodes. |
| 60 |
|
| 61 |
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
| 62 |
|
| 63 |
* 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 |
* 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 |
* Document.pm (to_html_fragment): New method. |
| 78 |
|
| 79 |
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
| 81 |
* Document.pm (to_xml, to_text): New methods. |
| 82 |
|
| 83 |
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
| 84 |
|
| 85 |
* Document.pm (new_id): New method. |
| 86 |
|
| 87 |
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
| 88 |
|
| 89 |
* Document.pm (update_tfidf): New method copied from main.pl. |
| 90 |
|
| 91 |
2009-07-12 Wakaba <wakaba@suika.fam.cx> |
| 92 |
|
| 93 |
* Document.pm: New module. |
| 94 |
|
| 95 |
2009-03-16 Wakaba <wakaba@suika.fam.cx> |
| 96 |
|
| 97 |
* 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 |
* Repository.pm: New module. |
| 103 |
|
| 104 |
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
| 105 |
|
| 106 |
* Node.pm (document_id): New method. |
| 107 |
|
| 108 |
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
| 109 |
|
| 110 |
* 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 |
* Graph.pm: New module. |
| 118 |
|
| 119 |
2009-03-15 Wakaba <wakaba@suika.fam.cx> |
| 120 |
|
| 121 |
* ChangeLog: New file. |
| 122 |
|
| 123 |
|