Coder Social home page Coder Social logo

enotes's People

Contributors

jf-simon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

enotes's Issues

Help visibility toggling issue

When in a note, pressing F1 will toggle the enotes help
The help says that F1 will "show/hide this help" but it does hide the help.

Maybe it is by design, but the entry description for the F1 key is misleading.
I have to click on a note and then press F1 to make it disappear.

Format-string: format-security error

I am packaging this for Bodhi linux and in making a deb file out of it I got the error below:

../src/bin/enotes_caldav_del.c: In function ‘_del_local_data_online’:
../src/bin/enotes_caldav_del.c:166:7: error: format not a string literal and no format arguments [-Werror=format-security]
  166 |       eina_strbuf_append_printf(response_data, curl_easy_strerror(res));
      |    

Glanced at the code in question and patched it as follows:

--- a/src/bin/enotes_caldav_del.c
+++ b/src/bin/enotes_caldav_del.c
@@ -163,7 +163,7 @@ _del_local_data_online()
     }
     else { // delete local, but save data for next attempetion for online deletion
 
-      eina_strbuf_append_printf(response_data, curl_easy_strerror(res));
+      eina_strbuf_append_printf(response_data, "%s", curl_easy_strerror(res));
       
 //       printf("delete ID III %i\n", list_data->id);
       _enotes_del_local(list_data->id);

Too lazy to make a proper Debian patch or fork and send you a pull request, but letting you know. Perhaps you can commit this?

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.