aporto / mariamole Goto Github PK
View Code? Open in Web Editor NEWMariaMole: An alternative Arduino IDE
License: GNU General Public License v3.0
MariaMole: An alternative Arduino IDE
License: GNU General Public License v3.0
There is an anonoying flickering on text inside the code editor, whenever user clicks on a brace/bracket.
Text also flickers when user move from inside a brace/bracket block to outside this block, with the mouse
This only happens when the brace-matching feature of QScintilla is turned on. As a workaround, I've added an option on Edit -> Preferences to disable the brace-matching.
The flicker is not so bad on dark color themes.
This appear to affect only the Windows port
Just download it from there and it seg fault on start up. I use the portable version 0.7 so not the debian package
Valgrind gives :
[malcolm@localhost MariaMote]$ valgrind ./mariamole
==9459== Memcheck, a memory error detector
==9459== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==9459== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==9459== Command: ./mariamole
==9459==
==9459==
==9459== Process terminating with default action of signal 11 (SIGSEGV)
==9459== Bad permissions for mapped region at address 0x6A58B90
==9459== at 0x7A9B98C: ??? (in /usr/lib64/libQtGui.so.4.8.6)
==9459== by 0x400FF49: call_init.part.0 (in /usr/lib64/ld-2.20.so)
==9459== by 0x401005A: _dl_init (in /usr/lib64/ld-2.20.so)
==9459== by 0x4000D29: ??? (in /usr/lib64/ld-2.20.so)
==9459==
==9459== HEAP SUMMARY:
==9459== in use at exit: 37,684 bytes in 231 blocks
==9459== total heap usage: 275 allocs, 44 frees, 45,436 bytes allocated
==9459==
==9459== LEAK SUMMARY:
==9459== definitely lost: 0 bytes in 0 blocks
==9459== indirectly lost: 0 bytes in 0 blocks
==9459== possibly lost: 4,676 bytes in 83 blocks
==9459== still reachable: 33,008 bytes in 148 blocks
==9459== suppressed: 0 bytes in 0 blocks
==9459== Rerun with --leak-check=full to see details of leaked memory
==9459==
==9459== For counts of detected and suppressed errors, rerun with: -v
==9459== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
Method to choose a color scheme to the editor.
I'm testing mariamole under debian jessie and arduino 1.5 (from experimental).
IDE reports Arduino.h not found.
The problem is the new arduino 1.5 introduces a new level of subdirectory.
IDE output is:
Compiling file: /home/ivan/software-projects/workspace-arduino/Fade/source/Fade.cpp
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c /home/ivan/software-projects/workspace-arduino/Fade/source/Fade.cpp -o /home/ivan/software-projects/workspace-arduino/Fade/build/source_Fade.cpp.o -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -MMD -DARDUINO=105 -mmcu=atmega328p -DF_CPU=16000000L -I /home/ivan/software-projects/workspace-arduino/Fade/source -I /usr/share/arduino/hardware/arduino/cores/arduino -I /usr/share/arduino/hardware/arduino/variants/standard
In file included from /home/ivan/software-projects/workspace-arduino/Fade/source/Fade.cpp:1:0:
/home/ivan/software-projects/workspace-arduino/Fade/source/mariamole_auto_generated.h:16:21: fatal error: Arduino.h: File o directory non esistente
But in new arduino core I have:
/usr/share/arduino/hardware/arduino/avr/cores/arduino/Arduino.h
and
/usr/share/arduino/hardware/arduino/sam/cores/arduino/Arduino.h
Using these technologies we will have less work
about native: in this parties will use native API of node.js
Please add an intelligent code completion (a.k.a. intellisense) to the editor.
eg. Upload current project to board (Ctrl+U)
These fonts are really small, compared to the code area, i'd say 8px.
They should be adjustable too, maybe with the same setting as the code.
Or, as a quick fix, you could just make them somewhat bigger.
Method to check if a file was modified.
Hello, thanks for this project, I am thinking in packaging it to Mageia.
I would like to request you to put the project name in tarball releases. For now, if I download .zip or .tar.gz from release page, the file name will be 0.6.0.0.zip or 0.6.00.tar.gz.
If you put the project name + version, you will help the packagers like me. =) You can see an example in liquidfun release page.
It makes it easyer to see which messages were made by the last compile.
Maybe allow clearing of Messages too...
Hello,
This is what I have on fedora 21 when trying to compile :
/usr/bin/ld: cannot find -lqt5scintilla2
But every qscintilla library is installed :
[root@localhost ~]# yum list *scintilla*
Loaded plugins: langpacks
Installed Packages
qscintilla.x86_64 2.8.4-1.fc21 @fedora
qscintilla-devel.x86_64 2.8.4-1.fc21 @fedora
qscintilla-python.x86_64 2.8.4-1.fc21 @fedora
qscintilla-python-devel.noarch 2.8.4-1.fc21 @fedora
I don't really why the flag isn't working here.
Best,
Maybe it is good idea to add "Don't autogenerate code" option for expert users in Project Properties or Global Options? I always make .h file with same name as main .cpp one. And mariamole_autogenerated_code.h is not necessary for me.
I imported the Blink-example and uploaded it. After about 1sec. the program runs, as the blinking led tells me. But the Progress-Bar with the cancel-button is only at about 10%, and finishes 10sec. later...
This is on a mega 2560 Board.
Has there been an attempt to add ESP8266 support? (with the ESP8266 Arduino core: https://github.com/esp8266/Arduino)
How might I add a custom board like this to MariaMole?
thanks
The Messages-Area can be made smaller and bigger, but only maybe up to 20% height.
This leaves still only about 12 Lines on the Output tab...
Why is this restriction there?
Currently the down-arrow confuses. I guess the idea is "down to the board", but as it's called UP-load, the arrow should point up, or right maybe, or from top left to bottom right, similar to the hammer. Also, a stylized chip (with legs) could be more clear than a board (what i think it is now).
Hi Dev
In win10x64 Enviro
App installed via command silent/verysilent, Application open/launched would perfer the application close,due to by deployment mean it needs to restart or terminate the Mariamole to be continue.
this applied on the latest 0.7.20
Shortcut "Ctrl+Q"(Clean project) doesn't work
Hey Alex, tudo beleza?
I am keen to try your Arduino IDE alternative, however, the software is failing to install. I tried to find any issues here but I couldn't, can you assist?
Valeu cara!
Paulo
Hello guys,
I've been notified of a new Beta build (thankssssss), have downloaded and installed it under Window 7 64bits (yes, I know MM installs itself as a 32bit application).
During the installation process I had two "Memory Violation errors", although the installer went through and launched MM as required at the end. At the launch, windows reported "MM crashed, was closed, looking for solutions...." but the IDE opened apparently well and alive after all of this.
The only weird thing on the machine (besides Windows itself of course) is Avast Anti Virus, which reported scanning the installer but hasn't complain about it.
Sorry for the lack of PrintScreens. Promise to do better next time.
Thanksssssss!
Add support for leonard (and other boards based on atmega32u)
When using Wire.h it says it cant import twi.h
When the focus is on the Output-area (you can scroll it with the up-/down keys), the cursor in the code area is still blinking.
This behaviour indicates the focus is at the cursor.
When not in focus, the cursor should not be blinking.
Under 32bit Ubuntu compilation fails:
adasiek@adasiek-ThinkPad-X200:~/ard_ide/mariamole$ cmake src
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
running bash /home/adasiek/ard_ide/mariamole/src/src/get_git_version_unix.sh > /home/adasiek/ard_ide/mariamole/src/src/git_version.h 2>&1
sh: 1: cannot create /home/adasiek/ard_ide/mariamole/src/src/git_version.h: Directory nonexistent
CMake Warning at CMakeLists.txt:13 (find_package):
Could not find module FindQt5Widgets.cmake or a configuration file for package Qt5Widgets.
Adjust CMAKE_MODULE_PATH to find FindQt5Widgets.cmake or set Qt5Widgets_DIR
to the directory containing a CMake configuration file for Qt5Widgets. The
file will have one of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
CMake Warning at CMakeLists.txt:17 (find_package):
Could not find module FindQt5Core.cmake or a configuration file for package Qt5Core.
Adjust CMAKE_MODULE_PATH to find FindQt5Core.cmake or set Qt5Core_DIR to
the directory containing a CMake configuration file for Qt5Core. The file
will have one of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
CMake Error at CMakeLists.txt:35 (qt5_wrap_ui): Unknown CMake command "qt5_wrap_ui".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!`
A segfault happens while parsing the linker output. Sometimes, it works at first, but at the second build, crachs. We need to review the method to find where it's exploding.
I make a change into a program, upload it to the board, and the program works as it was before the change.
Uploading the same program with Arduino IDE works fine.
Regards.
Good afternoon:
when deploy Mariamole 0.7.20 with silent command via MDT, the software launch itself open and this is stopping deployment to continue until the MariaMole application is close.
could this also be look into the fix.
many thanks
Write methods to write and save files. Must me implemented into Editor class.
Hi,
it would be great if you could provide a precompiled version of the app also for Mac, or at least some installation instructions.
Thanks!
IMHO most of MariaMole's users developed on Arduino and make final devices with AVR microcontrollers. So IDE should provide all possible AVR crystals(with/without bootloader) and Arduinos. But there also should be user-friendly Hardware management .
My proposition is two lists as shown bellow:
PS: ability of AVRs fuses writing will be great!
On Linux, a segfault is received when some document is closed. This is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff603c2e8 in QDateTime::~QDateTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
(gdb) bt
#0 0x00007ffff603c2e8 in QDateTime::~QDateTime() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1 0x000000000043daef in Editor::~Editor() ()
#2 0x00007ffff6d10629 in QsciScintillaQt::~QsciScintillaQt() () from /usr/lib/libqt5scintilla2.so.11
#3 0x00007ffff6cdea15 in QsciScintillaBase::~QsciScintillaBase() () from /usr/lib/libqt5scintilla2.so.11
#4 0x000000000043db59 in Editor::~Editor() ()
#5 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007ffff7878829 in QStackedWidget::~QStackedWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00000000004407f1 in EditorTab::~EditorTab() ()
#11 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff7874099 in QSplitter::~QSplitter() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff7874099 in QSplitter::~QSplitter() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff7723e19 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff61f8c9c in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff7723bf9 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00000000004222bd in main ()
(gdb)
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.