Git Product home page Git Product logo

tippse's Introduction

tippse's People

Contributors

markseuffert avatar wunderfeyd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tippse's Issues

undeclared identifier 'PTHREAD_MUTEX_ADAPTIVE_NP' on macOS

$ make debug

CC src/clipboard.c
CC src/tools/convert.c
src/tools/convert.c:80:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
1 warning generated.

LD tmp/tools/convert
CO src/config.default.txt
CC src/config.c
src/config.c:317:51: warning: expression does not compute the number of elements in this array; element type is 'size_t'
(aka 'unsigned long'), not 'int' [-Wsizeof-array-div]
if (brackets<sizeof(bracket_positions)/sizeof(int)) {
~~~~~~~~~~~~~~~~~ ^
src/config.c:293:12: note: array 'bracket_positions' declared here
size_t bracket_positions[1024];
^
src/config.c:317:51: note: place parentheses around the 'sizeof(int)' expression to silence this warning
if (brackets<sizeof(bracket_positions)/sizeof(int)) {
^
1 warning generated.

CC src/document.c
...
...
CC src/library/misc.c
CC src/library/mutex.c
src/library/mutex.c:10:48: error: use of undeclared identifier 'PTHREAD_MUTEX_ADAPTIVE_NP'
pthread_mutexattr_settype(&mutex->attribute, PTHREAD_MUTEX_ADAPTIVE_NP);
^
1 error generated.
make: *** [tmp/src/library/mutex.o] Error 1

ctrl+o regex error

The regex for parsing the file path and line number from compilation output is defunctional, the editor opens up a new file with my/path/to/file:123 as filename.

compiling failes with gcc 7.2.0 and -flto active

2018-01-18 10:26:32-/opt/Source/tippse$ ./make.sh
src/documentfile.c: In function ‘document_file_create_pipe’:
src/documentfile.c:150:3: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
   pipe(base->pipefd);
   ^~~~~~~~~~~~~~~~~~
src/screen.c: In function ‘screen_create’:
src/screen.c:75:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(STDOUT_FILENO, screen_ansi_init, strlen(screen_ansi_init));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/screen.c: In function ‘screen_destroy’:
src/screen.c:82:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(STDOUT_FILENO, screen_ansi_restore, strlen(screen_ansi_restore));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/screen.c: In function ‘screen_character_width_detect’:
src/screen.c:134:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(STDOUT_FILENO, output, (size_t)(pos-output));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/screen.c: In function ‘screen_draw’:
src/screen.c:305:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(STDOUT_FILENO, output, (size_t)(pos-output));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/search.c: In function ‘search_test’:
src/search.c:1713:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
     read(f, buffer, length);
     ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccT8RZvb.ltrans0.ltrans.o: In Funktion »editor_intercept«:
<artificial>:(.text+0x11d8c): Warnung: undefinierter Verweis auf »encoding_cache_find_codepoint«
collect2: error: ld returned 1 exit status

Request: newfile command

Open up a new buffer for quick editing. Ideally with saveas command supported if there is a desire to save the draft later.

linker error on ubuntu

/opt/Source/tippse$ ./make.sh
/tmp/cc6yQEXC.ltrans1.ltrans.o: In Funktion »document_text_transform.constprop.13«:
:(.text.unlikely+0x947): Warnung: undefinierter Verweis auf »encoding_cache_find_length«
collect2: error: ld returned 1 exit status

error occurs since b01747b

Request: open file state save

It would be very useful if tippse could save the currently opened files in a status when closed, that are reopened upon next start.

tab/untab problems in block mode

Steps to reproduce:

  1. select any range of lines
  2. use untab twice
    -->on second untab only the first selected line moves
  3. use tab
    -->only the first selected line moves

currently used commit: cbc7db7

tab-length setting?

It would be nice to have a tab setting, defining the tabulator length.

tippse is currently selecting Space*1 for cpp documents which is really annoying, since it matches the brackets based on it. It would be very nice, if I can define a useful (for my cases) fallback ideally based on file type.

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.