Code Monkey home page Code Monkey logo

gtox's People

Contributors

algram avatar ansa89 avatar crynale avatar kokutoru avatar mohlek avatar noirbizarre avatar spagy avatar teemperor avatar twyz avatar vasyahuyasa 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtox's Issues

near "(": syntax error

 (gTox:14298): glibmm-ERROR **:
 unhandled exception (type std::exception) in signal handler:
 what: near "(": syntax error

New toxcore API cleanup

apiupdate mohlek/gTox@3929cc8 branch is just quick & dirty

Todos

Put this switch/case into Exception

from

switch(error) {
    case TOX_ERR_NEW_OK:
        //all okay
        break;
    case TOX_ERR_NEW_NULL:
        throw Exception("TOX_ERR_NEW_NULL");
        break;
   ....
   case TOX_ERR_NEW_MALLOC:
        throw Exception("TOX_ERR_NEW_MALLOC");
        break;
    ....
    default:
        throw std::runtime_error("tox_new unknow error code");
        break;
}

to

switch(error) {
    case TOX_ERR_NEW_OK:
        //all okay
        break;
    default:
        throw Exception(error);
        break;
}

and in Exception:

Exception(TOX_ERR_NEW_MALLOC error) {
  switch(error) {
    case TOX_ERR_NEW_OK:
        throw std::runtime_error("Illegal Exception TOX_ERR_NEW_OK");
        break;
    case TOX_ERR_NEW_NULL:
        code = "TOX_ERR_NEW_NULL";
        break;
   ....
   case TOX_ERR_NEW_MALLOC:
        code = "TOX_ERR_NEW_MALLOC";
        break;
    ....
    default:
        throw std::runtime_error("tox_new unknow error code");
        break;
    }
}

With this change we probably should split the Exception from the Tox.h/cpp and call it ToxException.h/cpp

Last Online

Find alternative for Tox::get_last_online, if it doesn't exists anymore.. write own version.
Or remove it, when it's not important..

New Status Codes

    OFFLINE = -1,
    NONE = TOX_USER_STATUS::TOX_USER_STATUS_NONE,
    AWAY = TOX_USER_STATUS::TOX_USER_STATUS_AWAY,
    BUSY = TOX_USER_STATUS::TOX_USER_STATUS_BUSY,
    TCP_ONLY = 0x1000,
    TCP_ONLY_NONE = TOX_USER_STATUS::TOX_USER_STATUS_NONE | 0x1000,
    TCP_ONLY_AWAY = TOX_USER_STATUS::TOX_USER_STATUS_AWAY | 0x1000,
    TCP_ONLY_BUSY = TOX_USER_STATUS::TOX_USER_STATUS_BUSY | 0x1000,

Create update the functions that uses this with (EUSERSTATUS)(status & TCP_ONLY) and/or
make it somehow visual in contact list.

New Network Protocol

I had some confusing problems while testing the new apiupdate-branch...
and found the following issue irungentoo/toxcore#1307

Not really a problem, we just need to make sure to use the same "version" while testing.

For our first release, I think we should wait until uTox, qTox, Toxic, ... releases binaries with the new toxcore..

For the gtox-git ArchLinux package.. we probably will need a way to inform users that it will use the newest toxcore and won't be compatible with older clients.
Dialog when starting gTox ? With a "don't show again" option ?

Warning/Question Dialogs

When removing a contact, when error at adding contact etc.
Generally lets show a Error Dialog when a error occurs.

Translation

We should use constants for text's.
And we should have an english translation file

Scroll chat

When scrolled to bottom, and new message gets added, scroll down.

Add translation support

Never done before.. if you know how it's done contact me.
Will take some weeks to research.

AUR stopped working

==> gtox-git dependencies:

  • sqlite, (building from AUR)
  • librsvg, (building from AUR)
  1. it's installed
  2. why from AUR ?

I double checked the name of the package and checked installed status..

extra/sqlite 3.8.7.1-1 [Installiert]
A C library that implements an SQL database engine
extra/librsvg 1:2.40.5-1 [Installiert]
A SVG viewing library

No idea whats up..

Selectable text in chat

Not that simple to select text over multiple lables.
We probably will need to create a custom widget....

Is this dead?

I know two months shouldn't be considered dead, but still. Is this dead? I got my hopes up when I saw this project after I found out that Venom was dead.

SQLiteCpp is missing

Something is really messed up..
Please add the files from SQLiteCpp and everything should be fine :)

Remove send button, remove VPaned

Is a question if we should do it..

Remove send button.
Send message on ENTER.
New line with SHIFT+ENTER.

Remove VPaned, resizes as you write..

At the moment it resizes but never goes back to original position.
Why does it resize ? Because it's not in a ScrolledWindow.

So there are 2 options

  1. (Which I would like) As written above remove VPaned
    or
  2. Add ScrolledWindow

Tox URI scheme

More info at https://github.com/Tox/Tox-STS/blob/master/STS.md#tox-uri-scheme

We will need a way to signal a running gTox instance.. hmm

I think it should work the following way:

If client runs:

  1. IPC Signal to running client and close.
    • Does GTK has a platform independent solution for this ?
  2. Running client adds Tox ID
  3. Running client keeps running

If client doesn't run:

  1. Start a client
  2. add Tox ID
  3. Keep running

If more than 1 client runs:

Same as "If client runs" but signal all running clients..

Also lets add this ?

http://www.tkalin.com/blog_posts/using-console-vim-as-vim-protocol-handler-in-ubuntu/
Will be possible to use "tox://" or "tox://@" as url..

Lost first message, when log disabled

As the title says..

With open chat:

  1. Message comes in
  2. Write message into the log
  3. Find chat
  4. Add message to the chat

With closed chat:

  1. Message comes in
  2. Write message into log
  3. Create chat
  4. Chat loads log

With disabled log, chat won't be able to load the first incoming messages.

Possible solution:
When log is disabled, add a 2nd sqlite memory only database and write log.
This way, this bug will be fixed and it we will store the chat log for the session.
Right now messages are lost when you close the chat-window.

Multiple bootstraps

It should be possible to add multiple bootstraps if one bootstrap shut down...
The bootstraps could be readed from a sql table so users can edit them on their own (later).

Can't see message text

I do see that a message came, and it has an entry, but the area where the text should be is like non-existent. I can't read anything.

Translation

Use keywords for translation ?
Will german fallback to english when german misses the translation ?

Needs to be checked.

I think we should do this for the first release.

Corners not rounded

GNOME 3.16. Not sure if you see it too. If not, I'll send you a screenshot, but tomorrow, becasue I'm really tired.

Implement Tox-STS

https://github.com/Tox/Tox-STS/blob/master/STS.md
https://github.com/irungentoo/Tox_Client_Guidelines

I think it would be a good idea..

We should create a issue for each of these items and reference them..

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.