[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master updated (70fb246 -> 408ba18)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master updated (70fb246 -> 408ba18) |
Date: |
Tue, 30 Jan 2018 17:21:48 -0500 (EST) |
chicares pushed a change to branch master.
from 70fb246 Improve ssh instructions
adds d4a77cd Temporarily suppress pre-commit hook
adds cc80196 Import 'test_coding_rules.cpp' verbatim
adds ef516d8 Permit files dated 2017 to be committed
adds 81a9017 Revert "Temporarily suppress pre-commit hook"
adds 6942a34 Improve concinnity
adds 52f6c2a Import 'workhorse.make' verbatim
adds 245e38c Import '*.mst' verbatim
adds a651c67 Regularize spacing
adds 02b8624 Align '{{' with '}}' in multiline comments
adds a78b402 Import remaining new files verbatim from vz-no-xslfo
adds 4a983d0 Import makefile changes verbatim from vz-no-xslfo
adds 1f8c16d Restore two deleted object files
adds 4fcbd32 Import 'wx_table_generator.?pp' changes verbatim from
vz-no-xslfo
adds 28d5b17 Import 'group_quote_pdf_gen_wx.cpp' changes verbatim from
vz-no-xslfo
adds c216db3 Allow 'PDF !!' markers
adds 89df28a Import 'ledger.hpp' changes verbatim from vz-no-xslfo
adds ec4fcc0 Restore vz-no-xslfo deletions
adds 88cc286 Import 'main_wx*.cpp' changes verbatim from vz-no-xslfo
adds f294831 Mark some deferred PDF issues
adds 90d858b Import 'emit_ledger.cpp' changes verbatim from vz-no-xslfo
adds adb7ff0 Restore a deleted header
adds aec2811 Enable old and new PDF implementations to coexist
adds 1b43104 Update copyright notices
adds 6561307 Fix shared-object attributes
new 919d796 Remove old XSL-FO-based PDF generation code
new 5421d85 Factor out pdf_writer_wx from group_quote_pdf_gen_wx
new f575c94 Refactor more group_quote_pdf_gen_wx code to allow its
reuse
new 8e26a76 Improve encapsulation by returning only wxDC from
pdf_writer_wx
new e43a485 Further improve wxPdfDocument API encapsulation and reuse
new 783befa Add separate class for representing HTML contents
new 5e2fc70 Make HTML generation utilities more type-safe
new 1d99e76 Make pdf_writer_wx::output_html() type safe by taking
html::text
new 89c676d Add pdf_writer_wx::get_page_height() helper
new 2478fbc Start implementing PDF illustrations directly
new 7d278ef Add footer to the cover page
new 234cd39 Use custom font sizes to be closer to the existing
illustrations
new bb64784 Add a helper allowing to interpolate variables in strings
new b72ced6 Replace ad hoc illustration properties with HTML
interpolator
new dbe5955 Factor out html_interpolator from pdf_illustration
new cfdf224 Use raw multiline string instead of concatenating several
strings
new 3e8e257 Add pdf_illustration_regular and narrative_summary_page
new e20544f Add check for the ledger type
new 76881d8 Refactor: extra add_body_paragraph() helper
new 1229745 Make add_body_paragraph() even more convenient to use
new cb5cb7b Add more contents to the narrative summary page
new 173cc28 Change interpolated strings syntax to be Mustache-like
new 2e4850c Implement the rest of "Narrative Summary" page body text
new 9d24cd9 Compilation fix for C++11 but not C++14 compilers
new 7a1e1e8 Include the missing <cstring> header
new b09a25f Implement numbering pages in the PDF output
new 7ed2bbf Simplify footer generation code by moving font tag outside
new 08127f1 Add symbolic constant for the "valign" HTML attribute
new b01d478 Resurrect ledger XML IO code as new ledger_evaluator
new 416ab02 Add support for vector variables to PDF generating code
new ca6e17c Add function generating a standard header and use it
new c1bf4a8 Adjust position of the right hand side of the header
manually
new bb75971 Implement the second part of the narrative summary page
new fc6d8b7 Implement the "Columns Headings" page
new fb01571 Pass what is being expanded to interpolation function
new 0ecc8ec Add support for partials to our ad hoc Mustache parser
new e388f6e Add beginning of numeric summary page using an external
template
new d2b2cae Change column_headings page to use external template
new 875ca7d Rename StateIsTX ledger variable to StateIsTexas
new 1afd45c Avoid spurious coding style violation
new 2bb1c91 Remove unnecessary outer html and body tags
new 67db94b Implement more of numeric summary page
new d7244c1 Change the colour used for lines and borders
new f484622 Only show numeric summary if not in force
new 5241f0f Fix some typos in wx_table_generator::add_column() comment
new efc01fa Allow disabling separator lines in wx_table_generator
new 31048c8 Make wx_table_generator even more customizable
new dbaf3c4 Render PDF illustrations in two passes
new acb7aae Add numbered_page::get_extra_pages_needed() hook
new 0f78daf Compute the footer size in page_with_footer::pre_render()
new 10dd0a9 Factor enum_output_mode into a separate header to allow
its reuse
new 8fa972e Add "Tabular Detail, continued" page to the PDF
illustration
new 43859a6 Add support for "measure only" output mode to
wx_table_generator
new 6b3b5b2 Factor out illustration_table_generator from
tabular_detail2_page
new 23d26f8 Factor out reusable page_with_tabular_report class
new 3cf5a1c Add wx_table_generator::output_super_header()
new d5d8185 Add tabular_details page
new ec73905 Add extra pair of braces to std::array<> initializer for
clang
new 940198c Add numeric summary attachment page
new de5d0b8 Inline output_and_check_for_page_break() function
new b341a2a Factor out using_illustration_table helper class
new 0d6c7f0 Get rid of separate wxDC parameter in the code
new 1ab47c0 Fix definition of integer-valued variable in PDF
illustrations
new c378bc5 Remove unnecessary value_cast inclusion
new 257ff4b Add numeric summary table to PDF illustrations
new e7d763d Add company logo display to the PDF illustration header
new 964db82 Rename columns_headings_page to column_headings_page
new 46a7442 Factor out helper render_template() method
new d99576a Change cover page to use an external template
new 9665573 Change narrative summary page to use an external template
new 956fcca Change the second narrative summary page to use a
template too
new 49cc809 Remove HTML construction helpers not needed any more
new 34c088c Move footer contents into an external template too
new 2a94469 Use Mustache template files from the data directory
new d4dfaa9 Also use data directory for image files referenced from
HTML
new 1b46585 Use MarketingNameFootnote & StateMarketingImprimatur on
cover page
new bb21f4d Fix header for composite illustrations
new 4f3a02e Add company logo to the cover page
new 6a5cd32 Add "Table Rating" to the header if necessary
new e00ab7d Hide "attained age" column for composite illustrations
new 4f98db5 Don't show "Age 70" row in numeric summary for composites
new b425030 Factor out html_cell_for_pdf_output from
numeric_summary_table_cell
new a629602 Use custom <scaled_image> HTML tag for the embedded images
new bbada54 Add image to the columns headings page too
new 0c55621 Replace trivial PDF page classes with single
standard_page one
new 833eef5 Use std::make_unique<> instead of raw "new"
new 7ccd207 Rename "footer_contents" to more precise "page_number"
new 3f1d437 Add add_abbreviated_variable() helper
new 41ae40d Fix wrong "<br>" tag in the header template
new f8853b9 Add "contract numbers" fragment to the header
new 61fae89 Reimplement the contract numbers fragment as an external
template
new 61430d2 Move some variable definitions to the base illustration
class
new 048ae05 Start NASD PDF illustration class implementation
new 3a64b87 Correct misleading comment for page class dtor
new ea20a31 Make pdf_illustration dtor virtual
new 38cab5e Make footer template depend on illustration kind
new 118a249 Add "Column Definitions and Key Terms" page to NASD
illustrations
new 4e76bba Add support for comments to the string interpolation
function
new ea2564b Split the NASD header template in the upper and lower
parts
new d77620f Factor out dollar_units template from the existing ones
new 5ea5c86 Simplify and correct current PDF DC font handling
new b5fe850 Add NASD basic illustration page
new 01be23a Automatically squeeze table columns to make them fit if
necessary
new 4250de9 Add first variant of NASD supplemental page
new 95e616e Add wx_table_generator::columns_count() accessor
new a1342a9 Fix supplemental NASD illustration page for split premiums
new 6f09722 Add missing words to the narrative summary continuation
page
new c341dbb Factor out compliance_tracking template from the footer
one
new 8bfb896 Add NASD illustration first explanatory notes page
new ec0b298 Add NASD illustration second explanatory notes page
new d1204c2 Factor out common parts of
render_or_measure_fixed_page_part()
new 9695e9e Create InitAnnLoanDueRate vector in addition to the scalar
new f0b9cea Add "Assumption Detail" page to NASD illustrations
new 1287474 Start private group placement illustration class
implementation
new 531699b Factor out common page_with_basic_tabular_report class
new 0f885a2 Define CorpNameAbbrev60 and Insured1Abbrev30 in common
code
new 29e63d6 Add basic illustration page of group placement
illustration
new 2d93248 Add the rest of group private placement illustration pages
new 46788b8 Start implementing individual private placement
illustration kind
new 89b4674 Add automatic support for multiline super-headers
new 08559c3 Factor out base_suffix() and ir_suffix() functions
new c0d68e1 Add rate of return pages of the individual placement
illustration
new 36c84ce Add another individual private placement illustration page
new a85943b Add the rest of individual private placement illustration
pages
new 9fe1d07 Implement page-specific footer for "Tabular Details" pages
new b1ab0fa Leave a gap between upper footer part and main page
contents
new 1272ce2 Don't include "Assumptions" page in composite NASD
illustrations
new 8c5be11 Use proper types for get_two_column_header() parameters
new 81ccdc8 Remove the never used elements of the columns title map
new 830e1fd Manually break column titles into lines
new 5f6dc89 Use string objects for illustration_table_column fields
new 031070b Implement supplemental report page for the regular
illustrations
new 29865fc Add supplemental report to NASD illustrations too
new 80423d2 Improve appearance of lower header part in NASD
illustrations
new 614fb47 Add supplemental reports pages to private placement
illustrations
new bb5693e Harmonize spacing in header in reg_d_group illustrations
too
new 1a9bfb3 Factor out standard_supplemental_report class
new 463e8ca Fix bug with page numbers in subsequent illustrations
new 772f4a4 Refactor: use get_fixed_page_contents_template_name()
new 41de2e2 Add helper expand_template() method
new ef38c9d Revert the title map related changes
new 14aca9e Replace underscores in title map with explicit line breaks
new cc7fc05 Change template file extension from .mustache to .mst
new a0a167e Rename "compliance_tracking_number" template to
"imprimatur"
new 7c0ff88 Add copyright notices to all .mst template files
new 0ba1c32 Consistently use "curr" as abbreviation of "current"
new 2fd6a11 Use shorter and more consistent names for external
templates
new 08984bb Recognize Mustache files in the coding rules test
new 982c9f0 Remove consecutive blank lines from a Mustache template
new 6510601 Rename a mute variable to avoid gcc -Wshadow warning
new de5a5c7 Fix interpolate_string_test build
new de9567e Fix misplaced commas in ledger PDF generator code
new ec490eb Revise and extend some comments in PDF generation code
new 0c85a7a Avoid using directive for the "html" namespace
new 47bddbf Merge branch 'vz-no-xslfo' into gwc-no-xslfo
new 408ba18 Merge branch 'gwc-no-xslfo' [387]
Summary of changes:
Makefile.am | 21 +-
sort_cell_subelements.xsl => contract_numbers.mst | 58 +-
cover.mst | 148 +
sort_cell_subelements.xsl => dollar_units.mst | 42 +-
emit_ledger.cpp | 2 +
group_quote_pdf_gen_wx.cpp | 556 ++--
html.cpp | 128 +
html.hpp | 329 +++
sort_cell_subelements.xsl => imprimatur.mst | 50 +-
interpolate_string.cpp | 296 ++
interpolate_string.hpp | 69 +
interpolate_string_test.cpp | 233 ++
ledger.hpp | 5 +
ledger_xml_io.cpp => ledger_evaluator.cpp | 483 ++--
ledger_evaluator.hpp | 59 +
ledger_pdf.cpp | 56 +
ledger_xsl.hpp => ledger_pdf.hpp | 13 +-
...p_quote_pdf_gen.cpp => ledger_pdf_generator.cpp | 17 +-
...p_quote_pdf_gen.hpp => ledger_pdf_generator.hpp | 35 +-
ledger_pdf_generator_wx.cpp | 2940 ++++++++++++++++++++
ledger_xsl.cpp | 4 +-
ledger_xsl.hpp | 2 +-
main_wx.cpp | 1 +
main_wx_test.cpp | 1 +
...l_subelements.xsl => nasd_assumption_detail.mst | 35 +-
sort_cell_subelements.xsl => nasd_basic.mst | 39 +-
nasd_column_headings.mst | 96 +
sort_cell_subelements.xsl => nasd_footer_lower.mst | 52 +-
sort_cell_subelements.xsl => nasd_footer_upper.mst | 40 +-
sort_cell_subelements.xsl => nasd_header.mst | 41 +-
nasd_header_lower.mst | 84 +
sort_cell_subelements.xsl => nasd_header_upper.mst | 51 +-
nasd_notes1.mst | 137 +
nasd_notes2.mst | 244 ++
sort_cell_subelements.xsl => nasd_supp.mst | 33 +-
sort_cell_subelements.xsl => nasd_supp_report.mst | 34 +-
objects.make | 22 +-
boost_regex.hpp => output_mode.hpp | 24 +-
pdf_writer_wx.cpp | 249 ++
pdf_writer_wx.hpp | 100 +
reg_column_headings.mst | 202 ++
sort_cell_subelements.xsl => reg_d_group_basic.mst | 40 +-
...elements.xsl => reg_d_group_column_headings.mst | 68 +-
...subelements.xsl => reg_d_group_footer_lower.mst | 52 +-
...subelements.xsl => reg_d_group_footer_upper.mst | 39 +-
..._cell_subelements.xsl => reg_d_group_header.mst | 41 +-
reg_d_group_header_lower.mst | 77 +
...subelements.xsl => reg_d_group_header_upper.mst | 51 +-
reg_d_group_narr_summary.mst | 123 +
reg_d_group_narr_summary2.mst | 161 ++
..._subelements.xsl => reg_d_group_supp_report.mst | 34 +-
reg_d_indiv_cover_page.mst | 130 +
sort_cell_subelements.xsl => reg_d_indiv_curr.mst | 36 +-
...ell_subelements.xsl => reg_d_indiv_curr_irr.mst | 36 +-
...subelements.xsl => reg_d_indiv_footer_lower.mst | 52 +-
...subelements.xsl => reg_d_indiv_footer_upper.mst | 34 +-
...ell_subelements.xsl => reg_d_indiv_guar_irr.mst | 36 +-
reg_d_indiv_header.mst | 90 +
reg_d_indiv_notes1.mst | 135 +
reg_d_indiv_notes2.mst | 56 +
reg_d_indiv_notes3.mst | 186 ++
..._subelements.xsl => reg_d_indiv_supp_report.mst | 34 +-
sort_cell_subelements.xsl => reg_footer.mst | 52 +-
...ll_subelements.xsl => reg_footer_disclaimer.mst | 38 +-
reg_header.mst | 131 +
reg_narr_summary.mst | 203 ++
reg_narr_summary2.mst | 258 ++
reg_numeric_summary.mst | 203 ++
sort_cell_subelements.xsl => reg_supp_report.mst | 32 +-
...cell_subelements.xsl => reg_tabular_details.mst | 33 +-
...ell_subelements.xsl => reg_tabular_details2.mst | 33 +-
test_coding_rules.cpp | 20 +-
workhorse.make | 2 +-
wx_table_generator.cpp | 168 +-
wx_table_generator.hpp | 59 +-
75 files changed, 8242 insertions(+), 1532 deletions(-)
copy sort_cell_subelements.xsl => contract_numbers.mst (52%)
create mode 100644 cover.mst
copy sort_cell_subelements.xsl => dollar_units.mst (51%)
create mode 100644 html.cpp
create mode 100644 html.hpp
copy sort_cell_subelements.xsl => imprimatur.mst (51%)
create mode 100644 interpolate_string.cpp
create mode 100644 interpolate_string.hpp
create mode 100644 interpolate_string_test.cpp
copy ledger_xml_io.cpp => ledger_evaluator.cpp (66%)
create mode 100644 ledger_evaluator.hpp
create mode 100644 ledger_pdf.cpp
copy ledger_xsl.hpp => ledger_pdf.hpp (78%)
copy group_quote_pdf_gen.cpp => ledger_pdf_generator.cpp (73%)
copy group_quote_pdf_gen.hpp => ledger_pdf_generator.hpp (60%)
create mode 100644 ledger_pdf_generator_wx.cpp
copy sort_cell_subelements.xsl => nasd_assumption_detail.mst (51%)
copy sort_cell_subelements.xsl => nasd_basic.mst (51%)
create mode 100644 nasd_column_headings.mst
copy sort_cell_subelements.xsl => nasd_footer_lower.mst (51%)
copy sort_cell_subelements.xsl => nasd_footer_upper.mst (51%)
copy sort_cell_subelements.xsl => nasd_header.mst (50%)
create mode 100644 nasd_header_lower.mst
copy sort_cell_subelements.xsl => nasd_header_upper.mst (51%)
create mode 100644 nasd_notes1.mst
create mode 100644 nasd_notes2.mst
copy sort_cell_subelements.xsl => nasd_supp.mst (51%)
copy sort_cell_subelements.xsl => nasd_supp_report.mst (51%)
copy boost_regex.hpp => output_mode.hpp (68%)
create mode 100644 pdf_writer_wx.cpp
create mode 100644 pdf_writer_wx.hpp
create mode 100644 reg_column_headings.mst
copy sort_cell_subelements.xsl => reg_d_group_basic.mst (51%)
copy sort_cell_subelements.xsl => reg_d_group_column_headings.mst (51%)
copy sort_cell_subelements.xsl => reg_d_group_footer_lower.mst (51%)
copy sort_cell_subelements.xsl => reg_d_group_footer_upper.mst (51%)
copy sort_cell_subelements.xsl => reg_d_group_header.mst (50%)
create mode 100644 reg_d_group_header_lower.mst
copy sort_cell_subelements.xsl => reg_d_group_header_upper.mst (51%)
create mode 100644 reg_d_group_narr_summary.mst
create mode 100644 reg_d_group_narr_summary2.mst
copy sort_cell_subelements.xsl => reg_d_group_supp_report.mst (51%)
create mode 100644 reg_d_indiv_cover_page.mst
copy sort_cell_subelements.xsl => reg_d_indiv_curr.mst (51%)
copy sort_cell_subelements.xsl => reg_d_indiv_curr_irr.mst (51%)
copy sort_cell_subelements.xsl => reg_d_indiv_footer_lower.mst (51%)
copy sort_cell_subelements.xsl => reg_d_indiv_footer_upper.mst (51%)
copy sort_cell_subelements.xsl => reg_d_indiv_guar_irr.mst (51%)
create mode 100644 reg_d_indiv_header.mst
create mode 100644 reg_d_indiv_notes1.mst
create mode 100644 reg_d_indiv_notes2.mst
create mode 100644 reg_d_indiv_notes3.mst
copy sort_cell_subelements.xsl => reg_d_indiv_supp_report.mst (51%)
copy sort_cell_subelements.xsl => reg_footer.mst (51%)
copy sort_cell_subelements.xsl => reg_footer_disclaimer.mst (51%)
create mode 100644 reg_header.mst
create mode 100644 reg_narr_summary.mst
create mode 100644 reg_narr_summary2.mst
create mode 100644 reg_numeric_summary.mst
copy sort_cell_subelements.xsl => reg_supp_report.mst (51%)
copy sort_cell_subelements.xsl => reg_tabular_details.mst (51%)
copy sort_cell_subelements.xsl => reg_tabular_details2.mst (51%)
- [lmi-commits] [lmi] master updated (70fb246 -> 408ba18),
Greg Chicares <=
- [lmi-commits] [lmi] master cfdf224 016/156: Use raw multiline string instead of concatenating several strings, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 1d99e76 008/156: Make pdf_writer_wx::output_html() type safe by taking html::text, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master e43a485 005/156: Further improve wxPdfDocument API encapsulation and reuse, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 7d278ef 011/156: Add footer to the cover page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master d5d8185 057/156: Add tabular_details page, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master bb64784 013/156: Add a helper allowing to interpolate variables in strings, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master b72ced6 014/156: Replace ad hoc illustration properties with HTML interpolator, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master e7d763d 066/156: Add company logo display to the PDF illustration header, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master f575c94 003/156: Refactor more group_quote_pdf_gen_wx code to allow its reuse, Greg Chicares, 2018/01/30
- [lmi-commits] [lmi] master 5e2fc70 007/156: Make HTML generation utilities more type-safe, Greg Chicares, 2018/01/30