]> source.dussan.org Git - aspectj.git/log
aspectj.git
18 years agotidy up after yourself
aclement [Tue, 14 Feb 2006 14:09:35 +0000 (14:09 +0000)]
tidy up after yourself

18 years agoBugette: annotation value of primitive type 'char' wasnt working !
aclement [Tue, 14 Feb 2006 14:06:36 +0000 (14:06 +0000)]
Bugette: annotation value of primitive type 'char' wasnt working !

18 years agooptimization: rather than continuously constructing new arrays from the linked lists...
aclement [Tue, 14 Feb 2006 13:32:07 +0000 (13:32 +0000)]
optimization: rather than continuously constructing new arrays from the linked lists of instructions, we create one array and use it multiple times in MethodGen.

18 years agooptimization: less fiddling with collections when setting up the localvariables for...
aclement [Tue, 14 Feb 2006 08:47:30 +0000 (08:47 +0000)]
optimization: less fiddling with collections when setting up the localvariables for a woven method.

18 years agooptimization: use bit twiddling rather than Sets for manipulating the list of Pointcu...
aclement [Mon, 13 Feb 2006 15:37:17 +0000 (15:37 +0000)]
optimization: use bit twiddling rather than Sets for manipulating the list of Pointcut.couldMatchKinds - (saves a few percent when building shadows in my tests...)

18 years agooptimization: char rather than string manipulation
aclement [Mon, 13 Feb 2006 15:19:39 +0000 (15:19 +0000)]
optimization: char rather than string manipulation

18 years agooptimization: dont unnecessarily build signatures and faster signature processing.
aclement [Mon, 13 Feb 2006 15:19:36 +0000 (15:19 +0000)]
optimization: dont unnecessarily build signatures and faster signature processing.

18 years agoorganized imports
aclement [Mon, 13 Feb 2006 13:39:34 +0000 (13:39 +0000)]
organized imports

18 years agolessen the cost of hashcode and equals
aclement [Mon, 13 Feb 2006 10:51:24 +0000 (10:51 +0000)]
lessen the cost of hashcode and equals

18 years agofix for 119882 (from Helen) - similar to fix for 113531
aclement [Mon, 13 Feb 2006 10:51:11 +0000 (10:51 +0000)]
fix for 119882 (from Helen) - similar to fix for 113531

18 years agoProgress on: empty catch block warning - compiler changes to warn on empty catch...
acolyer [Fri, 10 Feb 2006 18:08:01 +0000 (18:08 +0000)]
Progress on: empty catch block warning - compiler changes to warn on empty catch block

18 years agoProgress on: empty catch block warning - option support
acolyer [Fri, 10 Feb 2006 18:01:17 +0000 (18:01 +0000)]
Progress on: empty catch block warning - option support

18 years agoProgress on: empty catch block warning - test cases
acolyer [Fri, 10 Feb 2006 18:00:52 +0000 (18:00 +0000)]
Progress on: empty catch block warning - test cases

18 years agoProgress on: empty catch block warning - updates to test cases with empty catch blocks
acolyer [Fri, 10 Feb 2006 17:59:13 +0000 (17:59 +0000)]
Progress on: empty catch block warning - updates to test cases with empty catch blocks

18 years agoProgress on: empty catch block warning - extra lint message
acolyer [Fri, 10 Feb 2006 17:58:12 +0000 (17:58 +0000)]
Progress on: empty catch block warning - extra lint message

18 years agodefine some constants to avoid spreading string literals around
acolyer [Fri, 10 Feb 2006 17:57:49 +0000 (17:57 +0000)]
define some constants to avoid spreading string literals around

18 years agoprovide a way to reset dump state to free up memory
acolyer [Fri, 10 Feb 2006 17:56:44 +0000 (17:56 +0000)]
provide a way to reset dump state to free up memory

18 years agofree up memory anchored in static at the end of a run
acolyer [Fri, 10 Feb 2006 17:55:33 +0000 (17:55 +0000)]
free up memory anchored in static at the end of a run

18 years agoI don't think this class is actively used anymore...
acolyer [Fri, 10 Feb 2006 17:54:53 +0000 (17:54 +0000)]
I don't think this class is actively used anymore...

18 years agodon't hold onto references to AjBuildConfigs
acolyer [Fri, 10 Feb 2006 17:54:11 +0000 (17:54 +0000)]
don't hold onto references to AjBuildConfigs

18 years agodon't hold eclipse source types in ajstate
acolyer [Fri, 10 Feb 2006 17:53:34 +0000 (17:53 +0000)]
don't hold eclipse source types in ajstate

18 years agogo "back to the source" on an incremental aspect change
acolyer [Fri, 10 Feb 2006 17:52:55 +0000 (17:52 +0000)]
go "back to the source" on an incremental aspect change

18 years agoPut compilation-and-weaving-context into multi-thread mode when doing LTW
acolyer [Fri, 10 Feb 2006 17:04:19 +0000 (17:04 +0000)]
Put compilation-and-weaving-context into multi-thread mode when doing LTW

18 years agodon't hold hard references to state in this context. Assume single threaded unless...
acolyer [Fri, 10 Feb 2006 17:03:32 +0000 (17:03 +0000)]
don't hold hard references to state in this context. Assume single threaded unless told otherwise. Provide reset to ditch memory we are holding.

18 years agocomment fix
aclement [Fri, 10 Feb 2006 13:30:33 +0000 (13:30 +0000)]
comment fix

18 years agofix for 120356 - better feedback for DEOW when using @AJ. (from helen)
aclement [Fri, 10 Feb 2006 11:25:44 +0000 (11:25 +0000)]
fix for 120356 - better feedback for DEOW when using @AJ. (from helen)

18 years agofix for 123212 - ignoring subversion resources
aclement [Fri, 10 Feb 2006 07:55:32 +0000 (07:55 +0000)]
fix for 123212 - ignoring subversion resources

18 years agolazy unpacking of the line number table contents. Only done when required - usually...
aclement [Tue, 7 Feb 2006 15:17:06 +0000 (15:17 +0000)]
lazy unpacking of the line number table contents.  Only done when required - usually when a MethodGen built for a Method (i.e. we are going to weave it).

18 years agolazy unpacking of the table contents. Only done when required - usually when a Metho...
aclement [Tue, 7 Feb 2006 15:15:42 +0000 (15:15 +0000)]
lazy unpacking of the table contents.  Only done when required - usually when a MethodGen built for a Method (i.e. we are going to weave it).

18 years agodont do anything if we dont have to.
aclement [Tue, 7 Feb 2006 14:54:20 +0000 (14:54 +0000)]
dont do anything if we dont have to.

18 years agonot perfect yet - but some I'm using.
aclement [Tue, 7 Feb 2006 12:26:54 +0000 (12:26 +0000)]
not perfect yet - but some I'm using.

18 years agoHelen and Eduardos AST changes for 110465
aclement [Mon, 6 Feb 2006 13:31:23 +0000 (13:31 +0000)]
Helen and Eduardos AST changes for 110465

18 years agoProgress on: Bug 126328: IlegalStateException : zip file closed
acolyer [Fri, 3 Feb 2006 11:52:01 +0000 (11:52 +0000)]
Progress on: Bug 126328: IlegalStateException : zip file closed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126328

closes the loop hole with >1000 jars, and adds some extra sanity checks on potentially closed zip files (tested that the call is cheap) to give better error messages.

18 years agoProgress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
acolyer [Fri, 3 Feb 2006 11:00:46 +0000 (11:00 +0000)]
Progress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126316

  --> fix and test case

18 years agoProgress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
acolyer [Fri, 3 Feb 2006 10:16:11 +0000 (10:16 +0000)]
Progress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126316
  --> test case to reproduce

18 years agomore detail in memory answers, on incremental mode and strong static reference to...
wisberg [Thu, 2 Feb 2006 23:35:16 +0000 (23:35 +0000)]
more detail in memory answers, on incremental mode and strong static reference to singleton aspects

18 years agosimple visitor added that lets you discover if a pointcut binds this or target
aclement [Thu, 2 Feb 2006 11:33:10 +0000 (11:33 +0000)]
simple visitor added that lets you discover if a pointcut binds this or target

18 years agoErr, corrected to visit the right branch as well as the left...
aclement [Thu, 2 Feb 2006 11:32:44 +0000 (11:32 +0000)]
Err, corrected to visit the right branch as well as the left...

18 years ago@AJ around tests for 126167
aclement [Thu, 2 Feb 2006 11:31:58 +0000 (11:31 +0000)]
@AJ around tests for 126167

18 years agothats better.
aclement [Wed, 1 Feb 2006 16:16:16 +0000 (16:16 +0000)]
thats better.

18 years agooops
aclement [Wed, 1 Feb 2006 15:38:11 +0000 (15:38 +0000)]
oops

18 years agofix for 125810 (from helen)
aclement [Wed, 1 Feb 2006 15:20:44 +0000 (15:20 +0000)]
fix for 125810 (from helen)

18 years agotestcode for 125699 and 125810 from matthew. test for 125699 commented out.
aclement [Wed, 1 Feb 2006 15:20:37 +0000 (15:20 +0000)]
testcode for 125699 and 125810 from matthew. test for 125699 commented out.

18 years agofree up maps during cleanup() processing
acolyer [Tue, 31 Jan 2006 18:14:25 +0000 (18:14 +0000)]
free up maps during cleanup() processing

18 years agoget build configuration via accessor, not direct field access
acolyer [Tue, 31 Jan 2006 18:13:49 +0000 (18:13 +0000)]
get build configuration via accessor, not direct field access

18 years agomade all the state in AjState private so we can get a better handle on what's going...
acolyer [Tue, 31 Jan 2006 18:13:24 +0000 (18:13 +0000)]
made all the state in AjState private so we can get a better handle on what's going on. Added accessors where needed and extensively commented the lifecycle of the key state we hold.

18 years agocleanup the EclipseFactory afterCompilation
acolyer [Tue, 31 Jan 2006 18:12:19 +0000 (18:12 +0000)]
cleanup the EclipseFactory afterCompilation

18 years agoadded a cleanup method to release memory held in type maps
acolyer [Tue, 31 Jan 2006 18:11:52 +0000 (18:11 +0000)]
added a cleanup method to release memory held in type maps

18 years agodom changes for 125809 (from helen)
aclement [Tue, 31 Jan 2006 12:53:10 +0000 (12:53 +0000)]
dom changes for 125809 (from helen)

18 years agosupport for -messageHolder command-line option. This is needed by the forking iajc...
acolyer [Mon, 30 Jan 2006 17:34:58 +0000 (17:34 +0000)]
support for -messageHolder command-line option. This is needed by the forking iajc ant task to support use of a custom message handler when forking.

18 years agosupport for -messageHolder : do nothing since this (obviously) has to be processed...
acolyer [Mon, 30 Jan 2006 17:33:30 +0000 (17:33 +0000)]
support for -messageHolder : do nothing since this (obviously) has to be processed very early in ajc.Main

18 years agosupport for messageHolder attribute even when forking (see corresponding change in...
acolyer [Mon, 30 Jan 2006 17:32:43 +0000 (17:32 +0000)]
support for messageHolder attribute even when forking (see corresponding change in ajc.Main)

18 years agoenh 123423 (expose PTW type) - code currently commented out until return type of...
aclement [Mon, 30 Jan 2006 10:27:20 +0000 (10:27 +0000)]
enh 123423 (expose PTW type) - code currently commented out until return type of getWithinType() decided...

18 years agofixes for 125475/125480 - matches nothing @AJ support. Definetly *NOT* as clean...
aclement [Mon, 30 Jan 2006 10:25:59 +0000 (10:25 +0000)]
fixes for 125475/125480 - matches nothing @AJ support.  Definetly *NOT* as clean as it could be, but works.

18 years agoavoid NPE (125657)
aclement [Mon, 30 Jan 2006 10:24:49 +0000 (10:24 +0000)]
avoid NPE (125657)

18 years agotestcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) -...
aclement [Mon, 30 Jan 2006 10:22:44 +0000 (10:22 +0000)]
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type) - last one currently commented out.

18 years agotestcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type)
aclement [Mon, 30 Jan 2006 10:22:10 +0000 (10:22 +0000)]
testcode for 125475/125480 (from matthew) and for enh 123423 (expose PTW type)

18 years agouseful definition of STRING
aclement [Mon, 30 Jan 2006 10:20:37 +0000 (10:20 +0000)]
useful definition of STRING

18 years agofix and test for 123901. test for 125475 (commented out)
aclement [Sun, 29 Jan 2006 10:12:10 +0000 (10:12 +0000)]
fix and test for 123901.  test for 125475 (commented out)

18 years agofixes for the AST - see comment #26 in 110465. Now exposes perclause/privileged...
aclement [Fri, 27 Jan 2006 15:50:36 +0000 (15:50 +0000)]
fixes for the AST - see comment #26 in 110465.  Now exposes perclause/privileged information.

18 years agofix for 121395 - error message on stupid aspectpath
aclement [Fri, 27 Jan 2006 12:30:21 +0000 (12:30 +0000)]
fix for 121395 - error message on stupid aspectpath

18 years agofix for 125405 - demote raws to simple on incremental compiles when necessary.
aclement [Fri, 27 Jan 2006 11:34:14 +0000 (11:34 +0000)]
fix for 125405 - demote raws to simple on incremental compiles when necessary.

18 years agotestcode for 125405
aclement [Fri, 27 Jan 2006 11:11:34 +0000 (11:11 +0000)]
testcode for 125405

18 years agohelens changes for 125295 - should keep AJDT happy.
aclement [Thu, 26 Jan 2006 15:32:48 +0000 (15:32 +0000)]
helens changes for 125295 - should keep AJDT happy.

18 years agoincludes the AST changes already checked into shadows - see pr110465
aclement [Thu, 26 Jan 2006 11:00:54 +0000 (11:00 +0000)]
includes the AST changes already checked into shadows - see pr110465

18 years agoNew tests for all the AST changes - and updated tests due to the AST being more compr...
aclement [Thu, 26 Jan 2006 10:57:25 +0000 (10:57 +0000)]
New tests for all the AST changes - and updated tests due to the AST being more comprehensive.

18 years agonecessary magic. Factory 'mechanism' used so that the JDT project doesnt have a...
aclement [Thu, 26 Jan 2006 10:57:12 +0000 (10:57 +0000)]
necessary magic.  Factory 'mechanism' used so that the JDT project doesnt have a direct dependency on the ajdt.core project. It references the factory name through a string and dynamically loads the type.

18 years agoSubclass for the AST that is able to create pointcuts/declares/etc. Similar ctors...
aclement [Thu, 26 Jan 2006 10:55:44 +0000 (10:55 +0000)]
Subclass for the AST that is able to create pointcuts/declares/etc.  Similar ctors to the supertype and one method copied into this class that was creating the AST directly when it needs to use the factory now to ensure it creates an instance of this subtype.

18 years agonew placeholder nodes for type patterns and signature patterns. Before this change...
aclement [Thu, 26 Jan 2006 10:54:40 +0000 (10:54 +0000)]
new placeholder nodes for type patterns and signature patterns.  Before this change this info was being 'discarded' and not included in the constructed AST - now it is at least created and held onto.  Future work would create the various subnodes for the different kinds of typepatterns and signaturepatterns - if users want to start analysing them below their 'top level'

18 years agonew distinct nodes for the different types of declare - all follow the standard ASTNo...
aclement [Thu, 26 Jan 2006 10:53:03 +0000 (10:53 +0000)]
new distinct nodes for the different types of declare - all follow the standard ASTNode pattern of having properties defined (modifiers/javadoc/etc).

18 years agooops, crap comment earlier - fix for 125101
aclement [Wed, 25 Jan 2006 17:41:21 +0000 (17:41 +0000)]
oops, crap comment earlier - fix for 125101

18 years agofix is checked in.
aclement [Wed, 25 Jan 2006 17:37:01 +0000 (17:37 +0000)]
fix is checked in.

18 years agofix for 122452 - pattern parser for a duff pointcut definition. Also fix for 125027...
aclement [Wed, 25 Jan 2006 11:28:51 +0000 (11:28 +0000)]
fix for 122452 - pattern parser for a duff pointcut definition.  Also fix for 125027 (deow length set wrong during parsing). latter fix from Helen.

18 years agotest and fix for 125080 - mixing numbers of types in a generic type hierarchy
aclement [Wed, 25 Jan 2006 10:43:34 +0000 (10:43 +0000)]
test and fix for 125080 - mixing numbers of types in a generic type hierarchy

18 years agotest and fix for 125080 - mixing numbers of types in a generic type hierarchy
aclement [Wed, 25 Jan 2006 10:32:05 +0000 (10:32 +0000)]
test and fix for 125080 - mixing numbers of types in a generic type hierarchy

18 years agotestcode for 122452
aclement [Wed, 25 Jan 2006 09:04:53 +0000 (09:04 +0000)]
testcode for 122452

18 years agotest and fix for 124999
aclement [Tue, 24 Jan 2006 16:47:42 +0000 (16:47 +0000)]
test and fix for 124999

18 years agotestcode for 124399
aclement [Tue, 24 Jan 2006 09:59:17 +0000 (09:59 +0000)]
testcode for 124399

18 years agotest and fix for 124654: generic annotation matching..
aclement [Mon, 23 Jan 2006 15:21:18 +0000 (15:21 +0000)]
test and fix for 124654: generic annotation matching..

18 years agotest and fix for 124808
aclement [Mon, 23 Jan 2006 14:25:06 +0000 (14:25 +0000)]
test and fix for 124808

18 years agotest and fix for pr124803 - mixing numbers of tvars/tparams in a hierarchy
aclement [Mon, 23 Jan 2006 10:47:29 +0000 (10:47 +0000)]
test and fix for pr124803 - mixing numbers of tvars/tparams in a hierarchy

18 years agoincremental and memory answers gleaned from matthew and andy
wisberg [Sun, 22 Jan 2006 21:32:08 +0000 (21:32 +0000)]
incremental and memory answers gleaned from matthew and andy

18 years agobuild the model.
aclement [Fri, 20 Jan 2006 13:32:19 +0000 (13:32 +0000)]
build the model.

18 years agoprofiles of the 1.5.0 release of AspectJ building spring 1.2.6
acolyer [Fri, 20 Jan 2006 12:51:06 +0000 (12:51 +0000)]
profiles of the 1.5.0 release of AspectJ building spring 1.2.6

18 years agoant script for running profiling tests against aspectj with ajc source compile, binar...
acolyer [Fri, 20 Jan 2006 12:28:01 +0000 (12:28 +0000)]
ant script for running profiling tests against aspectj with ajc source compile, binary weaving, load-time weaving, and AJDT simulation. Can configure target application and source of compiler (workspace or pre-built jars).

18 years agosupport for <jvmarg>...</jvmarg> when forking (needed by profiling scripts)
acolyer [Fri, 20 Jan 2006 12:21:11 +0000 (12:21 +0000)]
support for <jvmarg>...</jvmarg> when forking (needed by profiling scripts)

18 years ago77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"
aclement [Fri, 20 Jan 2006 11:23:09 +0000 (11:23 +0000)]
77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"

18 years ago77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"
aclement [Fri, 20 Jan 2006 10:52:29 +0000 (10:52 +0000)]
77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"

18 years agowithout this check, we sometimes hide earlier problems.
aclement [Fri, 20 Jan 2006 09:41:28 +0000 (09:41 +0000)]
without this check, we sometimes hide earlier problems.

18 years ago77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"
aclement [Fri, 20 Jan 2006 09:40:54 +0000 (09:40 +0000)]
77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"

18 years ago77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"
aclement [Fri, 20 Jan 2006 09:26:04 +0000 (09:26 +0000)]
77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction"

18 years ago77166 - newarray joinpoint - testcode
aclement [Thu, 19 Jan 2006 09:40:04 +0000 (09:40 +0000)]
77166 - newarray joinpoint - testcode

18 years ago122347 - at least evict *something* from the type map. use softrefs but tailorable...
aclement [Wed, 18 Jan 2006 17:59:28 +0000 (17:59 +0000)]
122347 - at least evict *something* from the type map.  use softrefs but tailorable. also has some basic profiling support for deactivated right now.

18 years agounused import.
aclement [Wed, 18 Jan 2006 17:12:53 +0000 (17:12 +0000)]
unused import.

18 years agoan additional interface that custom message handlers may choose to implement. Impleme...
acolyer [Wed, 18 Jan 2006 14:37:02 +0000 (14:37 +0000)]
an additional interface that custom message handlers may choose to implement. Implementors get callbacks when a build is starting and when a build has finished (allowing them to perform before and after build processing, like closing output files etc..).

18 years agoUse ant's TaskLogger for all output from our task, rather than writing directly to...
acolyer [Wed, 18 Jan 2006 14:35:44 +0000 (14:35 +0000)]
Use ant's TaskLogger for all output from our task, rather than writing directly to sys out / err. This commit also fixes the issue that running ant -verbose did not produce verbose output from iajc (it does now). I ran into this with a client yesterday, and it had me stumped for a while!

18 years agotest and fix for 123612 - remember to clear the caches for declared annotations betwe...
aclement [Tue, 17 Jan 2006 15:32:20 +0000 (15:32 +0000)]
test and fix for 123612 - remember to clear the caches for declared annotations between compiles.

18 years agodoc updates for 76101 from Helen - how to build AJ and stuff it into AJDT.
aclement [Tue, 17 Jan 2006 13:43:33 +0000 (13:43 +0000)]
doc updates for 76101 from Helen - how to build AJ and stuff  it into AJDT.

18 years agotests for 123695 and 124105
aclement [Tue, 17 Jan 2006 13:36:37 +0000 (13:36 +0000)]
tests for 123695 and 124105

18 years agofix for 123695 - allow for null (no annotations)
aclement [Tue, 17 Jan 2006 13:36:08 +0000 (13:36 +0000)]
fix for 123695 - allow for null (no annotations)