Skip to content
Snippets Groups Projects
  1. Apr 05, 2013
    • jsiegle's avatar
      Run astyle to make code format more consistent · ea8c1c90
      jsiegle authored
      To run this in the future, install astyle (sudo apt-get install astyle),
      then enter the following from the top-level project directory:
      
      astyle --options=astyle.options --recursive "./Source/*.cpp" "./Source/*.h"
      
      This will convert tabs to 4 spaces and ensure that brackets are on
      their own lines.
      ea8c1c90
  2. Mar 21, 2013
    • jsiegle's avatar
      Change copyright year to 2013 · e36119a1
      jsiegle authored
      Use the following command to update the copyright year in all files,
      starting in the Source/ directory:
      
      find . -type f -print0 | xargs -0
         sed -i 's/Copyright (C) 2012/Copyright (C) 2013/g'
      
      Works like a charm!
      e36119a1
  3. Jan 28, 2013
    • Ryan Maloney's avatar
      Saving Parameters · 58c8797d
      Ryan Maloney authored
      Uses the parameters array to create XML data for parameter settings on
      each channel when saving.
      
      This only works for processors that use the parameters array, though I
      updated LFP and Signal Generator to update that in parallel (LFP seems
      to have an unrelated bug in dealing with channels that is causing some
      problems). Eventually, all parameters should be used in the parameters
      array, since it opens up a lot of possible holes when using default
      values (they need to be specified twice), and once loading is
      implemented. I've fixed some of the problems with parameters, so this
      should be easier to do.
      
      As part of this, I also fixed the implementation of
      addParameterEditors. The old way of implementing a custom parameter
      editor was to rewrite the virtual function, but because it was called
      in the constructor, this didn't work (constructors use the type of the
      parent). Instead, all editors now also pass a bool
      "useDefaultParameterEditors" which is used by addParameterEditors() to
      determine whether to do anything. I think this is the best way to do
      it. It's initialized to default as true, though I had some trouble with
      it implicitly taking the argument and so had to add true to most of the
      editor functions (which is probably good practice anyway).
      
      I also fixed some of the functions for generic processor to get
      parameter index and parameter name.
      
      Obviously, this is of considerable less use without functions for
      loading parameters, but I figured it'd be better to make available for
      testing with just the loading in case the changes to Parameters broke
      anything I missed.
      58c8797d
  4. Nov 17, 2012
  5. Oct 06, 2012
  6. May 15, 2012
  7. Mar 10, 2012
  8. Mar 01, 2012
    • jsiegle's avatar
      Major refactoring. · a66d703f
      jsiegle authored
      Three important changes:
      - The FilterList is now the ProcessorList
      - The FilterViewport is now the EditorViewport
      - Any classes that need to access important UI objects have become subclasses
        of the "AccessClass". Such objects automatically obtain pointers from
        the UIComponent and register the MessageCenter as an ActionListener. This
        will make it much easier to allocate pointers to objects.
      a66d703f
  9. Feb 20, 2012
  10. Feb 19, 2012
  11. Feb 16, 2012
    • jsiegle's avatar
      Added code to catch socket exceptions · a3b1165f
      jsiegle authored
      a3b1165f
    • jsiegle's avatar
      Fixed bug in GenericProcessor::setDestNode · 0e8dac82
      jsiegle authored
      Previously, if you placed a sink in front of a source, it would lead to
      a never-ending "while" loop. By removing two lines (254-255), this problem
      was solved.
      0e8dac82
    • jsiegle's avatar
      Added code for WiFiOutput · 6a047d1d
      jsiegle authored
      In combination with an EventNode, a WiFiOutput node is able to send a
      simple message to a hard-coded address via UDP. This is the first sink that
      actually emits an output. It's obviously over-simplified, but as a
      proof-of-concept, it seems to be working well.
      6a047d1d
Loading