Code Monkey home page Code Monkey logo

jbrick's People

Contributors

cjprez avatar eknelson17 avatar ethanjurman avatar jrjurman avatar melissay94 avatar priyasankaran avatar rek3650 avatar retrogamer80s avatar shresthabhishek avatar swinejelly avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jbrick's Issues

Undo clears the text loaded in a file

If I open a file that was loaded into JBrick, and then click the undo button, it clears all the text in the file.... If I save, it will actually remove all the text from the file and leave you with nothing... Is this a bug, or has this been documented anywhere?

Maximize File Viewer with no File View

Selecting the 'Maximize File Viewer' option does nothing if the File View is not already visible. Is this a bug or a feature? If it is a feature, we might want to give some indication that the function didn't actually perform as intended (or maybe disabling the option to begin with).

White on Black color conflicts

Hello all, right now, setting the JBrick window to have a dark background and white foreground colors doesn't work because there are several variable types that don't change color, and the currentline selector doesn't have a color selector in the preferences... Is this something we wanted to fix (by adding more color selectors to the preferences page) or is this a result of a bug that should be added?
capture

Status pane error links do not link user to other file

It seems like something in the code was set up to do this (or at least start...) however it doesn't seem to be working. (JBricxStatusPane line 137 "TODO this will not jump to the right file if it isn't currently open")

Notes Looping

Sometimes when too many notes are pressed rapidly or at once, the composer will loop some of the notes and will not stop until either
a) the window is closed
b) the play button is hit again with new notes

So far this issue has appeared somewhat randomly on the windows side

Eventual Update To Teacher's Guide

As of right now, we don't have a link to place on the teacher's activity guide next to the mention of JBrick in the materials required list. Once we have a link to the program for them to use it needs to be added into the guide as well.

Using the compile button in JBrick gives an exception?

The 2013 winter jar seems to have compiling working, but when I run the existing code and press the compile button I get a null pointer exception. I tried checking out JBrick's code at various old commits and they all seem to give the null pointer exception. So I'm not sure how the 2013 winter jar has compiling working?

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.jbricx.swing.communications.CompilerRunner.getCompilerPath(CompilerRunner.java:138)
at com.jbricx.swing.communications.CompilerRunner.compile(CompilerRunner.java:60)
at com.jbricx.swing.communications.NXTManager.compile(NXTManager.java:120)
at com.jbricx.swing.actions.CompileAction.doRun(CompileAction.java:64)
at com.jbricx.swing.actions.AbstractCompilerAction.run(AbstractCompilerAction.java:64)
at com.jbricx.swing.actions.CompileAction.actionPerformed(CompileAction.java:59)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Thoughts:

Perhaps the compile button doesn't work in Eclipse? Maybe it can only work after the project is a jar?

Get the unit tests compiling

Right now lets focus on just getting them compiling, and then if they don't pass we can update them/fix bugs in the future.

MenuBar icons can be unintuitive

Some of the icons for the menu bar preform different functions than what a first time user would expect. The gear that is used for the compile icon would fit better as a preferences icon. The find and replace icon is also the same as the go to icon.
screen shot 2014-06-02 at 1 06 25 pm

JAWS text not being flushed?

I'm encountering a bug where JAWS is saying the file tab name, and then the file name AFTER I select anything else...

STEPS TO REPRODUCE

  1. Start JBrick
    JBrick starts, JAWS reads out: "JBrick, New File Button"
    _
  2. Create several new files using the "New File" menu button

Expected Results: JBrick creates several new file tabs, JAWS reads the new file names

Actual Results: JBrick creates several new file tabs, JAWS reads the previously created file name

If I create a new file, and then click on something else, like chrome, it'll read the file name that was just created. This also occurs when switching between the tabs in JBrick. I'm guessing that whatever text JAWS is supposed to read, it's not getting flushed correctly, or we're adding it at the wrong time...

Related Test Case: TC804 - Speech for Tab Tree

Status Pane not accessible

Status pane doesn't allow users to navigate it with just the keyboard.
A user should be able to navigate and select various issues (being brought directly to the line that the error is occurring).
Also semi-colons are not being read by the screen reader (they are being read as a pause in the sentence). Investigate further-- but replacing ';' and various other punctuation that is wrapped in single quotes might solve the issue.

Auto Compile Option

There is an option in the preferences menu for auto compiling that at this time appears to do nothing.

Other programs use underlining for syntax errors and such automatically and it would be a useful feature to implement so that you don't need to hit compile every time to see everything wrong.

Line number isn't read (Both Voice Over and JAWS)

When I tried using VoiceOver with JBrick, it didn't seem to read the line number. Not sure if I'm just not good at using VoiceOver, or if this is an actual issue, so this will require some testing to verify.

However, at this point JBrick isn't working on OSX anyway so I think this issue can be put on hold until JBrick works on OSX

Selecting Cancel sets color to Grey

When editing colors in the Preferences window, selecting cancel on a color prompt changes the color to grey instead of reverting it back to the previous color.

When the user selects 'apply' or 'ok', the colors are set to grey.

This bug is now labeled as TC202

Keyboard shortcut for line number addition

"I did a talk about JBrick this week and a blind programmer asked about
being able to jump to a specific line of code (as in a keyboard shortcut
and menu that pops up asking which line to go to).

Not a bad idea that should not be that bad to add. Can you guys go ahead
and add that in?

Thanks,
--Steph "

Recent files aren't always saved on OSX

Depending on how you exit JBrick, the recent files don't get recorded as "recent files"

-Command Q
-Closing from Jbrick--> Quit

These do not work. Closing out via File-Quit, or the red close circle thing on OSX DOES work.

We suspect that this issue only exists on OSX and not on Windows, which is why it didn't pop up until now.

Current Version doesn't download to the brick

When running the application on Windows, the application compiles and says it downloads on to the brick, however the program does not show up in the software files. The older version of jbricks (jbrick-20130305.jar, March 5th 2013) seems to not have this issue and works fine.

Run action

With the -r in nbc (NXTAccess) it is possible to get the application to download and run.

Find and replace

Tried using find and replace in jBricks and it printed some errors and didn't do anything.

Removing empty New Files on Open

If JBrick starts with an empty New File, and the User opens their own file, "New File 1" remains open... Did we want to remove the "New File 1" tab if it was empty?

Support fantom 64 bit driver

Currently JBrick doesn't acknowledge the 64 bit driver and pops up an error saying that the fantom driver is missing. We need to change it so that it can find the 64 bit driver as well.

Current line highlight offset

For some reason on windows the line highlights for audio breaks don't line up with the current line highlighter.
capture1

This makes it so you cannot remove or modify audio breaks.

I think this might be caused by these stray pixels at the very top of the document that for some reason exist only on windows.
capture
On my windows machine moving it up by 4 fixes the problem but i'd rather not hard code in that fix, especially without testing it on other windows machines. I can't seem to find where or why this extra space is added.

Update Help Browser & Keyboard Shortcut Windows

Found the help browser folder. The code inside was all commented out and has not been touched in about two years.

When comments were toggled off for the code, errors relating to outdated class methods arise.

Possible Solution: Create new code from scratch that will take user to html pages.
Pages already in existence, may required future updates.

Melissa

Fix the download shortcut

F6 is supposed to download code to the robot..it doesn't seem to do anything right now. We need to figure out what's wrong with it and fix it.

Related files: DownloadAction.java and JBricxMenuAndToolBarDelegate.java

Piano Composer

Found code and documentation for a piano composer that is currently commented out. I'm not sure how broken it is but I'm looking into fixing it.

Compiling Fails

scrncap

Compiling straight-up fails for me from the JBrickxLauncher. I don't know if there are any elements that I might be missing, but if this is the case, maybe those should be printed in the status pane...

This happens on both Mac and Windows, with syntactically correct files.

Line Debugger

Breakpoints / debugger that makes the brick play tones of certain sounds ("good" "bad" etc...) at specifics lines.

Changing the Hotkeys on mac

The jBrick Application has unintuitive hotkeys by having them set to CTRL + on Mac.
The hotkeys should be using the COMMAND (โŒ˜) key on instead (when on mac), so that way mac users aren't confused over alternate hotkey schemes between multiple applications.

EV3 support

We want to add support for EV3 (the latest lego mindstorms kit). We use the NXC compiler in JBrick, so we will need to have a version of it that is compatible with EV3

Add a reference screen

Dr. Ludi requested this. I think we could put this under the Help menu, and it will have the keyboard shortcuts listed on it

The shortcuts can be found here https://github.com/RITAccess/JBrick/wiki/Keyboard-Shortcuts

It would need to swap out ctrl/command based on the user's OS.

We probably wouldn't want to include the shortcuts that haven't been completed yet (i.e. the joystick shortcut and whatnot that isn't implemented)

JBrick starts with no file when last file's path is invalid

JBrick will have no initial window if the file last opened (and first to open on a new instance) has a directory that is now invalid (via a file name change or path change).

Steps to Reproduce:

  1. User opens the JBrick application
  2. User saves the file to the computer using the File>Save menu option
  3. User closes the JBrick application
  4. User Deletes/Renames/Moves the saved file
  5. User Reopens JBrick

What is expected to happen: The default file, "New File 1" is opened.
What happens: No new file is shown.
Refer to Test : TC008 https://docs.google.com/a/g.rit.edu/spreadsheet/ccc?key=0AqsclMCu9bU2dEFNbDFNOWNqbms2UjZ4N3p3RTlmUFE&usp=sharing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.