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
      Revert EditorViewport to standard pointers · ad991984
      jsiegle authored
      Using ScopedPointers was causing memory leaks. It's worth tracking
      down the source of these in the future, but for now, we'll leave
      the code as it was before.
      ad991984
    • 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
    • jsiegle's avatar
      Switch pointers to ScopedPointers · 34ccc510
      jsiegle authored
      The main UI components now use ScopedPointers for their children,
      alleviating the need to call "deleteAllChildren" or "deleteAndZero"
      in the destructor.
      34ccc510
    • jsiegle's avatar
      Updated JUCE library · 637baf17
      jsiegle authored
      637baf17
  3. Feb 12, 2013
    • Marti Bolivar's avatar
      Fix up unused variable/value warnings. · 12574cf1
      Marti Bolivar authored
      
      Generic changes:
      
      - Genuinely unused variables (-Wunused-variable): delete
        them. Sometimes add a comment if the variable is for an extension of
        the code that isn't done yet.
      
      - Variables that became unused due to commented-out
        code (-Wunused-variable): comment out their definitions. Dirty, but
        that's because commenting out code instead of deleting it is
        dirty.
      
        Many of these are due to commented-out printlines that should have
        been log messages that only get emitted at high verbosity level.
      
      Specific changes:
      
      - SpikeObject.cpp (-Wunused-value): move initialization of loop
        variable into first for loop clause to silence the warning.
      
      Signed-off-by: default avatarMarti Bolivar <mbolivar@leaflabs.com>
      12574cf1
    • Marti Bolivar's avatar
      Resolve -Wreorder warnings. · efe43aa8
      Marti Bolivar authored
      
      Rearrange member initialization in constructors to silence GCC
      -Wreorder warnings (-Wreorder is enabled by -Wall).
      
      Signed-off-by: default avatarMarti Bolivar <mbolivar@leaflabs.com>
      efe43aa8
  4. 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
  5. Dec 27, 2012
  6. Dec 26, 2012
  7. Nov 24, 2012
  8. Nov 16, 2012
    • Adam Mokhtari's avatar
      Fixed EditorViewport crash on keypresses · 2ef4ec75
      Adam Mokhtari authored
      Before, EditorViewport would start accessing arrays on keypresses (specifically
      the arrow keys) even when there were no editors.  This adds an extra check to
      prevent this.
      2ef4ec75
  9. Oct 06, 2012
  10. May 21, 2012
  11. May 20, 2012
  12. May 19, 2012
  13. May 18, 2012
  14. May 16, 2012
  15. May 13, 2012
  16. May 07, 2012
  17. Apr 13, 2012
    • jsiegle's avatar
      Redesigned channel selector buttons. · f5b78060
      jsiegle authored
      Channel selection now takes place within a slick new interface. It's not
      yet tied to actually changing parameters, but things should be much simpler
      code-wise, as well as visually.
      f5b78060
  18. Apr 10, 2012
  19. Apr 08, 2012
    • jsiegle's avatar
      AudioComponent closes device when not in use. Closes #10. · b41183d8
      jsiegle authored
      The AudioComponent now closes the audio device when it's not in use,
      saving CPU cycles. Previously, background CPU levels would be between
      8 and 10%. Now, when acquisition is not active (and audio device settings
      are not being actively edited), background CPU levels drop to 2%. More
      optimization will be necessary to get it down to zero, but 2% is still
      a big improvement over what we had previously.
      b41183d8
  20. Apr 06, 2012
  21. Mar 11, 2012
  22. Mar 10, 2012
  23. Mar 03, 2012
  24. Mar 02, 2012
Loading