From 11a71433340231475a35c4a8efcf03784fae3789 Mon Sep 17 00:00:00 2001 From: Wu Tao Date: Fri, 7 Jun 2019 08:26:13 +0800 Subject: [PATCH] doc: remove stale doc files and run.cmd (#260) --- doc/about.h | 5 - doc/api.h | 25 - doc/extensions.h | 19 - doc/footer.rDSN.html | 8 - doc/header.rDSN.html | 54 -- doc/how-to.h | 7 - doc/install.h | 39 -- doc/rDSN.css | 1475 ------------------------------------------ doc/tools.h | 35 - doc/tutorials.h | 54 -- run.cmd | 80 --- 11 files changed, 1801 deletions(-) delete mode 100644 doc/about.h delete mode 100644 doc/api.h delete mode 100644 doc/extensions.h delete mode 100644 doc/footer.rDSN.html delete mode 100644 doc/header.rDSN.html delete mode 100644 doc/how-to.h delete mode 100644 doc/install.h delete mode 100644 doc/rDSN.css delete mode 100644 doc/tools.h delete mode 100644 doc/tutorials.h delete mode 100644 run.cmd diff --git a/doc/about.h b/doc/about.h deleted file mode 100644 index 0e67a33376..0000000000 --- a/doc/about.h +++ /dev/null @@ -1,5 +0,0 @@ -/*! -@defgroup about About rDSN - - - */ diff --git a/doc/api.h b/doc/api.h deleted file mode 100644 index 6e4cbe746b..0000000000 --- a/doc/api.h +++ /dev/null @@ -1,25 +0,0 @@ -/*! -@defgroup api API - - api - - API is the system call of the rDSN micro-kernel, which is used to develop applications, frameworks, -tools, and local runtime libraries. - -@{ -@defgroup service-api Service API - -service api. - - Service API is used to build applications and distributed frameworks atop rDSN. - - - @defgroup tool-api Tool API - - tool api. - - Tool API is used to build local libraries (e.g., network libaries, locks), development/operation -tools, and runtime policies. -@} - - */ diff --git a/doc/extensions.h b/doc/extensions.h deleted file mode 100644 index 4c5670396f..0000000000 --- a/doc/extensions.h +++ /dev/null @@ -1,19 +0,0 @@ -/*! - @defgroup ext An Open Platform: Extensions and Integration - - How to customize underneath runtime & frameworks, add more features, and integrate with existing - environment - - @{ - \defgroup ext-layer1 Extensions to layer1 (Zion) - \defgroup ext-layer2 Extensions to layer2 (EON) - \defgroup ext-layer3 Extensions to layer3 (TRON) - \defgroup ext-tools Add more tools - \defgroup ext-int Integration with existing systems - @{ - \defgroup ext-int-sys Adopt rDSN client-lib in other systems - \defgroup ext-int-op Integration with existing cluster - \defgroup ext-int-talk Communication with other systems - @} - @} - */ diff --git a/doc/footer.rDSN.html b/doc/footer.rDSN.html deleted file mode 100644 index 5b8fceae00..0000000000 --- a/doc/footer.rDSN.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/doc/header.rDSN.html b/doc/header.rDSN.html deleted file mode 100644 index cf05916c46..0000000000 --- a/doc/header.rDSN.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - -$projectname: $title -$title - - - -$treeview -$search -$mathjax - -$extrastylesheet - - -
- - -
- - - - - - - - - - - - - - - - - - - - - -
-
Robust Distributed System Nucleus (rDSN) -  $projectnumber -
-
-
$projectbrief
-
$searchbox
-
- - diff --git a/doc/how-to.h b/doc/how-to.h deleted file mode 100644 index 539f18975b..0000000000 --- a/doc/how-to.h +++ /dev/null @@ -1,7 +0,0 @@ -/*! -@defgroup how-to How-Tos - -how-to - - - */ diff --git a/doc/install.h b/doc/install.h deleted file mode 100644 index 946dcd82d1..0000000000 --- a/doc/install.h +++ /dev/null @@ -1,39 +0,0 @@ -/*! -@defgroup install Installation - -rDSN has been built on the following platforms, and here are the quick summaries. - -### Ubuntu 14.04 LTS x86_64 with gcc 4.8.2 - -``` -~$ sudo apt-get install build-essential -~$ sudo apt-get install git -~$ sudo apt-get install cmake -~$ sudo apt-get install php5-cli -~$ sudo apt-get install libboost-all-dev -~$ sudo apt-get install libaio-dev -~/projects$ git clone https://github.com/Microsoft/rDSN.git -~/projects/rdsn$ ./run.sh build -~/projects/rdsn$ ./run.sh test -~/projects/rdsn$ ./run.sh install -``` - -### Windows 8.1/Server 2012 R2/10 with Visual Studio 2015. -install [Visual Studio -2015](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) - -install [GitHub Windows](https://windows.github.com/) - -``` -c:\projects> git clone https://github.com/Microsoft/rDSN.git -c:\Projects\rDSN> run.cmd build Debug .\builddbg -c:\Projects\rDSN> run.cmd test -c:\Projects\rDSN> run.cmd build Debug .\builddbg install -``` - -*** - -If everything is as expected, congratulations, and you are ready to try our [tutorials](\ref -tutorials). - -*/ diff --git a/doc/rDSN.css b/doc/rDSN.css deleted file mode 100644 index b730755a08..0000000000 --- a/doc/rDSN.css +++ /dev/null @@ -1,1475 +0,0 @@ -/* The standard CSS for doxygen 1.8.11 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #504E98; - color: #16162B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #DDDCED; - border: 1px solid #6D6CB2; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #1D1C37; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #262649; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #6362AD; - color: #ffffff; - border: 1px double #4F4E96; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 4px 6px; - margin: 4px 8px 4px 2px; - background-color: #F8F8FB; - border: 1px solid #9D9CCC; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #DDDCED; - font-weight: bold; - border: 1px solid #9D9CCC; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #DDDCED; - border: 1px solid #9D9CCC; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #E1E0EF; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F0F0F7; - border-left: 2px solid #6362AD; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #6D6CB2; -} - -th.dirtab { - background: #DDDCED; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #2A2A51; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F4F4F9; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #262649; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #262649; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #DDDCED; - border: 1px solid #6D6CB2; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #7372B6; - border-left: 1px solid #7372B6; - border-right: 1px solid #7372B6; - padding: 6px 0px 6px 0px; - color: #0B0B15; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #CDCDE5; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #7372B6; - border-left: 1px solid #7372B6; - border-right: 1px solid #7372B6; - padding: 6px 10px 2px 10px; - background-color: #F8F8FB; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #42417E; - border-top:1px solid #31305D; - border-left:1px solid #31305D; - border-right:1px solid #9D9CCC; - border-bottom:1px solid #9D9CCC; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #6362AD; - border-bottom: 1px solid #6362AD; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F0F0F7; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #1D1C37; -} - -.arrow { - color: #6362AD; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #42417E; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #0E0E1B; -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #10101F; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #18172E; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #7372B6; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #7372B6; - border-bottom: 1px solid #7372B6; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #7372B6; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #CDCDE5; - font-size: 90%; - color: #0B0B15; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #7372B6; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#51509B; - border:solid 1px #9999CA; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#17162C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #0D0D19; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#3C3B73; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#17162C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F4F4F9; - margin: 0px; - border-bottom: 1px solid #9D9CCC; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #31305D; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #5554A3; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#141427; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #ECECF5; - border: 1px solid #BCBCDC; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #262649; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - diff --git a/doc/tools.h b/doc/tools.h deleted file mode 100644 index ea5fdfa344..0000000000 --- a/doc/tools.h +++ /dev/null @@ -1,35 +0,0 @@ -/*! - @defgroup tools An Integrated Engineering Process - - Seamlessly integrated tools and services in development and operation process - - @{ - @defgroup tools-program Programming - - How to write rDSN applications fast and simple - - @defgroup tools-test Test - - How to test your application thoroughly - - @defgroup tools-debug Debug - - How to debug when test reports a problem - - @defgroup tools-perf Performance Turning - - Bottom-up performance tuning in rDSN - - @defgroup tools-deploy Deployment - - Use rDSN deployment service or integrate with your own deployment tools - - @defgroup tools-operate Operation - - Online tracing, monitoring, alerting, etc. - - @defgroup tools-reason System Analysis - - How to reason your system - @} - */ diff --git a/doc/tutorials.h b/doc/tutorials.h deleted file mode 100644 index 3cbcaa654a..0000000000 --- a/doc/tutorials.h +++ /dev/null @@ -1,54 +0,0 @@ -/*! -@defgroup tutorials Tutorials - -Tutorials - -Before we start, make sure rDSN has been appropriately [installed](\ref install). - -- [application development](#dev-app) -- [framework development](#dev-framework) -- [tool and local runtime library development](#dev-tool) - -## Application development - -### A single-node rocksdb service - -At its simplest form, rDSN can be used as a library such as libevent, Thrift or GRPC, with the -following advantages: - -- compatible code generation with Apache Thrift and Google Protocol Buffer -- enhanced network with concurrent support of mutliple ports, header types, and payload encoding -schema -- rich [Service API](\ref service-api) beyond RPC -- built-in [dev&op support](\ref tools) -- [configurable runtime] (\ref config-runtime) -- easy integration with existing cluster environment - -View [tutorial](\ref tutorial-simple) for the details. - -### A rocksdb cluster - -rDSN has a built-in Paxos framework for quickly turning a local stateful component (e.g., storage) -into a replicated and partitioned online service. - -- TODO - -View [tutorial](\ref tutorial-replication) - -### A memcached cluster - -rDSN has a built-in framework for quickly turning a local stateless component into a scalable online -service with automatic failure recovery and load balancing. - -- TODO - -View [tutorial](\ref tutorial-memcached) - -## Framework development - - -## Tool and local runtime library development - - - -*/ diff --git a/run.cmd b/run.cmd deleted file mode 100644 index c18cad6625..0000000000 --- a/run.cmd +++ /dev/null @@ -1,80 +0,0 @@ -@ECHO OFF -SET TOP_DIR=%~dp0 -SET bin_dir=%TOP_DIR%\scripts\windows -SET old_dsn_root=%DSN_ROOT% -if "%1" EQU "" GOTO usage -IF "%1" NEQ "setup-env" IF "%DSN_ROOT%" NEQ "" GOTO main -IF "%DSN_AUTO_TEST%" NEQ "" ( - SET DSN_ROOT=%TOP_DIR%\install - GOTO install_env -) - -SET /p DSN_ROOT=Please enter your DSN_ROOT (e.g., %TOP_DIR%\install): -IF "%DSN_ROOT%" EQU "" SET DSN_ROOT=%TOP_DIR%\install -@mkdir "%DSN_ROOT%" -IF "%DSN_ROOT%" NEQ "" IF exist "%DSN_ROOT%" GOTO install_env -CALL %bin_dir%\echoc.exe 4 %DSN_ROOT% does not exist -GOTO exit - -:usage - CALL %bin_dir%\echoc.exe 4 "Usage: run.cmd setup-env|pre-require|build|install|test|publish|republish|deploy|start|stop|cleanup|scds(stop-cleanup-deploy-start)|start_zk|stop_zk" - GOTO:EOF - -:install_env -setlocal enabledelayedexpansion -SET old_path_appendix=;%old_dsn_root:/=\%\bin;%old_dsn_root:/=\%\lib; -SET new_path_appendix=;%DSN_ROOT:/=\%\bin;%DSN_ROOT:/=\%\lib; -SET lpath=%PATH% -SET lpath=%lpath:!old_path_appendix!=% -endlocal & SET PATH=%lpath%%new_path_appendix% -SETX PATH "%PATH%" -CALL reg add HKCU\Environment /f /v PATH /d "%PATH%" 1>nul -CALL %bin_dir%\flushenv.exe - -SET DSN_ROOT=%DSN_ROOT:\=/% -CALL reg add HKCU\Environment /f /v DSN_ROOT /d %DSN_ROOT% 1>nul -CALL %bin_dir%\flushenv.exe - -CALL %bin_dir%\echoc.exe 2 DSN_ROOT (%DSN_ROOT%) is setup, and rDSN SDK will be installed there. -CALL %bin_dir%\echoc.exe 2 DSN_ROOT\lib and DSN_ROOT\bin are added to PATH env. - -:main -CALL :%1 %1 %2 %3 %4 %5 %6 %7 %8 %9 - -IF ERRORLEVEL 1 ( - CALL %bin_dir%\echoc.exe 4 unknow command '%1' - CALL :usage - GOTO exit -) - -GOTO exit - -:pre-require -:build -:install -:test -:start_zk -:stop_zk - CALL %bin_dir%\%1.cmd %2 %3 %4 %5 %6 %7 %8 %9 - GOTO:EOF - -:publish -:republish - CALL %bin_dir%\publish.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 - GOTO:EOF - -:setup-env - GOTO:EOF - -:deploy -:start -:stop -:cleanup -:quick-cleanup -:scds - CALL %bin_dir%\deploy.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 - GOTO:EOF - -:exit - -