adapdev-commits Mailing List for Adapdev.NET (Page 27)
Status: Beta
Brought to you by:
intesar66
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(26) |
Apr
(59) |
May
(37) |
Jun
(53) |
Jul
(13) |
Aug
(7) |
Sep
(5) |
Oct
(74) |
Nov
(404) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(10) |
Feb
(26) |
Mar
(64) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sean M. <int...@us...> - 2005-06-03 04:30:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/FullText/Filters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25660/Filters Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/FullText/Filters added to the repository |
From: Sean M. <int...@us...> - 2005-06-03 04:30:32
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/XPath In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25640/XPath Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev/XPath added to the repository |
From: Sean M. <int...@us...> - 2005-06-03 04:30:26
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/FullText In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25611/FullText Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/FullText added to the repository |
From: Sean M. <int...@us...> - 2005-06-03 04:30:26
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/Records In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25611/Records Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing/Records added to the repository |
From: Sean M. <int...@us...> - 2005-06-03 04:30:18
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25562/Indexing Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev/Text/Indexing added to the repository |
From: Sean M. <int...@us...> - 2005-06-03 04:26:46
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23742/src Modified Files: AdapdevFramework.suo Log Message: Index: AdapdevFramework.suo =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.suo,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 Binary files /tmp/cvscf5U5V and /tmp/cvsQ4KKq5 differ |
From: Sean M. <int...@us...> - 2005-06-03 04:26:46
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23742/src/Adapdev.Data Modified Files: Adapdev.Data.csproj Log Message: Index: Adapdev.Data.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Adapdev.Data.csproj,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Adapdev.Data.csproj 27 May 2005 02:50:28 -0000 1.8 --- Adapdev.Data.csproj 3 Jun 2005 04:26:37 -0000 1.9 *************** *** 471,479 **** /> <File - RelPath = "Xml\ProviderConfig.resx" - DependentUpon = "ProviderConfig.cs" - BuildAction = "EmbeddedResource" - /> - <File RelPath = "Xml\ProviderConfig.xml" BuildAction = "Content" --- 471,474 ---- |
From: Sean M. <int...@us...> - 2005-06-03 03:51:29
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6438/src Modified Files: AdapdevFramework.suo Log Message: Fixed the ChangeForeColor method in SmartTreeView Fixed the logic for checking / unchecking child and parent nodes Index: AdapdevFramework.suo =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.suo,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 Binary files /tmp/cvsUG9Uv1 and /tmp/cvsXZlpga differ |
From: Sean M. <int...@us...> - 2005-06-03 03:51:29
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6438/src/Adapdev.Windows.Forms Modified Files: SmartTreeView.cs Log Message: Fixed the ChangeForeColor method in SmartTreeView Fixed the logic for checking / unchecking child and parent nodes Index: SmartTreeView.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms/SmartTreeView.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SmartTreeView.cs 2 Jun 2005 03:26:00 -0000 1.2 --- SmartTreeView.cs 3 Jun 2005 03:51:19 -0000 1.3 *************** *** 56,71 **** private void SmartTreeView_AfterCheck(object sender, System.Windows.Forms.TreeViewEventArgs e) { if(!this.disableAfterSelect) { - if(e.Node.Checked) CheckParents(e.Node); - // Required to avoid a stack overflow this.disableAfterSelect = true; // Check / Uncheck all children CheckChildren(e.Node); // Save the nodes state if(this.TrackState) this.SaveState(e.Node); this.disableAfterSelect = false; } } --- 56,81 ---- private void SmartTreeView_AfterCheck(object sender, System.Windows.Forms.TreeViewEventArgs e) { + this.SuspendLayout(); if(!this.disableAfterSelect) { // Required to avoid a stack overflow this.disableAfterSelect = true; + + // Check / Uncheck parents + if(e.Node.Checked) CheckParents(e.Node); + // Check / Uncheck all children CheckChildren(e.Node); + // Save the nodes state if(this.TrackState) this.SaveState(e.Node); + this.disableAfterSelect = false; } + + // Change the forecolor + this.ChangeForeColor(e.Node); + + this.ResumeLayout(); } *************** *** 79,84 **** // Save its state if(this.TrackState) this.SaveState(treeNode.Parent); - // Change the state - this.ChangeForeColor(treeNode); // Process the parent treeNode = treeNode.Parent; --- 89,92 ---- *************** *** 96,101 **** // Save its state if(this.TrackState) this.SaveState(child); - // Change the state - this.ChangeForeColor(node); // Check all children CheckChildren(child); --- 104,107 ---- |
From: Sean M. <int...@us...> - 2005-06-03 00:28:34
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28688/src/Adapdev.Data/Sql Modified Files: OracleSelectQuery.cs Log Message: Fixed SetLimit (again!) Index: OracleSelectQuery.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql/OracleSelectQuery.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** OracleSelectQuery.cs 2 Jun 2005 03:26:00 -0000 1.2 --- OracleSelectQuery.cs 3 Jun 2005 00:28:23 -0000 1.3 *************** *** 23,29 **** { string sql = "SELECT " + this.GetLimit() + this.GetColumns() + " FROM " + this._table + this._join + this.GetCriteria(); ! if(sql.ToLower().IndexOf("where") < 1) sql+= " WHERE "; ! else sql += " AND "; ! sql += this.GetLimit() + this.GetOrderBy() + this.GetGroupBy(); return sql; } --- 23,34 ---- { string sql = "SELECT " + this.GetLimit() + this.GetColumns() + " FROM " + this._table + this._join + this.GetCriteria(); ! if(this.maxRecords > 0) ! { ! if(sql.ToLower().IndexOf("where") < 1) sql+= " WHERE "; ! else sql += " AND "; ! ! sql += this.GetLimit(); ! } ! sql += this.GetOrderBy() + this.GetGroupBy(); return sql; } |
From: Sean M. <int...@us...> - 2005-06-02 03:26:12
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Windows.Forms.Tests Modified Files: SmartTreeViewTest.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: SmartTreeViewTest.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms.Tests/SmartTreeViewTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SmartTreeViewTest.cs 25 May 2005 05:17:48 -0000 1.1 --- SmartTreeViewTest.cs 2 Jun 2005 03:26:00 -0000 1.2 *************** *** 139,142 **** --- 139,176 ---- } + [Test] + public void GetUniqueNodeName() + { + Assert.AreEqual("Root", tree.GetUniqueNodeName(this.GetRoot())); + Assert.AreEqual("Node1Root", tree.GetUniqueNodeName(this.GetNode1())); + Assert.AreEqual("Child1Node1Root", tree.GetUniqueNodeName(this.GetChild1())); + } + + [Test] + public void GetState() + { + this.GetNode1().Checked = false; + Assert.IsTrue(this.GetNode1().Checked == false, "Node1 should not be checked initially"); + // Check it - checked state should be saved + this.GetNode1().Checked = true; + // Remove it + this.GetNode1().Remove(); + // Readd it + this.GetRoot().Nodes.Add("Node1"); + this.GetNode1().Checked = false; + Assert.IsTrue(this.GetNode1().Checked == false, "Node1 should not be checked after being added"); + + // Load the state + this.tree.LoadState(); + Assert.IsTrue(this.GetNode1().Checked == true, "Node1 should be checked."); + + // Clear the state and reload + this.tree.ClearState(); + this.GetNode1().Checked = false; + this.tree.LoadState(); + Assert.IsFalse(this.GetNode1().Checked == true, "Node1 should not be checked since state was cleared."); + + } + #region Utility Methods private TreeNode GetRoot() |
From: Sean M. <int...@us...> - 2005-06-02 03:26:11
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Cryptography In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Tests/Cryptography Modified Files: CryptoTest.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: CryptoTest.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Cryptography/CryptoTest.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** CryptoTest.cs 28 Feb 2005 01:32:17 -0000 1.1.1.1 --- CryptoTest.cs 2 Jun 2005 03:26:00 -0000 1.2 *************** *** 66,70 **** byte[] cipherText = Crypto.Encrypt(this._text, key, vector, algorithm); // Display it ! Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Decrypt string plainText = Crypto.Decrypt(cipherText, key, vector, algorithm); --- 66,70 ---- byte[] cipherText = Crypto.Encrypt(this._text, key, vector, algorithm); // Display it ! //Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Decrypt string plainText = Crypto.Decrypt(cipherText, key, vector, algorithm); *************** *** 83,87 **** byte[] cipherText = Crypto.Encrypt(this._text, algorithm); // Display it ! Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Get the decrypted value using the built in key and vector string plainText = Crypto.Decrypt(cipherText, algorithm); --- 83,87 ---- byte[] cipherText = Crypto.Encrypt(this._text, algorithm); // Display it ! //Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Get the decrypted value using the built in key and vector string plainText = Crypto.Decrypt(cipherText, algorithm); |
From: Sean M. <int...@us...> - 2005-06-02 03:26:11
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src Modified Files: AdapdevFramework.suo Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: AdapdevFramework.suo =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.suo,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 Binary files /tmp/cvsPOABMV and /tmp/cvs6BkkZg differ |
From: Sean M. <int...@us...> - 2005-06-02 03:26:11
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev Modified Files: Adapdev.csproj Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: Adapdev.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev/Adapdev.csproj,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Adapdev.csproj 25 May 2005 05:17:48 -0000 1.7 --- Adapdev.csproj 2 Jun 2005 03:26:01 -0000 1.8 *************** *** 426,429 **** --- 426,559 ---- /> <File + RelPath = "Text\Indexing\IIndex.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\IRecord.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\ISearchExpression.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\ISearchHitFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\SearchResult.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\FullTextSearchExpression.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\FullTextSearchIndex.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\FullTextSearchMode.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\IndexedField.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\IndexedFieldCollection.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\ITokenFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\ITokenizer.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Posting.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Postings.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\TermOccurenceCollection.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\TermOccurrence.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Token.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\AbstractFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\ConditionalFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\RegexTokenFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\SpecialCharactersFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\TokenLengthFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Filters\WordFilter.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Tokenizers\NullTokenizer.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\FullText\Tokenizers\StringTokenizer.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\Records\HashtableRecord.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Threading\DelegateAdapter.cs" SubType = "Code" *************** *** 450,453 **** --- 580,623 ---- BuildAction = "Compile" /> + <File + RelPath = "XPath\TypeInfoCache.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\XPathObjectNavigator.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigationContext.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigatorState.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigatorStateDictionary.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigatorStateItem.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigatorStateList.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\Internal\ObjectNavigatorStateRoot.cs" + SubType = "Code" + BuildAction = "Compile" + /> </Include> </Files> |
From: Sean M. <int...@us...> - 2005-06-02 03:26:11
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Windows.Forms Modified Files: SmartTreeView.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: SmartTreeView.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Windows.Forms/SmartTreeView.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SmartTreeView.cs 25 May 2005 05:17:48 -0000 1.1 --- SmartTreeView.cs 2 Jun 2005 03:26:00 -0000 1.2 *************** *** 7,16 **** --- 7,20 ---- namespace Adapdev.Windows.Forms { + using System.Text; + public class SmartTreeView : System.Windows.Forms.TreeView { private System.ComponentModel.IContainer components = null; private bool disableAfterSelect = false; + private bool trackState = true; private Color checkedFont = Color.Black; private Color uncheckedFont = Color.LightGray; + private Hashtable state = new Hashtable(); public SmartTreeView() *************** *** 19,22 **** --- 23,27 ---- } + /// <summary> /// Clean up any resources being used. *************** *** 59,62 **** --- 64,69 ---- // Check / Uncheck all children CheckChildren(e.Node); + // Save the nodes state + if(this.TrackState) this.SaveState(e.Node); this.disableAfterSelect = false; } *************** *** 70,73 **** --- 77,82 ---- // Set the parent to the child's checked state treeNode.Parent.Checked = node.Checked; + // Save its state + if(this.TrackState) this.SaveState(treeNode.Parent); // Change the state this.ChangeForeColor(treeNode); *************** *** 85,88 **** --- 94,99 ---- // Change the checked state to that of the parent child.Checked = node.Checked; + // Save its state + if(this.TrackState) this.SaveState(child); // Change the state this.ChangeForeColor(node); *************** *** 119,123 **** } ! } } --- 130,190 ---- } ! [Category("Behavior"), ! Description("Determines whether state should be maintained across reload"), ! DefaultValue(typeof(bool), "True"), ! Browsable(true)] ! public bool TrackState ! { ! get { return trackState; } ! set { trackState = value; } ! } ! ! public string GetUniqueNodeName(TreeNode node) ! { ! StringBuilder sb = new StringBuilder(); ! sb.Append(node.Text); ! while(node.Parent != null) ! { ! sb.Append(node.Parent.Text); ! node = node.Parent; ! } ! return sb.ToString(); ! } ! ! public void SaveState(TreeNode node) ! { ! this.state[this.GetUniqueNodeName(node)] = node.Checked; ! } ! ! public void GetState(TreeNode node) ! { ! string uniqueName = this.GetUniqueNodeName(node); ! if(this.state.ContainsKey(uniqueName)) ! { ! node.Checked = (bool)this.state[uniqueName]; ! } ! } ! ! public void ClearState() ! { ! this.state.Clear(); ! } ! ! public void LoadState() ! { ! foreach(TreeNode node in this.Nodes) ! { ! this.LoadState(node); ! } ! } ! ! protected void LoadState(TreeNode node) ! { ! this.GetState(node); ! foreach(TreeNode child in node.Nodes) ! { ! this.LoadState(child); ! } ! } } } |
From: Sean M. <int...@us...> - 2005-06-02 03:26:09
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Tests Modified Files: Adapdev.Tests.csproj Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: Adapdev.Tests.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Adapdev.Tests.csproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Adapdev.Tests.csproj 26 May 2005 01:54:39 -0000 1.5 --- Adapdev.Tests.csproj 2 Jun 2005 03:26:00 -0000 1.6 *************** *** 165,168 **** --- 165,213 ---- BuildAction = "Compile" /> + <File + RelPath = "Text\Indexing\FullTextSearchTests.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\RegExFilterTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\SearchResultTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\SpecialCharactersFilterTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\StringTokenizerTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\TokenAssertions.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\TokenLengthFilterTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Text\Indexing\WordFilterTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "XPath\XPathObjectNavigatorTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> </Include> </Files> |
From: Sean M. <int...@us...> - 2005-06-02 03:26:09
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Data/Sql Modified Files: OracleSelectQuery.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: OracleSelectQuery.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql/OracleSelectQuery.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** OracleSelectQuery.cs 11 Apr 2005 11:24:06 -0000 1.1 --- OracleSelectQuery.cs 2 Jun 2005 03:26:00 -0000 1.2 *************** *** 11,14 **** --- 11,31 ---- } + protected override string GetLimit() + { + if(this.maxRecords > 0) + { + return " ROWNUM <= " + this.maxRecords; + } + return ""; + } + + public override string GetText() + { + string sql = "SELECT " + this.GetLimit() + this.GetColumns() + " FROM " + this._table + this._join + this.GetCriteria(); + if(sql.ToLower().IndexOf("where") < 1) sql+= " WHERE "; + else sql += " AND "; + sql += this.GetLimit() + this.GetOrderBy() + this.GetGroupBy(); + return sql; + } } } \ No newline at end of file |
From: Sean M. <int...@us...> - 2005-06-02 03:26:09
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.CodeGen Modified Files: NVelocityCodeTemplate.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: NVelocityCodeTemplate.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen/NVelocityCodeTemplate.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** NVelocityCodeTemplate.cs 28 Feb 2005 01:31:44 -0000 1.1.1.1 --- NVelocityCodeTemplate.cs 2 Jun 2005 03:25:59 -0000 1.2 *************** *** 112,117 **** return "Convert.To"+subt; } - - } } \ No newline at end of file --- 112,115 ---- |
From: Sean M. <int...@us...> - 2005-06-02 03:26:08
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Cache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Cache Modified Files: AbstractCache.cs Adapdev.Cache.csproj FileCache.cs ICache.cs SerializedCacheItem.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: FileCache.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache/FileCache.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FileCache.cs 25 May 2005 05:17:46 -0000 1.2 --- FileCache.cs 2 Jun 2005 03:25:59 -0000 1.3 *************** *** 88,94 **** public override void Clear() { ! Directory.Delete(this._folderPath, true); ! Directory.CreateDirectory(this._folderPath); ! this._items.Clear(); } --- 88,97 ---- public override void Clear() { ! if(Directory.Exists(this._folderPath)) ! { ! Directory.Delete(this._folderPath, true); ! Directory.CreateDirectory(this._folderPath); ! this._items.Clear(); ! } } Index: SerializedCacheItem.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache/SerializedCacheItem.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SerializedCacheItem.cs 25 May 2005 05:17:46 -0000 1.1 --- SerializedCacheItem.cs 2 Jun 2005 03:25:59 -0000 1.2 *************** *** 7,10 **** --- 7,12 ---- /// Summary description for SerializedCacheItem. /// </summary> + /// + [Serializable] public class SerializedCacheItem : CacheItem { Index: ICache.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache/ICache.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ICache.cs 25 May 2005 05:17:46 -0000 1.2 --- ICache.cs 2 Jun 2005 03:25:59 -0000 1.3 *************** *** 26,29 **** --- 26,30 ---- void Populate(); void Copy(ICache cache); + double ScavengeInterval{get;set;} } } Index: AbstractCache.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache/AbstractCache.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AbstractCache.cs 25 May 2005 05:17:46 -0000 1.1 --- AbstractCache.cs 2 Jun 2005 03:25:59 -0000 1.2 *************** *** 1,11 **** using System; namespace Adapdev.Cache { /// <summary> /// Summary description for AbstractCache. /// </summary> ! public abstract class AbstractCache : ICache { #region ICache Members --- 1,20 ---- using System; + using Adapdev; namespace Adapdev.Cache { + using System.Collections; + using System.Timers; + using Adapdev.Cache.Scavengers; + /// <summary> /// Summary description for AbstractCache. /// </summary> ! public abstract class AbstractCache : LongLivingMarshalByRefObject, ICache { + protected ArrayList _timers = new ArrayList(); + protected ArrayList _scavengers = new ArrayList(); + protected Timer _timer = new Timer(new TimeSpan(2,0,0).Milliseconds); + #region ICache Members *************** *** 40,43 **** --- 49,57 ---- } + public void AddTimedScavenger(IScavenger scavenger) + { + this._scavengers.Add(scavenger); + } + public void Copy(ICache cache) { *************** *** 45,48 **** --- 59,68 ---- } + public double ScavengeInterval + { + get { throw new NotImplementedException(); } + set { throw new NotImplementedException(); } + } + public abstract void Add(string key, object o); public abstract void Clear(); Index: Adapdev.Cache.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache/Adapdev.Cache.csproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Adapdev.Cache.csproj 26 May 2005 01:54:39 -0000 1.5 --- Adapdev.Cache.csproj 2 Jun 2005 03:25:59 -0000 1.6 *************** *** 131,134 **** --- 131,139 ---- /> <File + RelPath = "CacheStats.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "CacheUtil.cs" SubType = "Code" |
From: Sean M. <int...@us...> - 2005-06-02 03:26:08
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Cache.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Cache.Tests Modified Files: AbstractICacheTest.cs Adapdev.Cache.Tests.csproj Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: AbstractICacheTest.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache.Tests/AbstractICacheTest.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AbstractICacheTest.cs 25 May 2005 05:17:46 -0000 1.1 --- AbstractICacheTest.cs 2 Jun 2005 03:25:59 -0000 1.2 *************** *** 154,158 **** [Test] ! public void Copy() { ICache source = this.GetCache(); --- 154,158 ---- [Test] ! public virtual void Copy() { ICache source = this.GetCache(); Index: Adapdev.Cache.Tests.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Cache.Tests/Adapdev.Cache.Tests.csproj,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Adapdev.Cache.Tests.csproj 25 May 2005 05:17:46 -0000 1.4 --- Adapdev.Cache.Tests.csproj 2 Jun 2005 03:25:59 -0000 1.5 *************** *** 121,124 **** --- 121,129 ---- /> <File + RelPath = "CacheStatsTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "CacheUtilTest.cs" SubType = "Code" |
From: Sean M. <int...@us...> - 2005-05-27 02:50:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29728/src/Adapdev.CodeGen Modified Files: NVelocityTableCodeTemplate.cs Log Message: Removed BinaryDataTable from Adapdev.Data - wasn't being used, and caused problems with build Index: NVelocityTableCodeTemplate.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen/NVelocityTableCodeTemplate.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** NVelocityTableCodeTemplate.cs 13 May 2005 03:51:26 -0000 1.6 --- NVelocityTableCodeTemplate.cs 27 May 2005 02:50:28 -0000 1.7 *************** *** 306,309 **** --- 306,311 ---- if(d.DatabaseType == Adapdev.Data.DbType.SQLSERVER) return c.Alias + ".Subtract(new TimeSpan(2,0,0,0)).ToOADate()"; + else if(d.DatabaseType == Adapdev.Data.DbType.ORACLE) + return c.Alias; else return c.Alias + ".ToOADate()"; |
From: Sean M. <int...@us...> - 2005-05-27 02:50:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29728/src/Adapdev.Data Modified Files: Adapdev.Data.csproj Removed Files: BinaryDataTable.cs Log Message: Removed BinaryDataTable from Adapdev.Data - wasn't being used, and caused problems with build --- BinaryDataTable.cs DELETED --- Index: Adapdev.Data.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Adapdev.Data.csproj,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Adapdev.Data.csproj 25 May 2005 05:17:47 -0000 1.7 --- Adapdev.Data.csproj 27 May 2005 02:50:28 -0000 1.8 *************** *** 111,124 **** /> <File - RelPath = "BinaryDataTable.cs" - SubType = "Component" - BuildAction = "Compile" - /> - <File - RelPath = "BinaryDataTable.resx" - DependentUpon = "BinaryDataTable.cs" - BuildAction = "EmbeddedResource" - /> - <File RelPath = "CommandTextViewer.cs" SubType = "Code" --- 111,114 ---- |
From: Sean M. <int...@us...> - 2005-05-26 01:59:17
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32394/src Modified Files: AdapdevFramework.suo Log Message: Index: AdapdevFramework.suo =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.suo,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 Binary files /tmp/cvsdccTDi and /tmp/cvsXKo2QE differ |
From: Sean M. <int...@us...> - 2005-05-26 01:54:49
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31896/src/Adapdev.Tests Modified Files: Adapdev.Tests.csproj Log Message: Index: Adapdev.Tests.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Adapdev.Tests.csproj,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Adapdev.Tests.csproj 25 May 2005 05:17:47 -0000 1.4 --- Adapdev.Tests.csproj 26 May 2005 01:54:39 -0000 1.5 *************** *** 95,103 **** HintPath = "..\..\lib\log4net.dll" /> - <Reference - Name = "Adapdev.Mock" - Project = "{7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}" - Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" - /> </References> </Build> --- 95,98 ---- |
From: Sean M. <int...@us...> - 2005-05-26 01:54:48
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31896/src Modified Files: AdapdevFramework.sln AdapdevFramework.suo Log Message: Index: AdapdevFramework.suo =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.suo,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 Binary files /tmp/cvsjllT78 and /tmp/cvsx5YZzc differ Index: AdapdevFramework.sln =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/AdapdevFramework.sln,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AdapdevFramework.sln 25 May 2005 05:17:48 -0000 1.4 --- AdapdevFramework.sln 26 May 2005 01:54:39 -0000 1.5 *************** *** 64,71 **** EndProjectSection EndProject - Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Adapdev.Mock", "Adapdev.Mock\Adapdev.Mock.csproj", "{7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection - EndProject Global GlobalSection(SolutionConfiguration) = preSolution --- 64,67 ---- *************** *** 138,145 **** {250B6F4B-3256-4DEB-84B6-8C919058FDDC}.Release.ActiveCfg = Release|.NET {250B6F4B-3256-4DEB-84B6-8C919058FDDC}.Release.Build.0 = Release|.NET - {7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}.Debug.ActiveCfg = Debug|.NET - {7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}.Debug.Build.0 = Debug|.NET - {7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}.Release.ActiveCfg = Release|.NET - {7F1E28A3-0AC7-409A-BEC4-A8F39AB23022}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(SolutionItems) = postSolution --- 134,137 ---- |