mibi88 / mibimdeditor Goto Github PK
View Code? Open in Web Editor NEWMibiMdEditor is a small Markdown editor written in Vala using GTK4
License: GNU General Public License v2.0
MibiMdEditor is a small Markdown editor written in Vala using GTK4
License: GNU General Public License v2.0
Nothing is shown anymore in the preview if you click on refresh in the context menu.
../src/ui/window.vala:127.45-129.31: error: Access to non-public constructor `Gtk.AlertDialog.new' denied
127 | Gtk.AlertDialog cancel_dialog = new Gtk.AlertDialog (
| ^~~~~~~~~~~~~~~~~~~~~
128 | """Your file isn't saved!
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | Do you really want to quit?""");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ui/window.vala:275.45-277.44: error: Access to non-public constructor `Gtk.AlertDialog.new' denied
275 | Gtk.AlertDialog cancel_dialog = new Gtk.AlertDialog (
| ^~~~~~~~~~~~~~~~~~~~~
276 | """Your file isn't saved!
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | Do you really want to create a new file?""");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ui/window.vala:334.45-335.77: error: Access to non-public constructor `Gtk.AlertDialog.new' denied
334 | Gtk.AlertDialog cancel_dialog = new Gtk.AlertDialog (
| ^~~~~~~~~~~~~~~~~~~~~
335 | "Your file isn't saved!\nDo you really want to open a file?");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/ui/script_properties.vala:104.41-105.64: error: Access to non-public constructor `Gtk.AlertDialog.new' denied
104 | Gtk.AlertDialog cancel_dialog = new Gtk.AlertDialog (
| ^~~~~~~~~~~~~~~~~~~~~
105 | "Do you really want to remove this script?");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compilation failed: 4 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
The window closes before the user can choose if he really wants to exit.
This seems to be a bug in the vala bindings of Gtk4, because the text_buffer.can_undo
and text_buffer.can_redo
are correct in GtkInspector.
So I wrote an issue: https://gitlab.gnome.org/GNOME/vala/-/issues/1462
I'm trying to build v.0.4-b1
and I give this ld
error on meson compile
command:
$ meson compile
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja
[12/12] Linking target src/mibimdeditor
FAILED: src/mibimdeditor
cc -o src/mibimdeditor src/mibimdeditor.p/meson-generated_.._.._mibimdeditor-resources.c.o src/mibimdeditor.p/meson-generated_ui_window.c.o src/mibimdeditor.p/meson-generated_main.c.o src/mibimdeditor.p/meson-generated_ui_preferencesswitch.c.o src/mibimdeditor.p/meson-generated_ui_script_properties.c.o src/mibimdeditor.p/meson-generated_ui_preferences.c.o src/mibimdeditor.p/meson-generated_application.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group /usr/lib/libglib-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgtk-4.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libcairo-gobject.so /usr/lib/libcairo.so /usr/lib/libgraphene-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libwebkitgtk-6.0.so /usr/lib/libsoup-3.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libjavascriptcoregtk-6.0.so /usr/lib/libgtksourceview-5.so /usr/lib/libadwaita-1.so -Wl,--end-group
/usr/bin/ld: /usr/lib/libwebkitgtk-6.0.so: undefined reference to `std::ios_base_library_init()@GLIBCXX_3.4.32'
/usr/bin/ld: /usr/lib/libadwaita-1.so: undefined reference to `fmod@GLIBC_2.38'
/usr/bin/ld: /usr/lib/libgbm.so.1: undefined reference to `__isoc23_strtoll@GLIBC_2.38'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
I set this depends:
depends=('gtk4' 'gtksourceview5' 'libadwaita' 'webkitgtk-6.0')
makedepends=('cmake' 'meson' 'vala')
Hi, would you like to add i18n support to your app. I'd like to translate it into my language.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.