Skip to content
Success

Changes

Summary

  1. Add get_entity_transient_id (#1377) (commit: 6279947) (details)
  2. Add priority to event prefilters. (#1378) (commit: 416a628) (details)
Commit 6279947c7061e4840dbfeca28d65ea0d254f3c1b by noreply
Add get_entity_transient_id (#1377)

(commit: 6279947)
The file was modifiedsrc/main/java/com/laytonsmith/core/constructs/CArray.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/PureUtilities/Common/ReflectionUtils.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/Static.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/PureUtilities/Common/StreamUtils.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/MCEntity.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EntityManagement.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCEntity.java (diff)
The file was modifiednb-configuration.xml (diff)
The file was modifiedsrc/main/java/com/laytonsmith/PureUtilities/Common/StringUtils.java (diff)
Commit 416a628f25aec1f7db50ccc8d473a442ab6d1368 by noreply
Add priority to event prefilters. (#1378)

This allows for prefilters to be processed in order of least to highest
complexity, leading to more efficient processing of events that don't
match. For instance, matching a regex is more expensive than matching a
boolean, so we check the boolean first, and if it doesn't match, then we
don't try the regex match, whether or not it would match. General
prefilter types have been given a default complexity, but as every
prefilter is different, it's also possible for individual overrides to
provide a custom priority instead.
(commit: 416a628)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/EventUtils.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/ItemStackPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/MaterialPrefilterMatcher.java (diff)
The file was modifiedsrc/main/resources/docs/Developer_Guide (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/Event.java (diff)
The file was addedsrc/main/java/com/laytonsmith/core/events/AbstractGenericEvent.java
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/WorldPrefilterMatcher.java (diff)
The file was modifiedsrc/test/java/com/laytonsmith/testing/StaticTest.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/PrefilterBuilder.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/exceptions/ConfigRuntimeException.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/abstraction/bukkit/events/BukkitAbstractEventMixin.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/AbstractEvent.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/MacroPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/PrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/StringICPrefilterMatcher.java (diff)
The file was modifiedsrc/main/resources/docs/Extension_Development (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/extensions/ExtensionTracker.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/tools/ShellEventMixin.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/BooleanPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/MacroICPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/Prefilter.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/LocationPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/AbstractPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/StringPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/RegexPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/MathPrefilterMatcher.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/functions/EventBinding.java (diff)
The file was modifiedsrc/main/java/com/laytonsmith/core/events/prefilters/ExpressionPrefilterMatcher.java (diff)