1. 23 Aug, 2019 5 commits
    • Didier Verna's avatar
      Advertise README file insertion in parallel algorithms. · 31802af6
      Didier Verna authored
      2019-08-23  Didier Verna  <didier@didierverna.net>
      
      	* parallel/parallel.lisp (build-html-manuals-//-1):
      	(build-html-manuals-//-2): Advertise README file insertion.
      	(build-texinfo-manuals-//-1):
      	(build-texinfo-manuals-//-2):
      	(build-texinfo-manuals-//-3):
      	(build-manuals-//-3):
      	(build-texinfo-manuals-//-4): Minor code reformatting.
      31802af6
    • Didier Verna's avatar
      Validate cross-references by default. · 058bfa98
      Didier Verna authored
      Declt should be stable enough to do that now.
      
      2019-08-23  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*cross-reference-validation*): Set to T by
      	default.
      058bfa98
    • Didier Verna's avatar
      README insertion improvements. · cc82bc90
      Didier Verna authored
      This patch makes the declt external script prepare for README insertion
      directly, after the library has been QL:QUICKLOAD'ed, hence installed.
      This avoids the need for calling QL:ENSURE-INSTALLED in various places.
      Additionally, this also makes README insertion work in the parallel
      versions where libraries are not already downladed. This didn't previously
      work, precisely because we missed a call to QL:ENSURE-INSTALLED.
      
      2019-08-23  Didier Verna  <didier@didierverna.net>
      
      	* bin/declt: Remove --introduction option. Prepapre for potential
      	README file insertion.
      	* core/src/texinfo.lisp (run-declt): Update accordingly.
      	* core/src/quickref.lisp (build-manual): Don't call
      	QL-DIST:ENSURE-INSTALLED anymore.
      cc82bc90
    • Didier Verna's avatar
      Make it easier to diff the Debian packages list against original. · 753e2f9e
      Didier Verna authored
      2019-08-23  Didier Verna  <didier@didierverna.net>
      
      	* docker/debian-9-packages.txt: Reorder list.
      753e2f9e
    • Didier Verna's avatar
      Update the Debian packages list. · 28fe91cc
      Didier Verna authored
      2019-08-23  Didier Verna  <didier@didierverna.net>
      
      	* docker/debian-9-packages.txt: Update.
      28fe91cc
  2. 08 Apr, 2019 2 commits
  3. 07 Apr, 2019 2 commits
    • Didier Verna's avatar
      Fix copyright years in Docker files. · 955d3db9
      Didier Verna authored
      2019-04-07  Didier Verna  <didier@didierverna.net>
      
      	* docker/Buildenv:
      	* docker/Quickref: Also copyright 2019.
      955d3db9
    • Didier Verna's avatar
      Fix a couple of missing foreign dependencies. · 7dc2a8b8
      Didier Verna authored
      2019-04-07  Didier Verna  <didier@didierverna.net>
      
      	* docker/debian-9-packages.txt: Add libncursesw5-dev and
      	nvidia-cuda-dev.
      	* docker/Buildenv: Enable contrib and non-free apt sources.
      	Reindent.
      	* docker/Quickref: Reindent.
      7dc2a8b8
  4. 05 Apr, 2019 2 commits
  5. 04 Apr, 2019 6 commits
  6. 29 Mar, 2019 2 commits
    • Didier Verna's avatar
      Implement parallel algorithm #4. · 135df24a
      Didier Verna authored
      This algorithm is the refinement over solution 3 described in the ELS 2019
      paper in section 7.3. Instead of creating static batches of libraries, we
      handle dynamic batches based on the time Declt finishes processing a system.
      This work is a cleanup of a code base originally written by Antoine
      Hacquard.
      
      2019-03-29  Didier Verna  <didier@didierverna.net>
      
      	* parallel/parallel.lisp (remove-standalone-systems):
      	(remove-dependencies):
      	(dependency-graph-size):
      	(primary-systems-dependency-graph): New functions. More
      	abstraction on dependency graphs.
      	(cull-standalone-systems): Formerly CULL-NODES. Reimplement in
      	terms of the above.
      	(primary-systems-batches): Formerly ORDERED-PRIMARY-SYSTEMS.
      	Ditto.
      	(build-manuals-//-3): Update accordingly.
      	(*post-declt-queue*): New variable.
      	(build-texinfo-manuals-//-4):
      	(build-manuals-//-4): New function.
      	* core/src/quickref.lisp (build): Add access to parallel solution
      	4. Alias it to T.
      135df24a
    • Didier Verna's avatar
      Make sure we get an author index, even half-broken. · c1af5e31
      Didier Verna authored
      This patch establishes a temporary workaround for Lisp not being able
      to asdf:find-system all of Quicklisp in the same image.
      
      2019-03-29  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp (system-authors): Ignore errors signaled by
      	ASDF:FIND-SYSTEM. Sort such systems under "John Doe".
      c1af5e31
  7. 28 Mar, 2019 4 commits
    • Didier Verna's avatar
      Handle UIOP bootstrap problem for author index generation. · 85370677
      Didier Verna authored
      2019-03-28  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp (build-index-files): Load UIOP from source
      	before generating the author index.
      85370677
    • Didier Verna's avatar
      Work around side-effects in author index generation. · c5df4e45
      Didier Verna authored
      In the current implementation, calculating the author index entries
      can lead some systems to print on the standard output, so we need this
      to happen before that stream is redirected to the index file.
      
      2019-03-28  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp (build-index-file): Calculate index entries
      	before rebinding *STANDARD-OUTPUT*.
      c5df4e45
    • Didier Verna's avatar
      Protect against empty author strings. · 7c8dbd26
      Didier Verna authored
      2019-03-28  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp (system-authors): Filter empty strings out of
      	the authors list returned by Declt's PARSE-CONTACT(S) function.
      7c8dbd26
    • Didier Verna's avatar
      Add one comment about author index generation. · 050fc556
      Didier Verna authored
      2019-03-28  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp: Add a comment about the fragility of the
      	current author index generation scheme.
      050fc556
  8. 27 Mar, 2019 1 commit
    • Didier Verna's avatar
      Generalize index generation and provide an author index. · fb438e8f
      Didier Verna authored
      This patch generalizes the index generation mechanism to ease future
      incorporation of new indexes, and provides an author index in addition
      to the already existing library one. This work is a cleanup of a code base
      originally written by Antoine Hacquard.
      
      2019-03-27  Didier Verna  <didier@didierverna.net>
      
      	* share/css/document.css: Small syntactic improvement.
      	* share/css/index.css: Add more styling.
      	* share/templates/index-header.html: Add links to the different
      	indexes. Parametrize index title.
      	* parallel/parallel.lisp (library-name): Move this function...
      	* core/src/util.lisp (library-name): ...here.
      	(*.html): New function.
      	* core/src/html.lisp (*indexes*): New variable.
      	(index-file-name): New function.
      	(render-index-header): Parametrize index title.
      	(render-index-entry): Generalize to different indexes.
      	(library-index-character): Formerly INDEX-CHARACTER. Adapt to
      	generalized protocol.
      	(render-library-index-entry): Formerly RENDER-INDEX-ENTRY. Adapt
      	to generalized protocol.
      	(library-index-entries):
      	(author-index-character):
      	(render-author-index-entry):
      	(system-authors):
      	(author-index-entries): New functions.
      	(build-index-file): Generalize to different indexes.
      	(build-index-files): New function.
      	* core/src/quickref.lisp (build): Call it.
      fb438e8f
  9. 25 Mar, 2019 9 commits
    • Administrator's avatar
      Deploy quickref site after build · 611ed9ce
      Administrator authored
      611ed9ce
    • Didier Verna's avatar
      Fix malformed index page. · 87a2b538
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* core/src/html.lisp (build-index-file): Properly close HTML tags.
      87a2b538
    • Didier Verna's avatar
      More stylesheets management improvements. · efcf9c6c
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*css-directory*): New variable.
      	* core/src/html.lisp (copy-style-sheets): Use it.
      efcf9c6c
    • Didier Verna's avatar
      Stylesheets management improvements. · af71441d
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* share/css/index.css: Rename from main.css. @import document.css.
      	* share/templates/index-header.html: Don't link to document.css
      	anymore, as it now is done by index.css directly.
      	* core/src/html.lisp (copy-style-sheets): Update accordingly.
      af71441d
    • Didier Verna's avatar
      Small docstring updates. · 1f8a7289
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*share-directory*):
      	(*templates-directory*):
      	(*bin-directory*): Docstring update.
      1f8a7289
    • Didier Verna's avatar
      Extend use of HTML-FILE. · ab8f3844
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (html-file): Extend usage scope use (update
      	docstring and parameter names).
      	* core/src/html.lisp (build-index-file): Use it.
      ab8f3844
    • Didier Verna's avatar
      Templates cleanup. · 2d1e3434
      Didier Verna authored
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* share/templates: New directory.
      	* share/templates/index-header.html: Rename from
      	share/header.template.
      	* core/src/util.lisp (*templates-directory*): New variable.
      	* core/src/html.lisp (render-index-header): Update accordingly.
      2d1e3434
    • Didier Verna's avatar
      Merge branch 'continuous-integration' into 'master'. · b1223429
      Didier Verna authored
      See merge request !3.
      
      2019-03-25  Didier Verna  <didier@didierverna.net>
      
      	* .gitlab-ci.yml: New file.
      b1223429
    • Administrator's avatar
      383141c4
  10. 19 Feb, 2019 1 commit
    • Didier Verna's avatar
      Make parallel code a separate system. · fd3f25f3
      Didier Verna authored
      2019-02-19  Didier Verna  <didier@didierverna.net>
      
      	* parallel/parallel.lisp: Move here from ../core/src/.
      	* parallel/fr.epita.lrde.quickref.parallel.asd: New file.
      	* setup/setup.lisp (restrict-because):
      	(setup-parallel): New functions.
      	(*configuration*): Update docstring.
      	(:fr.epita.lrde.quickref.setup): Export SETUP-PARALLEL.
      	* setup/fr.epita.lrde.quickref.setup.asd:
      	(:fr.epita.lrde.quickref.setup/parallel): New system.
      	* core/src/util.lisp: Add one comment on top of the configuration
      	variables related to parallelism.
      	* core/src/quickref.lisp (build): Conditionalize parallel
      	execution on the availability of parallel support.
      	* core/fr.epita.lrde.quickref.core.asd
      	(:fr.epita.lrde.quickref.core): Remove dependency on
      	src/parallel.lisp.
      	* fr.epita.lrde.quickref.asd (:fr.epita.lrde.quickref): Load the
      	setup/parallel system.
      fd3f25f3
  11. 18 Feb, 2019 6 commits
    • Didier Verna's avatar
      Update copyright years. · 387462e0
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp:
      	* core/src/texinfo.lisp:
      	* core/src/quickref.lisp:
      	* core/src/parallel.lisp:
      	* core/src/html.lisp:
      	* core/meta.lisp:
      	* core/fr.epita.lrde.quickref.core.asd:
      	* bin/declt: Add 2019 to the copyright years.
      387462e0
    • Didier Verna's avatar
      Comment out two functions not used anymore. · 037c7ad3
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/texinfo.lisp: Comment out BUILD-TEXINFO-MANUAL.
      	* core/src/html.lisp: Comment out BUILD-HTML-MANUAL.
      037c7ad3
    • Didier Verna's avatar
      README update. · 99e1cf8e
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* README.md: Rephrase advertisement for parallelism (which is not
      	rudimentary anymore).
      99e1cf8e
    • Didier Verna's avatar
      Improve one docstring. · e4d3e3f6
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*empty-cache*): Improve docstring.
      e4d3e3f6
    • Didier Verna's avatar
      Parametrize the number of task-specific threads in parallel solutions. · 9836810e
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*declt-threads*):
      	(*makeinfo-threads*): New parameters.
      	* core/meta.lisp (:fr.epita.lrde.quickref): Export them.
      	* core/src/parallel.lisp (build-html-manuals-//-2):
      	(build-texinfo-manuals-//-2):
      	(build-texinfo-manuals-//-3): Rename THREAD parameter to
      	THREAD-NUMBER.
      	(build-manuals-//-2):
      	(build-manuals-//-3): Rename TEXINFO-THREADS to DECLT-THREADS.
      	Rename HTML-THREADS to MAKEINFO-THREADS. Accept new DECLT-THREADS
      	and MAKEINFO-THREADS arguments.
      	* core/src/quickref.lisp (build): Accept and propagate new
      	:DECLT-THREADS and :MAKEINFO-THREADS arguments.
      9836810e
    • Didier Verna's avatar
      Synchronize I/O in WITH-PROGRESSION. · fdad1092
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (with-progression): Finish outputing up to
      	the ellision before executing the body.
      fdad1092