Port to the meson build system.
Benefits are blazing fast builds and more user friendly configuration. This is promised by meson and I would agree in the case of Geany.
This is a work-in-progress. I have ported only the GTK3 build (GTK2 about to be phased out anyway) and didn't test OSX or Windows yet.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2761
-- Commit Summary --
* Initial meson.build
* Support l18n
* Support plugins
* Support generating geany.pc
* Simplified installing data
* Install some extra files that are renamed in the process
* fixes for 1.36
* missing files to git
* update for 1.38/2.0
* add build dirs to .gitignore
-- File Changes --
M .gitignore (2)
A config.h.meson (340)
A data/meson.build (17)
A meson.build (629)
A meson_options.txt (2)
M plugins/Makefile.am (7)
M plugins/classbuilder.c (2)
M plugins/demoplugin.c (5)
M plugins/export.c (8)
M plugins/filebrowser.c (4)
M plugins/htmlchars.c (4)
A plugins/meson.build (27)
M plugins/saveactions.c (2)
M plugins/splitwindow.c (2)
A po/meson.build (7)
A scripts/gen-signallist.sh (6)
M src/libmain.c (4)
M src/templates.c (2)
M src/utils.c (2)
-- Patch Links --
https://github.com/geany/geany/pull/2761.patchhttps://github.com/geany/geany/pull/2761.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761
I have a string like this: `123\r\nABC\r\nXYZ`
And would like an option like "replace ... by line break" allowing me displaying this string as, or converting this string to:
```
123
ABC
XYZ
```
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3152
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3152(a)github.com>
Request: Texi texinfo files template to color code segments
I would like to translate texi - texinfo files. However, no template in geany exists to color code segments.
So this is a request.
Also, Is there a possibility when side-by-side panes are activated to lock them? How? Otherwise is also a request.
thanks
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3150
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3150(a)github.com>
> From this commit SIGSEGV started to occur when opening a file.
Can you please make an issue for this, and provide a backtrace. I haven't had this yet.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/commit/be739e28a6e29aeb08912af36620a4fb78b31…
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/commit/be739e28a6e29aeb08912af36620a4fb78b31176/70657827(a)github.com>
>From this commit SIGSEGV started to occur when opening a file.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/commit/be739e28a6e29aeb08912af36620a4fb78b31…
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/commit/be739e28a6e29aeb08912af36620a4fb78b31176/70631917(a)github.com>
I am not sure where I should open this issue, here or in geany-plugins.
I need to debug a multithreaded app with Geany with debugger plugin (gdb) but Geany hangs inside the thread.
I have been using Geany for a long time but I can't find a way to debug a thread.
To reproduce the problem, build and debug the sample thread.c, setting a break-point at the line *22* and *34* and then **run**
* Build
gcc -g -O0 -o thread thread.c -lpthread
* thread.c
```
#include<stdio.h>
#include<string.h>
#include<pthread.h>
#include<stdlib.h>
#include<unistd.h>
/*
* Build with:
*
* gcc -g -O0 -o thread thread.c -lpthread
*
*/
pthread_t tid[2];
void* doSomeThing(void *arg)
{
unsigned long x = 0;
int j = 0;
int i = (int)arg;
pthread_t id = pthread_self();
printf("Thread %d processing...\n", i);
if(pthread_equal(id,tid[0])) {
printf("Inside First thread\n");
} else {
printf("Inside Second thread\n");
}
for(x=0; x<(0xFFFFFFFF);x++) {
j++;
}
printf("Thread %d: 0x%lx [ x = 0x%X ]\n",i, id, j);
return NULL;
}
int main(void)
{
int i = 0;
int err;
while (i < 2) {
err = pthread_create(&(tid[i]), NULL, &doSomeThing, (void*)i);
if (err != 0)
printf("can't create thread :[%s]", strerror(err));
else
printf("Thread %d created successfully\n", i);
i++;
}
sleep(10);
return 0;
}
```
Geany correctly stops at the first break-point, but If i click "Step over", Geany switches to the second thread, hitting "Step over" again hangs Geany. And eventually, a crash occurs if you try to close Geany.
The correct behavior should be to stay in the same thread and walk through the code while "Step over" is hit, line by line.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1069
When you press Ctrl-F (find) then the word at the cursor position is automatically selected. Is would be great if the same logic was true when you press Ctrl-C, to copy the word at the cursor position, without having to mark the word first. Thanks! :-)
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3148
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3148(a)github.com>
This is an excellent and quite complex plugin. Fixing typos in the code comments helps new devs to get familiar with the plugin's design and logic. Well, it helped me at least...
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1171
-- Commit Summary --
* Debugger: Fix typos in code comments
-- File Changes --
M debugger/src/bptree.c (10)
M debugger/src/breakpoints.c (34)
M debugger/src/callbacks.c (12)
M debugger/src/cell_renderers/cellrendererframeicon.c (2)
M debugger/src/cell_renderers/cellrenderertoggle.c (2)
M debugger/src/dbm_gdb.c (38)
M debugger/src/dconfig.c (8)
M debugger/src/debug.c (58)
M debugger/src/debug_module.h (4)
M debugger/src/envtree.c (14)
M debugger/src/gdb_mi.c (2)
M debugger/src/markers.c (4)
M debugger/src/plugin.c (2)
M debugger/src/vtree.c (14)
M debugger/src/watch_model.c (14)
M debugger/src/wtree.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1171.patchhttps://github.com/geany/geany-plugins/pull/1171.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1171
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1171(a)github.com>
i think read-only button is more suited under "File" menu, rather than "Document". what are your thoughts?
![image](https://user-images.githubusercontent.com/19423063/161387167-ffbf1a40-cf5d-4f35-aa50-bc629a119e83.png)
![image](https://user-images.githubusercontent.com/19423063/161387145-9509ddb7-38ba-49a9-87c1-00d950bb4bbb.png)
Geany: 1.38
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3147
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/issues/3147(a)github.com>