From a67fd6fe0df6aec9ed97c85e4d72b97a6358d3be Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 5 Jan 2024 08:37:14 +0700 Subject: Replace docs GIFs by PNGs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up on previous rename-only commit. This time, the binaries are real PNGs. The asciidoc and other references to them have also been replaced. File figures_classes.png in the teaching materials also was rotated by 90° to display it correctly. Background: The Asciidoctor PDF back-end cannot handle GIFs directly without an additional Ruby Gem. It is easier to only use PNGs and JPEGs. Signed-off-by: Alexander Kriegisch --- docs/build.xml | 12 ++++++------ docs/developer/compiler-weaver.adoc | 10 +++++----- docs/developer/images/advice-dec.png | Bin 45985 -> 37908 bytes docs/developer/images/ajdt-uml.png | Bin 82233 -> 53803 bytes docs/developer/images/overview.png | Bin 18250 -> 17691 bytes docs/developer/images/pointcut-dec.png | Bin 38274 -> 32986 bytes docs/developer/images/top-tree.png | Bin 40199 -> 33285 bytes docs/progguide/examples.adoc | 4 ++-- docs/progguide/gettingstarted.adoc | 2 +- docs/progguide/images/aspects.png | Bin 7071 -> 2666 bytes docs/progguide/images/figureUML.png | Bin 3480 -> 2276 bytes docs/progguide/images/overview.png | Bin 2576 -> 797 bytes docs/progguide/images/telecom.png | Bin 4047 -> 1334 bytes docs/teaching/exercises/build.xml | 9 ++++----- docs/teaching/exercises/figures_classes.png | Bin 18540 -> 15036 bytes docs/teaching/exercises/index.html | 2 +- 16 files changed, 19 insertions(+), 20 deletions(-) (limited to 'docs') diff --git a/docs/build.xml b/docs/build.xml index 70799f969..e0083ec38 100644 --- a/docs/build.xml +++ b/docs/build.xml @@ -59,7 +59,7 @@ location="${aspectj.modules.dir}/ajde/src/main/resources/org/aspectj/ajde/resources/actions" /> @@ -289,7 +289,7 @@ + value="dd_arrow.png,aspects.png,figureUML.png,overview.png,telecom.png,aspectj-docs.css"/> @@ -298,7 +298,7 @@ + value="dd_arrow.png,aspectj-docs.css"/> @@ -313,7 +313,7 @@ @@ -335,7 +335,7 @@ @@ -415,7 +415,7 @@ diff --git a/docs/developer/compiler-weaver.adoc b/docs/developer/compiler-weaver.adoc index a98061b06..ba1b28260 100644 --- a/docs/developer/compiler-weaver.adoc +++ b/docs/developer/compiler-weaver.adoc @@ -21,7 +21,7 @@ for AspectJ-1.2. runtime and must be redistributed with any system built using AspectJ. This module has no external dependencies and produces a tiny ~30KB jar. -image:images/overview.gif[image] +image:images/overview.png[image] The AspectJ compiler accepts both AspectJ bytecode and source code and produces pure Java bytecode as a result. Internally it has two stages. @@ -94,7 +94,7 @@ aspect A { When parsed, this program will produce the following tree. -image:images/top-tree.gif[image] +image:images/top-tree.png[image] ==== PointcutDeclaration processing @@ -105,7 +105,7 @@ Let's look more closely at the pointcut declaration: pointcut entries(Main o): execution(void doit()) && this(o); .... -image:images/pointcut-dec.gif[image] +image:images/pointcut-dec.png[image] The pointcut declaration is implemented as a subtype of a method declaration. The actual pointcut is parsed by the weaver module. This @@ -131,7 +131,7 @@ postParse, the selector is filled in and several additional arguments are added for the special thisJoinPoint forms that could be used in the body. -image:images/advice-dec.gif[image] +image:images/advice-dec.png[image] At this point the statements field which will hold the body of the advice is still null. This field is not filled in until the second stage @@ -142,7 +142,7 @@ prelude to generating the classfile. The main classes in this module are shown in the following diagram: -image:images/ajdt-uml.gif[image] +image:images/ajdt-uml.png[image] === Weaving back-end (weaver) diff --git a/docs/developer/images/advice-dec.png b/docs/developer/images/advice-dec.png index 43f540a4f..4261f8b10 100644 Binary files a/docs/developer/images/advice-dec.png and b/docs/developer/images/advice-dec.png differ diff --git a/docs/developer/images/ajdt-uml.png b/docs/developer/images/ajdt-uml.png index 3a6ff797d..a8ac5b410 100644 Binary files a/docs/developer/images/ajdt-uml.png and b/docs/developer/images/ajdt-uml.png differ diff --git a/docs/developer/images/overview.png b/docs/developer/images/overview.png index b32f11b15..f03e01c9f 100644 Binary files a/docs/developer/images/overview.png and b/docs/developer/images/overview.png differ diff --git a/docs/developer/images/pointcut-dec.png b/docs/developer/images/pointcut-dec.png index fed640d36..a59676d66 100644 Binary files a/docs/developer/images/pointcut-dec.png and b/docs/developer/images/pointcut-dec.png differ diff --git a/docs/developer/images/top-tree.png b/docs/developer/images/top-tree.png index d8e2b26ff..51632c435 100644 Binary files a/docs/developer/images/top-tree.png and b/docs/developer/images/top-tree.png differ diff --git a/docs/progguide/examples.adoc b/docs/progguide/examples.adoc index ca4fc2fdb..caa74a620 100644 --- a/docs/progguide/examples.adoc +++ b/docs/progguide/examples.adoc @@ -287,7 +287,7 @@ aspects, though simple, are not totally trivial. The diagram below gives an overview of the aspects and their interaction with the class `Point`. -image:images/aspects.gif[image] +image:images/aspects.png[image] ===== The `CloneablePoint` aspect @@ -1314,7 +1314,7 @@ is used to connect them. Conference calls between more than two customers will involve more than one connection. A customer may be involved in many calls at one time. -image:images/telecom.gif[image] +image:images/telecom.png[image] ===== The `Customer` class diff --git a/docs/progguide/gettingstarted.adoc b/docs/progguide/gettingstarted.adoc index 3f0889915..b7de29e59 100644 --- a/docs/progguide/gettingstarted.adoc +++ b/docs/progguide/gettingstarted.adoc @@ -60,7 +60,7 @@ The features are presented using a simple figure editor system. A is also a `Display`. Most example programs later in this chapter are based on this system as well. -image:images/figureUML.gif[ UML for the `FigureEditor` example ] +image:images/figureUML.png[ UML for the `FigureEditor` example ] The motivation for AspectJ (and likewise for aspect-oriented programming) is the realization that there are issues or concerns that diff --git a/docs/progguide/images/aspects.png b/docs/progguide/images/aspects.png index 8bca684ad..38f688371 100644 Binary files a/docs/progguide/images/aspects.png and b/docs/progguide/images/aspects.png differ diff --git a/docs/progguide/images/figureUML.png b/docs/progguide/images/figureUML.png index c4bf8db9a..d4de81f14 100644 Binary files a/docs/progguide/images/figureUML.png and b/docs/progguide/images/figureUML.png differ diff --git a/docs/progguide/images/overview.png b/docs/progguide/images/overview.png index 7b1d6c8d6..f9395f887 100644 Binary files a/docs/progguide/images/overview.png and b/docs/progguide/images/overview.png differ diff --git a/docs/progguide/images/telecom.png b/docs/progguide/images/telecom.png index 89a7207f3..66f998b77 100644 Binary files a/docs/progguide/images/telecom.png and b/docs/progguide/images/telecom.png differ diff --git a/docs/teaching/exercises/build.xml b/docs/teaching/exercises/build.xml index cc12be52e..d35fd5e2a 100755 --- a/docs/teaching/exercises/build.xml +++ b/docs/teaching/exercises/build.xml @@ -1,4 +1,4 @@ -