Giter Club home page Giter Club logo

codepad's People

Contributors

lukedan 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

codepad's Issues

Could not find a package configuration file provided by "RapidJSON"

I got an error when I executed the following command

cmake .. -DCODEPAD_USE_SKIA=No "-DCMAKE_TOOLCHAIN_FILE=C:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake"

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
CMake Error at CMakeLists.txt:232 (find_package):
  Could not find a package configuration file provided by "RapidJSON" with
  any of the following names:

    RapidJSONConfig.cmake
    rapidjson-config.cmake

  Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
  "RapidJSON_DIR" to a directory containing one of the above files.  If
  "RapidJSON" provides a separate development package or SDK, be sure it has
  been installed.

I am sure that I have executed all the previous commands successfully.
Can you tell me what should I do

Cmake error:FindFreetype

Hello, I did not find the *.sln file.
I installed rapidjson with vcpkg, and then encountered the following problems.

CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindFreetype.cmake:157 (find_package_handle_standard_args)
  CMakeLists.txt:125 (find_package)

but I am sure I has install the freetype library with both 32 and 64bit version using vcpkg.
windows10, vs2019.
Any hints are greatly appreciated

Need fuzz test for fragment generation

Currently the fragment generation code (as well as caret collection, whitespace collection, decoration collection, etc.) have grown to become very complex. There should be a fuzz test that generates random text, carets, folded regions, soft line breaks, decorations, etc. to validate the fragment generation code and make sure they don't break.

cannot load JSON file

    0.31assert_true @ C:\Users\mingy\Desktop\codepad\include\codepad/core/assert.h:51:17
   ERRORSystem error encountered: cannot load JSON file
        -- stacktrace --
          codepad::logger::log_entry::append_stacktrace(0x00007FFC307032BA) @C:\Users\mingy\Desktop\codepad\src\os\windows\w
        indows.cpp:366
          codepad::logger::log_entry::operator<<(0x00007FFC3041E148) @C:\Users\mingy\Desktop\codepad\include\codepad\core\lo
        gging.h:85
          codepad::assert_true<0>(0x00007FFC3041170C) @C:\Users\mingy\Desktop\codepad\include\codepad\core\assert.h:51
          codepad::assert_true_sys(0x00007FFC3043028D) @C:\Users\mingy\Desktop\codepad\include\codepad\core\assert.h:87
          codepad::json::parse_file<codepad::json::rapidjson::document_t>(0x00007FFC3045912A) @C:\Users\mingy\Desktop\codepa
        d\include\codepad\core\json\misc.h:398
          codepad::settings::load(0x00007FFC30448056) @C:\Users\mingy\Desktop\codepad\src\core\settings.cpp:52
          main(0x00007FF7727289D4) @C:\Users\mingy\Desktop\codepad\src\main.cpp:153
          invoke_main(0x00007FF7727E3029) @d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79
          __scrt_common_main_seh(0x00007FF7727E2ECE) @d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl
        :288
          __scrt_common_main(0x00007FF7727E2D8E) @d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331
          mainCRTStartup(0x00007FF7727E30BE) @d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17
          BaseThreadInitThunk(0x00007FFCDC467034) @??:??
          RtlUserThreadStart(0x00007FFCDC5A2651) @??:??

        -- stacktrace --

The source code of the error is here

I tried to copy this folder to
C:\Users\mingy\Desktop\codepad\build\Debug
The above problems still exist.

Really awesome project, is there any plan?

Hi,

Nice to meet you, this project looks really awesome and I'll tell you why, usually I code 3d tools using pyqt for the frontend (on python) and for the backend/plugins I use c++.

For years I've been using QScintilla (which it's a Scintilla qt widget) python bindings and while this component isn't bad I can't tell is great neither, Scintilla supports multicursor but unfortunately it doesn't implement undo/redo properly to work with multiple selections. Overall Scintilla isn't a bad component but I think it isn't great in comparison to other existing "cleaner" solutions such as codemirror/ace for the web... or SublimeText native.

I'd like to hear what's the scope/goal of this project... Do you intend to use it on some specific real 3d tools? Make it generic for any kind of desktop tool?

Could you eventually upload some screenshots/videos or demo executables to play with it? I've wanted to replace Scintilla with some native widget for very long time but I haven't found any solution out there to consider worth the replacement.

Also, I can see the project is still in early stages of development... from my experience I'd suggest you take a look to this library http://tree-sitter.github.io/tree-sitter/ , I've tried many different highlighters over the years (pygments, syntect, qsyntaxhighlighter, ...) and tree-sitter is just great ;)

Anyway, I'd really like to hear a bit more about this project, features, milestones... If I like it I wouldn't mind creating python bindings for it eventually.

Thanks for your time!
Regards

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.