Hi guys,
I like a lot geany, it is very powerful, and simple, fast... ;)
I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8).
I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(.
And worst, I don't know what files to change and where ...but i have compiled it successfully.
Any description of the folder's in the role of geany ?
Thanks in advance
regards tux
On 31 October 2013 13:44, lmx lmx1@sapo.pt wrote:
Hi guys,
I like a lot geany, it is very powerful, and simple, fast... ;)
I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8).
I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(.
And worst, I don't know what files to change and where ...but i have compiled it successfully.
Any description of the folder's in the role of geany ?
Hi,
Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do.
Otherwise you need to ask specific questions.
Cheers Lex
Thanks in advance
regards tux ______________________________**_________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users
On 31/10/13 03:54, Lex Trotman wrote:
On 31 October 2013 13:44, lmx <lmx1@sapo.pt mailto:lmx1@sapo.pt> wrote:
Hi guys, I like a lot geany, it is very powerful, and simple, fast... ;) I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8). I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(. And worst, I don't know what files to change and where ...but i have compiled it successfully. Any description of the folder's in the role of geany ?
Hi,
Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do.
Otherwise you need to ask specific questions.
Cheers Lex
Hi Lex,
Thanks, in advance, for the reply.
My idea is, drop a lot of functionality, and add others... for example: drop support for java,c++,python,etc add other functionalities , like some support for MCU's, registers, snippets of code to configure things(uart,i2c,spi,clock,etc), almost out of the box,etc
Thanks for the hint on HACKING ;)
I Look on Git, but I CAN`T find a project already made for any IDE. Is there a project, that already include all the source files, or we have to add them file, by file?It's a lot of work only doing that :S
I suppose you use geany, to build geany right ?
thanks in advance
regards tux
Thanks in advance regards tux _______________________________________________ Users mailing list Users@lists.geany.org <mailto:Users@lists.geany.org> https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Am 31.10.2013 07:05, schrieb lmx:
On 31/10/13 03:54, Lex Trotman wrote:
On 31 October 2013 13:44, lmx <lmx1@sapo.pt mailto:lmx1@sapo.pt> wrote:
Hi guys, I like a lot geany, it is very powerful, and simple, fast... ;) I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8). I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(. And worst, I don't know what files to change and where ...but i have compiled it successfully. Any description of the folder's in the role of geany ?
Hi,
Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do.
Otherwise you need to ask specific questions.
Cheers Lex
Hi Lex,
Thanks, in advance, for the reply.
My idea is, drop a lot of functionality, and add others... for example: drop support for java,c++,python,etc add other functionalities , like some support for MCU's, registers, snippets of code to configure things(uart,i2c,spi,clock,etc), almost out of the box,etc
Thanks for the hint on HACKING ;)
I Look on Git, but I CAN`T find a project already made for any IDE. Is there a project, that already include all the source files, or we have to add them file, by file?It's a lot of work only doing that :S
I suppose you use geany, to build geany right ?
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
Cheers, Frank
On 31/10/13 07:53, Frank Lanitz wrote:
Am 31.10.2013 07:05, schrieb lmx:
On 31/10/13 03:54, Lex Trotman wrote:
On 31 October 2013 13:44, lmx <lmx1@sapo.pt mailto:lmx1@sapo.pt> wrote:
Hi guys, I like a lot geany, it is very powerful, and simple, fast... ;) I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8). I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(. And worst, I don't know what files to change and where ...but i have compiled it successfully. Any description of the folder's in the role of geany ?
Hi,
Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do.
Otherwise you need to ask specific questions.
Cheers Lex
Hi Lex,
Thanks, in advance, for the reply.
My idea is, drop a lot of functionality, and add others... for example: drop support for java,c++,python,etc add other functionalities , like some support for MCU's, registers, snippets of code to configure things(uart,i2c,spi,clock,etc), almost out of the box,etc
Thanks for the hint on HACKING ;)
I Look on Git, but I CAN`T find a project already made for any IDE. Is there a project, that already include all the source files, or we have to add them file, by file?It's a lot of work only doing that :S
I suppose you use geany, to build geany right ?
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
Cheers, Frank
Hi Frank,
The Idea of the plugins is good, but i don' t know if we could for example change the graphical front end in our desire, only with plugins...I don know their flexibility :S For example,we already have ctrl+f feature, but we have a search box in geany :S. I will not need the color chooser for MCU's, and why we need the "quit" button on this?we already have the quit button on the window.
In this places I need a microcontroller chooser. On the right section of geany I need a lot of support things for registers, assembler instructions(for a micro controller that already have been chosen), the schematic pinout diagram, and another things...i am saying in the right, because we rarely use more than half of the editor with code...
I don't know if I can change the basic features of geany with plugins?but if I could, I wold prefer the plugins version, because we can have a IDE for a lot of things ;)
thanks in advance
regards tux
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
hi guys, I am at the moment, and following some opinion's below, trying to create a plugin for the SMT8 microcontroler... The idea is bringing some support out-of-the-box, for documentation, registers,assembler,etc for this arch...
My idea is creating a new "subwindow" for the right side of geany, where i will have some "Tabbed Panes", or Gtk_notebook, with pages...
I Started today, I am new for GTK :(... I have done this:
https://meocloud.pt/link/2fabd07e-df66-4069-85cd-f277fc24fb4d/Share
this is the place where I want the "tabbed pane" . I have done it in a windows, in next versions it will be included in geany graphical environment. The problem is...I can't change their name..it inherit the name of the IDE(Geany) :S.
I created it with:
#include <gtk/gtk.h>
GtkWidget *window=gtk_window_new (GTK_WINDOW_TOPLEVEL); //gtk_window_set_title(window->window,"STM8dev");
I tried(like you can see in the picture) with gtk directly, but it won't work :S
Any Idea?
I started with gtk, because I don't know if it possible to do it in the Geany glade xml...?
Another problem, is like you can see, the button(big button), have a listener associated with, but if I click it, in the first time...it does nothing...in the second it shutdowns, the GEANY IDE :S ??!!but I don know if it kills that window in memory...
I done it with:
gint delete( GtkWidget *widget,GtkWidget *event,gpointer data ){ gtk_main_quit(); //------>what is the main windows??????Geany or STM8dev plugin?????????????????? return(FALSE); } ... button = gtk_button_new_with_label ("close-One more?None?Don't know"); gtk_signal_connect_object (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (delete), NULL); gtk_table_attach_defaults(GTK_TABLE(table), button, 0,1,1,2); gtk_widget_show(button);
Thanks in advance for the help
regards tux ------------------------------------------------------ / / --------------------------------------------------------- On 31/10/13 17:45, lmx wrote:
On 31/10/13 07:53, Frank Lanitz wrote:
Am 31.10.2013 07:05, schrieb lmx:
On 31/10/13 03:54, Lex Trotman wrote:
On 31 October 2013 13:44, lmx <lmx1@sapo.pt mailto:lmx1@sapo.pt> wrote:
Hi guys, I like a lot geany, it is very powerful, and simple, fast... ;) I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8). I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(. And worst, I don't know what files to change and where ...but i have compiled it successfully. Any description of the folder's in the role of geany ?
Hi,
Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do.
Otherwise you need to ask specific questions.
Cheers Lex
Hi Lex,
Thanks, in advance, for the reply.
My idea is, drop a lot of functionality, and add others... for example: drop support for java,c++,python,etc add other functionalities , like some support for MCU's, registers, snippets of code to configure things(uart,i2c,spi,clock,etc), almost out of the box,etc
Thanks for the hint on HACKING ;)
I Look on Git, but I CAN`T find a project already made for any IDE. Is there a project, that already include all the source files, or we have to add them file, by file?It's a lot of work only doing that :S
I suppose you use geany, to build geany right ?
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
Cheers, Frank
Hi Frank,
The Idea of the plugins is good, but i don' t know if we could for example change the graphical front end in our desire, only with plugins...I don know their flexibility :S For example,we already have ctrl+f feature, but we have a search box in geany :S. I will not need the color chooser for MCU's, and why we need the "quit" button on this?we already have the quit button on the window.
In this places I need a microcontroller chooser. On the right section of geany I need a lot of support things for registers, assembler instructions(for a micro controller that already have been chosen), the schematic pinout diagram, and another things...i am saying in the right, because we rarely use more than half of the editor with code...
I don't know if I can change the basic features of geany with plugins?but if I could, I wold prefer the plugins version, because we can have a IDE for a lot of things ;)
thanks in advance
regards tux
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Le 01/11/2013 07:19, lmx a écrit :
hi guys,
Hi,
[...] The problem is...I can't change their name..it inherit the name of the IDE(Geany) :S.
I created it with:
#include <gtk/gtk.h>
GtkWidget *window=gtk_window_new (GTK_WINDOW_TOPLEVEL); //gtk_window_set_title(window->window,"STM8dev");
I tried(like you can see in the picture) with gtk directly, but it won't work :S
Any Idea?
You need to read a bit about GTK I think :) Try to find a tutorial to get the basic concepts used by GTK so you'll be able to understand the docs easily. There probably are a few on the web, but you can start with the GTK one https://developer.gnome.org/gtk3/stable/gtk-getting-started.html
But here you just need to call `gtk_window_set_title(GTK_WINDOW(window), STM8dev")`. window->window is a GTK internal and represents a low-level platform primitive you don't wanna deal with (and BTW, since version 3 of GTK, you can't access private members like that anymore).
I started with gtk, because I don't know if it possible to do it in the Geany glade xml...?
Geany uses GTK and don't re-create the wheel, so you're in the right direction using GTK :)
Another problem, is like you can see, the button(big button), have a listener associated with, but if I click it, in the first time...it does nothing...in the second it shutdowns, the GEANY IDE :S ??!!but I don know if it kills that window in memory...
I done it with:
gint delete( GtkWidget *widget,GtkWidget *event,gpointer data ){ gtk_main_quit(); //------>what is the main windows??????Geany
or STM8dev plugin?????????????????? return(FALSE); } ... button = gtk_button_new_with_label ("close-One more?None?Don't know"); gtk_signal_connect_object (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (delete), NULL); gtk_table_attach_defaults(GTK_TABLE(table), button, 0,1,1,2); gtk_widget_show(button);
First, your handler signature is wrong for that signal, see https://developer.gnome.org/gtk3/stable/GtkButton.html#GtkButton-clicked
So your "delete" handler should be like `void delete(GtkWidget*, gpointer)`.
Also, gtk_main_quit() quits the GTK even loop, which basically means quitting the application. https://developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-main-quit
What you want to do is using `gtk_widget_destroy()` on your window widget if you want to destroy the window.
Also, don't use GTK_OBJECT or GTK_SIGNAL_FUNC, those are deprecated since forever in favor of GObjet's equivalents, G_OBJECT and G_CALLBACK (https://developer.gnome.org/gobject/stable/). GObject is the object system library used by GTK.
Regards, Colomban
hello
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
sorry for my stupid question, but there are a plugin for arduino on geany ?
i am interest about programming, and particulary for microcontroller like arduino.
Cheers, Frank
best regrad, major.
Hi, the question was directed to Frank I think?:S
well, I am trying to create a plugin for geany, to make the things more easy, when developing for MCU's... The first idea is adding some support info for a specific MCU, in my case will be for the great STM8, but another MCU's can be added... Info like Registers, pinout,assembler instructions, peripheral map regions, and so on. If the things goes well, the idea is create a config based on board name or board+mcu(for custom design).
You will need to know C language, but you don't need to have a big database in your brain, to know map regions, name of peripherals, etc.
The idea is making it easy.Imagine config the uart almost by clicking and choosing the right peripherals ;), but this is a more advanced idea...
Geany(simple)+plugin(easy), I think its an idea FTW?!
regards tux
On 01/11/13 16:31, major_ghz wrote:
hello
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
sorry for my stupid question, but there are a plugin for arduino on geany ?
i am interest about programming, and particulary for microcontroller like arduino.
Cheers, Frank
best regrad, major. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
hi,
i just begin learn python3, if i am more advanced in coding learning may i help you.
i just encourage you to you're plugin added,may be just i will backing use information.
but need to install dev version in a local floder for testing, i am on sqeeze and i need geany's stable version for my learning.
sorry for my poor english, but is good way to progress.
regard, major.
Le Sat, 02 Nov 2013 16:43:41 +0000, lmx lmx1@sapo.pt a écrit :
Hi, the question was directed to Frank I think?:S
well, I am trying to create a plugin for geany, to make the things more easy, when developing for MCU's... The first idea is adding some support info for a specific MCU, in my case will be for the great STM8, but another MCU's can be added... Info like Registers, pinout,assembler instructions, peripheral map regions, and so on. If the things goes well, the idea is create a config based on board name or board+mcu(for custom design).
You will need to know C language, but you don't need to have a big database in your brain, to know map regions, name of peripherals, etc.
The idea is making it easy.Imagine config the uart almost by clicking and choosing the right peripherals ;), but this is a more advanced idea...
Geany(simple)+plugin(easy), I think its an idea FTW?!
regards tux
On 01/11/13 16:31, major_ghz wrote:
hello
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
sorry for my stupid question, but there are a plugin for arduino on geany ?
i am interest about programming, and particulary for microcontroller like arduino.
Cheers, Frank
best regrad, major. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 03/11/13 11:06, major_ghz wrote:
hi,
i just begin learn python3, if i am more advanced in coding learning may i help you.
i just encourage you to you're plugin added,may be just i will backing use information.
but need to install dev version in a local floder for testing, i am on sqeeze and i need geany's stable version for my learning.
sorry for my poor english, but is good way to progress.
Hi, I am starting it, I will need a little of time to make something that makes sense... For now I notice that gtk have changed a lot...and the plugin will have some deprecated code, but it will work... I have not yet finished the GTK GUI...and there are a few things that annoy me :S
For now I only have a window, with a notebook inside. It will have tabbs(pages in gtk language)...
For now, 6 tabs :
Features - A Place where will be described the MCU caracteristics... Diagram - Where will be a pinout description of the MCU, amd maybe more... Peripherals - Where will be described the peripherals of the MCU settled Registers - Where will be described the registers of the MCU ASM Instructions - where will be described the ASM instruction of MCU Something Else - maybe a new "tabb" to add
The MCU will be settled, in a combo-box(in gtk I don't know how to name it), based in a pattern like (<Board>,<MCU>).
I don know what mechanism will be better...a database, or files, so store the info... Files seems better to update content, because it doesn't require too much knowledge of the database tables...from the users side... What do you think? any idea of any functionality that must be included?
regards tux
regard, major.
Le Sat, 02 Nov 2013 16:43:41 +0000, lmx lmx1@sapo.pt a écrit :
Hi, the question was directed to Frank I think?:S
well, I am trying to create a plugin for geany, to make the things more easy, when developing for MCU's... The first idea is adding some support info for a specific MCU, in my case will be for the great STM8, but another MCU's can be added... Info like Registers, pinout,assembler instructions, peripheral map regions, and so on. If the things goes well, the idea is create a config based on board name or board+mcu(for custom design).
You will need to know C language, but you don't need to have a big database in your brain, to know map regions, name of peripherals, etc.
The idea is making it easy.Imagine config the uart almost by clicking and choosing the right peripherals ;), but this is a more advanced idea...
Geany(simple)+plugin(easy), I think its an idea FTW?!
regards tux
On 01/11/13 16:31, major_ghz wrote:
hello
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
sorry for my stupid question, but there are a plugin for arduino on geany ?
i am interest about programming, and particulary for microcontroller like arduino.
Cheers, Frank
best regrad, major. _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 13-11-04 02:59 PM, lmx wrote:
On 03/11/13 11:06, major_ghz wrote:
hi,
i just begin learn python3, if i am more advanced in coding learning may i help you.
i just encourage you to you're plugin added,may be just i will backing use information.
but need to install dev version in a local floder for testing, i am on sqeeze and i need geany's stable version for my learning.
sorry for my poor english, but is good way to progress.
Hi, I am starting it, I will need a little of time to make something that makes sense... For now I notice that gtk have changed a lot...and the plugin will have some deprecated code, but it will work... I have not yet finished the GTK GUI...and there are a few things that annoy me :S
For now I only have a window, with a notebook inside. It will have tabbs(pages in gtk language)...
For now, 6 tabs :
Features - A Place where will be described the MCU caracteristics... Diagram - Where will be a pinout description of the MCU, amd maybe more... Peripherals - Where will be described the peripherals of the MCU settled Registers - Where will be described the registers of the MCU ASM Instructions - where will be described the ASM instruction of MCU Something Else - maybe a new "tabb" to add
Seems like a lot of work to maintain the database. Couldn't it just have a WebKit/PDF Viewer embedded and pull up the manufacturers datasheet that has all that stuff?
Cheers, Matthew Brush
On 05/11/13 01:57, Matthew Brush wrote:
On 13-11-04 02:59 PM, lmx wrote:
On 03/11/13 11:06, major_ghz wrote:
hi,
i just begin learn python3, if i am more advanced in coding learning may i help you.
i just encourage you to you're plugin added,may be just i will backing use information.
but need to install dev version in a local floder for testing, i am on sqeeze and i need geany's stable version for my learning.
sorry for my poor english, but is good way to progress.
Hi, I am starting it, I will need a little of time to make something that makes sense... For now I notice that gtk have changed a lot...and the plugin will have some deprecated code, but it will work... I have not yet finished the GTK GUI...and there are a few things that annoy me :S
For now I only have a window, with a notebook inside. It will have tabbs(pages in gtk language)...
For now, 6 tabs :
Features - A Place where will be described the MCU caracteristics... Diagram - Where will be a pinout description of the MCU, amd maybe more... Peripherals - Where will be described the peripherals of the MCU settled Registers - Where will be described the registers of the MCU ASM Instructions - where will be described the ASM instruction of MCU Something Else - maybe a new "tabb" to add
Seems like a lot of work to maintain the database. Couldn't it just have a WebKit/PDF Viewer embedded and pull up the manufacturers datasheet that has all that stuff?
Hi, maybe something text file based will be included, at least for now...someone have posted something about "tag's". I don know the api, but I will look to it, afther the GTK frontend... Yes a pdf viewer maybe will be included to view some things like the pinout, maybe more information will be generated in pdf, taking in count the size on the gtk notebook...
I don't know yet, its in the beguining :S, ... but I appreciate your help ;)
regards tux
Cheers, Matthew Brush _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
hello,
my thinking is :
tabs in le end space, there are terminal and coding messages. for the most information of your plugin.
tabs on the left for hardware détail of the MCU.
datasheet on the fist windows tab, there are the code, geany can split this windows tabs.
just my idear, my english is poor and not understand all the topic.
regard, major.
On 07/11/13 11:25, major_ghz wrote:
hello,
my thinking is :
tabs in le end space, there are terminal and coding messages. for the most information of your plugin.
tabs on the left for hardware détail of the MCU.
datasheet on the fist windows tab, there are the code, geany can split this windows tabs.
just my idear, my english is poor and not understand all the topic.
regard, major.
Hi,
I thought including it in the right place of the editor... Like you can see this is how the netbook is at the moment: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/stm8de...
My idea is to include in the first page, a description of all the features.
In the second the pinout diagram, and maybe some more things related.
In the third a description of the peripherals, map regions to configure it, etc
In the fourth a description of the registers...not only the ram mapped registers, but more in the mcu part like the acumulator (i.e the CC in STM8 where you can see the ALU flags), and including their size too...because sometimes we make a instruction, and we will need more instruction cycles to complete... because the data is greater than what the register can hold. Including the sizes of the registers, will help to make some decisions ;)
The Asm intructions afther, with a breaf description of what they do...this will be a long time consuming part...because the amount of intructions for diferent MCU architectures... but will be very good...imagine that you want to make a routine, and it's time critical...so analyzing the asm code generated, you see that the asm generated by the C compiler is not good enough...so you will decide to make it directly in assembler...you need information for that...how mutch cycles per intruction, and obviously..a description of what exactly the instruction do... ;)
and maybe something else...
I saw the fyletypes.asm you have showed ;) I like it. Is there more files like that for another MCU arch's?maybe can be used this approach for a lot of thins...turning introducing data for MCU's a task that any one can do, without problems...and this can help to improve the existent info at that time... ;)
thanks for the feedback :)
ps: English is not my mother thong too, I understand you ;)
regards tux
Hi guys,
Just to say, I definitely think that extending Geany to support microcontrollers and embedded development is a good idea -- I'm an Arduino user myself and I can't stand the supplied (so-called) 'IDE'.
But -- just a suggestion -- I think it would be better to implement this through plugins, rather than forking Geany or deriving something completely separate. What I like about Geany is that it's quite modular, and I think it's worth taking advantage of this.
Regarding having a listing of the assembly instructions, registers etc. of an MCU, I'm wondering if it might be better to work with Geany's 'tags' functionality. See for instance /usr/share/geany/filetypes.c and http://www.geany.org/manual/current/index.html#tags. I admit that I haven't really looked into how the API interacts with tags files or whether it would be possible to augment them with any kind of documentation, etc.
I don't think a database is necessarily the worst idea, but a WebKit datasheet viewer would seem to make more sense... isn't 'the cloud' where it's at these days? ;)
By the way, I'm not a Geany developer, just a layman in the Cult of Geany.
James
On 5 November 2013 13:11, James Brierley jmb8710@gmail.com wrote:
Hi guys,
Just to say, I definitely think that extending Geany to support microcontrollers and embedded development is a good idea -- I'm an Arduino user myself and I can't stand the supplied (so-called) 'IDE'.
But -- just a suggestion -- I think it would be better to implement this through plugins, rather than forking Geany or deriving something completely separate. What I like about Geany is that it's quite modular, and I think it's worth taking advantage of this.
Yes, such specific modifications to core probably will not be merged back into the upstream Geany. But even very specific plugins can be part of geany-plugins.
Regarding having a listing of the assembly instructions, registers etc. of an MCU, I'm wondering if it might be better to work with Geany's 'tags' functionality. See for instance /usr/share/geany/filetypes.c and http://www.geany.org/manual/current/index.html#tags. I admit that I haven't really looked into how the API interacts with tags files or whether it would be possible to augment them with any kind of documentation, etc.
Sadly no augmentation is available.
I don't think a database is necessarily the worst idea, but a WebKit datasheet viewer would seem to make more sense... isn't 'the cloud' where it's at these days? ;)
Thats what they say, but I don't believe it </luddite>
By the way, I'm not a Geany developer, just a layman in the Cult of Geany.
:)
Cheers Lex
James
-- "Unix is the worst computer operating system, except all the others that have been tried."
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 05/11/13 03:17, Lex Trotman wrote:
On 5 November 2013 13:11, James Brierley <jmb8710@gmail.com mailto:jmb8710@gmail.com> wrote:
Hi guys, Just to say, I definitely think that extending Geany to support microcontrollers and embedded development is a good idea -- I'm an Arduino user myself and I can't stand the supplied (so-called) 'IDE'. But -- just a suggestion -- I think it would be better to implement this through plugins, rather than forking Geany or deriving something completely separate. What I like about Geany is that it's quite modular, and I think it's worth taking advantage of this.
Yes, such specific modifications to core probably will not be merged back into the upstream Geany. But even very specific plugins can be part of geany-plugins.
Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
this is more or less , how it is at the moment. https://meocloud.pt/link/0caff1c1-13de-459b-8de7-a398d5d7904d/Share
don't look to the code( :-D )...its only a sketch, the code will be revised further.
regards tux
Regarding having a listing of the assembly instructions, registers etc. of an MCU, I'm wondering if it might be better to work with Geany's 'tags' functionality. See for instance /usr/share/geany/filetypes.c and http://www.geany.org/manual/current/index.html#tags. I admit that I haven't really looked into how the API interacts with tags files or whether it would be possible to augment them with any kind of documentation, etc.
Sadly no augmentation is available.
I don't think a database is necessarily the worst idea, but a WebKit datasheet viewer would seem to make more sense... isn't 'the cloud' where it's at these days? ;)
Thats what they say, but I don't believe it </luddite>
By the way, I'm not a Geany developer, just a layman in the Cult of Geany.
:)
Cheers Lex
James -- "Unix is the worst computer operating system, except all the others that have been tried." _______________________________________________ Users mailing list Users@lists.geany.org <mailto:Users@lists.geany.org> https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 5 November 2013 16:14, lmx lmx1@sapo.pt wrote:
On 05/11/13 03:17, Lex Trotman wrote:
On 5 November 2013 13:11, James Brierley jmb8710@gmail.com wrote:
Hi guys,
Just to say, I definitely think that extending Geany to support microcontrollers and embedded development is a good idea -- I'm an Arduino user myself and I can't stand the supplied (so-called) 'IDE'.
But -- just a suggestion -- I think it would be better to implement this through plugins, rather than forking Geany or deriving something completely separate. What I like about Geany is that it's quite modular, and I think it's worth taking advantage of this.
Yes, such specific modifications to core probably will not be merged back into the upstream Geany. But even very specific plugins can be part of geany-plugins.
Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
The split window plugin divides the edit window into two, which is what I think you are trying to do, so have a look at that.
Cheers Lex
this is more or less , how it is at the moment. https://meocloud.pt/link/0caff1c1-13de-459b-8de7-a398d5d7904d/Share
don't look to the code( :-D )...its only a sketch, the code will be revised further.
regards tux
Regarding having a listing of the assembly instructions, registers etc. of an MCU, I'm wondering if it might be better to work with Geany's 'tags' functionality. See for instance /usr/share/geany/filetypes.c and http://www.geany.org/manual/current/index.html#tags. I admit that I haven't really looked into how the API interacts with tags files or whether it would be possible to augment them with any kind of documentation, etc.
Sadly no augmentation is available.
I don't think a database is necessarily the worst idea, but a WebKit datasheet viewer would seem to make more sense... isn't 'the cloud' where it's at these days? ;)
Thats what they say, but I don't believe it </luddite>
By the way, I'm not a Geany developer, just a layman in the Cult of Geany.
:)
Cheers Lex
James
-- "Unix is the worst computer operating system, except all the others that have been tried."
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing listUsers@lists.geany.orghttps://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 13-11-04 09:14 PM, lmx wrote:
[snip] Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
Not recommended...but you could reparent Geany's document notebook widget into your own GtkPaned and add your right-side panel in the 2nd spot and put your GtkPaned where Geany's document notebook was (see SplitWindow plugin for how its done). It's really brittle though and will probably break in short order as Geany's GUI layout changes or if other plugins do the same thing.
Cheers, Matthew Brush
On 5 November 2013 16:41, Matthew Brush mbrush@codebrainz.ca wrote:
On 13-11-04 09:14 PM, lmx wrote:
[snip]
Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
Not recommended...but you could reparent Geany's document notebook widget into your own GtkPaned and add your right-side panel in the 2nd spot and put your GtkPaned where Geany's document notebook was (see SplitWindow plugin for how its done). It's really brittle though and will probably break in short order as Geany's GUI layout changes or if other plugins do the same thing.
Or maybe just leave your additional tabs as a separate top level like your pictures, then the user could move it to their other monitor.
Cheers Lex
Cheers, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Am 05.11.2013 06:41, schrieb Matthew Brush:
On 13-11-04 09:14 PM, lmx wrote:
[snip] Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
Not recommended...but you could reparent Geany's document notebook widget into your own GtkPaned and add your right-side panel in the 2nd spot and put your GtkPaned where Geany's document notebook was (see SplitWindow plugin for how its done). It's really brittle though and will probably break in short order as Geany's GUI layout changes or if other plugins do the same thing.
You could also reparent into another GtkNotebook such that you can use tabs to switch between the panel and the all-documents-notebook. I think some plugin in the past did that.
Best regards.
On 07/11/13 12:08, Thomas Martitz wrote:
Am 05.11.2013 06:41, schrieb Matthew Brush:
On 13-11-04 09:14 PM, lmx wrote:
[snip] Hi, does you know if it's possible to add in some way the plugin GUI to the right side of Geany, when it is loaded, without too much effort?
Not recommended...but you could reparent Geany's document notebook widget into your own GtkPaned and add your right-side panel in the 2nd spot and put your GtkPaned where Geany's document notebook was (see SplitWindow plugin for how its done). It's really brittle though and will probably break in short order as Geany's GUI layout changes or if other plugins do the same thing.
You could also reparent into another GtkNotebook such that you can use tabs to switch between the panel and the all-documents-notebook. I think some plugin in the past did that.
Best regards.
Hi , I am trying to integrate it in the right end of the editor...like what happens in splitview plugin. The board:mcu part will be integrated in the toolbar...
I think that major_ghz have talved about filetypes.asm... I saw the file filetypes.asm, for avr, and i thing...that this could help to introduce data in the plugin...is there more info for another MCU's?
How geany makes use of them?
regards tux
Hi guys,
The plugin ill have a submenu inside of their menu in tools_menu(with option to launch it in a free window, or in the right side of geany)..
-----------------------------------------------------------------
I have some problems adding the 8Bits plugin to the geany notebook parent container...
I added it to the parent notebook of geany...
like that parent->pane->vbox( (geany notebook)--left side + (8Bits notebook) right side )
https://meocloud.pt/link/0caff1c1-13de-459b-8de7-a398d5d7904d/Share
----------------------------------------------------------------------------
Now I want to disable the plugin, and establish the previous geany notebook ...(exit from plugin...)
I don't know how to remove the 8Bits notebook, and establish the previous, only one notebook :S
Another thing...does any body know the exact struct of geany...or geany_data, they are the same right?
How the data is stored inside...I can find the exact definition/declaration of this struct...
to search for the parent, of 8Bits container, i need a pointer to 8Bits notebook...
is that something like that:
GtkWidget *notebook = geany_data->main_widgets->pane->vbox->my_netbook;(pane->vbox...because I added a pane inside the first parent, and a vbox inside a pane)?!
but it doesn't remove my notebook from Geany :(
What do you think?
Thanks in advance regards tux
On 08/11/13 22:55, lmx wrote:
Hi guys,
The plugin ill have a submenu inside of their menu in tools_menu(with option to launch it in a free window, or in the right side of geany)..
I have some problems adding the 8Bits plugin to the geany notebook parent container...
I added it to the parent notebook of geany...
like that parent->pane->vbox( (geany notebook)--left side + (8Bits notebook) right side )
https://meocloud.pt/link/0caff1c1-13de-459b-8de7-a398d5d7904d/Share
Now I want to disable the plugin, and establish the previous geany notebook ...(exit from plugin...)
I don't know how to remove the 8Bits notebook, and establish the previous, only one notebook :S
Another thing...does any body know the exact struct of geany...or geany_data, they are the same right?
How the data is stored inside...I can find the exact definition/declaration of this struct...
to search for the parent, of 8Bits container, i need a pointer to 8Bits notebook...
is that something like that:
GtkWidget *notebook = geany_data->main_widgets->pane->vbox->my_netbook;(pane->vbox...because I added a pane inside the first parent, and a vbox inside a pane)?!
but it doesn't remove my notebook from Geany :(
Problem SOLVED!!although I don't understand yet the way geany or geany_data works...
regards tux
What do you think?
Thanks in advance regards tux
Hi guys,
for what I understand plugindata.h have the structs of the Program data, and geanyfunctions.h, an functions to access the places in plugindata.h, geanyplugin.h include both...am I right?
I have this table, table_box = gtk_table_new(1,4,FALSE); with a label, two combox's and a button at the end , I want to add them at the end of the toolbar...
Is that possible?I am struggling with this , and I am in a dead end..
I have search in geanyfunctions.h, but I only found a macro for this... :S
plugin_add_toolbar_item(geany_plugin, table_box); //*Is this the only way to add items to toolbar?*
*plugin_add_toolbar_item* only accept a GtktoolItem * ? I think that means only GtkToolButton,GtkSeparatorToolItem, but if I want to add a table(1,4)?how can I do that?
I noticed that I can't do that with gtk_container_add( GTK_CONTAINER( geany_data->main_widgets->toolbar), table_box ); I don't know why...
does any body knows, how to do this?
thanks
regards tux
On 13-11-10 08:03 PM, lmx wrote:
Hi guys,
for what I understand plugindata.h have the structs of the Program data, and geanyfunctions.h, an functions to access the places in plugindata.h, geanyplugin.h include both...am I right?
I have this table, table_box = gtk_table_new(1,4,FALSE); with a label, two combox's and a button at the end , I want to add them at the end of the toolbar...
Is that possible?I am struggling with this , and I am in a dead end..
I have search in geanyfunctions.h, but I only found a macro for this... :S
plugin_add_toolbar_item(geany_plugin, table_box); //*Is this the only way to add items to toolbar?*
*plugin_add_toolbar_item* only accept a GtktoolItem * ? I think that means only GtkToolButton,GtkSeparatorToolItem, but if I want to add a table(1,4)?how can I do that?
GtkToolItem implements GtkContainer, so you could do like this probably:
... GtkWidget *tool_item = gtk_tool_item_new(); gtk_container_add(GTK_CONTAINER(tool_item), GTK_WIDGET(your_table)); gtk_widget_show_all(tool_item); plugin_add_toolbar_item(geany_plugin, tool_item); ...
Although it seems a little weird using a GtkTable in a toolbar, maybe you have a good reason. If you want a better example, IIRC the Latex plugin adds stuff to the main toolbar.
BTW, it's probably best to discuss development stuff on the developer's mailing list.
Cheers, Matthew Brush
On 11/11/13 04:12, Matthew Brush wrote:
On 13-11-10 08:03 PM, lmx wrote:
Hi guys,
for what I understand plugindata.h have the structs of the Program data, and geanyfunctions.h, an functions to access the places in plugindata.h, geanyplugin.h include both...am I right?
I have this table, table_box = gtk_table_new(1,4,FALSE); with a label, two combox's and a button at the end , I want to add them at the end of the toolbar...
Is that possible?I am struggling with this , and I am in a dead end..
I have search in geanyfunctions.h, but I only found a macro for this... :S
plugin_add_toolbar_item(geany_plugin, table_box); //*Is this the only way to add items to toolbar?*
*plugin_add_toolbar_item* only accept a GtktoolItem * ? I think that means only GtkToolButton,GtkSeparatorToolItem, but if I want to add a table(1,4)?how can I do that?
GtkToolItem implements GtkContainer, so you could do like this probably:
... GtkWidget *tool_item = gtk_tool_item_new(); gtk_container_add(GTK_CONTAINER(tool_item), GTK_WIDGET(your_table)); gtk_widget_show_all(tool_item); plugin_add_toolbar_item(geany_plugin, tool_item); ...
thanks Matthew, yes it works ;)
Although it seems a little weird using a GtkTable in a toolbar, maybe you have a good reason. If you want a better example, IIRC the Latex plugin adds stuff to the main toolbar.
its because I will have in this plugin a section to choose board/microcontroller, based on that I will generate a config_board.h for a specific MCU...this is the easiest way, I think... The components seems a litle bit height , but for now its fine ;) thanks
BTW, it's probably best to discuss development stuff on the developer's mailing list.
ok, I'm sorry for the noise.
thanks for the help ;)
regards tux
Am 11.11.2013 05:12, schrieb Matthew Brush:
Although it seems a little weird using a GtkTable in a toolbar, maybe you have a good reason. If you want a better example, IIRC the Latex plugin adds stuff to the main toolbar.
Yes. I'm adding a icon direct to Geany's toolbar as well as adding another toolbar. I think its a bit hackish, but its working. Have a look at geanylatex.c l130 and later.
Cheers, Frank
On 05/11/13 02:11, James Brierley wrote:
Hi guys,
Just to say, I definitely think that extending Geany to support microcontrollers and embedded development is a good idea -- I'm an Arduino user myself and I can't stand the supplied (so-called) 'IDE'.
Hi, I like the idea too ;) Geany is small, very focused in the work, and simple...it is beautiful in C language, at least...what we can expect more ;) The idea of the plugin appeared, because there are no good IDE in any community project out there, you have core features, but you lag typing functionality, and you have to learn a C like language, that in the end...is nothing.. Starting something from zero for a IDE like those, will not deserve the work. So the idea of geany seems a lot better, at least to me.
But -- just a suggestion -- I think it would be better to implement this through plugins, rather than forking Geany or deriving something completely separate. What I like about Geany is that it's quite modular, and I think it's worth taking advantage of this.
At least for now it will be a plugin, I don't now yet how can I integrate it in the right side of the Geany IDE, and I don know if it's possible... For now it work in a "subwindow" of geany. https://cld.pt/dl/download/2fabd07e-df66-4069-85cd-f277fc24fb4d/Share/stm8de...
Regarding having a listing of the assembly instructions, registers etc. of an MCU, I'm wondering if it might be better to work with Geany's 'tags' functionality. See for instance /usr/share/geany/filetypes.c and http://www.geany.org/manual/current/index.html#tags. I admit that I haven't really looked into how the API interacts with tags files or whether it would be possible to augment them with any kind of documentation, etc.
I don't think a database is necessarily the worst idea, but a WebKit datasheet viewer would seem to make more sense... isn't 'the cloud' where it's at these days? ;)
I don know yet what are the tag's you talk, but I will investigate, when I have to decide what path to follow. Ideas are welcome ;)
By the way, I'm not a Geany developer, just a layman in the Cult of Geany.
James
but you should ;)
thanks for the feedback ;)
regards tux
On Fri, 1 Nov 2013 17:31:35 +0100 major_ghz major_ghz@electronique-libre.org wrote:
hello
Why not adding features as plugin(s) instead of forking Geany? This will give you the davantage you don't have to care too much about development of core functions and also to make usage of all the other plugins.
sorry for my stupid question, but there are a plugin for arduino on geany ?
Not yet. Somebody posted some config file some time ago. Not sure, how good it is.
Gruß Frank