Activity for Roy Qu

  • Roy Qu Roy Qu posted a comment on ticket #569

    Fix: the option "--break-blocks=all" doesn't work, too.

  • Roy Qu Roy Qu created ticket #569

    option "--break-blocks" doesn't work for classes and functions

  • Roy Qu Roy Qu posted a comment on ticket #568

    astyle 3.4 has a new option "--indent-lambda". Have you tried it?

  • Roy Qu Roy Qu posted a comment on ticket #566

    Thank you for the clarification. I tried to format the following code with astyle 3.4.14: int main() { int a0e=10+30; float x=a0e-30; } via command astyle --style=java --indent=tab=4 --indent-switches --indent-namespaces --indent-preproc-block --min-conditional-indent=1 --pad-oper --pad-comma --pad-header < test.cpp > output.cpp. The result is: int main() { int a0e = 10 + 30; float x = a0e-30; } The operator '-' in "a0e-30" should be padded with spaces, but it's not.

  • Roy Qu Roy Qu created ticket #567

    Astyle doesn't recognize C++ 17 hexdecimal floating-point literal

  • Roy Qu Roy Qu created ticket #566

    Expression "a0e-30" is wrongly treated as a floating-point literal.

  • Roy Qu Roy Qu modified a comment on ticket #3571

    I've tried the newest windows installer ( "sdcc-20230923-14356-x64-setup.exe" ). cc1 is still installed to sdcc/bin, not sdcc/libexec/sdcc .

  • Roy Qu Roy Qu posted a comment on ticket #3571

    I've tried the newest windows installer ( "sdcc-20230923-14356-x64-setup.exe" ). cc11 is still installed to sdcc/bin, not sdcc/libexec/sdcc .

  • Roy Qu Roy Qu posted a comment on discussion Open Discussion

    in include/mcs51, we have files like: AT89C513xA.h at89S8252.h at89s8253.h P89LPC932.h p89lpc9321.h Should they be all lower or upper case? Or at lease the files for one controller family have the same case?

  • Roy Qu Roy Qu created ticket #887

    Command option to read source file content from standard input

  • Roy Qu Roy Qu created ticket #3632

    sdcc.exe can't compile if it's full path contains spaces.

  • Roy Qu Roy Qu created ticket #886

    Add syntax-check-only command option

  • Roy Qu Roy Qu imported Files

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ Highlights: use color to differentiate escape sequences in the string Add "Close" buttons to editor title bars Auto open files opened in last session. Add Files View Parsers work in the background Greatly improved the speed when loading lots of symbols in the class view * and lots of other enhancements and bug fixes

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Highlights: code completion suggestion for C preprocessors (such as #include, #define) / header name /javadoc style doclets local view in the debug panel Auto syntax check better C++ 11/ C++ 14 syntax support code snippets in the code completion suggestion windows auto link ( auto generate link options according to the headers included in the source file) better utf8 file encoding support and lots of other enhancements and fixes, see News.txt

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Highlights: code completion suggestion for C preprocessors (such as #include, #define) / header name /javadoc style doclets local view in the debug panel Auto syntax check better C++ 11/ C++ 14 syntax support code snippets in the code completion suggestion windows auto link ( auto generate link options according to the headers included in the source file) better utf8 file encoding support and lots of other enhancements and fixes, see News.txt

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Highlights: code completion suggestion for C preprocessors (such as #include, #define) / header name /javadoc style doclets local view in the debug panel Auto syntax check better C++ 11/ C++ 14 syntax support code snippets in the code completion suggestion windows auto link ( auto generate link options according to the headers included in the source file) better utf8 file encoding support and lots of other enhancements and fixes, see News.txt

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    如果方便的话,发一个有问题的源文件给我看一下。另外最好把项目文件(.dev)也发给我,我看看里面的设置 Hong Bin Han kankouhin@users.sourceforge.net 于2020年12月29日周二 下午12:38写道: class classwithenum { public: enum enumtest{ enumA,enumB }; }; int main(int argc, char** argv) { classwithenum cls;classwithenum:: <-- 用点符号没有问题,会提但是用::就无法提示return 0; } 另外还有一个问题,关于UTF-8的判断。 在工程里已经把每个文件的UTF8的check取消了,但是每次还会有部分文件编译为utf8格式。 导致编译出错,文件内容都是英文,无多字节字符(使用日文系统,和这个有关?) 您更新的这个版本,要稳定很多,简单的使用了一下,没有碰到致命退出问题,辛苦辛苦。 Dev C++ 2020 6-beta 2 https://sourceforge.net/p/dev-cpp-2020/discussion/general/thread/2e910228c7/?limit=25#469f/9be3/5a1a...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    用的是哪个版本?能给个示例代码吗?

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ Highlights of Version 6.2 Auto check syntax when open/save the editing file, and mark the errors in the editor Lots of improvement on the editor Lots of improvement on the code parser and auto completion. Lots of improvement on the editing and debug of project. Redesign of the Find panel, the results of each search are all kept. (like nodepad++) Copy as RTF, with correct background color Tabnine Suggestion(Experiment) And lots of other enhancement and...

  • Roy Qu Roy Qu posted a comment on discussion Compiling

    https://sourceforge.net/projects/dev-cpp-2020/ Highlights of Version 6.2 Auto check syntax when open/save the editing file, and mark the errors in the editor Lots of improvement on the editor Lots of improvement on the code parser and auto completion. Lots of improvement on the editing and debug of project. Redesign of the Find panel, the results of each search are all kept. (like nodepad++) Copy as RTF, with correct background color Tabnine Suggestion(Experiment) And lots of other enhancement and...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ Highlights of Version 6.1 Parser Performance optimized ClassBrowser updates faster when refresh / change sort types Performance improve for Watch View update , now we only update once for each command the debugger runs. Portable version is really portable: configs is stored in Dev-Cpp/config instead of %AppData%/Dev-Cpp, and new projects is created in Dev-Cpp/Projects keep the origin indent when paste contents Code Suggestion window and most content...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ Highlights ofVersion 6.0 GCC compile speed improved Infos in the watch view are updated timely (for example, when enter a function, a local var with the same name in the caller will get updated) Double click var/expressions in the watch view will rename it Open a console in the folder of the current editing file and gcc PATH setted. ( Right click the editor's filename title, and choose 'open console' in the context menu) Use regular expressions in find/search...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ fix: while debugging, switch functions in call stack windows will also update watch expressions(variables). fix: Correct update watch var infos while debugging enters/exits functions fix: don't show auto-code-completion suggestion when input a word and deleted it using backspace fix: macro defined in included headers not correctly processed when change #includes in source file. fix: CppParser error if first completion input too fast to finish parsing...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ The ClassBrowser is greatly improved! fix: Select row in Class Browser fix: icons in Class Browser fix: Class Browser show nothing when view system headers fix: Show typedef / #define / enum in ClassBrowser fix: Class Browser won't scroll with mouse wheel fix: remove unused intlist to reduce memory usage; fix: correctly parsing function type define fix: stop reparsing file when code completion finished but word not finish fix: rename symbol will only...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ fix: Left Panel tab names display error in windows xp sp3 fix: Tool Configuration Dialog size error fix: can't correctly show project file encoding in status bar fix: When loading Project configuration, if there's no UTF-8 setting in it, set it to False by default fix: Before open a file, set UseUTF8 to True means auto-detect encoding, not enforcing it. fix: auto show watch and debug panel when start debug fix: when debug and need re-compile file, when...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    https://sourceforge.net/projects/dev-cpp-2020/ fix: Text blur in Window High DPI (Environment Option -> Fix High DPI then Exit) fix: gcc error output parsing error fix: shouldn't jump to .o file when click in Compiler Output fix: copy in compiler window will only copy error messages, not copy line no and file name. fix: auto code completion will replace whole word if input just before a word, that's not right fix: increase item height in code suggestion window fix: utf-8 encoding file open error...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Version 6-beta2 October 2020 - fix: Debug menuitem captions - fix: gray debug\run buttons while a program is running or debugging. - enhancement: redesign debug views - enhancement: add icons for debug buttons - enhancement: add icons for indent/unindent buttons - enhancement: when parsing definitions, add a MACRO define 'EGE_FOR_AUTO_CODE_COMPLETETION_ONLY'. EGE use to stop include windows.h (so can show less non-using code suggestions from windows.h).

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Updates since last release: Version 6-beta2 October 2020 - fix: Debug menuitem captions - fix: gray debug\run buttons while a program is running or debugging. - enhancement: redesign debug views - enhancement: add icons for debug buttons - enhancement: add icons for indent/unindent buttons - enhancement: when parsing definitions, add a MACRO define 'EGE_FOR_AUTO_CODE_COMPLETETION_ONLY'. EGE use to stop include windows.h (so can show less non-using code suggestions from windows.h). Version 6-beta1...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Lots of updates since last announce It can be found here : https://sourceforge.net/projects/dev-cpp-2020/ Version 6-beta1 October 2020 - version: upgrade to version 6, since we have made so many changes & enhancements. - fix: font size in auto completion box - fix: export HTML correctly setting the charset name - enhancement: breakpoint condition in effect while debugging - enhancement: set a default project folder when create a new project, and create it for the user - enhancement: if the source...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Lots of updates since last announce Version 6-beta1 October 2020 - version: upgrade to version 6, since we have made so many changes & enhancements. - fix: font size in auto completion box - fix: export HTML correctly setting the charset name - enhancement: breakpoint condition in effect while debugging - enhancement: set a default project folder when create a new project, and create it for the user - enhancement: if the source code is utf-8 encoded, use utf-8 as the charset to export HTML - enhancement:...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Highlight in this version: - Auto completion works with string - Auto completion works with headers which include <window.h> - Better debug output window</window.h> For other fixes and changes, see News.txt It can be download from https://github.com/royqh1979/Dev-CPP/releases or https://sourceforge.net/p/dev-cpp-2020/

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Highlights: - Auto completion works with string - Auto completion works with headers which include <window.h> - Better debug output window</window.h> For other fixes and changes, see News.txt

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Highlights: - Auto completion works with string - Auto completion works with headers which include <window.h> - Better debug output window</window.h> For other fixes and changes, see News.txt

  • Roy Qu Roy Qu posted a comment on discussion Debugging

    2)TDM GCC's GDB has a bug when encounting have 'endl'; 3)You can see the call stack in the CPU window.

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Version 5.13-beta2 - add: Redirect STDIO to a file when run (not working in windows XP)& debug the compiled program (need a patched gdb) - add: redesigned debugger. Commands are processed one by one . This makes debugged windows more like real gdb console. - add: In the CPU window, click on the functions in the left-bottom list will show the function's disassebly and cpu info - fix: graphics.h & libturtle project templates - fix: multi language support for rename symbol - fix: parameters are in effect...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Yes。 I put xege (https://xege.org/) and libturtle (https://github.com/royqh1979/libturtle) in it. You should link it with -lpthread -ldebughelper -lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows. And I have created a project template for it and repackaged 5.13-beta1 binary release. Or you can use drop the attachment to Dev-CPP's templates folder, and use it to create a project. (File->New->Project...->Multimedia -> graphics.h>

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Yes。 I put xege (https://xege.org/) and libturtle (https://github.com/royqh1979/libturtle) in it. You should link it with -lpthread -ldebughelper -lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows. And I have drop the attachment to Dev-CPP's templates folder and use it to create a project. (File->New->Project...->Multimedia -> graphics.h>

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Release Address: https://github.com/royqh1979/Dev-CPP/releases/tag/v5.13.beta-1 Highlights: Greatly improved "Auto symbol completion" function. Autoskip matched )/}/]/"/', never need to delete it or skip it manually. This makes code input much fluent. Fix auto-indent; When } is inputted, its line will intend to the same as the matching }. Auto Code Completion fix: * In editor option dialog, user can choose to use Alt+/ instead of Ctrl+Space to call Code Completion Action. (In chinese systems, Ctrl-Space...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Update to Version 5.13-alpha1 fix: Start Debug button is still enable while debuging; add: two new options for debug in environment option dialog; add: support utf-8 encoding file (project support not done) change: notify user before start the Debugger if execution file is old than the source file change: better gdb output format change: upgrade gcc to MinGW-W64-i686 version 10.2 (for utf-8 support)

  • Roy Qu Roy Qu posted a comment on discussion Troubleshooting

    In "Tools" menu, choose "environment options..." to open the environment options dialog. In the "Directories" tab, click "remove settings and exit" and try? Seems it's a bug of windows 10 version 2004

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Update toVersion 5.12.4 fix: project won't rebuild when only header file is changed. Use gcc -MM to generate Makefile targets (and get header dependencies) fix: crash at close when debugging change: show gdb command in debug log window add two options for debug( option dialog is yet to do) : ShowComandLog (show gdb command in debug window)/ ShowAnnotation (show gdb annotations in debug log window)

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Orwell Dev-CPP has stopped update since 2015, So I forked it. It's intended for eductional use. It can be download from https://github.com/royqh1979/Dev-CPP/releases New Features: * rename symbols (Refactor) Changes: Use the Debug Profile as the default compiler profile. -Wall -Wextra -Werror options are setted by default in the Debug profile. * Update gcc to version 9.20 (from mingw.org) Fixes: Debug fail when the source file is in the root folder of a drive(C:, D:, etc). Reformat(Astyle) leave...

  • Roy Qu Roy Qu posted a comment on discussion General Discussion

    Orwell Dev-CPP has stopped update since 2015, So I forked it. It's intended for eductional use. It can be download from https://github.com/royqh1979/Dev-CPP New Features: * rename symbols (Refactor) Changes: Use the Debug Profile as the default compiler profile. -Wall -Wextra -Werror options are setted by default in the Debug profile. * Update gcc to version 9.20 (from mingw.org) Fixes: * Debug fail when the source file is in the root folder of a drive(C:, D:, etc). Add some libraries for children...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Sorry for the wrong title but I don't know how to change it. Bug: Debug/Break Point...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Sorry for the wrong title but I don't know how to change it. Bug: Debug/Break Point...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Sorry for the wrong title but I don't know how to change it. Bug: Debug/Break Point...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Bug: Debug/Break Point would fill if the debuging file is in the root folder of a...

  • Roy Qu Roy Qu modified a comment on discussion General Discussion

    Bug: Debug/Break Point would fill if the debuging file is in the root folder of a...

  • Roy Qu Roy Qu posted a comment on ticket #463

    In PC Logo for Windows 1.0, CS also don't reset PU. Maybe this is a feature of L...

  • Roy Qu Roy Qu posted a comment on ticket #467

    I've tried the unicode version. Yes it behaves correctly.

1