Git Product home page Git Product logo

blight's Introduction

Blight

Build Status

Blight is a cross-platform graphical user interface for Tox written in Racket that utilizes libtoxcore-racket and libopenal-racket. In very early pre-alpha stage. All help and testing appreciated.

Blight Screenshot

Prerequisites

  • Racket (version 6.0.1 or higher)

  • Toxcore

  • OpenAL

  • libtoxcore-racket

  • libopenal-racket

Installation

  • Precompiled binaries are automatically compiled after a Github commit. Navigate to the blight/bin directory and run blight. Please note that since these builds are taken from the latest git the program's behavior may have unintended side effects.

  • Latest amd64 GNU/Linux

  • Latest amd64 OSX

  • INSTALL.md details installation from source.

Keyboard shortcuts

  • Blight implements several cutsom keyboard shortcuts for commonly used unicode characters.

  • λ (U+03BB) is mapped to ctrl+\

  • © (U+00A9) is mapped to ctrl+1

  • ® (U+00AE) is mapped to ctrl+2

  • ™ (U+2122) is mapped to ctrl+3

Read Eval Print Loop (REPL) Client

Blight now contains a REPL server built in, which you can access through the repl-client.rkt program. This REPL client will allow you to access the internals of Blight while it is running and you can modify the program on the fly. While this does give you a great amount of power, it also requires a great amount of knowledge of the program's internals and good amount responsibility in how you use that knowledge. It is always a danger that you could corrupt the data file, so be sure to backup your files frequently!

Contributing

Contact

  • Visit the Tox IRC channel #tox-dev on freenode.

  • Email me: [email protected]

  • Tox me: 802D30E27746AE299FC2796D014C24700140574BFBFBB9397114D7CB82DC25728BA74CC378EF

License

Blight is licensed under GPLv3+.

blight's People

Contributors

4da avatar audreytoskin avatar lehitoskin avatar octaviogarcia avatar stal888 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blight's Issues

Fails to compile start under racket 6.1

debian, amd 64, racket v6.1

When run from drracket i get the following message:

custom-editor-canvas%: undefined;
cannot use field before initialization

on this code:

(define group-list (list (new group-window%
                              [this-label "Blight - Groupchat #0"]
                              [this-height 600]
                              [this-width 800]
                              [this-tox my-tox]
                              [group-number 0])))

Keyboard commands for text window

Blight needs to be able to do
Ctrl+a to select all text
Ctrl+c to copy text
Ctrl+v to paste text
Ctrl+x to cut text

Maybe right click shenanigans, too?

M$ Windows build

How can we make one?

I've noticed that windows builds of tox have single libtox.dll, whereas linux ones do have libtoxcore.so and libtoxav.so

how can we handle this?

Make Help Message WM friendly

Help message currently isn't friendly for the various tiling window managers. Look for frame or message (or whatever) that has an arbitrary text length.

P.S. label has a set limit of 200 characters.

OSX build crashes on launch.

After probing it with the Console, all it would tell me that the application 'exited with code 1'.

However, after opening up the app bundle, finding the blight binary and attempted to run that directly, I get a bit more of info. The error message reads:

ffi-obj: couldn't get "toxav_add_av_groupchat" from "libtoxav.dylib" (dlsym(0x1012bd0c0, toxav_add_av_groupchat): symbol not found)
context...:
/Users/seanq/Applications/collects/ffi/unsafe.rkt:198:2: get-ffi-obj*
#%embedded:g12912:av: [running body]
#%embedded:g12826:main: [traversing imports]
#%mzc:blight: [traversing imports]
loop

blight crashes/terminates(?) directly after startup - problem with pulseaudio?

Hey,

I built at ~amd64 gentoo via the tox overlay ebuild (currently masked, but builds properly).

holgersson @ host % blight
#t
'ok
Blight: Connecting to DHT ... Connected!
AL lib: (EE) alc_cleanup: 1 device not closed

is the exact output. To me this looks like some sound trouble.

I'm running pulseaudio 6.0 with USE="X alsa alsa-plugin asyncns bluetooth caps dbus gdbm glib ipv6 orc qt4 ssl systemd tcpd udev webrtc-aec -doc -equalizer -gnome -gtk -jack -libsamplerate -lirc -native-headset -neon -ofono-headset -oss -realtime -selinux -system-wide -test -xen -zeroconf".

If you need more information and/or testings just tell (and/or contact me anywhere here, via e-mail or via IRC (holgersson; freenode).

Greetings,
holgersson

PS: I'd like to unmask blight now inside the overlay, but I'd like this issue fixed before, so other users can simply enjoy blight ;)

[Edit: Fixed code output - I forgot markdown was used here.]

Text Selection

Chat receive is currently unselectable. Need to make it selectable, yet still uneditable.

Should also take this opportunity to get URL's to be blue, underlined, and clickable.

Spellcheck

Maybe have color:text<%> spellcheck text.

(send a-text change-style color:text<%>) or something.

dead code in helpers.rkt

The following functions aren't used anywhere and should be removed. If they are needed they can always be recovered from an older version of the source code. The tests should be removed too.

;helpers.rkt
setnode
delnode
any-bool
http?
https?
grab-http

Broadcast avatar change: arity mismatch.

When I set the following file as my avatar, it shows up in the local UI, but this message is printed to the console:

Blight: Setting avatar ... Blight: Broadcasting our avatar change to online friends ... result arity mismatch;
 expected number of values not received
  expected: 1
  received: 2
  values...:
   'none
   'ok

me

Ridiculously big CPU and RAM usage

2014-06-05 blight resource usage

I haven't done anything unusual, just restarted Blight after emerging newest version, and after some time I've noticed resource usage.

UI looks crappy on tiled WM

proofpic

We should do something with it, for example make button area on main window fixed size and move "Enter Emoji" button to very bottom of chat window (and make surrounding area fixed size as well).

Error trying to run Blight on 32bit machine.

So I will be away from my 64bit machine for a couple of days and I'm trying to get blight to run on muh thinkpad.

I keep getting this error. I followed the instructions perfectly so I'm not sure whats happening exactly because frankly I'm awful with Linux and software side programming.

Linux Mint
Thinkpad T42

./blight.rkt
blight.rkt:6:9: libtoxcore-racket: standard-module-name-resolver: collection not found
  collection: "libtoxcore-racket"
  in collection directories:
   /home/david/.racket/5.3.4/pkgs/installed/libtoxcore-racket
   /home/david/.racket/5.3.4/collects
   /usr/share/racket/collects
  in: libtoxcore-racket

hope this helps!

Failure trying to remove a groupchat

Error output:

for-each: contract violation
  expected: list?
  given: #f
  argument position: 2nd
  other arguments...:
   #<procedure:.../friend-list.rkt:281:14>
  context...:
   /Users/prime/Code/blight/gui/friend-list.rkt:278:0: do-delete-group!
   /Applications/Racket v6.1.1/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:451:6
   /Applications/Racket v6.1.1/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:502:32
   /Applications/Racket v6.1.1/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:650:3

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.