GithubHelp home page GithubHelp logo

kouets's Introduction

Hi there ๐Ÿ‘‹

trophy

kouets's People

Contributors

nob-aoki avatar o-jill avatar

Stargazers

 avatar

Watchers

 avatar  avatar

kouets's Issues

[bug] some letters should be replaced such as <, >.

input:
"C:/programing/qt/kouets/src/mainwindow.cpp(167):  Lines should be <= 80 characters long  [whitespace/line_length] [2]" 
result:
<B>C:/programing/qt/kouets/src/mainwindow.cpp</B>(<FONT COLOR='RED'>167</FONT>):<STRONG>  Lines should be <= 80 characters long </STRONG> <FONT COLOR='BLUE'>[whitespace/line_length]</FONT> <FONT COLOR='GREEN'>[2]</FONT><BR>"
should be:
<B>C:/programing/qt/kouets/src/mainwindow.cpp</B>(<FONT COLOR='RED'>167</FONT>):<STRONG>  Lines should be &lt;= 80 characters long </STRONG> <FONT COLOR='BLUE'>[whitespace/line_length]</FONT> <FONT COLOR='GREEN'>[2]</FONT><BR>"

realtime output

now kouets gets all the outputs from some program and put it to QTextEdit.

to make it more interactive, i want to make it real time.

and i may have to change decorating method or make some buffering class.

different programs for each project file

now program settings are stored as user's settings.
that kind of setting will be stored in each project file.
and of cause current settings will be kept as default setting.

detecting the files do not exist

when the files do not exist, status becomes "done", # of errors is zero and lastupdate becomes "1601/01/01 09:00:00".
they should be some error message.

update status in tree view.

put results into treeview.

  • status
    • ready
    • done
    • error
  • of errors

    • not yet (before processing)
    • ?(not supported format)
    • number

how can i compile a file?

when you want to compile a file, almost always you have to prepare some environmental variables such as INCLUDE.

some times *.bat files are easy to use.

this site shows how to change the variables when you run a child process.
Changing Environment Variables

put project file name somewhere.

to get which project file was loaded, i want to put project file name somewhere in the window.

  • tree view?
  • window title?
  • else?

setting if open latest file tab or not

i want a checkbox in settings tab about openning( or activating) latest file's tab.

  • activate the tab which was processed latest.
  • activate the tab which was processed latest.

coverity

i tried to use Coverity for static analysis.
but it turned out that i could not use travis-ci.org instead of travis-ci.com.
it is trouble some to setup coverity environment.
so i gave up using coverity ...

variables in cmdline

to support some variables like $filename in command-line.

term meaning
${dir} /path/to/the/
${path} /path/to/the/file.ext
${file} file.ext
${filename} file
${suffix} ext

with this feature, you can set "-i ${path} -o ${dir}output.log" in command-line.

project file

to manage many files, i want to use a file like project file.

i also have to decide its suffix!

[bug]a path contains space

if a path (application path, file path and so on) includes space such as c:\program files\kouets\kouets.exe qprocess parse it as separator in a command line.

the path should be double-quoted.

saving log file

save outputs as one or multiple files.

  • automatic? or intentionally choose from menu?
  • one file for one output?
    or one file for all outputs?
  • update the file or just append?

"no such file or directory" on linux

"double quotation" makes shell confused.
under linux, you shoud remove "double quotaiton" if the path does not contain SPACE.
is it because of Qt?

testsuite

i want to add some unit test.
but i haven't decided yet how to implement it.

file name in treeview

how about add a column for absolute path and make it hidden.
first column will be relative path as stored in project files.

it will be helpful in making project file hierarchy.

[bug]processing does not start by dropping files.

in adding some files by dropping, process does not start automatically.
it bight be "brunning_"'s state problem.
"initialized" should be added.

enum {
    run_init = -1,
    run_stop = 0,
    run_running = 1,
    run_max
};

appveyor

i started to support building at Appveyor from 0ebfc55.
but they don't have Qt4 but Qt5.
so i started to support qt5 (only compiling) from a5dc847.
but not finished yet.
i also have to update readme about qt.

D&D

support drag and drop files.
project file
non project file

STDOUT or STDERR?

programs puts their information to STDOUT and sometimes STDERR.

ex. cpplint.py puts to STDERR.

so, i want to choose among them.

STDOUT, STDERR or both of them?

compile error on linux

gcc:
4.6.1(32bit)
Qt:
5.5.1(32bit)
reason:
TRUE and FALSE are not defined.

why is it ok on travis?

coloring of the outputs

i want to color the outputs.

QTextEdit supports HTML.

so i have to parse the output and insert some HTML tags.

activate last tab

ๅ‡ฆ็†ใŒ็ต‚ใ‚ใฃใŸ(ใพใŸใฏๅง‹ใพใฃใŸ)ๆ™‚ใซใ‚ฟใƒ–ใ‚’ใ‚ขใ‚ฏใƒ†ใ‚ฃใƒ–ใซใ™ใ‚‹ใ€‚
ๅง‹ใพใฃใŸๆ™‚ใฎใปใ†ใŒ็ฐกๅ˜ใใ†ใ€‚

decoration for cpplint.py w/o --output=vs7

line number will be shown in different way from vs7 format.

without --output=vs7

D:/programing/QT/kouets/src/kouetsapp.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:6: #ifndef header guard has wrong style, please use: SRC_KOUETSAPP_H_ [build/header_guard] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:92: #endif line should be "#endif // SRC_KOUETSAPP_H_" [build/header_guard] [5] 
D:/programing/QT/kouets/src/kouetsapp.h:15: { should almost always be at the end of the previous line [whitespace/braces] [4] 
D:/programing/QT/kouets/src/kouetsapp.h:16: public: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:17: Is this a non-const reference? If so, make const or use a pointer: int &argc [runtime/references] [2] 
D:/programing/QT/kouets/src/kouetsapp.h:69: private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:73: protected: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
D:/programing/QT/kouets/src/kouetsapp.h:76: private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3] 
Done processing D:/programing/QT/kouets/src/kouetsapp.h 
Total errors found: 9

with --output=vs7

D:/programing/QT/kouets/src/kouetsapp.h(0): No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
D:/programing/QT/kouets/src/kouetsapp.h(6): #ifndef header guard has wrong style, please use: SRC_KOUETSAPP_H_ [build/header_guard] [5]
D:/programing/QT/kouets/src/kouetsapp.h(92): #endif line should be "#endif // SRC_KOUETSAPP_H_" [build/header_guard] [5]
D:/programing/QT/kouets/src/kouetsapp.h(15): { should almost always be at the end of the previous line [whitespace/braces] [4]
D:/programing/QT/kouets/src/kouetsapp.h(16): public: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(17): Is this a non-const reference? If so, make const or use a pointer: int &argc [runtime/references] [2]
D:/programing/QT/kouets/src/kouetsapp.h(69): private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(73): protected: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
D:/programing/QT/kouets/src/kouetsapp.h(76): private: should be indented +1 space inside class KouetsApp [whitespace/indent] [3]
Done processing D:/programing/QT/kouets/src/kouetsapp.h 
Total errors found: 9

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.