Ignore:
Timestamp:
07/24/19 11:23:45 (5 years ago)
Author:
bln4
Message:

Renamed Frame.getItems() to Frame.getSortedItems() to better represent its functionality.

-> org.apollo.ApolloGestureActions
-> org.apollo.ApolloSystem
-> org.expeditee.actions.Actions
-> org.expeditee.actions.Debug
-> org.expeditee.actions.ExploratorySearchActions
-> org.expeditee.actions.JfxBrowserActions
-> org.expeditee.actions.Misc
-> org.expeditee.actions.Navigation
-> org.expeditee.actions.ScriptBase
-> org.expeditee.actions.Simple
-> org.expeditee.agents.ComputeTree
-> org.expeditee.agents.CopyTree
-> org.expeditee.agents.DisplayComet
-> org.expeditee.agents.DisplayTree
-> org.expeditee.agents.DisplayTreeLeaves
-> org.expeditee.agents.GraphFramesetLinks
-> org.expeditee.agents.TreeProcessor
-> org.expeditee.gio.gesture.StandardGestureActions
-> org.expeditee.gui.DisplayController
-> org.expeditee.gui.FrameCreator
-> org.expeditee.gui.FrameIO
-> org.expeditee.io.DefaultTreeWriter
-> org.expeditee.io.JavaWriter
-> org.expeditee.io.PDF2Writer
-> org.expeditee.io.TXTWriter
-> org.expeditee.io.WebParser
-> org.expeditee.io.flowlayout.XGroupItem
-> org.expeditee.items.Dot
-> org.expeditee.items.Item
-> org.expeditee.items.ItemUtils
-> org.expeditee.network.FrameShare
-> org.expeditee.stats.TreeStats


Created ItemsList class to wrap ArrayList<Item>. Frames now use this new class to store its body list (used for display) as well as its primaryBody and surrogateBody.

-> org.expeditee.agents.Format
-> org.expeditee.agents.HFormat
-> org.expeditee.gio.gesture.StandardGestureActions
-> org.expeditee.gui.Frame
-> org.expeditee.gui.FrameUtils


Refactorted Frame.setResort(bool) to Frame.invalidateSorted() to better function how it is intended to with a more accurate name.

-> org.expeditee.agents.Sort


When writing out .exp files and getting attributes to respond to LEFT + RIGHT click, boolean items are by default true. This has always been the case. An ammendment to this is that defaults can now be established.
Also added 'EnterClick' functionality. If cursored over a item with this property and you press enter, it acts as if you have clicked on it instead.

-> org.expeditee.assets.resources-public.framesets.authentication.1.exp to 6.exp
-> org.expeditee.gio.gesture.StandardGestureActions
-> org.expeditee.gio.input.KBMInputEvent
-> org.expeditee.gio.javafx.JavaFXConversions
-> org.expeditee.gio.swing.SwingConversions
-> org.expeditee.gui.AttributeUtils
-> org.expeditee.io.Conversion
-> org.expeditee.io.DefaultFrameWriter
-> org.expeditee.items.Item


Fixed a bug caused by calling Math.abs on Integer.MIN_VALUE returning unexpected result. Due to zero being a thing, you cannot represent Math.abs(Integer.MIN_VALUE) in a Integer object. The solution is to use Integer.MIN_VALUE + 1 instead of Integer.MIN_VALUE.

-> org.expeditee.core.bounds.CombinationBounds
-> org.expeditee.io.flowlayout.DimensionExtent


Recoded the contains function in EllipticalBounds so that intersection tests containing circles work correctly.

-> org.expeditee.core.bounds.EllipticalBounds


Added toString() to PolygonBounds to allow for useful printing during debugging.

-> org.expeditee.core.bounds.PolygonBounds

Implemented Surrogate Mode!

-> org.expeditee.encryption.io.EncryptedExpReader
-> org.expeditee.encryption.io.EncryptedExpWriter
-> org.expeditee.encryption.items.surrogates.EncryptionDetail
-> org.expeditee.encryption.items.surrogates.Label
-> org.expeditee.gui.FrameUtils
-> org.expeditee.gui.ItemsList
-> org.expeditee.items.Item
-> org.expeditee.items.Text


???? Use Integer.MAX_VALUE cast to a float instead of Float.MAX_VALUE. This fixed some bug which I cannot remember.

-> org.expeditee.gio.TextLayoutManager
-> org.expeditee.gio.swing.SwingTextLayoutManager


Improved solution for dealing with the F10 key taking focus away from Expeditee due to it being a assessibility key.

-> org.expeditee.gio.swing.SwingInputManager


Renamed variable visibleItems in FrameGraphics.paintFrame to itemsToPaintCanditates to better represent functional intent.

-> org.expeditee.gui.FrameGraphics


Improved checking for if personal resources exist before recreating them

-> org.expeditee.gui.FrameIO


Repeated messages to message bay now have a visual feedback instead of just a beep. This visual feedback is in the form of a count of the amount of times it has repeated.

-> org.expeditee.gui.MessageBay


Updated comment on the Vector class to explain what vectors are.

-> org.expeditee.gui.Vector


Added constants to represent all of the property keys in DefaultFrameReader and DefaultFrameWriter.

-> org.expeditee.io.DefaultFrameReader
-> org.expeditee.io.DefaultFrameWriter


Updated the KeyList setting to be more heirarcial with how users will store their Secrets.

-> org.expeditee.settings.identity.secrets.KeyList

Location:
trunk/src/org/expeditee/agents
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/agents/ComputeTree.java

    r919 r1415  
    5858               
    5959                //TODO can speed this up by using frame.hasAnnotations
    60                 for (Item i : frame.getItems()) {
     60                for (Item i : frame.getSortedItems()) {
    6161                        if (_stop)
    6262                                return null;
  • trunk/src/org/expeditee/agents/CopyTree.java

    r919 r1415  
    9696
    9797                boolean added = false;
    98                 for (Item i : fresh.getItems())
     98                for (Item i : fresh.getSortedItems())
    9999                        if (i.getLink() != null && !i.isAnnotation() && i.isLinkValid()) {
    100100                                String link = i.getLink().toLowerCase();
     
    133133                        Frame toParse = FrameIO.LoadFrame(name);
    134134                        boolean changed = false;
    135                         for (Item i : toParse.getItems()) {
     135                        for (Item i : toParse.getSortedItems()) {
    136136                                if (i.getLink() != null && i.isAnnotation() && i.isLinkValid()) {
    137137                                        String link = i.getLink();
  • trunk/src/org/expeditee/agents/DisplayComet.java

    r1102 r1415  
    5555                        seen.add(oldFrame.getName().toLowerCase());
    5656                        _frameList.push(oldFrame);
    57                         old = ItemUtils.FindExactTag(oldFrame.getItems(), ItemUtils
     57                        old = ItemUtils.FindExactTag(oldFrame.getSortedItems(), ItemUtils
    5858                                        .GetTag(ItemUtils.TAG_BACKUP));
    5959                        oldFrame = null;
  • trunk/src/org/expeditee/agents/DisplayTree.java

    r1102 r1415  
    9696        private void delay(Frame toSearch) {
    9797                // check for change in globaly delay time
    98                 Item delay = ItemUtils.FindTag(toSearch.getItems(),
     98                Item delay = ItemUtils.FindTag(toSearch.getSortedItems(),
    9999                                "@DisplayTreePause:");
    100100               
     
    112112
    113113                // check for change in delay for this frame only
    114                 delay = ItemUtils.FindTag(toSearch.getItems(), "@DisplayFramePause:");
     114                delay = ItemUtils.FindTag(toSearch.getSortedItems(), "@DisplayFramePause:");
    115115                if (delay != null) {
    116116                        try {
  • trunk/src/org/expeditee/agents/DisplayTreeLeaves.java

    r919 r1415  
    4646                // call display trees process only if the frame doesnt have any linked
    4747                // items
    48                 for (Item item : toProcess.getItems()) {
     48                for (Item item : toProcess.getSortedItems()) {
    4949                        if (item.getLink() != null && !item.isAnnotation())
    5050                                return;
  • trunk/src/org/expeditee/agents/Format.java

    r1258 r1415  
    2929import org.expeditee.gui.Frame;
    3030import org.expeditee.gui.FrameUtils;
     31import org.expeditee.gui.ItemsList;
    3132import org.expeditee.items.Item;
    3233import org.expeditee.items.Text;
     
    181182                 */
    182183                start.setChanged(true);
    183                 start.addToUndoMove(changedItems);
     184                start.addToUndoMove(new ItemsList(changedItems));
    184185                DisplayController.requestRefresh(true);
    185186                return null;
  • trunk/src/org/expeditee/agents/GraphFramesetLinks.java

    r1125 r1415  
    119119                                }
    120120
    121                                 List<Item> items = toProccess.getItems();
     121                                List<Item> items = toProccess.getSortedItems();
    122122
    123123                                for (Item item : items) {
  • trunk/src/org/expeditee/agents/HFormat.java

    r919 r1415  
    2424
    2525import org.expeditee.gui.Frame;
     26import org.expeditee.gui.ItemsList;
    2627import org.expeditee.items.Item;
    2728import org.expeditee.items.Text;
     
    6667               
    6768                System.out.println(changedItems);
    68                 start.addToUndoMove(changedItems);
     69                start.addToUndoMove(new ItemsList(changedItems));
    6970                return null;
    7071        }
  • trunk/src/org/expeditee/agents/Sort.java

    r1142 r1415  
    6767
    6868                // items will need to be resorted after this
    69                 start.setResort(true);
     69                start.invalidateSorted();
    7070                DisplayController.requestRefresh(true);
    7171
  • trunk/src/org/expeditee/agents/TreeProcessor.java

    r919 r1415  
    7979
    8080                        // the items on the frame currently being processed.
    81                         List<Item> items = next.getItems();
     81                        List<Item> items = next.getSortedItems();
    8282
    8383                        // resume from the next item in the list
Note: See TracChangeset for help on using the changeset viewer.