From dd41b47ef3680f2195e4a0a576e0e9d70ad5b3fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 16 Nov 2014 21:40:47 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * NEW: The structure of databases is now stored in the *.connection files. It will be used for an automatic database initialization feature. [WEBSITE MAKER] * NEW: Update for 3.6.2. [WIKI CGI SCRIPT] * BUG: Fix the display of page without headers. * NEW: Indexes are now displayed on two or more columns. [INTERPRETER] * NEW: New GB.AllocZero() API for allocating memory and filling it with zeros. [GB.DB.MYSQL] * OPT: Cache metadata queries during 30 secondes to speed up things. [GB.FORM] * NEW: MenuButton displays a focus rectangle now. [GB.GUI.BASE] * BUG: ProgressBar now raises native control events. git-svn-id: svn://localhost/gambas/trunk@6652 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/other/MakeWebSite/.src/MMain.module | 2 +- .../gambas.sourceforge.net/home.html | 6 +- .../.hidden/Uncompressed/.public/style.css | 43 +- app/src/gambas-wiki/.public/style.css | 16 +- app/src/gambas-wiki/.src/Wiki.webpage | 24 +- app/src/gambas-wiki/.src/WikiMarkdown.class | 60 +- .../Editor/Connection/FConnectionEditor.class | 73 +- app/src/gbs3/.settings | 2 +- comp/src/gb.form/.project | 2 +- comp/src/gb.form/.src/Button/MenuButton.class | 10 +- comp/src/gb.gui.base/.src/ProgressBar.class | 1 + gb.db.mysql/src/main.c | 262 +++++--- main/gbx/gbx_api.c | 6 + main/gbx/gbx_api.h | 1 + main/lib/db/CConnection.c | 636 +++++++++--------- main/lib/db/gb.db.h | 1 + main/share/gambas.h | 1 + 17 files changed, 649 insertions(+), 497 deletions(-) diff --git a/app/other/MakeWebSite/.src/MMain.module b/app/other/MakeWebSite/.src/MMain.module index f58149a31..eb3ac7bdb 100644 --- a/app/other/MakeWebSite/.src/MMain.module +++ b/app/other/MakeWebSite/.src/MMain.module @@ -14,7 +14,7 @@ Sub InitVar() 'DIM aDev AS String[] = ["92", "91", "90", "51"] $cVar["OLD_VERSION"] = "2.24.0" - $cVar["DEV_VERSION"] = "3.6.1" + $cVar["DEV_VERSION"] = "3.6.2" InitAuthor diff --git a/app/other/MakeWebSite/gambas.sourceforge.net/home.html b/app/other/MakeWebSite/gambas.sourceforge.net/home.html index 6fbfa74f7..e64425eca 100644 --- a/app/other/MakeWebSite/gambas.sourceforge.net/home.html +++ b/app/other/MakeWebSite/gambas.sourceforge.net/home.html @@ -41,10 +41,10 @@
- - {Download} Gambas 3.6.1 + + {Download} Gambas 3.6.2 - +
diff --git a/app/src/gambas-wiki/.hidden/Uncompressed/.public/style.css b/app/src/gambas-wiki/.hidden/Uncompressed/.public/style.css index 8e528b5d4..3e3020897 100644 --- a/app/src/gambas-wiki/.hidden/Uncompressed/.public/style.css +++ b/app/src/gambas-wiki/.hidden/Uncompressed/.public/style.css @@ -158,7 +158,6 @@ TABLE.example TH { }*/ .header { - background: white; /*#DFC1A7; /*#CF6706;*/ left: 0; top: 0; width: 100%; @@ -166,17 +165,6 @@ TABLE.example TH { z-index: 10; } -.header-v { - background: white; - /*padding: 2px 0px;*/ - left: 0; - top: 0; - width: 100%; - position: fixed; - z-index: 10; - height: 1.2em; -} - .header-inside { max-width: 800px; margin: 0 auto; @@ -184,6 +172,17 @@ TABLE.example TH { border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; padding: 2px 16px 4px; + box-shadow: 0 0 8px gray; +} + +.header-inside-v { + max-width: 800px; + margin: 0 auto; + background: #E8E8E8; + border-bottom-left-radius: 32px; + border-bottom-right-radius: 32px; + padding: 2px 16px 4px; + box-shadow: 0 0 8px gray; } .header-bar { @@ -204,11 +203,6 @@ TABLE.example TH { color: gray; } -.label-login { - display: inline-block; - margin-left: 0.5em; -} - .page { padding: 4px 8px; max-width: 800px; @@ -364,7 +358,7 @@ TABLE.index TD { DIV.index { display: inline-block; font-size: 85%; - padding: 8px 32px 8px 0; + padding: 0; margin-top: 0.75em; } @@ -470,19 +464,25 @@ DIV.syntax > P:first-child { position: static; background: white; /*#DFC1A7;*/ color: gray; - border: #D8D8D8 solid 8px; + border: #DF6B00 solid 8px; border-radius: 32px; padding: 16px; - box-shadow: 0 0 8px #D8D8D8; + box-shadow: 0 0 8px gray; width: 20em; margin: 16px; } .label-login { + display: inline-block; + margin-left: 0.5em; width: 8em; height: 1.5em; } +#user { + width: 12em; +} + #ok { margin-top: 8px; width: 8em; @@ -503,8 +503,7 @@ DIV.syntax > P:first-child { .login { position: fixed; top: 32px; - right: 32px; - z-index: 100; + left: 32px; margin: 0px; } .hide-if-compact { diff --git a/app/src/gambas-wiki/.public/style.css b/app/src/gambas-wiki/.public/style.css index 4c3ff2595..a8dfbda3d 100644 --- a/app/src/gambas-wiki/.public/style.css +++ b/app/src/gambas-wiki/.public/style.css @@ -21,14 +21,13 @@ TABLE.table>TBODY>TR>TH,TABLE.error>TBODY>TR>TH{border-top:solid #D8D8D8 1px;bor TABLE.desc{border:solid #D8D8D8 2px;border-collapse:collapse;padding:0px;margin-top:0.75em;border-spacing:0;empty-cells:show;} TABLE.desc>TBODY>TR>TD{border:none;padding:6px 12px;} TABLE.desc>TBODY>TR>TH{text-align:left;border:none;padding:6px 12px;} -.header{background:white;left:0;top:0;width:100%;position:fixed;z-index:10;} -.header-v{background:white;left:0;top:0;width:100%;position:fixed;z-index:10;height:1.2em;} -.header-inside{max-width:800px;margin:0 auto;background:#E8E8E8;border-bottom-left-radius:32px;border-bottom-right-radius:32px;padding:2px 16px 4px;} +.header{left:0;top:0;width:100%;position:fixed;z-index:10;} +.header-inside{max-width:800px;margin:0 auto;background:#E8E8E8;border-bottom-left-radius:32px;border-bottom-right-radius:32px;padding:2px 16px 4px;box-shadow:0 0 8px gray;} +.header-inside-v{max-width:800px;margin:0 auto;background:#E8E8E8;border-bottom-left-radius:32px;border-bottom-right-radius:32px;padding:2px 16px 4px;box-shadow:0 0 8px gray;} .header-bar{} .title{display:inline-block;color:gray;} .title A:hover{color:black;} .title-v{font-size:75%;color:gray;} -.label-login{display:inline-block;margin-left:0.5em;} .page{padding:4px 8px;max-width:800px;margin:0 auto;position:relative;top:2.5em;} .page-edit{position:absolute;top:2.5em;bottom:0;left:0;right:0;} .unknown{color:red;margin-top:8px;} @@ -50,7 +49,7 @@ DIV.example,DIV.seealso{display:inline-block;border:none;padding:0px;} TEXTAREA{font-family:monospace;} TABLE.index{border:none;padding:0px;margin-top:0.75em;} TABLE.index TD{border:none;padding:1px 6px;vertical-align:baseline;} -DIV.index{display:inline-block;font-size:85%;padding:8px 32px 8px 0;margin-top:0.75em;} +DIV.index{display:inline-block;font-size:85%;padding:0;margin-top:0.75em;} DIV.syntax{display:inline-block;border:solid #D8D8D8 2px;padding:4px 8px;font-family:monospace;white-space:pre-wrap;} DIV.syntax>P:last-child{margin-bottom:-0.75em;} DIV.since{display:inline-block;background:#FF8080;color:white;font-weight:bold;border:solid 1px red;padding:1px 6px;text-transform:uppercase;font-size:80%;} @@ -68,13 +67,14 @@ P:first-child,UL:first-child,OL:first-child,TABLE:first-child{margin-top:0;} H1:first-child{margin-top:0;} DIV.table:first-child{margin-top:0;} DIV.syntax>P:first-child{margin-top:-0.75em;} -.login{position:static;background:white;color:gray;border:#D8D8D8 solid 8px;border-radius:32px;padding:16px;box-shadow:0 0 8px #D8D8D8;width:20em;margin:16px;} -.label-login{width:8em;height:1.5em;} +.login{position:static;background:white;color:gray;border:#DF6B00 solid 8px;border-radius:32px;padding:16px;box-shadow:0 0 8px gray;width:20em;margin:16px;} +.label-login{display:inline-block;margin-left:0.5em;width:8em;height:1.5em;} +#user{width:12em;} #ok{margin-top:8px;width:8em;} #register{width:8em;} .hide-if-compact{display:none;} .show-if-compact{display:inherit;} -@media(min-width:120em){.login{position:fixed;top:32px;right:32px;z-index:100;margin:0px;} +@media(min-width:120em){.login{position:fixed;top:32px;left:32px;margin:0px;} .hide-if-compact{display:inherit;} .show-if-compact{display:none;} } diff --git a/app/src/gambas-wiki/.src/Wiki.webpage b/app/src/gambas-wiki/.src/Wiki.webpage index da5f9ecd9..32c7509ae 100644 --- a/app/src/gambas-wiki/.src/Wiki.webpage +++ b/app/src/gambas-wiki/.src/Wiki.webpage @@ -29,20 +29,22 @@ H1 { display: none; } <%If Not Request.Exist("nh") Then%> -
-
- - - -
 
<%_PrintLink%>
+
+
+
+ + + +
 
<%_PrintLink%>
+
-
+
<%Else%> -
+
<%Endif%> @@ -159,12 +161,12 @@ H1 { display: none; }