/[suikacvs]/webroot/swe/lib/SWE/Object/ChangeLog
Suika

Contents of /webroot/swe/lib/SWE/Object/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Mon Sep 21 09:10:40 2009 UTC (15 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.17: +17 -0 lines
++ swe/lib/SWE/DB/ChangeLog	21 Sep 2009 09:05:45 -0000
2009-09-21  Wakaba  <wakaba@suika.fam.cx>

	* Lock.pm (check_lockability): Don't allow the same level of lock
	type being locked twice to avoid deadlocks caused by same level of
	locks.

++ swe/lib/SWE/Object/ChangeLog	21 Sep 2009 09:10:06 -0000
	* Document.pm (repo, prop_untainted, untainted_prop, save_prop,
	locked): New method.  Introduced the concept of "tainted" such
	that we can access to the property in the locked code fragment
	without being afraid to update the property using old values.
	(get_or_create_graph_node): Updated to utilize |prop| family of
	method with locks.

	* Graph.pm (repo, lock, unlock): New methods.
	(add_nodes, create_node, schelling_update): Locks the database
	before the modifications.

	* Repository.pm (graph, get_document_by_id): New methods.

	* Node.pm (repo): New method.

2009-09-21  Wakaba  <wakaba@suika.fam.cx>

++ swe/lib/suikawiki/ChangeLog	21 Sep 2009 09:10:27 -0000
	* main.pl: Made the graph node view to lock the database.

2009-09-21  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24