Page 1 of 3 123 LastLast
Results 1 to 10 of 36

Thread: Machina Engine DevPascal - IDE for Free Pascal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Post Machina Engine DevPascal - IDE for Free Pascal

    This is a simple project, but usefull. I started this because I wanna a better interface than the oficial FPC.exe. The page of the project is a post in my blog: http://pixeldeveloper.blogspot.com.b...ee-pascal.html

    The main feature is a multi-document interface. And, from the IDE, the user will be able to configure the compiler.

    [Screenshots]:
    Initial screen:
    DevPascal001.jpg
    Screen with open file:
    DevPascal003.jpg
    Preferences screen:
    DevPascal002.PNG

    Thank you for your attention!

  2. #2
    That would be cool to have something simpler than Lazarus and with same(and greater) functionality for code editing and debugging, so I will watch progress of this project

    PS: there was one DevPascal long time ago.

  3. #3
    Looks good, I hope this is going to be multi platform.
    Best regards,
    Cybermonkey

  4. #4
    Sounds like a good idea.

    May I suggest for the editor to facilitate some code typing techniques that are currently present in Delphi, like when you type "begin" and then hit enter, it automatically adds "end", thus saving some amount of your time. This is a single feature I loved since the release of Delphi 2006.

  5. #5
    Andru: Thank you for your answer! The custom caption will be optional. So, the user will be able to change between the custom and the standard caption style.
    I will take a look to the design of "Lazarus Preferences" window.
    Quote Originally Posted by Andru
    as I understand editor support UTF-8, but only if there is a BOM code at start of file, it will be a good idea to have option for default encoding somewhere in preferences
    It is the first time I'm dealing with this issue. I wasn't even thinking about this issue.
    Do you think this will solve:
    Instead of use the component SaveDialog, I will put SaveTextFileDialog, which allows to choice between the formats. And, according to the selected format, I will use the function
    Code:
    TStrings.SaveToFile(Name : String; Encoding : TEncoding);
    ?

  6. #6
    Do you think this will solve:
    Instead of use the component SaveDialog, I will put SaveTextFileDialog, which allows to choice between the formats. And, according to the selected format, I will use the function
    It was not about saving the file, it was about opening and editing Here is an example of file which is encoded as UTF-8, but without a BOM bytes at start. Correct version of it should looks like:
    Code:
    program demo;
    
    begin
      // Here should be a Russin text
      writeln( 'Вот тут вот русский текст :)' );
    end.

  7. #7
    Hello, everybody. Some updates:


    1# - It's possible to change the theme of the editor[Image Original Size]:




    2# - The browser can show the functions and procedures of each class:


    3# - All FPC options(command line options) are already manageable by the IDE;

    4# - In the preferences window you can change the theme and set all the FPC options:



    QUESTION: I'm thinking about put a option where the IDE would load ALL units which are in a "standard directories" and parser them. This way, I could put an autocomplete tool in the editor, like this:


    But, to do this, the programmer will need the source-code(the .pp file) of each unit.

    Do you think it is a good idea? Also, anyone knows anything about my last post?
    Attached Images Attached Images

  8. #8
    code_glitch: For now, the project is still closed-source. Because the parser I'm using is inside the unit of my Game Engine. I will make a new unit, just with the parser. Then I'll make it open-source.

    I have posted the link for download before: https://skydrive.live.com/?cid=bbf7f...CD6062D52E!178

    UPDATE: The browser is working! See the screenshot: [Link]
    Last edited by FelipeFS; 25-03-2012 at 08:42 PM.

  9. #9
    Quote Originally Posted by FelipeFS
    I just asked in the facebook where should I put this browser(together with the "manager frame", or in a new frame on right side of the screen?).
    I like to see nothing on left side, only line numbers and code But many others put something there. So, provide possibility to configure environment, and everybody will be hapy

    Your project works on my computer at work with Windows 7. But there are some bugs/etc.:
    - custom caption not a good idea, because people expect maximizing of window when they double click on it, and custom theme looks not good, I prefer to see what I configured in system
    - window doesn't minimize after clicking on icon in taskbar
    - as I understand editor support UTF-8, but only if there is a BOM code at start of file, it will be a good idea to have option for default encoding somewhere in preferences

    About the compiler preferences - take them from Lazarus, because there they placed good

  10. #10
    I'm trying to use the compiler externally, so I'm using a unit which I can compile using the FreePascal IDE, but I'm not getting it to compile using command line. These are the commands:

    FPC -Rdefault
    -Sc -Sg -Si -Sh -SIcom -vv -vw -vl

    -FuD:\FPC\units\i386-win32\
    -FuD:\FPC\units\i386-win32\*
    -FuD:\FPC\units\i386-win32\rtl\
    -FuD:\FPC\units\i386-win32\lcl\
    -FuD:\FPC\units\i386-win32\lcl\*
    -FuD:\FPC\units\i386-win32\lcl\units\i386-win32\
    -FuD:\FPC\units\i386-win32\lcl\interfaces\win32\
    -FuD:\FPC\units\i386-win32\lcl\units\i386-win32\win32\
    -FuD:\Arquivos\Desenvolvimento\Programação\Projetos \
    -FiD:\FPC\units\i386-win32\lcl\include\
    -FiD:\Arquivos\Desenvolvimento\Programação\Projetos \
    -FlD:\FPC\units\i386-win32\lcl\*
    -FoD:\Lazarus\lcl\units\i386-win32\
    -FoD:\Lazarus\lcl\* -FoD:\Lazarus\lcl\units\*

    -TWin32 -g- -p- -b- -Mfpc -XS -Cp80386 -Op80386
    D:\Arquivos\Desenvolvimento\Programação\Projetos\M EGameEngine.pas


    I recieve this message:
    control(935,27) Error: Identifier not found "TPopupMenu"

    Does anyone know what the problem is?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •