uppweb: Added Bazaar button

git-svn-id: svn://ultimatepp.org/upp/trunk@1737 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-12-06 22:21:42 +00:00
parent 92fcc05b00
commit c77ba1a346
14 changed files with 368 additions and 1594 deletions

View file

@ -1,64 +1,64 @@
TOPIC("602$en-us")
#include "602$en-us.tppi"
END_TOPIC
TOPIC("602long$en-us")
#include "602long$en-us.tppi"
END_TOPIC
TOPIC("article$en-us")
#include "article$en-us.tppi"
END_TOPIC
TOPIC("article2$en-us")
#include "article2$en-us.tppi"
END_TOPIC
TOPIC("blitz$en-us")
#include "blitz$en-us.tppi"
END_TOPIC
TOPIC("CallbackExample$en-us")
#include "CallbackExample$en-us.tppi"
END_TOPIC
TOPIC("daniel$en-us")
#include "daniel$en-us.tppi"
END_TOPIC
TOPIC("IDE$en-us")
#include "IDE$en-us.tppi"
END_TOPIC
TOPIC("IDE$pl-pl")
#include "IDE$pl-pl.tppi"
END_TOPIC
TOPIC("IDEoverview$en-us")
#include "IDEoverview$en-us.tppi"
END_TOPIC
TOPIC("Menu$en-us")
#include "Menu$en-us.tppi"
END_TOPIC
TOPIC("roadmap$en-us")
#include "roadmap$en-us.tppi"
END_TOPIC
TOPIC("trc_commentary$en-us")
#include "trc_commentary$en-us.tppi"
END_TOPIC
TOPIC("upp$en-us")
#include "upp$en-us.tppi"
END_TOPIC
TOPIC("uppheap$en-us")
#include "uppheap$en-us.tppi"
END_TOPIC
TOPIC("upp$en-us")
#include "upp$en-us.tppi"
END_TOPIC
TOPIC("article2$en-us")
#include "article2$en-us.tppi"
END_TOPIC
TOPIC("CallbackExample$en-us")
#include "CallbackExample$en-us.tppi"
END_TOPIC
TOPIC("article$en-us")
#include "article$en-us.tppi"
END_TOPIC
TOPIC("blitz$en-us")
#include "blitz$en-us.tppi"
END_TOPIC
TOPIC("uppp$en-us")
#include "uppp$en-us.tppi"
END_TOPIC
TOPIC("trc_commentary$en-us")
#include "trc_commentary$en-us.tppi"
END_TOPIC
TOPIC("602long$en-us")
#include "602long$en-us.tppi"
END_TOPIC
TOPIC("IDEoverview$en-us")
#include "IDEoverview$en-us.tppi"
END_TOPIC
TOPIC("IDE$pl-pl")
#include "IDE$pl-pl.tppi"
END_TOPIC
TOPIC("IDE$en-us")
#include "IDE$en-us.tppi"
END_TOPIC
TOPIC("Menu$en-us")
#include "Menu$en-us.tppi"
END_TOPIC
TOPIC("602$en-us")
#include "602$en-us.tppi"
END_TOPIC
TOPIC("roadmap$en-us")
#include "roadmap$en-us.tppi"
END_TOPIC

View file

@ -1,21 +1,65 @@
TOPIC("addressbook$en-us")
#include "addressbook$en-us.tppi"
TOPIC("clock$en-us")
#include "clock$en-us.tppi"
END_TOPIC
TOPIC("AnimatedHello$en-us")
#include "AnimatedHello$en-us.tppi"
TOPIC("CompDir$en-us")
#include "CompDir$en-us.tppi"
END_TOPIC
TOPIC("UWord$en-us")
#include "UWord$en-us.tppi"
END_TOPIC
TOPIC("addressbook$en-us")
#include "addressbook$en-us.tppi"
END_TOPIC
TOPIC("Bombs$en-us")
#include "Bombs$en-us.tppi"
END_TOPIC
TOPIC("AnimatedHello$en-us")
#include "AnimatedHello$en-us.tppi"
END_TOPIC
TOPIC("Converter$en-us")
#include "Converter$en-us.tppi"
END_TOPIC
TOPIC("HelloWorld$en-us")
#include "HelloWorld$en-us.tppi"
END_TOPIC
TOPIC("Scribble$en-us")
#include "Scribble$en-us.tppi"
END_TOPIC
TOPIC("Puzzle$en-us")
#include "Puzzle$en-us.tppi"
END_TOPIC
TOPIC("XmlView$en-us")
#include "XmlView$en-us.tppi"
END_TOPIC
TOPIC("SQLApp$en-us")
#include "SQLApp$en-us.tppi"
END_TOPIC
TOPIC("Days$en-us")
#include "Days$en-us.tppi"
END_TOPIC
TOPIC("Button$en-us")
#include "Button$en-us.tppi"
END_TOPIC
TOPIC("clock$en-us")
#include "clock$en-us.tppi"
TOPIC("ImageView$en-us")
#include "ImageView$en-us.tppi"
END_TOPIC
TOPIC("EyeCare$en-us")
#include "EyeCare$en-us.tppi"
END_TOPIC
TOPIC("CodeMetric$en-us")
@ -26,51 +70,7 @@ TOPIC("Color$en-us")
#include "Color$en-us.tppi"
END_TOPIC
TOPIC("CompDir$en-us")
#include "CompDir$en-us.tppi"
END_TOPIC
TOPIC("Converter$en-us")
#include "Converter$en-us.tppi"
END_TOPIC
TOPIC("Days$en-us")
#include "Days$en-us.tppi"
END_TOPIC
TOPIC("EyeCare$en-us")
#include "EyeCare$en-us.tppi"
END_TOPIC
TOPIC("HelloWorld$en-us")
#include "HelloWorld$en-us.tppi"
END_TOPIC
TOPIC("HomeBudget$en-us")
#include "HomeBudget$en-us.tppi"
END_TOPIC
TOPIC("ImageView$en-us")
#include "ImageView$en-us.tppi"
END_TOPIC
TOPIC("Puzzle$en-us")
#include "Puzzle$en-us.tppi"
END_TOPIC
TOPIC("Scribble$en-us")
#include "Scribble$en-us.tppi"
END_TOPIC
TOPIC("SQLApp$en-us")
#include "SQLApp$en-us.tppi"
END_TOPIC
TOPIC("UWord$en-us")
#include "UWord$en-us.tppi"
END_TOPIC
TOPIC("XmlView$en-us")
#include "XmlView$en-us.tppi"
END_TOPIC

View file

@ -8,4 +8,5 @@
#include "ide/init"
#include "plugin\ftp/init"
#include "Sql/init"
#include "SysInfo/init"
#endif

View file

@ -1,65 +1,97 @@
TOPIC("AK$en-us")
#include "AK$en-us.tppi"
END_TOPIC
TOPIC("ArrayCtrl$en-us")
#include "ArrayCtrl$en-us.tppi"
TOPIC("Timing$en-us")
#include "Timing$en-us.tppi"
END_TOPIC
TOPIC("ArrayCtrlEdits$en-us")
#include "ArrayCtrlEdits$en-us.tppi"
END_TOPIC
TOPIC("callback$en-us")
#include "callback$en-us.tppi"
TOPIC("ImageDraw$en-us")
#include "ImageDraw$en-us.tppi"
END_TOPIC
TOPIC("CallbackArgTarget$en-us")
#include "CallbackArgTarget$en-us.tppi"
TOPIC("XML$en-us")
#include "XML$en-us.tppi"
END_TOPIC
TOPIC("Chameleon$en-us")
#include "Chameleon$en-us.tppi"
TOPIC("events$en-us")
#include "events$en-us.tppi"
END_TOPIC
TOPIC("ColumnList$en-us")
#include "ColumnList$en-us.tppi"
TOPIC("menu$en-us")
#include "menu$en-us.tppi"
END_TOPIC
TOPIC("convert$en-us")
#include "convert$en-us.tppi"
END_TOPIC
TOPIC("cparser$en-us")
#include "cparser$en-us.tppi"
END_TOPIC
TOPIC("ctrlpos$en-us")
#include "ctrlpos$en-us.tppi"
END_TOPIC
TOPIC("CtrlRetriever$en-us")
#include "CtrlRetriever$en-us.tppi"
TOPIC("Ptr$en-us")
#include "Ptr$en-us.tppi"
END_TOPIC
TOPIC("display$en-us")
#include "display$en-us.tppi"
END_TOPIC
TOPIC("StatusBar$en-us")
#include "StatusBar$en-us.tppi"
END_TOPIC
TOPIC("RectTracker$en-us")
#include "RectTracker$en-us.tppi"
END_TOPIC
TOPIC("value$en-us")
#include "value$en-us.tppi"
END_TOPIC
TOPIC("uscctrl$en-us")
#include "uscctrl$en-us.tppi"
END_TOPIC
TOPIC("TreeCtrl$en-us")
#include "TreeCtrl$en-us.tppi"
END_TOPIC
TOPIC("RegExp$en-us")
#include "RegExp$en-us.tppi"
END_TOPIC
TOPIC("Qtf$en-us")
#include "Qtf$en-us.tppi"
END_TOPIC
TOPIC("Chameleon$en-us")
#include "Chameleon$en-us.tppi"
END_TOPIC
TOPIC("draw$en-us")
#include "draw$en-us.tppi"
END_TOPIC
TOPIC("drawing$en-us")
#include "drawing$en-us.tppi"
TOPIC("SqlArray$en-us")
#include "SqlArray$en-us.tppi"
END_TOPIC
TOPIC("SliderProgressInd$en-us")
#include "SliderProgressInd$en-us.tppi"
END_TOPIC
TOPIC("DynamicDlg$en-us")
#include "DynamicDlg$en-us.tppi"
END_TOPIC
TOPIC("events$en-us")
#include "events$en-us.tppi"
TOPIC("image$en-us")
#include "image$en-us.tppi"
END_TOPIC
TOPIC("ScrollBar$en-us")
#include "ScrollBar$en-us.tppi"
END_TOPIC
TOPIC("OpenGL$en-us")
#include "OpenGL$en-us.tppi"
END_TOPIC
TOPIC("Serialize$en-us")
#include "Serialize$en-us.tppi"
END_TOPIC
TOPIC("Format$en-us")
@ -70,131 +102,99 @@ TOPIC("Frame$en-us")
#include "Frame$en-us.tppi"
END_TOPIC
TOPIC("GuiMT$en-us")
#include "GuiMT$en-us.tppi"
END_TOPIC
TOPIC("image$en-us")
#include "image$en-us.tppi"
END_TOPIC
TOPIC("ImageDraw$en-us")
#include "ImageDraw$en-us.tppi"
END_TOPIC
TOPIC("log$en-us")
#include "log$en-us.tppi"
END_TOPIC
TOPIC("menu$en-us")
#include "menu$en-us.tppi"
END_TOPIC
TOPIC("OpenGL$en-us")
#include "OpenGL$en-us.tppi"
END_TOPIC
TOPIC("Paint$en-us")
#include "Paint$en-us.tppi"
END_TOPIC
TOPIC("Ptr$en-us")
#include "Ptr$en-us.tppi"
END_TOPIC
TOPIC("Qtf$en-us")
#include "Qtf$en-us.tppi"
END_TOPIC
TOPIC("QtfDrawing$en-us")
#include "QtfDrawing$en-us.tppi"
END_TOPIC
TOPIC("RectTracker$en-us")
#include "RectTracker$en-us.tppi"
END_TOPIC
TOPIC("RegExp$en-us")
#include "RegExp$en-us.tppi"
END_TOPIC
TOPIC("Reports$en-us")
#include "Reports$en-us.tppi"
END_TOPIC
TOPIC("RichTextObject$en-us")
#include "RichTextObject$en-us.tppi"
END_TOPIC
TOPIC("ScrollBar$en-us")
#include "ScrollBar$en-us.tppi"
END_TOPIC
TOPIC("ScrollView$en-us")
#include "ScrollView$en-us.tppi"
END_TOPIC
TOPIC("Serialize$en-us")
#include "Serialize$en-us.tppi"
END_TOPIC
TOPIC("Slider$en-us")
#include "Slider$en-us.tppi"
END_TOPIC
TOPIC("SliderProgressInd$en-us")
#include "SliderProgressInd$en-us.tppi"
END_TOPIC
TOPIC("Splitter$en-us")
#include "Splitter$en-us.tppi"
END_TOPIC
TOPIC("SplitterFrame$en-us")
#include "SplitterFrame$en-us.tppi"
END_TOPIC
TOPIC("SqlArray$en-us")
#include "SqlArray$en-us.tppi"
END_TOPIC
TOPIC("SQL_Sqlite3$en-us")
#include "SQL_Sqlite3$en-us.tppi"
END_TOPIC
TOPIC("StatusBar$en-us")
#include "StatusBar$en-us.tppi"
TOPIC("AK$en-us")
#include "AK$en-us.tppi"
END_TOPIC
TOPIC("TabDlg$en-us")
#include "TabDlg$en-us.tppi"
END_TOPIC
TOPIC("Timing$en-us")
#include "Timing$en-us.tppi"
TOPIC("Splitter$en-us")
#include "Splitter$en-us.tppi"
END_TOPIC
TOPIC("convert$en-us")
#include "convert$en-us.tppi"
END_TOPIC
TOPIC("drawing$en-us")
#include "drawing$en-us.tppi"
END_TOPIC
TOPIC("SplitterFrame$en-us")
#include "SplitterFrame$en-us.tppi"
END_TOPIC
TOPIC("GuiMT$en-us")
#include "GuiMT$en-us.tppi"
END_TOPIC
TOPIC("ctrlpos$en-us")
#include "ctrlpos$en-us.tppi"
END_TOPIC
TOPIC("CtrlRetriever$en-us")
#include "CtrlRetriever$en-us.tppi"
END_TOPIC
TOPIC("callback$en-us")
#include "callback$en-us.tppi"
END_TOPIC
TOPIC("CallbackArgTarget$en-us")
#include "CallbackArgTarget$en-us.tppi"
END_TOPIC
TOPIC("Reports$en-us")
#include "Reports$en-us.tppi"
END_TOPIC
TOPIC("cparser$en-us")
#include "cparser$en-us.tppi"
END_TOPIC
TOPIC("SQL_Sqlite3$en-us")
#include "SQL_Sqlite3$en-us.tppi"
END_TOPIC
TOPIC("ArrayCtrl$en-us")
#include "ArrayCtrl$en-us.tppi"
END_TOPIC
TOPIC("QtfDrawing$en-us")
#include "QtfDrawing$en-us.tppi"
END_TOPIC
TOPIC("Paint$en-us")
#include "Paint$en-us.tppi"
END_TOPIC
TOPIC("Topic$en-us")
#include "Topic$en-us.tppi"
END_TOPIC
TOPIC("TreeCtrl$en-us")
#include "TreeCtrl$en-us.tppi"
TOPIC("log$en-us")
#include "log$en-us.tppi"
END_TOPIC
TOPIC("uscctrl$en-us")
#include "uscctrl$en-us.tppi"
END_TOPIC
TOPIC("value$en-us")
#include "value$en-us.tppi"
TOPIC("Slider$en-us")
#include "Slider$en-us.tppi"
END_TOPIC
TOPIC("VirtualArray$en-us")
#include "VirtualArray$en-us.tppi"
END_TOPIC
TOPIC("XML$en-us")
#include "XML$en-us.tppi"
TOPIC("ColumnList$en-us")
#include "ColumnList$en-us.tppi"
END_TOPIC
TOPIC("RichTextObject$en-us")
#include "RichTextObject$en-us.tppi"
END_TOPIC

View file

@ -48,7 +48,6 @@ void GatherRefLinks(const char *upp)
String path = AppendFileName(dir, ft.GetName());
tl.topic = GetFileTitle(ft.GetName());
String link = TopicLinkString(tl);
RLOG("Indexing topic " << tl.topic);
#ifdef MTC
work & callback2(sDoFile, path, link);
#else
@ -65,7 +64,6 @@ void GatherRefLinks(const char *upp)
}
}
struct GatherLinkIterator : RichText::Iterator {
Index<String> link;
@ -96,17 +94,16 @@ struct GatherLinkIterator : RichText::Iterator {
String TopicFileName(const char *dir, const char *topic)
{
DUMP(dir);
DUMP(topic);
TopicLink tl = ParseTopicLink(topic);
return AppendFileName(dir, AppendFileName(tl.package, AppendFileName(tl.group + ".tpp", tl.topic + ".tpp")));
}
String TopicFileName(const char *topic)
{
DUMP(topic);
String p = TopicFileName(uppbox, topic);
DUMP(p);
if(FileExists(p))
return p;
p = TopicFileName(bazaar, topic);
if(FileExists(p))
return p;
return TopicFileName(uppsrc, topic);
@ -132,7 +129,6 @@ String GatherTopics(VectorMap<String, Topic>& map, const char *topic, String& ti
q = map.Find(topic);
if(q < 0) {
LLOG("GatherTopics " << topic);
DUMP(TopicFileName(topic));
Topic p = ReadTopic(LoadFile(TopicFileName(topic)));
title = p.title;
String t = p;

View file

@ -23,6 +23,7 @@ String examples;
String targetdir;
String diffdir;
#endif
String bazaar;
String GetRcFile(const char *s)
{
@ -445,6 +446,7 @@ GUI_APP_MAIN
uppsrc = AppendFileName(rootdir, "uppsrc");
reference = AppendFileName(rootdir, "reference");
examples = AppendFileName(rootdir, "examples");
bazaar = AppendFileName(rootdir, "bazaar");
RLOG("--- uppweb started at " << GetSysTime());
@ -452,6 +454,7 @@ GUI_APP_MAIN
DirectoryCreate(targetdir);
GatherRefLinks(uppsrc);
GatherRefLinks(AppendFileName(rootdir, "bazaar"));
SaveFile(AppendFileName(targetdir, "sdj.gif"), LoadFile(GetRcFile("sdj.gif")));
@ -489,6 +492,7 @@ GUI_APP_MAIN
di = tt.GetCount();
bi << BarLink(Www("documentation"), "Manual");
bi << BarLink(Www("bazaar"), "Bazaar");
bi << BarLink(Www("Roadmap"), "Status & Roadmap");
String qtf;
@ -587,6 +591,10 @@ GUI_APP_MAIN
);
BeepInformation();
#ifdef PLATFORM_WIN32
return;
#endif
Vector<String> upload;
{
FindFile ff(AppendFileName(targetdir, "*.*"));

View file

@ -15,6 +15,7 @@ using namespace Upp;
extern String uppsrc;
extern String uppbox;
extern String bazaar;
extern VectorMap<String, String> reflink;
String TopicFileName(const char *dir, const char *topic);

View file

@ -1,108 +1,108 @@
TOPIC("20081chlog$en-us")
#include "20081chlog$en-us.tppi"
END_TOPIC
TOPIC("apps$en-us")
#include "apps$en-us.tppi"
END_TOPIC
TOPIC("bazaar$en-us")
#include "bazaar$en-us.tppi"
END_TOPIC
TOPIC("baz_sysinfo$en-us")
#include "baz_sysinfo$en-us.tppi"
END_TOPIC
TOPIC("baz_sys_implem$en-us")
#include "baz_sys_implem$en-us.tppi"
END_TOPIC
TOPIC("baz_sys_reference$en-us")
#include "baz_sys_reference$en-us.tppi"
END_TOPIC
TOPIC("chss$en-us")
#include "chss$en-us.tppi"
END_TOPIC
TOPIC("comparison$en-us")
#include "comparison$en-us.tppi"
END_TOPIC
TOPIC("documentation$en-us")
#include "documentation$en-us.tppi"
END_TOPIC
TOPIC("download$en-us")
#include "download$en-us.tppi"
END_TOPIC
TOPIC("examples$en-us")
#include "examples$en-us.tppi"
END_TOPIC
TOPIC("FAQ$en-us")
#include "FAQ$en-us.tppi"
END_TOPIC
TOPIC("Funding$en-us")
#include "Funding$en-us.tppi"
END_TOPIC
TOPIC("helpus$en-us")
#include "helpus$en-us.tppi"
END_TOPIC
TOPIC("IDEoverview$en-us")
#include "IDEoverview$en-us.tppi"
END_TOPIC
TOPIC("idess$en-us")
#include "idess$en-us.tppi"
END_TOPIC
TOPIC("index$en-us")
#include "index$en-us.tppi"
END_TOPIC
TOPIC("overview$en-us")
#include "overview$en-us.tppi"
END_TOPIC
TOPIC("reference$en-us")
#include "reference$en-us.tppi"
END_TOPIC
TOPIC("Roadmap$en-us")
#include "Roadmap$en-us.tppi"
END_TOPIC
TOPIC("ss$en-us")
#include "ss$en-us.tppi"
TOPIC("baz_sysinfo$en-us")
#include "baz_sysinfo$en-us.tppi"
END_TOPIC
TOPIC("vsd$en-us")
#include "vsd$en-us.tppi"
TOPIC("Funding$en-us")
#include "Funding$en-us.tppi"
END_TOPIC
TOPIC("baz_sys_implem$en-us")
#include "baz_sys_implem$en-us.tppi"
END_TOPIC
TOPIC("vsqt$en-us")
#include "vsqt$en-us.tppi"
END_TOPIC
TOPIC("vsstd$en-us")
#include "vsstd$en-us.tppi"
END_TOPIC
TOPIC("vsstd2$en-us")
#include "vsstd2$en-us.tppi"
END_TOPIC
TOPIC("vsswing$en-us")
#include "vsswing$en-us.tppi"
END_TOPIC
TOPIC("overview$en-us")
#include "overview$en-us.tppi"
END_TOPIC
TOPIC("idess$en-us")
#include "idess$en-us.tppi"
END_TOPIC
TOPIC("FAQ$en-us")
#include "FAQ$en-us.tppi"
END_TOPIC
TOPIC("vswx$en-us")
#include "vswx$en-us.tppi"
END_TOPIC
TOPIC("documentation$en-us")
#include "documentation$en-us.tppi"
END_TOPIC
TOPIC("ss$en-us")
#include "ss$en-us.tppi"
END_TOPIC
TOPIC("vsstd2$en-us")
#include "vsstd2$en-us.tppi"
END_TOPIC
TOPIC("vsd$en-us")
#include "vsd$en-us.tppi"
END_TOPIC
TOPIC("reference$en-us")
#include "reference$en-us.tppi"
END_TOPIC
TOPIC("apps$en-us")
#include "apps$en-us.tppi"
END_TOPIC
TOPIC("vsstd$en-us")
#include "vsstd$en-us.tppi"
END_TOPIC
TOPIC("examples$en-us")
#include "examples$en-us.tppi"
END_TOPIC
TOPIC("download$en-us")
#include "download$en-us.tppi"
END_TOPIC
TOPIC("20081chlog$en-us")
#include "20081chlog$en-us.tppi"
END_TOPIC
TOPIC("IDEoverview$en-us")
#include "IDEoverview$en-us.tppi"
END_TOPIC
TOPIC("helpus$en-us")
#include "helpus$en-us.tppi"
END_TOPIC
TOPIC("chss$en-us")
#include "chss$en-us.tppi"
END_TOPIC
TOPIC("baz_sys_reference$en-us")
#include "baz_sys_reference$en-us.tppi"
END_TOPIC
TOPIC("bazaar$en-us")
#include "bazaar$en-us.tppi"
END_TOPIC
TOPIC("index$en-us")
#include "index$en-us.tppi"
END_TOPIC

View file

@ -1,550 +0,0 @@
topic "SysInfo";
[ $$0,0#00000000000000000000000000000000:Default]
[a83;*R6 $$1,2#31310162474203024125188417583966:caption]
[b42;a42;2 $$2,2#45413000475342174754091244180557:text]
[{_}%EN-US
[s1; SysInfo&]
[s0; &]
[s0; [*+92 1. Introduction]&]
[s0; &]
[s0; [2 A goal in the design of these functions has been to avoid accessing
external software not included internally in the OS by default.]&]
[s2;i150;O0; Windows implementation use internal DLL and wmi.&]
[s0;i150;O0; [2 Posix implementation uses X11 libraries and OS related
utilities like mount and xdg.]&]
[s0;2 &]
[s0; [2 Another goal is to provide the running program information
about the environment including hardware and software to adapt
itself after program compiling. This way for example a program
compiled in Ubuntu can run properly in Fedora without recompiling.]&]
[s0;2 &]
[s0; &]
[s0; [*+92 2. Compiler support]&]
[s0; &]
[s0; [2 SysInfo has been tested in Linux using Gcc and in Windows using
MinGW and MSC 9.]&]
[s0;2 &]
[s0;~~~2048; [*@6;2 IMPORTANT][*2 :][2 To compile using MinGW it is required
to copy the next files from the MSC install or from other sources:]&]
[s0;i150;O0; [2 To Upp`\MinGW`\include: ]&]
[s0; [2 -|`- Files Rpcsal.h, DispEx.h, WbemCli.h, WbemDisp.h, Wbemidl.h,
WbemProv.h and WbemTran.h]&]
[s0; [2 -|`- They can be taken from: `\Microsoft SDKs`\Windows`\v6.1`\Include]&]
[s0;2 &]
[s0;i150;O0;%- [2 To `\Upp`\MinGW`\lib: ]&]
[s0; [2 -|`- File wbemuuid.lib]&]
[s0; [2 -|`- It can be taken from `\Microsoft SDKs`\Windows`\v6.1`\Lib]&]
[s0;2 &]
[s0; &]
[s0; [*+92 3. OS and Desktop implementation]&]
[s0; &]
[s0; [2 OS and Desktop implementation is a work in process as in some
implementations it requires a level of hacking so all feedback
will be acknowledged.]&]
[s0;2 &]
[s0; [2 Here are enclosed the testing results divided in two tables:]&]
[s0;2 &]
[ {{10000@(128) [s0; [*2 Testing results]]}}&]
[s0;2 &]
[ {{833:833:833:833:833:833:833:833:833:833:833:837h1;@1 [s0; [2 Distro]]
:: [s0; [2 Version]]
:: [s0; [2 Architecture]]
:: [s0; [2 Desktop]]
:: [s0; [2 Version]]
:: [s0; [2 Comments]]
:: [s0; [2 Special folders]]
:: [s0; [2 System Info]]
:: [s0; [2 Memory Info]]
:: [s0; [2 OS Info]]
:: [s0; [2 Distro Info]]
:: [s0; [2 Default Exes]]
::@2 [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.3]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Kubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.1.2]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.24]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
::@9 [s0; [2 No virtual memory]]
::@2 [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Opengeu]]
:: [s0; [2 8.04]]
:: [s0; [2 32]]
:: [s0; [2 Enlightenment]]
:: [s0; [2 0.16]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0;2 ]
::@9 [s0; [2 Some not detected]]
::@2 [s0; [2 Ok]]
::@9 [s0; [2 No virtual memory]]
::@2 [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.4]]
:: [s0;2 ]
::@9 [s0; [2 Some not detected]]
::@2 [s0; [2 Ok]]
::@9 [s0; [2 No virtual memory]]
::@2 [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Slax]]
:: [s0;2 ]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 3.5.9]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ubuntu]]
:: [s0; [2 8.04]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ubuntu]]
:: [s0; [2 8.04]]
:: [s0; [2 64]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Xubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Xfce]]
:: [s0;2 ]
::@9 [s0; [2 Partial test. Expected better results]]
:: [s0; [2 Some not detected]]
::@2 [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
::@9 [s0; [2 No version]]
::@2 [s0; [2 Ok]]
:: [s0; [2 Vista]]
:: [s0; [2 Home Premium Edition]]
:: [s0; [2 32]]
:: [s0; [2 Vista]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 XP]]
:: [s0; [2 5.1 SP3]]
:: [s0; [2 32]]
:: [s0; [2 XP]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]}}&]
[s0;2 &]
[s0;2%- &]
[ {{998:998:998:998:998:998:998:998:998:1018h1;@1 [s0; [2 Distro]]
:: [s0; [2 Version]]
:: [s0; [2 Architecture]]
:: [s0; [2 Desktop]]
:: [s0; [2 Version]]
:: [s0; [2 Drives Info]]
:: [s0; [2 Launch File]]
:: [s0; [2 Find and Kill Window]]
:: [s0; [2 Windows List]]
:: [s0; [2 Process List]]
::@2 [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.3]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Kubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.1.2]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.24]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Opengeu]]
:: [s0; [2 8.04]]
:: [s0; [2 32]]
:: [s0; [2 Enlightenment]]
:: [s0; [2 0.16]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.4]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Slax]]
:: [s0;2 ]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 3.5.9]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ubuntu]]
:: [s0; [2 8.04]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ubuntu]]
:: [s0; [2 8.04]]
:: [s0; [2 64]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Xubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Xfce]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Vista]]
:: [s0; [2 Home Premium Edition]]
:: [s0; [2 32]]
:: [s0; [2 Vista]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 XP]]
:: [s0; [2 5.1 SP3]]
:: [s0; [2 32]]
:: [s0; [2 XP]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]}}&]
[s0;2 &]
[s0; [2 It seems OS CPU speed report is not reliable in Linux as it
varies between program runs.]&]
[s0; [2 The same error has been found in system reporting programs
and desktop cpu speed icons.]&]
[s0;2%- &]
[ {{1250:1250:1250:1250:1250:1250:1250:1250h1;@1 [s0; [2 Distro]]
:: [s0; [2 Version]]
:: [s0; [2 Architecture]]
:: [s0; [2 Desktop]]
:: [s0; [2 Version]]
:: [s0; [2 Screen Snap]]
:: [s0; [2 Screen Record]]
:: [s0; [2 Installed software list]]
::@2 [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Fedora]]
:: [s0; [2 9]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.3]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Kubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.1.2]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0;2 ]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Mandriva]]
:: [s0; [2 2009]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.24]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Opengeu]]
:: [s0; [2 8.04]]
:: [s0; [2 32]]
:: [s0; [2 Enlightenment]]
:: [s0; [2 0.16]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 OpenSuse]]
:: [s0; [2 11]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 4.0.4]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Slax]]
:: [s0;2 ]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0; [2 3.5.9]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Ubuntu]]
:: [s0; [2 8.04`-9.04]]
:: [s0; [2 32]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22`-]]
:: [s0; [2 Ok]]
::@9 [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Ubuntu]]
:: [s0; [2 8.04`-9.04]]
:: [s0; [2 64]]
:: [s0; [2 Gnome]]
:: [s0; [2 2.22`-]]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Xubuntu]]
:: [s0; [2 8.10]]
:: [s0; [2 32]]
:: [s0; [2 Xfce]]
:: [s0;2 ]
::@9 [s0; [2 Not tested]]
:: [s0;%- [2 Not implement.]]
:: [s0;%- [2 Not implement.]]
::@2 [s0; [2 Vista]]
:: [s0; [2 Home Premium Edition]]
:: [s0; [2 32]]
:: [s0; [2 Vista]]
:: [s0;2 ]
::@9 [s0; [2 Not tested]]
:: [s0; [2 Not tested]]
:: [s0; [2 Not tested]]
::@2 [s0; [2 XP]]
:: [s0; [2 5.1 SP2`-3 Professional]]
:: [s0; [2 32]]
:: [s0; [2 XP]]
:: [s0;2 ]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]
:: [s0; [2 Ok]]}}&]
[s0;2 &]
[s0;2 &]
[s0; [2 Next table includes the list of OS and Distros unsuccesfully
tried and the reason:]&]
[s0;2 &]
[ {{10000@(128) [s0; [*2 OS and Distros not tested]]}}&]
[s0;2%- &]
[ {{1665:1665:1665:1665:1665:1675h1;@1 [s0; [2 Distro]]
:: [s0; [2 Version]]
:: [s0; [2 Architecture]]
:: [s0; [2 Desktop]]
:: [s0; [2 Version]]
:: [s0; [2 Comments]]
::@2 [s0; [2 Freesbie]]
:: [s0; [2 2.0]]
:: [s0; [2 32]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [$2;2 Not possible to run without password]]
:: [s0; [2 Fluxbox]]
:: [s0; [2 7.10]]
:: [s0; [2 32]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [$2;2 Live version not found]]
:: [s0; [2 Gentoo]]
:: [s0;2 ]
:: [s0; [2 32]]
:: [s0; [2 Xfce]]
:: [s0;2 ]
:: [s0; [$2;2 Not possible to mount internal or usb HD]]
:: [s0; [2 Knoppix]]
:: [s0; [2 5.11]]
:: [s0; [2 32]]
:: [s0; [2 Kde]]
:: [s0;2 ]
:: [s0; [$2;2 Old Glib version]]
:: [s0; [2 Slackware]]
:: [s0;2 ]
:: [s0; [2 32]]
:: [s0;2 ]
:: [s0;2 ]
:: [s0; [$2;2 Live version not found]]}}&]
[s0;2 ]

View file

@ -7,5 +7,5 @@ COMPRESSED
7,33,106,76,48,110,229,228,103,108,44,213,221,186,28,124,101,77,150,41,183,65,158,173,134,228,120,202,108,167,135,254,162,40,139,195,185,218,173,220,83,205,207,61,126,16,224,106,57,137,239,248,203,42,62,201,97,188,233,85,244,248,88,216,159,162,60,232,192,113,157,218,147,163,254,148,218,5,49,39,107,58,158,251,56,228,158,243,244,246,62,131,184,164,248,109,222,226,190,235,238,108,244,37,208,23,13,121,163,123,7,143,49,247,97,107,33,248,44,9,240,47,147,194,140,31,219,89,92,152,123,143,211,46,97,226,154,21,125,199,13,30,210,230,88,196,252,122,100,152,101,128,185,18,215,241,26,79,238,68,168,66,23,168,114,78,232,121,127,55,220,172,88,188,139,235,32,38,8,17,195,224,205,162,141,22,175,114,136,30,169,223,166,184,20,188,80,245,186,49,157,222,227,51,91,180,170,57,117,167,245,228,238,118,177,41,216,62,60,97,94,200,234,182,11,242,70,240,18,145,127,255,141,21,238,251,48,44,172,19,43,30,220,161,202,32,101,66,126,233,0,129,73,172,223,3,
79,53,152,158,46,56,226,170,155,238,52,73,30,21,196,151,252,238,254,118,254,2,238,149,95,107,62,34,144,142,130,156,41,29,147,227,136,155,34,71,44,216,33,223,194,211,47,152,223,59,185,199,186,227,145,110,167,246,224,200,117,158,26,110,46,23,192,111,200,3,179,172,160,213,106,182,183,125,60,215,107,62,79,58,112,4,76,4,210,176,53,102,126,74,83,17,142,108,134,154,147,191,135,84,211,230,130,159,48,43,203,18,207,92,133,249,134,197,41,40,144,43,232,204,18,195,121,65,117,92,191,228,225,45,151,210,151,12,174,124,230,94,50,192,18,9,250,75,64,182,133,135,151,29,89,170,227,214,21,32,45,151,66,63,63,192,135,57,112,201,248,202,34,177,37,195,42,159,171,62,3,192,199,81,210,178,217,75,41,204,179,10,100,213,49,195,178,77,88,14,1,44,3,85,145,231,161,252,196,16,205,216,88,227,214,231,187,206,5,209,9,131,76,64,49,60,3,194,205,113,228,252,138,197,28,183,154,151,71,61,212,110,132,223,102,135,114,144,54,76,240,60,104,126,88,165,
82,161,157,149,211,128,243,17,35,154,194,224,48,165,164,90,158,31,13,101,154,157,19,233,108,151,54,235,116,229,0,46,59,239,139,102,27,247,97,146,206,208,241,80,46,123,88,146,85,207,175,187,237,237,255,158,135,171,118,67,133,58,119,5,77,54,201,191,178,80,170,40,87,114,146,29,81,177,149,227,196,184,74,250,153,75,207,204,236,116,111,81,51,59,26,194,130,197,137,136,179,181,240,111,224,188,151,136,86,11,179,84,74,90,45,212,114,200,233,11,196,120,63,77,173,22,108,53,132,181,122,204,165,81,215,23,7,245,94,18,91,45,210,18,232,108,181,0,239,225,141,253,189,214,111,209,219,254,222,6,230,48,211,224,233,160,238,68,116,51,168,213,90,183,244,237,214,10,48,86,66,127,31,134,188,179,120,213,148,155,200,47,12,98,13,119,212,134,120,27,77,10,26,87,68,134,215,182,53,87,104,239,103,188,23,100,102,164,214,94,137,209,246,198,5,50,44,188,207,49,191,52,98,217,161,38,192,104,83,188,61,55,76,241,82,156,1,218,155,109,36,218,91,99,140,106,
41,118,186,133,81,104,85,172,152,109,1,118,73,103,27,141,122,123,243,191,253,250,243,223,191,88,229,118,64,97,245,128,23,103,235,189,19,102,243,182,246,43,188,85,137,158,148,72,240,11,28,25,35,237,13,183,249,117,182,132,106,61,41,178,228,247,113,58,29,200,105,78,182,255,192,100,125,160,239,83,126,203,230,199,18,118,108,108,130,146,15,74,160,189,148,247,120,228,174,121,240,70,69,179,187,139,139,235,146,144,39,165,122,64,62,30,229,151,27,33,147,132,79,139,115,106,231,53,116,13,197,151,56,34,31,98,62,88,61,141,89,93,6,195,27,204,59,182,235,251,27,86,93,206,206,222,255,1,25,191,176,172,
41,118,186,133,81,104,85,172,152,109,1,118,73,103,27,141,122,123,243,191,253,250,243,223,191,88,229,118,64,97,245,128,23,103,235,189,19,102,243,182,246,43,188,85,137,158,148,72,240,11,28,25,35,237,13,183,249,117,182,132,106,61,41,178,228,247,113,58,29,200,105,78,182,255,192,100,125,160,239,83,126,203,230,199,18,118,108,108,130,146,15,74,160,189,148,247,120,228,174,121,240,70,69,179,187,139,139,235,146,144,39,165,122,64,62,30,229,151,27,33,147,132,79,139,115,106,231,53,116,13,197,151,56,34,31,98,62,88,61,141,89,93,6,195,27,204,59,182,235,251,27,86,157,59,60,233,253,31,105,29,176,122,

View file

@ -1,651 +0,0 @@
topic "SysInfo";
[ $$0,0#00000000000000000000000000000000:Default]
[0 $$1,0#96390100711032703541132217272105:end]
[i448;a25;kKO9;2 $$2,0#37138531426314131252341829483370:item]
[l288;2 $$3,0#27521748481378242620020725143825:desc]
[H6;0 $$4,0#05600065144404261032431302351956:begin]
[{_}%EN-US
[s0;%- [*R6 SysInfo]&]
[s0; &]
[s0; &]
[ {{10000@1 [s0; [* Running files and commands]]}}&]
[s1; &]
[s2;:GetExtExecutable`(const String`):%- [_^String^ String]_[* GetExtExecutable]([@(0.0.255) c
onst]_[_^String^ String]_[*@3 ext])&]
[s3; Gets the program that will open by default the files with extension
[%-*@3 ext].&]
[s0;2 &]
[s0; [2 -|][/2 Example:]&]
[s0; [/2 -|GetExtExecutable(`"html`") `-> `"Firefox.exe`"]&]
[s1; &]
[s4;%- &]
[s2;:LaunchFile`(const String`):%- [@(0.0.255) bool]_[* LaunchFile]([@(0.0.255) const]_[_^String^ S
tring]_[*@3 file])&]
[s3; Opens the file [%-*@3 file ]with the adecuated program defined
in the OS by default.&]
[s0;2 &]
[s0; [/2 -|Example:]&]
[s0; [/2 -|LaunchFile(`"c:`\`\My spreadsheet.txt`"). It will open default
program (probably Notepad) with document `"My spreadsheet.txt`".]&]
[s1; &]
[s0; &]
[ {{10000@1 [s0; [* Obtaining special folders]]}}&]
[s0;%- &]
[s2;:GetDesktopFolder`(`):%- [_^String^ String]_[* GetDesktopFolder]()&]
[s3; Gets the default Desktop folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetProgramsFolder`(`):%- [_^String^ String]_[* GetProgramsFolder]()&]
[s3; Gets the default programs folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetAppDataFolder`(`):%- [_^String^ String]_[* GetAppDataFolder]()&]
[s3; Gets the default application data folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetMusicFolder`(`):%- [_^String^ String]_[* GetMusicFolder]()&]
[s3; Gets the default music files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetPicturesFolder`(`):%- [_^String^ String]_[* GetPicturesFolder]()&]
[s3; Gets the default picture files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetVideoFolder`(`):%- [_^String^ String]_[* GetVideoFolder]()&]
[s3; Gets the default video files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetPersonalFolder`(`):%- [_^String^ String]_[* GetPersonalFolder]()&]
[s3; Gets the default personal files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetTemplatesFolder`(`):%- [_^String^ String]_[* GetTemplatesFolder]()&]
[s3; Gets the default templates files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetDownloadFolder`(`):%- [_^String^ String]_[* GetDownloadFolder]()&]
[s3; Gets the default file download folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetRootFolder`(`):%- [_^String^ String]_[* GetRootFolder]()&]
[s3; Gets the default root folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetTempFolder`(`):%- [_^String^ String]_[* GetTempFolder]()&]
[s3; Gets the default temp files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetOsFolder`(`):%- [_^String^ String]_[* GetOsFolder]()&]
[s3; Gets the default operating system files folder path.&]
[s1;%- &]
[s4;%- &]
[s2;:GetSystemFolder`(`):%- [_^String^ String]_[* GetSystemFolder]()&]
[s3; Gets the default system files folder path.&]
[s1;%- &]
[s0; &]
[ {{10000@1 [s0; [* Hardware, BIOS, OS and Distro info]]}}&]
[s0;%- &]
[s2;:GetSystemInfo`(String`&`,String`&`,String`&`,int`&`):%- [@(0.0.255) void]_[* GetSyst
emInfo]([_^String^ String]_`&[*@3 manufacturer], [_^String^ String]_`&[*@3 productName],
[_^String^ String]_`&[*@3 version], [@(0.0.255) int]_`&[*@3 numberOfProcessors])&]
[s3; Returns hardware information including computer [%-*@3 manufacturer,
] [%-*@3 productName, ] [%-*@3 version ]and [%-*@3 numberOfProcessors].&]
[s1; &]
[s4;%- &]
[s2;:GetBiosInfo`(String`&`,Date`&`):%- [@(0.0.255) void]_[* GetBiosInfo]([_^String^ String
]_`&[*@3 biosVersion], [_^Date^ Date]_`&[*@3 biosReleaseDate])&]
[s3; Returns bios information including [%-*@3 biosVersion] and [%-*@3 biosReleaseDate].&]
[s1; &]
[s4;%- &]
[s2;:GetProcessorInfo`(int`,String`&`,String`&`,String`&`,int`&`):%- [@(0.0.255) bool]_
[* GetProcessorInfo]([@(0.0.255) int]_[*@3 number], [_^String^ String]_`&[*@3 vendor],
[_^String^ String]_`&[*@3 identifier], [_^String^ String]_`&[*@3 architecture],
[@(0.0.255) int]_`&[*@3 speed])&]
[s3; Returns information about the different cpu cores.&]
[s3; [%-*@3 number] is the core number to get the information&]
[s3; [%-*@3 vendor] is the core vendor&]
[s3; [%-*@3 identifier] is the core identifier&]
[s3; [%-*@3 architecture] is the core architecture (32, 64)&]
[s3; [%-*@3 speed].is the core speed in MHz.&]
[s0; &]
[s4;%- &]
[s2;:GetCpuSpeed`(`):%- [@(0.0.255) int]_[* GetCpuSpeed]()&]
[s3; Gets the real time main CPU speed in MHz.&]
[s0; [2 -|This data is directly calculated by the function.]&]
[s1; &]
[s4;%- &]
[s2;:GetVideoInfo`(Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`):%- [@(0.0.255) b
ool]_[* GetVideoInfo]([_^Array^ Array]_<[_^Value^ Value]>_`&[*@3 name],
Array_<Value>_`&[*@3 description], Array_<Value>_`&[*@3 videoProcessor],
Array_<Value>_`&[*@3 ram], Array_<Value>_`&[*@3 videoMode])&]
[s3; If true gets information about video systems installed:&]
[s3; [%-*@3 name] is the video system name&]
[s3; [%-*@3 description] is the video description&]
[s3; [%-*@3 videoProcessor] is the processor used&]
[s3; [%-*@3 ram ]is the available memory in the video hardware in Mb&]
[s3; [%-*@3 videoMode] is the video mode actually selected including
screen resolution and number of colors&]
[s1; &]
[s4;%- &]
[s2;:GetPackagesInfo`(Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`,Array`<Value`>`&`):%- [@(0.0.255) b
ool]_[* GetPackagesInfo]([_^Array^ Array]_<[_^Value^ Value]>_`&[*@3 name],
Array_<Value>_`&[*@3 version], Array_<Value>_`&[*@3 vendor], Array_<Value>_`&[*@3 insta
llDate], Array_<Value>_`&[*@3 caption], Array_<Value>_`&[*@3 description],
Array_<Value>_`&[*@3 state])&]
[s3; If true gets information about installed software:&]
[s3;%- [*@3 name]&]
[s3;%- [*@3 version]&]
[s3;%- [*@3 vendor]&]
[s3;%- [*@3 installDate]&]
[s3; [%-*@3 caption] is a summary of the software description&]
[s3;%- [*@3 description]&]
[s3; [%-*@3 state] is the status of the software. Values are:&]
[s0; [2 -|-|`- `"Bad Configuration`"]&]
[s0; [2 -|-|`- `"Invalid Argument`"]&]
[s0; [2 -|-|`- `"Unknown Package`"]&]
[s0; [2 -|-|`- `"Advertised`"]&]
[s0; [2 -|-|`- `"Absent`"]&]
[s0; [2 -|-|`- `"Ok`"]&]
[s1; &]
[s4;%- &]
[s2;:GetMemoryInfo`(int`&`,uint64`&`,uint64`&`,uint64`&`,uint64`&`,uint64`&`,uint64`&`):%- [@(0.0.255) b
ool]_[* GetMemoryInfo]([@(0.0.255) int]_`&[*@3 memoryLoad], [_^uint64^ uint64]_`&[*@3 total
Phys], [_^uint64^ uint64]_`&[*@3 freePhys], [_^uint64^ uint64]_`&[*@3 totalPageFile],
[_^uint64^ uint64]_`&[*@3 freePageFile], [_^uint64^ uint64]_`&[*@3 totalVirtual],
[_^uint64^ uint64]_`&[*@3 freeVirtual])&]
[s3; Gets information about the system memory:&]
[s3; [%-*@3 memoryLoad ]is the percent of memory in use&]
[s3; [%-*@3 totalPhys ]is the total physical memory&]
[s3; [%-*@3 freePhys] is the free physical memory&]
[s3; [%-*@3 totalPageFile ]is the total paging file&]
[s3; [%-*@3 freePageFile ]is the free paging file&]
[s3; [%-*@3 totalVirtual ]is the total virtual memory&]
[s3; [%-*@3 freeVirtual ]is the free virtual memory.&]
[s1; &]
[s4;%- &]
[s2;:GetOsInfo`(String`&`,String`&`,String`&`,String`&`,String`&`,String`&`,String`&`):%- [@(0.0.255) b
ool]_[* GetOsInfo]([_^String^ String]_`&[*@3 kernel], [_^String^ String]_`&[*@3 kerVersion],
[_^String^ String]_`&[*@3 kerArchitecture], [_^String^ String]_`&[*@3 distro],
[_^String^ String]_`&[*@3 distVersion], [_^String^ String]_`&[*@3 desktop],
[_^String^ String]_`&[*@3 deskVersion])&]
[s3; Gets many information to identify the operating system and Desktop
where the application is being run. &]
[s3; [%-*@3 kernel]: Kernel name&]
[s3; [%-*@3 kerVersion]: Kernel version&]
[s3; [%-*@3 kerArchitecture]: Kernel architecture&]
[s3; [%-*@3 distro]: Distro name&]
[s3; [%-*@3 distVersion]: Distro version&]
[s3; [%-*@3 desktop]: Desktop manager name&]
[s3; [%-*@3 deskVersion].: Desktop manager version&]
[s1; &]
[s4;%- &]
[s2;:GetDesktopManagerNew`(`):%- [_^String^ String]_[* GetDesktopManagerNew]()&]
[s3; A more complete version of GetDesktopManager() based on GetOsInfo().&]
[s0; &]
[s4;%- &]
[s2;:GetDriveList`(`):%- [_^Array^ Array]<[_^String^ String]>_[* GetDriveList]()&]
[s3; Returns an array with the paths to all drives, internal or external,
identified in the system.&]
[s1;%- &]
[s4;%- &]
[s2;:GetDriveSpace`(String`,uint64`&`,uint64`&`,uint64`&`):%- [@(0.0.255) bool]_[* GetDri
veSpace]([_^String^ String]_[*@3 drive], [_^uint64^ uint64]_`&[*@3 freeBytesUser],
[_^uint64^ uint64]_`&[*@3 totalBytesUser], [_^uint64^ uint64]_`&[*@3 totalFreeBytes])&]
[s3; Gets [%-*@3 drive] space.&]
[s3; [%-*@3 freeBytesUser]: Amount of free bytes available to the user&]
[s3; [%-*@3 totalBytesUser]: Size of drive visible for the user&]
[s3; [%-*@3 totalFreeBytes]: Amount of free bytes.&]
[s0; [2 -|Returns false if drive is not mounted or it is not accessible]&]
[s1; &]
[s4;%- &]
[s2;:GetDriveInformation`(String`,String`&`,String`&`,int`&`,String`&`):%- [@(0.0.255) b
ool]_[* GetDriveInformation]([_^String^ String]_[*@3 drive], [_^String^ String]_`&[*@3 type
], [_^String^ String]_`&[*@3 volume], [@(0.0.255) int]_`&[*@3 maxName],
[_^String^ String]_`&[*@3 fileSystem])&]
[s3; Gets [%-*@3 drive] information&]
[s3;%- [*@3 type]: Gets the type of the drive.&]
[s3;%- Available types are `"Hard`", `"Network`", `"Optical`", `"RAM`",
`"Removable`".&]
[s3;%- [*@3 volume]: Gets the name of the drive&]
[s3;%- [*@3 maxName]: Gets the maximum length permitted for a file name&]
[s3;%- [*@3 fileSystem]: Gets the drive formatting system.&]
[s0; [2 -|Returns false if drive is not mounted or it is not accessible]&]
[s1; &]
[s4;%- &]
[s2;:GetCompilerInfo`(String`&`,int`&`,String`&`):%- [@(0.0.255) void]_[* GetCompilerInfo
]([_^String^ String]_`&[*@3 name], [@(0.0.255) int]_`&[*@3 version],
[_^String^ String]_`&[*@3 date])&]
[s3; Returns compiling information, like compiler [%-*@3 name, ]compiler
[%-*@3 version] and program compilation [%-*@3 date].&]
[s1; &]
[s4;%- &]
[s2;:GetBatteryStatus`(bool`&`,int`&`,int`&`):%- [@(0.0.255) bool]_[* GetBatteryStatus]([@(0.0.255) b
ool]_`&[*@3 discharging], [@(0.0.255) int]_`&[*@3 percentage], [@(0.0.255) int]_`&[*@3 rema
iningMin])&]
[s3; Gets battery information like if it is [%-*@3 discharging] or
connected to the grid, [%-*@3 percentage] of charging where 100%
means full charge, and number of expected computer running minutes
in [%-*@3 remainingMin].&]
[s0; [2 -|Returns true if the values got are valid.]&]
[s1; &]
[s4;%- &]
[s2;:GetBatteryInfo`(bool`&`):%- [@(0.0.255) bool]_[* GetBatteryInfo]([@(0.0.255) bool]_`&[*@3 p
resent]_)&]
[s3; Gets if battery is [%-*@3 present ]or not.&]
[s0; [2 -|Returns true if the values got are valid.]&]
[s1; &]
[s4;%- &]
[s2;:OpenCDTray`(`):%- [@(0.0.255) void]_[* OpenCDTray]()&]
[s3; Ejects CD/DVD tray.&]
[s1; &]
[s4;%- &]
[s2;:CloseCDTray`(`):%- [@(0.0.255) void]_[* CloseCDTray]()&]
[s3; Closes CD/DVD tray if possible&]
[s1;@(0.0.255)%- &]
[ {{10000@1 [s0; [* Process handling]]}}&]
[s1;%- &]
[s2;:GetWindowsList`(Array`<long`>`&`,Array`<long`>`&`,Array`<String`>`&`,Array`<String`>`&`,Array`<String`>`&`):%- [@(0.0.255) v
oid]_[* GetWindowsList]([_^Array^ Array]<[@(0.0.255) long]>_`&[*@3 wid],
[_^Array^ Array]<[@(0.0.255) long]>_`&[*@3 pid], [_^Array^ Array]<[_^String^ String]>_`&[*@3 n
ame], [_^Array^ Array]<[_^String^ String]>_`&[*@3 fileName], [_^Array^ Array]<[_^String^ St
ring]>_`&[*@3 title])&]
[s3; Gets arrays with handles to all the opened windows with additional
info as:&]
[s3; [%-*@3 wid]: Handle to the the window&]
[s3; [%-*@3 pid]: Handle to the process that manages the window&]
[s3; [%-*@3 name]: Window name&]
[s3; [%-*@3 fileName]: Window process program file name&]
[s3; [%-*@3 title]: Window title (caption)&]
[s1; &]
[s4;%- &]
[s2;:GetWindowsList`(`):%- [_^Array^ Array]<[@(0.0.255) long]>_[* GetWindowsList]()&]
[s3; Gets an array with handles to all the opened windows.&]
[s1;%- &]
[s4;%- &]
[s2;:GetProcessList`(Array`<long`>`&`,Array`<String`>`&`):%- [@(0.0.255) bool]_[* GetProc
essList]([_^Array^ Array]<[@(0.0.255) long]>_`&[*@3 pid], [_^Array^ Array]<[_^String^ Strin
g]>_`&[*@3 pNames])&]
[s3; Gets arrays with handles to all the opened processes [%-*@3 pid
]and process names [%-*@3 pNames].&]
[s1; &]
[s4;%- &]
[s2;:GetProcessList`(`):%- [_^Array^ Array]<[@(0.0.255) long]>_[* GetProcessList]()&]
[s3; Gets an array with handles to all the opened processes&]
[s1;%- &]
[s4;%- &]
[s2;:GetProcessName`(long`):%- [_^String^ String]_[* GetProcessName]([@(0.0.255) long]_[*@3 p
id])&]
[s3; Returns the process name for a process with handle [%-*@3 pid].&]
[s1; &]
[s4;%- &]
[s2;:GetProcessFileName`(long`):%- [_^String^ String]_[* GetProcessFileName]([@(0.0.255) lo
ng]_[*@3 processID])&]
[s3; Gets the program file name of a process with handle [%-*@3 processID].&]
[s1; &]
[s4;%- &]
[s2;:GetProcessIdFromWindowCaption`(String`,bool`):%- [@(0.0.255) long]_[* GetProcessIdFr
omWindowCaption]([_^String^ String]_[*@3 windowCaption], [@(0.0.255) bool]_[*@3 exactMatc
h]_`=_[@(0.0.255) false])&]
[s3;%- [%% Gets the process handle of a program with a window with
title ][*@3 windowCaption.]&]
[s3;%- [%% If ][*@3 exactMatch][%% .is true it only returns the process
handle of a process with a window title that is equal to ][*@3 windowCaption.
][%% If it is false then the handle is returned if only part of
the window title matches with ][*@3 windowCaption.]&]
[s1; &]
[s4;%- &]
[s2;:GetWindowIdFromCaption`(String`,bool`):%- [@(0.0.255) long]_[* GetWindowIdFromCaptio
n]([_^String^ String]_[*@3 windowCaption], [@(0.0.255) bool]_[*@3 exactMatch]_`=_[@(0.0.255) f
alse])&]
[s3;%- [%% Gets the window handle of a program with a window with title
][*@3 windowCaption.]&]
[s3;%- [%% If ][*@3 exactMatch][%% .is true it only returns the process
handle of a process with a window title that is equal to ][*@3 windowCaption.
][%% If it is false then the handle is returned if only part of
the window title matches with ][*@3 windowCaption.]&]
[s1; &]
[s4;%- &]
[s2;:GetProcessIdFromWindowId`(long`):%- [@(0.0.255) long]_[* GetProcessIdFromWindowId]([@(0.0.255) l
ong]_[*@3 wid])&]
[s3;%- [%% Returns the process handle of a program with window handle
][*@3 wid.]&]
[s1; &]
[s4;%- &]
[s2;:GetWindowIdFromProcessId`(long`):%- [@(0.0.255) long]_[* GetWindowIdFromProcessId]([@(0.0.255) l
ong]_[*@3 pid])&]
[s3;%- [%% Returns the window handle of a program with process handle
][*@3 pid.]&]
[s1; &]
[s4;%- &]
[s2;:ProcessTerminate`(long`,int`):%- [@(0.0.255) bool]_[* ProcessTerminate]([@(0.0.255) lo
ng]_[*@3 pid], [@(0.0.255) int]_[*@3 timeout]_`=_[@3 500])&]
[s3;%- [%% Ends the program with handle ][*@3 pid.]&]
[s3; If after asking the process to end [%-*@3 timeout ]is over, it
will kill the process by different means in order of increasing
`"aggressivity`".&]
[s0; [2 -|For example in Posix it will send the process first a SIGTERM,
if the process does not stop it will send a SIGKILL, and if the
process remains running it will simply call WindowKill() to do
the dirty job.]&]
[s1; &]
[s4;%- &]
[s2;:GetProcessPriority`(long`):%- [@(0.0.255) int]_[* GetProcessPriority]([@(0.0.255) long
]_[*@3 pid])&]
[s3; Gets the process priority of the process with handle [%-*@3 pid]
as a number from 0 (minimum) to 10 (maximum), if possible.&]
[s1; &]
[s4;%- &]
[s2;:SetProcessPriority`(long`,int`):%- [@(0.0.255) bool]_[* SetProcessPriority]([@(0.0.255) l
ong]_[*@3 pid], [@(0.0.255) int]_[*@3 priority])&]
[s3; Sets the process priority to [%-*@3 priority ]of the process with
handle [%-*@3 pid] as a number from 0 (minimum) to 10 (maximum),
if possible.&]
[s1; &]
[s4;%- &]
[s2;:ProcessExists`(long`):%- [@(0.0.255) bool]_[* ProcessExists]([@(0.0.255) long]_[*@3 pid])
&]
[s3; Returns true if a process with handle [%-*@3 pid ]exists.&]
[s4;%- &]
[s2;:GetProcessId`(`):%- [@(0.0.255) long]_[* GetProcessId]()&]
[s3; Gets actual running process handle.&]
[s1;%- &]
[s4;%- &]
[s2;:Shutdown`(String`):%- [@(0.0.255) bool]_[* Shutdown]([_^String^ String]_[*@3 action])&]
[s3; Tries to logoff, reboot or shutdown the actual running session.&]
[s0; [2 -|Actual valid ][%-*@3;2 action ][2 values are `"logoff`", `"reboot`"
and `"shutdown`".]&]
[s1; &]
[s0; &]
[ {{10000@1 [s0; [* Windows handling]]}}&]
[s0; &]
[s2;:Window`_GetRect`(long`,long`&`,long`&`,long`&`,long`&`):%- [@(0.0.255) bool]_[* Wind
ow`_GetRect]([@(0.0.255) long]_[*@3 windowId], [@(0.0.255) long]_`&[*@3 left],
[@(0.0.255) long]_`&[*@3 top], [@(0.0.255) long]_`&[*@3 right], [@(0.0.255) long]_`&[*@3 bott
om])&]
[s3; Giving this function the [%-*@3 windowId], it returns the window
location in the screen in [%-*@3 left], [%-*@3 top], [%-*@3 right]
and [%-*@3 bottom].&]
[s0; [2 -|Returns true if the values got are valid.]&]
[s1; &]
[s4;%- &]
[s2;:Window`_SetRect`(long`,long`,long`,long`,long`):%- [@(0.0.255) void]_[* Window`_SetR
ect]([@(0.0.255) long]_[*@3 windowId], [@(0.0.255) long]_[*@3 left],
[@(0.0.255) long]_[*@3 top], [@(0.0.255) long]_[*@3 right], [@(0.0.255) long]_[*@3 bottom])&]
[s3; Giving this function the [%-*@3 windowId], it sets the window
location in the screen in [%-*@3 left], [%-*@3 top], [%-*@3 right]
and [%-*@3 bottom].&]
[s3; -|Returns true if the window is relocated correctly..&]
[s0; &]
[ {{10000@1 [s0; [* Mouse and keyboard handling]]}}&]
[s1; &]
[s2;:Mouse`_GetPos`(long`&`,long`&`):%- [@(0.0.255) bool]_[* Mouse`_GetPos]([@(0.0.255) lon
g]_`&[*@3 x], [@(0.0.255) long]_`&[*@3 y])&]
[s3; Gets the mouse position [%-*@3 x, y].in screen pixels where upper
left corner is (0, 0).&]
[s0; [2 -|Returns true if the operation has been done successfully].&]
[s1; &]
[s4;%- &]
[s2;:Mouse`_SetPos`(long`,long`,long`):%- [@(0.0.255) bool]_[* Mouse`_SetPos]([@(0.0.255) l
ong]_[*@3 x], [@(0.0.255) long]_[*@3 y], [@(0.0.255) long]_[*@3 windowId])&]
[s3; Sets the mouse position to [%-*@3 x] [%-*@3 y] referenced to the
upper left vertex of window with window handle [%-*@3 windowId].&]
[s0; [2 -|Returns true if the operation has been done successfully.]&]
[s1; &]
[s4;%- &]
[s2;:Mouse`_LeftClick`(`):%- [@(0.0.255) void]_[* Mouse`_LeftClick]()&]
[s3; Simulates by software a mouse click with the left button as
if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Mouse`_MiddleClick`(`):%- [@(0.0.255) void]_[* Mouse`_MiddleClick]()&]
[s3; Simulates by software a mouse click with the middle button as
if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Mouse`_RightClick`(`):%- [@(0.0.255) void]_[* Mouse`_RightClick]()&]
[s3; Simulates by software a mouse click with the right button as
if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Mouse`_LeftDblClick`(`):%- [@(0.0.255) void]_[* Mouse`_LeftDblClick]()&]
[s3; Simulates by software a mouse double click with the left button
as if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Mouse`_MiddleDblClick`(`):%- [@(0.0.255) void]_[* Mouse`_MiddleDblClick]()&]
[s3; Simulates by software a mouse double click with the middle button
as if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Mouse`_RightDblClick`(`):%- [@(0.0.255) void]_[* Mouse`_RightDblClick]()&]
[s3; Simulates by software a mouse double click with the right button
as if it would have been done with the mouse.&]
[s1;%- &]
[s4;%- &]
[s2;:Keyb`_SendKeys`(String`,long`,long`):%- [@(0.0.255) void]_[* Keyb`_SendKeys]([_^String^ S
tring]_[*@3 text], [@(0.0.255) long]_[*@3 finalDelay]_`=_[@3 100], [@(0.0.255) long]_[*@3 del
ayBetweenKeys]_`=_[@3 50])&]
[s3; Simulates by software a text entered using the keyboard as if
it would have been entered with the keyboard.&]
[s3; To really simulate manual key typing the function lets to enter
delays between keys and after entering the text.&]
[s3; [%-*@3 text]: Is the text to be entered&]
[s3; [%-*@3 finalDelay]: Is the delay in ms that is forced after entering
text&]
[s3; [%-*@3 delayBetweenKeys]: Is the delay in ms that is forced between
text keys.&]
[s1; &]
[s4;%- &]
[s2;:GetKeyLockStatus`(bool`&`,bool`&`,bool`&`):%- [@(0.0.255) void]_[* GetKeyLockStatus](
[@(0.0.255) bool]_`&[*@3 caps], [@(0.0.255) bool]_`&[*@3 num], [@(0.0.255) bool]_`&[*@3 scrol
l])&]
[s3; Gets the status of keys [%-*@3 caps ]lock, [%-*@3 num ]lock and
[%-*@3 scroll] [%-*@3 ]lock.&]
[s1; &]
[s4;%- &]
[s2;:SetKeyLockStatus`(bool`,bool`,bool`):%- [@(0.0.255) void]_[* SetKeyLockStatus]([@(0.0.255) b
ool]_[*@3 caps], [@(0.0.255) bool]_[*@3 num], [@(0.0.255) bool]_[*@3 scroll])&]
[s3; Sets the status of keys [%-*@3 caps ]lock, [%-*@3 num ]lock and
[%-*@3 scroll] [%-*@3 ]lock.&]
[s1; &]
[ {{10000@1 [s0; [* Screen recording]]}}&]
[s1; &]
[s2;:Snap`_Desktop`(String`):%- [@(0.0.255) bool]_[* Snap`_Desktop]([_^String^ String]_[*@3 f
ileName])&]
[s3; Saves the desktop in [%-*@3 fileName].as an image file.&]
[s0; [2 -|Allowed formats are:]&]
[s0; [2 -|-|`- Posix: .xwd]&]
[s0; [2 -|-|`- Windows: .bmp]&]
[s1; &]
[s4;%- &]
[s2;:Snap`_DesktopRectangle`(String`,int`,int`,int`,int`):%- [@(0.0.255) bool]_[* Snap`_D
esktopRectangle]([_^String^ String]_[*@3 fileName], [@(0.0.255) int]_[*@3 left],
[@(0.0.255) int]_[*@3 top], [@(0.0.255) int]_[*@3 width], [@(0.0.255) int]_[*@3 height])&]
[s3; Saves a rectangle of the desktop defined by [%-*@3 left], [%-*@3 top],
[%-*@3 width ]and [%-*@3 height].in [%-*@3 fileName] as an image file.&]
[s0; [2 -|Allowed formats are:]&]
[s0; [2 -|-|`- Posix: .xwd]&]
[s0; [2 -|-|`- Windows: .bmp]&]
[s1; &]
[s4;%- &]
[s2;:Snap`_Window`(String`,long`):%- [@(0.0.255) bool]_[* Snap`_Window]([_^String^ String]_
[*@3 fileName], [@(0.0.255) long]_[*@3 handle])&]
[s3; Saves a window defined by its [%-*@3 handle] in [%-*@3 fileName]
as an image file.&]
[s0; [2 -|Allowed formats are:]&]
[s0; [2 -|-|`- Posix: .xwd]&]
[s0; [2 -|-|`- Windows: .bmp]&]
[s1; &]
[s4;%- &]
[s2;:Record`_Desktop`(String`,int`,int`,bool`):%- [@(0.0.255) bool]_[* Record`_Desktop]([_^String^ S
tring]_[*@3 fileName], [@(0.0.255) int]_[*@3 duration], [@(0.0.255) int]_[*@3 secsFrame]_`=
_[@3 1], [@(0.0.255) bool]_[*@3 viewMouse]_`=_[@(0.0.255) true])&]
[s3; Records the desktop activity in [%-*@3 fileName] as a video file
of [%-*@3 duration] in seconds with [%-*@3 secsFrame] seconds between
frames and recording also mouse movement if [%-*@3 viewMouse].is
true.&]
[s0; [2 -|Allowed formats are:]&]
[s0; [2 -|-|`- Windows: Uncompressed .avi ]&]
[s1; &]
[s4;%- &]
[s2;:Record`_DesktopRectangle`(String`,int`,int`,int`,int`,int`,int`,bool`):%- [@(0.0.255) b
ool]_[* Record`_DesktopRectangle]([_^String^ String]_[*@3 fileName],
[@(0.0.255) int]_[*@3 duration], [@(0.0.255) int]_[*@3 left], [@(0.0.255) int]_[*@3 top],
[@(0.0.255) int]_[*@3 width], [@(0.0.255) int]_[*@3 height], [@(0.0.255) int]_[*@3 secsFrame]_
`=_[@3 1], [@(0.0.255) bool]_[*@3 viewMouse]_`=_[@(0.0.255) true])&]
[s3; Records the desktop activity in the rectangle defined by [%-*@3 left],
[%-*@3 top], [%-*@3 width ]and [%-*@3 height]. in [%-*@3 fileName] as
a video file of [%-*@3 duration] in seconds with [%-*@3 secsFrame]
seconds between frames and recording also mouse movement if [%-*@3 viewMouse].is
true.&]
[s0; [2 -|Allowed formats are:]&]
[s3; -|-|`- Windows: Uncompressed .avi&]
[s1; &]
[s4;%- &]
[s2;:Record`_Window`(String`,int`,long`,int`,bool`):%- [@(0.0.255) bool]_[* Record`_Windo
w]([_^String^ String]_[*@3 fileName], [@(0.0.255) int]_[*@3 duration],
[@(0.0.255) long]_[*@3 handle], [@(0.0.255) int]_[*@3 secsFrame]_`=_[@3 1],
[@(0.0.255) bool]_[*@3 viewMouse]_`=_[@(0.0.255) true])&]
[s3; Records the activity of a window defined by its [%-*@3 handle]
in [%-*@3 fileName] as a video file of [%-*@3 duration] in seconds
with [%-*@3 secsFrame] seconds between frames and recording also
mouse movement if [%-*@3 viewMouse].is true.&]
[s0; [2 -|Allowed formats are:]&]
[s3; -|-|`- Windows: Uncompressed .avi&]
[s1; &]
[ {{10000@1 [s0; [* Miscellaneous functions]]}}&]
[s0; &]
[s2;:LoadFile`_Safe`(String`):%- [_^String^ String]_[* LoadFile`_Safe]([_^String^ String]_[*@3 f
ileName])&]
[s3; Same as LoadFile([%-*@3 fileName]) but it works in Posix for files
automatically generated by the OS.&]
[s0;2 &]
[s0; [2 U`+`+ LoadFile() functions prior to loading the file into a
String, get the length of the file to dimension the String that
will get the file. This is not valid for OS generated virtual
files where the file length returned by the OS is 0 (for example
files under folder /proc)]&]
[s0;2 &]
[s0; [2 LoadFile`_Safe() just get the file bytes returned by the OS
until the file end.]&]
[s1; &]
[s4;%- &]
[s2;:FileToTrashBin`(const char`*`):%- [@(0.0.255) void]_[* FileToTrashBin]([@(0.0.255) con
st]_[@(0.0.255) char]_`*[*@3 path])&]
[s3; Deletes file [%-*@3 path].by sending it to the Trash Bin.&]
[s1; &]
[s4;%- &]
[s2;:TrashBinGetCount`(`):%- [_^int64^ int64]_[* TrashBinGetCount]()&]
[s3; Returns the number of items (files and directories) located
in the Trash Bin.&]
[s1;%- &]
[s4;%- &]
[s2;:TrashBinClear`(`):%- [@(0.0.255) void]_[* TrashBinClear]()&]
[s3; Removes all the items (files and directories) located in the
Trash Bin.&]
[s1;%- &]
[s4;%- &]
[s2;:SetDesktopWallPaper`(const char`*`):%- [@(0.0.255) void]_[* SetDesktopWallPaper]([@(0.0.255) c
onst]_[@(0.0.255) char]_`*[*@3 path])&]
[s3; Sets [%-*@3 path].file as desktop wallpaper. Supports Gnome, Kde
v3 and Windows desktops.&]
[s0;2 &]
[s0;i150;O0; [2 In Gnome, ][%-*@3;2 path][2 has to be .png]&]
[s0;i150;O0; [2 In Kde, ][%-*@3;2 path][2 has to be .png, .gif or .jpg]&]
[s0;i150;O0; [2 In Windows, ][%-*@3;2 path][2 has to be .bmp]&]
[s0;2 &]
[s0; [2 If ][%-*@3;2 path][2 .is empty, the desktop wallpaper is removed.
]&]
[s0; &]
[s4;%- &]
[s2;:FileCat`(const char`*`,const char`*`):%- [@(0.0.255) bool]_[* FileCat]([@(0.0.255) con
st]_[@(0.0.255) char]_`*[*@3 file], [@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 appendFile])
&]
[s3; Appends at the end of [%-*@3 file] the contents of file [%-*@3 appendFile].
[%-*@3 file] will be modified and [%-*@3 appendFile ]remains unchanged.&]
[s0; [2 -|Returns true if the operations has been done succesfully.]&]
[s1;%- &]
[s4;%- &]
[s2;:Replace`(String`,String`,String`):%- [_^String^ String]_[* Replace]([_^String^ String]_
[*@3 str], [_^String^ String]_[*@3 find], [_^String^ String]_[*@3 replace])&]
[s3; Returns the resulting String obtained by replacing in [%-*@3 str]
String [%-*@3 find] with [%-*@3 replace ]all the times that [%-*@3 find
]appears in [%-*@3 str].&]
[s0; &]
[s4;%- &]
[s2;:ReverseFind`(const String`&`,const String`&`,int`):%- [@(0.0.255) int]_[* ReverseFin
d]([@(0.0.255) const]_[_^String^ String][@(0.0.255) `&]_[*@3 s], [@(0.0.255) const]_[_^String^ S
tring][@(0.0.255) `&]_[*@3 toFind], [@(0.0.255) int]_[*@3 from]_`=_[@3 0])&]
[s3; Find in [%-*@3 s] the string [%-*@3 toFind] beginning in [%-*@3 from
]in reverse order.&]
[s3; Similar to Find() but searching to the beginning of the String.&]
[s1; &]
[s4;%- &]
[s2;:FormatLong`(long`):%- [_^String^ String]_[* FormatLong]([@(0.0.255) long]_[*@3 a])&]
[s3; Returns the long number [%-*@3 a ]converted into a String.&]
[s0; &]
[s4;%- &]
[s2;:Sign`(T`):%- [@(0.0.255) template]_<[@(0.0.255) class]_[*@4 T]>_[@(0.0.255) int]_[* Sign](
[*@4 T]_[*@3 a])&]
[s3; Returns&]
[s3;i150;O0; `+1 if [%-*@3 a]. is positive&]
[s3;i150;O0; 0 if [%-*@3 a] is 0 and &]
[s3;i150;O0; `-1 if [%-*@3 a] is negative.&]
[s1; &]
[s4;%- &]
[s2;:GetUpperFolder`(String`):%- [_^String^ String]_[* GetUpperFolder]([_^String^ String]_[*@3 f
olderName])&]
[s3; Returns the name of the upper folder over [%-*@3 folderName].&]
[s1; &]
[s4;%- &]
[s2;:CreateFolderDeep`(const char`*`):%- [@(0.0.255) bool]_[* CreateFolderDeep]([@(0.0.255) c
onst]_[@(0.0.255) char]_`*[*@3 dir])&]
[s3; Creates folder [%-*@3 dir], creating intermediate folders if necessary&]
[s1; &]
[s4;%- &]
[s2;:SecondsToString`(double`,bool`):%- [_^String^ String]_[* SecondsToString]([@(0.0.255) d
ouble]_[*@3 seconds], [@(0.0.255) bool]_[*@3 decimals]_`=_[@(0.0.255) false])&]
[s3; Converts an amount of [%-*@3 seconds] to a String formatted as
HH:MM:SS.&]
[s0; [2 -|If ][%-*@3;2 decimals ][2 it includes decimals in seconds]&]
[s0; [2 -|It is opposite to StringToSeconds()]&]
[s1; &]
[s4;%- &]
[s2;:StrToTime`(struct Time`&`,const char`*`):%- [@(0.0.255) const]_[@(0.0.255) char]_`*[* S
trToTime]([@(0.0.255) struct]_[_^Time^ Upp`::Time][@(0.0.255) `&]_[*@3 d],
[@(0.0.255) const]_[@(0.0.255) char]_`*[*@3 s])&]
[s3;%- Scans a string for a Time. Order of day, month and year is
specified using SetDateScan. In place of month both number and
text is accepted `- text must match abbreviated or full name
of month.&]
[s0;%- [2 -|Similar to StrToDate() but including both date and time.]&]
[s3;%- [*@3 d]-|Found time.&]
[s3;%- [*@3 s]-|String to scan.&]
[s3;%- Return value-|NULL if no time is found in [*@3 s] or pointer
to character right after the date.&]
[s1; &]
[s4;%- &]
[s2;:StringToSeconds`(String`):%- [@(0.0.255) double]_[* StringToSeconds]([_^String^ String
]_[*@3 str])&]
[s3; It converts a String [%-*@3 str ]formatted as HH:MM:SS to a returned
amount of seconds.&]
[s0; [2 -|It is opposite to SecondsToString()]&]
[s1; &]
[s4;%- &]
[s2;:BytesToString`(uint64`):%- [_^String^ String]_[* BytesToString]([_^uint64^ uint64]_[*@3 b
ytes])&]
[s3; Converts an amount of [%-*@3 bytes ]to a short String.&]
[s1; &]
[s4;%- &]
[s2;:DoEvents`(`):%- [@(0.0.255) void]_[* DoEvents]()&]
[s3; A ProcessEvents just for old Visual Basic programmers.&]
[s1; &]
[s4;%- &]
[s2;:SearchFile`(String`,String`,String`):%- [_^Array^ Array]<[_^String^ String]>_[* Search
File]([_^String^ String]_[*@3 dir], [_^String^ String]_[*@3 condFile],
[_^String^ String]_[*@3 text]_`=_`"`")&]
[s3; Returns an Array of Strings containing the file names with full
path of the files under folder [%-*@3 dir] that comply with condition
(with wildcards) [%-*@3 condFile] and that contain inside the text
[%-*@3 text].&]
[s0; ]

View file

@ -1,30 +0,0 @@
topic "SysInfo";
[ $$0,0#00000000000000000000000000000000:Default]
[a83;*R6 $$1,0#31310162474203024125188417583966:caption]
[{_}%EN-US
[s1; SysInfo&]
[s0; [2 Functions to get information and handle Desktop, OS and hardware
internals.]&]
[s0;2 &]
[s0; [2 It includes functions for:]&]
[s0;2 &]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Running
files and commands]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Obtaining
special folders]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Hardware,
BIOS and OS info]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Process
handling]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Windows
handling]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Mouse
and keyboard handling]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Screen
recording]&]
[s0;i150;O0; [^topic`:`/`/uppweb`/www`/baz`_sys`_reference`$en`-us^2 Miscellaneous
functions]&]
[s0;2 &]
[s0; [^topic`:`/`/uppweb`/www`/baz`_sys`_implem`$en`-us^2 Implementation
details]&]
[s0;2 ]

View file

@ -25,7 +25,7 @@ OpenOffice and Microsoft]&]
[s0;i150;O0; [2 Scatter]&]
[s0;i150;O0; [2 Signals]&]
[s0;i150;O0; [2 SvgView]&]
[s0;i150;O0;%- [%%^topic`:`/`/uppweb`/www`/baz`_sysinfo`$en`-us^2 SysInfo:][%%2
[s0;i150;O0;%- [%%^topic`:`/`/SysInfo`/srcdoc`/SysInfo`$en`-us^2 SysInfo:][%%2
][2 OS, hardware and Desktop handling functions]&]
[s0;i150;O0; [2 SystemLog]&]
[s0;i150;O0; [2 TabBar]&]

View file

@ -1,6 +1,5 @@
TITLE("Bazaar")
COMPRESSED
120,156,133,82,219,142,218,48,16,253,149,145,10,125,168,184,228,2,44,13,79,187,203,246,34,149,66,185,244,37,202,110,6,199,1,139,196,142,108,167,129,173,246,223,215,1,186,84,200,85,243,228,204,153,57,115,230,204,132,208,104,56,45,231,157,243,159,47,24,211,20,203,76,71,33,14,253,209,135,249,192,212,185,166,206,119,125,215,113,7,94,239,166,231,57,190,227,245,92,175,239,14,135,61,247,166,63,244,63,14,6,1,193,66,51,193,163,240,247,211,75,243,225,123,123,181,128,80,185,35,184,195,103,68,249,62,10,149,51,130,208,131,123,145,231,37,103,250,0,68,112,45,217,186,212,52,129,2,201,14,55,84,1,242,196,0,9,5,197,89,81,80,109,34,146,2,227,36,43,19,147,199,248,153,176,19,157,40,61,184,80,79,240,13,254,139,80,210,224,42,151,185,125,103,52,61,213,140,5,217,221,107,153,69,118,136,241,141,5,121,216,23,70,231,39,137,57,189,66,155,109,8,155,77,15,62,11,177,201,232,82,34,87,25,106,33,3,136,76,221,151,229,114,118,134,224,
130,117,222,222,20,52,221,107,72,152,164,68,67,42,100,110,6,214,84,114,170,91,80,42,51,77,33,148,134,156,234,173,72,58,102,222,61,100,148,111,244,22,152,2,223,219,173,45,90,39,250,214,108,211,174,114,154,166,140,208,219,82,139,28,235,229,157,84,94,254,65,164,231,28,80,37,211,166,255,180,160,252,28,169,55,53,97,68,10,37,210,235,6,117,227,25,30,181,47,126,217,28,156,177,253,28,149,129,45,216,143,146,145,221,18,215,202,130,157,138,254,177,176,185,178,150,40,245,147,209,202,130,44,8,106,187,132,5,219,112,204,108,108,102,28,11,219,201,208,71,45,10,70,226,32,238,198,221,178,40,42,186,142,187,85,85,197,221,53,62,199,79,234,160,24,79,69,220,160,60,110,151,234,209,112,29,212,87,19,9,162,227,50,142,222,79,23,45,216,162,76,170,250,234,107,135,199,84,237,12,173,9,242,36,51,215,8,105,201,73,189,27,171,184,131,113,39,255,38,108,142,27,67,239,208,54,235,146,16,75,116,149,105,102,142,128,206,50,60,88,45,90,201,63,81,136,
94,1,79,244,89,21,
120,156,133,82,219,142,218,48,16,253,149,145,10,125,168,184,228,2,44,13,79,187,203,246,34,149,66,9,244,37,202,54,198,113,192,34,177,35,123,210,133,174,246,223,235,16,186,84,200,85,243,228,156,227,57,115,230,140,35,104,181,156,142,243,198,249,207,23,76,89,70,170,28,227,136,140,253,201,187,229,200,212,185,166,206,119,125,215,113,71,222,224,102,224,57,190,227,13,92,111,232,142,199,3,247,102,56,246,223,143,70,1,37,37,114,41,226,232,249,199,75,251,225,107,119,29,66,164,221,9,220,145,95,132,168,183,113,164,157,9,68,30,220,203,162,168,4,199,35,80,41,80,241,77,133,44,133,146,208,61,217,50,13,68,164,134,72,25,104,193,203,146,161,65,20,3,46,104,94,165,230,30,23,103,193,94,220,72,122,112,145,158,145,87,250,47,65,197,130,171,187,220,29,58,147,121,83,51,149,116,127,143,42,143,237,20,23,91,11,243,112,40,141,207,15,138,20,236,138,109,119,33,106,183,61,248,40,229,54,103,43,69,132,206,9,74,21,64,108,234,62,173,86,139,51,5,
23,174,247,122,102,128,236,128,144,114,197,40,66,38,85,97,6,70,166,4,195,14,84,218,76,83,74,141,80,48,220,201,180,103,230,61,64,206,196,22,119,192,53,248,222,126,99,241,58,195,91,179,77,187,203,121,150,113,202,110,43,148,5,169,151,215,184,188,252,131,204,206,119,64,87,28,77,255,121,201,196,25,169,55,53,227,84,73,45,179,235,6,117,227,5,57,121,15,127,218,18,92,240,195,146,104,67,91,184,111,21,167,251,21,217,104,11,215,20,253,99,97,75,109,45,209,250,59,103,79,22,38,164,4,237,22,66,190,21,36,183,169,153,113,44,106,77,160,143,40,75,78,147,32,233,39,253,240,168,63,139,76,38,125,173,104,42,233,5,104,49,145,116,43,253,104,164,26,36,136,79,187,56,69,63,15,59,176,35,42,125,170,31,125,29,240,148,233,189,81,53,160,72,115,243,24,33,171,4,173,87,99,245,118,52,225,20,95,164,45,112,147,231,29,177,141,186,162,212,130,174,115,228,230,13,176,69,78,142,214,132,214,234,15,10,241,111,112,24,88,42,