Skip to content

Commit 2950914

Browse files
authored
Merge pull request #2772 from bitshares/release
Merge release branch into testnet branch
2 parents 1d790fe + bbf3933 commit 2950914

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

Doxyfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ PROJECT_NAME = "BitShares-Core"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "6.1.0"
41+
PROJECT_NUMBER = "7.0.0"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a
4545
# quick idea about the purpose of the project. Keep the description short.
4646

47-
PROJECT_BRIEF = "BitShares blockchain implementation and command-line interface software"
47+
PROJECT_BRIEF = "BitShares blockchain node software and command-line wallet software"
4848

4949
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
5050
# in the documentation. The maximum height of the logo should not exceed 55

libraries/chain/include/graphene/chain/asset_object.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ namespace graphene { namespace chain {
328328
///@}
329329

330330
/// @return true if the individual settlement pool is not empty and the bitasset's black swan response method
331-
/// (BSRM) is @ref bitasset_options::black_swan_response_type::individual_settlement_to_fund,
331+
/// (BSRM) is @ref
332+
/// graphene::protocol::bitasset_options::black_swan_response_type::individual_settlement_to_fund,
332333
/// false otherwise
333334
bool is_individually_settled_to_fund()const
334335
{

libraries/wallet/generate_api_documentation.pl

+16-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <graphene/wallet/wallet.hpp>
1717
1818
namespace graphene { namespace wallet {
19-
namespace detail
19+
namespace detail
2020
{
2121
struct api_method_name_collector_visitor
2222
{
@@ -29,7 +29,7 @@
2929
}
3030
};
3131
}
32-
32+
3333
api_documentation::api_documentation()
3434
{
3535
END
@@ -110,17 +110,26 @@ sub formatDocComment
110110

111111
for (my $i = 0; $i < @{$doc}; ++$i)
112112
{
113-
if ($doc->[$i] eq 'params')
113+
if (($doc->[$i] eq 'params') # doxygen version 1.8.11 (Ubuntu 16.04) or 1.8.13 (Ubuntu 18.04)
114+
or ($doc->[$i]->{params})) # doxygen version 1.8.17 (Ubuntu 20.04)
114115
{
115116
$paramDocs .= "Parameters:\n";
116-
@parametersList = @{$doc->[$i + 1]};
117+
if ($doc->[$i] eq 'params')
118+
{
119+
++$i;
120+
@parametersList = @{$doc->[$i]};
121+
}
122+
else
123+
{
124+
@parametersList = @{$doc->[$i]->{params}};
125+
}
117126
for my $parameter (@parametersList)
118127
{
119128
my $declname = $parameter->{parameters}->[0]->{name};
120129
my $decltype = cleanupDoxygenType($paramInfo->{$declname}->{type});
121-
$paramDocs .= Text::Wrap::fill(' ', ' ', "$declname: " . formatDocComment($parameter->{doc}) . " (type: $decltype)") . "\n";
130+
$paramDocs .= Text::Wrap::fill(' ', ' ', "$declname: " . formatDocComment($parameter->{doc})
131+
. " (type: $decltype)") . "\n";
122132
}
123-
++$i;
124133
}
125134
elsif ($doc->[$i]->{return})
126135
{
@@ -154,7 +163,7 @@ sub formatDocComment
154163
my $result = Text::Wrap::fill('', '', $bodyDocs);
155164
$result .= "\n\n" . $paramDocs if $paramDocs;
156165
$result .= "\n\n" . $returnDocs if $returnDocs;
157-
166+
158167
return $result;
159168
}
160169

0 commit comments

Comments
 (0)