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> |
2009-09-14 Wakaba <wakaba@suika.fam.cx> |
40 |
|
|
41 |
* Document.pm (prop): New method. |
* Document.pm (prop): New method. |