发布Sqlite Developer Preview 0.84
Submitted by gougou on Sun, 2005-09-11 11:54更新历史
- Fixed:switch system objects and non-sys objects does not hide the system index(Which was introduced in ver0.75).
- Fixed: disable Edit Table for System Table schema and data.
- Updated: Now you can double click on field to view multi-line memo field data.
- New: basic sql autocomplete function.
- New: Add SQL monitor.
- New: Add SQL history.
- Fixed: some quirk focus problem.
- Fixed: does not show explain results.(which was introduced in ver 0.75)
- Updated: executing setting pragma command(pragma name=value) will not show data grid.
下载 这里
系统移植的一个常见问题
Submitted by gougou on Thu, 2005-09-08 22:26发布Sqlite Developer Preview 0.8
Submitted by gougou on Sun, 2005-09-04 16:08更新历史
- Fixed:Registered Db was not loaded after starting program(Which was not corrected as expected in ver0.75).
- New: Basic index management (drop , reindex, create, view).
- Updated: Added Data Edit Tab to Edit Table Dialog.
- Update: Add Hints to toolbar button.
- New: Add reindex function to table.
- Fixed: Trigger display order was not correct.
- Fixed: created table display order was not correct.
- Fixed: options dialog always show the data export options even select sql editor option node. (Introduced in ver0.75)
- New: Add View SQL command to View node.
- Fixed:Does not show pragma command execute result(introduced in ver0.75)
下载地址:这里
发布Sqlite Developer Preview 0.75
Submitted by gougou on Mon, 2005-08-29 20:30更新历史
-
Fixed: now sqlite system table can not be dropped.
-
Fixed: when created a database, the treeview was meshed.
-
New: update to
support sqlite 3.25 analyze command. -
Fixed: judge sql type and only show data grid for select sql.
-
Fixed: display order was not correct for the last item.
-
Update: update liveupdate
-
New: basic trigger edit function.
- Update: now modified config is wrotten to file at once.
下载地址:这里
Antlr的贪婪模式语法
Submitted by gougou on Mon, 2005-08-29 09:43.-noscript-blocked { border: 1px solid red !important; background: white url("chrome://noscript/skin/icon32.png") no-repeat left top !important; opacity: 0.6 !important; }
下面的规则是非贪婪模式的语法,它会匹配{之后的任意字符而不会匹配}符号,
CURLY_BLOCK_SCARF
: '{' (.)* '}'
;
要想让Antlr能够匹配},我们需要将规则改为
在DLL中使用Antlr
Submitted by gougou on Sat, 2005-08-27 16:51.-noscript-blocked { border: 1px solid red !important; background: white url("chrome://noscript/skin/icon32.png") no-repeat left top !important; opacity: 0.6 !important; }
新建一个Win32 DLL项目,设置如下
Delphi调用VC生成用于C程序调用的DLL的注意事项
Submitted by gougou on Sat, 2005-08-27 16:45在VC中可以Export DLL函数供C程序调用
#define PARSERDLL_API __declspec(dllexport)
extern "C" {
PARSERDLL_API int GetSqlType(LPCTSTR szSql);
}
Delphi要想调用这样的针对C输出的函数,不能使用stdcall的调用规范,而应使用cdecl的调用规范
如何include预编译头文件到antlr生成的cpp中
Submitted by gougou on Sat, 2005-08-27 09:33在Antlr生成cpp文件时,我们可能希望添加预编译头文件StdAfx.h到cpp文件中,标准的Header开关只能把头文件include到生成的头文件,而不能是cpp文件。
要想添加头文件到cpp中,需要使用antlr cpp生成器特殊控制开关关键字pre_include_cpp,示意如下
header "pre_include_cpp" {
#include "StdAfx.h"
}
anltr中如何声明变量
Submitted by gougou on Fri, 2005-08-26 17:01.-noscript-blocked { border: 1px solid red !important; background: white url("chrome://noscript/skin/icon32.png") no-repeat left top !important; opacity: 0.6 !important; }
column_ref_2[string& szTableName, string& szColumnName]
{
string s1,s2,s3, s4="";
}
:
c:id { s1=#c->getText();}
(PERIOD c1:id { s2=#c1->getText();}
(PERIOD c2:id { s3=#c2->getText();}
(PERIOD c3:id { s4=#c3->getText();}
)?)?)?
{
if (s2=="")
{
Antlr eclipse plugin
Submitted by gougou on Thu, 2005-08-25 09:05.-noscript-blocked { border: 1px solid red !important; background: white url("chrome://noscript/skin/icon32.png") no-repeat left top !important; opacity: 0.6 !important; }
- 首先下载安装eclipse 3.1
- 然后下载安装antlr for eclipse plugin http://antlreclipse.sourceforge.net/
- 教程http://www.oursland.net/tutorials/antlr/AntlrEclipse.html