mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
Crypto: removed from releases, copied to uppsrc2
git-svn-id: svn://ultimatepp.org/upp/trunk@4287 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
623f2ef65d
commit
9501700765
20 changed files with 1443 additions and 51 deletions
|
|
@ -8,10 +8,29 @@ file
|
||||||
h.iml,
|
h.iml,
|
||||||
bak.tpp,
|
bak.tpp,
|
||||||
AccessKey.h,
|
AccessKey.h,
|
||||||
|
testing.icpp,
|
||||||
test.key,
|
test.key,
|
||||||
translate.t,
|
translate.t,
|
||||||
main.cpp,
|
main.cpp charset "UTF-8-BOM",
|
||||||
AccessKey.lay;
|
test.cpp,
|
||||||
|
AccessKey.lay,
|
||||||
|
[Content_Types].xml,
|
||||||
|
test.zip,
|
||||||
|
_rels readonly separator,
|
||||||
|
_rels\.rels,
|
||||||
|
docProps readonly separator,
|
||||||
|
docProps\app.xml,
|
||||||
|
docProps\core.xml,
|
||||||
|
xl readonly separator,
|
||||||
|
xl\sharedStrings.xml,
|
||||||
|
xl\styles.xml,
|
||||||
|
xl\workbook.xml,
|
||||||
|
xl\_rels readonly separator,
|
||||||
|
xl\_rels\workbook.xml.rels,
|
||||||
|
xl\theme readonly separator,
|
||||||
|
xl\theme\theme1.xml,
|
||||||
|
xl\worksheets readonly separator,
|
||||||
|
xl\worksheets\sheet1.xml;
|
||||||
|
|
||||||
mainconfig
|
mainconfig
|
||||||
"" = "GUI ST";
|
"" = "GUI ST";
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
|
@ -1,4 +1,7 @@
|
||||||
#ifndef _AccessKey_icpp_init_stub
|
#ifndef _AccessKey_icpp_init_stub
|
||||||
#define _AccessKey_icpp_init_stub
|
#define _AccessKey_icpp_init_stub
|
||||||
#include "CtrlLib/init"
|
#include "CtrlLib/init"
|
||||||
|
#define BLITZ_INDEX__ F00f0b258c02a89606d9b9456bec43473
|
||||||
|
#include "testing.icpp"
|
||||||
|
#undef BLITZ_INDEX__
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
#include "AccessKey.h"
|
#include "AccessKey.h"
|
||||||
|
|
||||||
#define KEYGROUPNAME "Ide"
|
#define KEYGROUPNAME "Ide"
|
||||||
#define KEYNAMESPACE IdeKeys
|
#define KEYNAMESPACE IdeKeys
|
||||||
#define KEYFILE <AccessKey/test.key>
|
#define KEYFILE <AccessKey/test.key>
|
||||||
#include <CtrlLib/key_header.h>
|
#include <CtrlLib/key_header.h>
|
||||||
|
|
||||||
#define KEYGROUPNAME "Ide"
|
#define KEYGROUPNAME "Ide"
|
||||||
#define KEYNAMESPACE IdeKeys
|
#define KEYNAMESPACE IdeKeys
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#ifndef _ArrayCtrl_icpp_init_stub
|
#ifndef _ArrayCtrl_icpp_init_stub
|
||||||
#define _ArrayCtrl_icpp_init_stub
|
#define _ArrayCtrl_icpp_init_stub
|
||||||
#include "CtrlLib/init"
|
#include "CtrlLib/init"
|
||||||
#include "Crypto/init"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
uses
|
uses
|
||||||
CtrlLib;
|
CtrlLib;
|
||||||
|
|
||||||
file
|
file
|
||||||
"ArrayCtrlEdit.h"
|
ArrayCtrlEdit.h,
|
||||||
, main.cpp
|
main.cpp,
|
||||||
, "ArrayCtrlEdit.lay"
|
ArrayCtrlEdit.lay;
|
||||||
|
|
||||||
;
|
mainconfig
|
||||||
|
"" = "GUI ST";
|
||||||
mainconfig
|
|
||||||
"" = "GUI ST";
|
|
||||||
|
|
|
||||||
|
|
@ -2,22 +2,27 @@
|
||||||
|
|
||||||
using namespace Upp;
|
using namespace Upp;
|
||||||
|
|
||||||
|
Id ALFA("ALFA");
|
||||||
|
Id BETA("BETA");
|
||||||
|
|
||||||
GUI_APP_MAIN
|
GUI_APP_MAIN
|
||||||
{
|
{
|
||||||
DropList es1;
|
DataPusher es1;
|
||||||
EditString es2;
|
EditString es2;
|
||||||
es1.Add("Hello!");
|
|
||||||
ArrayCtrl list;
|
ArrayCtrl list;
|
||||||
list.AddColumn(t_("hun")).Edit(es1);
|
list.AddColumn(BETA, "huh");
|
||||||
list.AddColumn(t_("fin")).Edit(es2);
|
list.AddColumn(t_("fin")).Edit(es2);
|
||||||
list.Appending().AppendLine();
|
list.Appending().AppendLine();
|
||||||
// list.AutoAppending();
|
list.Add(123, "Hello", "kuku");
|
||||||
list.DoAppend();
|
list.Add(123, "Hello", "kuku");
|
||||||
|
list.GoEnd();
|
||||||
|
EditString edit;
|
||||||
|
list.SetCtrl(0, 0, edit);
|
||||||
|
// list.StartEdit();
|
||||||
|
DDUMP(list.Get(0, BETA));
|
||||||
TopWindow win;
|
TopWindow win;
|
||||||
win.Add(list.SizePos());
|
win.Add(list.SizePos());
|
||||||
win.Run();
|
win.Run();
|
||||||
win.Sizeable();
|
win.Sizeable();
|
||||||
TabCtrl tab;
|
|
||||||
tab.Set
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
uses
|
uses
|
||||||
CtrlLib;
|
CtrlLib;
|
||||||
|
|
||||||
file
|
file
|
||||||
|
main.cpp;
|
||||||
"main.cpp";
|
|
||||||
|
mainconfig
|
||||||
mainconfig
|
"" = "GUI ST";
|
||||||
"" = "GUI ST";
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,8 @@
|
||||||
#include <Web/Web.h>
|
#include <Web/Web.h>
|
||||||
|
|
||||||
using namespace Upp;
|
using namespace Upp;
|
||||||
|
|
||||||
|
CONSOLE_APP_MAIN
|
||||||
CONSOLE_APP_MAIN
|
{
|
||||||
{
|
Cout() << HttpClient("www.rosettacode.org").ExecuteRedirect();
|
||||||
DDUMP(HttpClient("www.idnes.cz").ExecuteRedirect());
|
}
|
||||||
DDUMP(HttpClient("http://g.idnes.cz/js/sph/2010.js?rr=033").ExecuteRedirect());
|
|
||||||
DDUMP(HttpClient("http://www.ultimatepp.org/src$CtrlLib$ArrayCtrl$en-us.html").ExecuteRedirect());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -260,8 +260,9 @@ void RichPara::PackParts(Stream& out, const RichPara::CharFormat& chrstyle,
|
||||||
cf = p.format;
|
cf = p.format;
|
||||||
if(p.field) {
|
if(p.field) {
|
||||||
out.Put(FIELD);
|
out.Put(FIELD);
|
||||||
out.Put32(p.field.AsNdx());
|
String s = ~p.field;
|
||||||
String s = p.fieldparam;
|
out % s;
|
||||||
|
s = p.fieldparam;
|
||||||
out % s;
|
out % s;
|
||||||
StringStream oout;
|
StringStream oout;
|
||||||
CharFormat subf = cf;
|
CharFormat subf = cf;
|
||||||
|
|
@ -478,7 +479,9 @@ void RichPara::UnpackParts(Stream& in, const RichPara::CharFormat& chrstyle,
|
||||||
}
|
}
|
||||||
in.Get();
|
in.Get();
|
||||||
Part& p = part.Top();
|
Part& p = part.Top();
|
||||||
p.field = Id(in.Get32());
|
String s;
|
||||||
|
in % s;
|
||||||
|
p.field = s;
|
||||||
in % p.fieldparam;
|
in % p.fieldparam;
|
||||||
String s;
|
String s;
|
||||||
in % s;
|
in % s;
|
||||||
|
|
|
||||||
|
|
@ -389,7 +389,8 @@ topic "SqlExp in examples";
|
||||||
::= [s0;%- [C1 select ID.ID, ID.NAME, ID.LASTNAME]&]
|
::= [s0;%- [C1 select ID.ID, ID.NAME, ID.LASTNAME]&]
|
||||||
[s0;%- [C1 from TABLE1 ][*C1 left outer join TABLE2]&]
|
[s0;%- [C1 from TABLE1 ][*C1 left outer join TABLE2]&]
|
||||||
[s0;%- [*C1 on TABLE2.TABLE1`_ID `= TABLE1.NAME]&]
|
[s0;%- [*C1 on TABLE2.TABLE1`_ID `= TABLE1.NAME]&]
|
||||||
[s0;%- [C1 where BDATE `= date `'2011`-12`-09`']]
|
[s0;%- [C1 where BDATE `= date `'2011`-12`-09`']&]
|
||||||
|
[s0;%- [/R+75 Note: Based on .sch file REFERENCES]]
|
||||||
::^ [s0;%- [C1 Select(ID(ID, NAME, LASTNAME))]&]
|
::^ [s0;%- [C1 Select(ID(ID, NAME, LASTNAME))]&]
|
||||||
[s0;%- [C1 .From(TABLE1).][*C1 LeftJoinRef][C1 (TABLE2)]&]
|
[s0;%- [C1 .From(TABLE1).][*C1 LeftJoinRef][C1 (TABLE2)]&]
|
||||||
[s0;%- [C1 .][*C1 On][C1 (IsNull(BDATE))]&]
|
[s0;%- [C1 .][*C1 On][C1 (IsNull(BDATE))]&]
|
||||||
|
|
@ -398,5 +399,6 @@ topic "SqlExp in examples";
|
||||||
[s0;%- [C1 from TABLE1 ][*C1 left outer join TABLE2]&]
|
[s0;%- [C1 from TABLE1 ][*C1 left outer join TABLE2]&]
|
||||||
[s0;%- [*C1 on TABLE2.TABLE1`_ID `= TABLE1.NAME]&]
|
[s0;%- [*C1 on TABLE2.TABLE1`_ID `= TABLE1.NAME]&]
|
||||||
[s0;%- [*C1 and BDATE is NULL]&]
|
[s0;%- [*C1 and BDATE is NULL]&]
|
||||||
[s0;%- [C1 where BDATE `= date `'2011`-12`-09`']]}}&]
|
[s0;%- [C1 where BDATE `= date `'2011`-12`-09`']&]
|
||||||
|
[s0;%- [/R+75 Note: Based on .sch file REFERENCES]]}}&]
|
||||||
[s0; ]
|
[s0; ]
|
||||||
|
|
@ -5,7 +5,6 @@ CodeEditor
|
||||||
coff
|
coff
|
||||||
Core
|
Core
|
||||||
CppBase
|
CppBase
|
||||||
Crypto
|
|
||||||
CtrlCore
|
CtrlCore
|
||||||
CtrlLib
|
CtrlLib
|
||||||
Draw
|
Draw
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue