]> source.dussan.org Git - aspectj.git/commitdiff
Replace docs GIFs by PNGs
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 5 Jan 2024 01:37:14 +0000 (08:37 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 6 Jan 2024 09:09:11 +0000 (10:09 +0100)
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 <Alexander@Kriegisch.name>
16 files changed:
docs/build.xml
docs/developer/compiler-weaver.adoc
docs/developer/images/advice-dec.png
docs/developer/images/ajdt-uml.png
docs/developer/images/overview.png
docs/developer/images/pointcut-dec.png
docs/developer/images/top-tree.png
docs/progguide/examples.adoc
docs/progguide/gettingstarted.adoc
docs/progguide/images/aspects.png
docs/progguide/images/figureUML.png
docs/progguide/images/overview.png
docs/progguide/images/telecom.png
docs/teaching/exercises/build.xml
docs/teaching/exercises/figures_classes.png
docs/teaching/exercises/index.html

index 70799f969f3864b74f71b4f4f3c92882094f91ba..e0083ec3825178e07e676f152420b0b16ea442d4 100644 (file)
@@ -59,7 +59,7 @@
                   location="${aspectj.modules.dir}/ajde/src/main/resources/org/aspectj/ajde/resources/actions"
         />
         <property name="include.devguide.icons"
-                  value="build.gif,openConfig.gif,browseroptions.gif"
+                  value="build.png,openConfig.png,browseroptions.png"
         />
 
         <!-- callers of xml-html use these by default -->
             <param name="guide.dir" value="progguide" />
             <param name="guide.name" value="progguide" />
             <param name="xml-html-copy"
-                           value="dd_arrow.gif,aspects.gif,figureUML.gif,overview.gif,telecom.gif,aspectj-docs.css"/>
+                           value="dd_arrow.png,aspects.png,figureUML.png,overview.png,telecom.png,aspectj-docs.css"/>
         </antcall>
     </target>
 
             <param name="guide.dir" value="adk15notebook" />
             <param name="guide.name" value="adk15notebook" />
             <param name="xml-html-copy"
-                   value="dd_arrow.gif,aspectj-docs.css"/>
+                   value="dd_arrow.png,aspectj-docs.css"/>
         </antcall>
     </target>
 
 
         <antcall target="build-guide">
             <param name="xml-html-copy"
-                   value="dd_arrow.gif,aspectj-docs.css,ajbrowser-building.gif,ajbrowser-options.gif,${include.devguide.icons}"
+                   value="dd_arrow.png,aspectj-docs.css,ajbrowser-building.png,ajbrowser-options.png,${include.devguide.icons}"
             />
             <param name="guide.dir" value="devguide" />
             <param name="guide.name" value="devguide" />
 
         <antcall target="build-guide">
             <param name="xml-html-copy"
-                   value="dd_arrow.gif,aspectj-docs.css,ajbrowser-building.gif,ajbrowser-options.gif,${include.pdguide.icons}"
+                   value="dd_arrow.png,aspectj-docs.css,ajbrowser-building.png,ajbrowser-options.png,${include.pdguide.icons}"
             />
             <param name="guide.dir" value="pdguide" />
             <param name="guide.name" value="pdguide" />
 
         <antcall target="build-pdf">
             <param name="xml-html-copy"
-                   value="ajbrowser-building.gif,ajbrowser-options.gif,${include.devguide.icons}"
+                   value="ajbrowser-building.png,ajbrowser-options.png,${include.devguide.icons}"
             />
             <param name="guide.dir" value="devguide" />
             <param name="guide.name" value="devguide" />
index a98061b06b7b3a148ad47e8ed90fd81c48250e31..ba1b28260fe59bd028f4dc98a5d0fc00b5066af4 100644 (file)
@@ -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)
 
index 43f540a4f8374ab5c055f01fb0056a26afd4fec7..4261f8b10c74bd97639b407e19995399892be23a 100644 (file)
Binary files a/docs/developer/images/advice-dec.png and b/docs/developer/images/advice-dec.png differ
index 3a6ff797d91c72b7558ff6ede768263ef19bba9a..a8ac5b410ec25a5a5c9f8235297ad4af5185a084 100644 (file)
Binary files a/docs/developer/images/ajdt-uml.png and b/docs/developer/images/ajdt-uml.png differ
index b32f11b1582d2aa030392b74c6b70890ce6a96bd..f03e01c9fb0aefe047ded42a13de6bcfb656fbf3 100644 (file)
Binary files a/docs/developer/images/overview.png and b/docs/developer/images/overview.png differ
index fed640d3603f2f311d61efb51d566e73e2a5cbde..a59676d66c2b287cba96d5db99a0d5e1acb08074 100644 (file)
Binary files a/docs/developer/images/pointcut-dec.png and b/docs/developer/images/pointcut-dec.png differ
index d8e2b26fff953d1be3c31c7d1e471ad663a452c6..51632c4355baac3bd6cd460497534bf48b6e6f51 100644 (file)
Binary files a/docs/developer/images/top-tree.png and b/docs/developer/images/top-tree.png differ
index ca4fc2fdb99e3758ae4b99180f88e1eaa45ac95c..caa74a62046d91fa953a0b57b11034143a3d398d 100644 (file)
@@ -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
 
index 3f0889915eb705134602b54c2c5dbec464b9dea9..b7de29e593df02bb9f027fd45b960970728de77b 100644 (file)
@@ -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
index 8bca684adbb0e2960801899ddf7d9d50b5d06079..38f688371fa814b7b70e48bf21eb6c9a20a3c6e8 100644 (file)
Binary files a/docs/progguide/images/aspects.png and b/docs/progguide/images/aspects.png differ
index c4bf8db9a6319be98df82b5600db8dc240668e03..d4de81f140438dd78c0abc0d075294c9266feedd 100644 (file)
Binary files a/docs/progguide/images/figureUML.png and b/docs/progguide/images/figureUML.png differ
index 7b1d6c8d602749ec05fe9f0bc344e5be2556c3cc..f9395f887bf9a39bbffe26b0c3a3cdf69d8bfd5b 100644 (file)
Binary files a/docs/progguide/images/overview.png and b/docs/progguide/images/overview.png differ
index 89a7207f3bb02f1e3970e81fa6b4733af6fa68fe..66f998b77ed8c9871f84c803c672890979185925 100644 (file)
Binary files a/docs/progguide/images/telecom.png and b/docs/progguide/images/telecom.png differ
index cc12be52ed9a83ea228ac91e57925acc007ad347..d35fd5e2aee2657cab31f4437f2f5b00e7632c22 100755 (executable)
@@ -1,4 +1,4 @@
-<!-- 
+<!--
 
 This build script will create a directory called burn that is
 _almost_ suitable for burning onto a CD.  However, there
@@ -49,7 +49,7 @@ and a clean AspectJ installer.
     <delete dir="${printdir}/exercises.pdf.contents" />
     <mkdir dir="${printdir}/exercises.pdf.contents" />
     <copy toDir="${printdir}/exercises.pdf.contents" file="index.html" />
-    <copy toDir="${printdir}/exercises.pdf.contents" file="figures_classes.gif" />
+    <copy toDir="${printdir}/exercises.pdf.contents" file="figures_classes.pdf" />
     <copy toDir="${printdir}/exercises.pdf.contents" file="${aj.home}/doc/quick.pdf" />
 
     <delete dir="${printdir}/install.pdf.contents" />
@@ -68,7 +68,7 @@ and a clean AspectJ installer.
   </target>
 
   <target name="event" depends="tools,exercises">
-    <filter token="aj.event" value="${aj.event}" /> 
+    <filter token="aj.event" value="${aj.event}" />
     <copy file="install.txt" toDir="${eventdir}" filtering="yes" />
   </target>
 
@@ -82,7 +82,7 @@ and a clean AspectJ installer.
 
   <target name="tools" depends="skeleton">
     <mkdir dir="${eventdir}/aspectj" />
-    <filter token="aj.event" value="${aj.event}" /> 
+    <filter token="aj.event" value="${aj.event}" />
 
     <copy toDir="${eventdir}/aspectj">
       <fileset dir="${aj.home}" excludes="bin/**" />
@@ -118,4 +118,3 @@ and a clean AspectJ installer.
   </target>
 
 </project>
-
index 3440bbff828ee63f3f7caa88271e51f9f6b0bdac..0e3c650658092e4f20286bb1a6ed0380f720fa9f 100644 (file)
Binary files a/docs/teaching/exercises/figures_classes.png and b/docs/teaching/exercises/figures_classes.png differ
index 85be67805f10af757f9638ab9408a95603e6ffe7..5212f6e42b8d762d0c7695709c8d91dc191637ce 100644 (file)
@@ -684,6 +684,6 @@ an active user community for AspectJ at</p>
 
 </div>
 
-<img style="newpage" src="figures_classes.gif" height="900" alt="" />
+<img style="newpage" src="figures_classes.png" height="900" alt="" />
 
 </body> </html>