1. 08 Apr, 2019 2 commits
  2. 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
  3. 05 Apr, 2019 2 commits
  4. 04 Apr, 2019 6 commits
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 18 Feb, 2019 10 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
    • Didier Verna's avatar
      Improve reporting in parallel solutions. · fa2120fe
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/parallel.lisp (build-manuals-//-2):
      	(build-manuals-//-3): Pass the thread number as an argument to the
      	thread function.
      	(build-html-manuals-//-2):
      	(build-texinfo-manuals-//-2):
      	(build-texinfo-manuals-//-3): Update accordingly. Use it in
      	reporting, along with the number of successfully built manuals.
      fa2120fe
    • Didier Verna's avatar
      Change default number of threads in parallel solution 2. · f92de93d
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/parallel.lisp (build-manuals-//-2): Change the default
      	number of threads.
      f92de93d
    • Didier Verna's avatar
      *caching-behavior* -> *cache-policy*. · df3ab91a
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (*caching-behavior*): Rename to
      	*cache-policy*.
      	(cache-directory):
      	(ensure-quickref-directory):
      	* core/src/texinfo.lisp (run-declt):
      	* core/src/quickref.lisp (build):
      	(build):
      	* core/src/parallel.lisp (build-manuals-//-2):
      	(build-manuals-//-3):
      	* core/meta.lisp (:fr.epita.lrde.quickref):
      	* bin/declt: Update accordingly.
      df3ab91a
    • Didier Verna's avatar
      Small reorganization. · 8b147b27
      Didier Verna authored
      2019-02-18  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp: Move some code around.
      8b147b27
  11. 13 Feb, 2019 1 commit
    • Didier Verna's avatar
      Reporting improvements. · c783ef31
      Didier Verna authored
      This patch essentially removes the clumsy :silent option from various
      functions. There is now a clean distinction between low level functions (not
      printing messages) used both by the sequential and parallel code, and the
      higher level wrappers than perform reporting.
      
      As a side effect, some former functions are almost ready to become new entry
      points to the library.
      
      2019-02-13  Didier Verna  <didier@didierverna.net>
      
      	* core/src/util.lisp (with-progression): New macro.
      	(library-name): Move to parallel.lisp.
      	* core/src/texinfo.lisp (run-declt): Rename from DECLT.
      	(build-texinfo-manual): Remove SILENT option. Use
      	WITH-PROGRESSION. Not used anymore (future new entry point).
      	* core/src/html.lisp (run-makeinfo): Rename from MAKEINFO.
      	(build-html-manual): Remove SILENT option. Use WITH-PROGRESSION.
      	Not used anymore (future new entry point).
      	* core/src/quickref.lisp (build-manual): Use RUN-DECLT,
      	RUN-MAKEINFO, and INSERT-README-CONTENTS wrapped in
      	WITH-PROGRESSION directly.
      	(build): Small format string update.
      	* core/src/parallel.lisp (library-name): Move from util.lisp.
      	(build-html-manuals-//-1):
      	(build-texinfo-manuals-//-1):
      	(build-manuals-//-1):
      	(build-html-manuals-//-2):
      	(build-texinfo-manuals-//-2):
      	(build-texinfo-manuals-//-3): Use RUN-DECLT, RUN-MAKEINFO, and
      	INSERT-README-CONTENTS directly.
      c783ef31