Recent

Author Topic: XML tree view editor  (Read 30172 times)

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor
« Reply #15 on: November 16, 2012, 01:35:27 am »
FYI: you can test an executable with multiple virus scanners at
http://virusscan.jotti.org/en

I did scan with the above service and found nothing apart from UPX packer, which is OK as I pack the executable to reduce its size.

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor ver 0.1.0.12
« Reply #16 on: November 20, 2012, 08:07:52 pm »
Eventually got the attributes editor (TStringGrid on the Edit Node form) working more or less properly in both Windows and Linux versions. To make this happen I had to modify the source of Grids.pas library, which is now included into source code package.

Most recommendations by eny were also considered and fixed.

The binary installer for Windows and source is available for download at http://sourceforge.net/projects/xmltreeeditor/files/ SourceForge.net; Linux Debian package is coming soon.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: XML tree view editor ver 0.1.0.12
« Reply #17 on: November 21, 2012, 09:25:58 am »
Eventually got the attributes editor (TStringGrid on the Edit Node form) working more or less properly in both Windows and Linux versions. To make this happen I had to modify the source of Grids.pas library, which is now included into source code package.

Great! If your improvements can be of use to the general Lazarus community you can upload a patch with the changes in the bugtracker if you want..
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

vrull

  • Full Member
  • ***
  • Posts: 118
XML tree view editor ver. 0.1.0.14
« Reply #18 on: December 03, 2012, 08:16:04 pm »
Version 0.1.0.14 released with some improvements and fixes. Project status has changed from Alpha to Beta.

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor
« Reply #19 on: February 24, 2013, 11:53:15 pm »
XML Tree Editor version 0.1.0.15 released as a result of extensive use of it by myself. There is also an improved version of XMLfile.pas and similar unit for Delphi called uXMLConfig.pas. The later two are units for developers to support XML configuration files in Lazarus and Delphi respectively.
As usually the project can be found at
http://sourceforge.net/projects/xmltreeeditor

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor
« Reply #20 on: March 24, 2013, 08:56:18 pm »
Version 0.1.0.18 is out. The main new feature is the ability to compare the reference and main documents - find matching nodes, find a node with no match, include full text/attributes comparison.

vrull

  • Full Member
  • ***
  • Posts: 118
[UPDATED] XML tree view editor
« Reply #21 on: September 09, 2013, 10:50:43 pm »
XML Tree Editor version 0.1.0.23 released. The main new feature since the last announcement is drag and drop support for Replicate/Move node and improved tree display.

Installation packages for Windows and Ubuntu (GTK2) along with source codes available for download from SourceForge.Net http://sourceforge.net/projects/xmltreeeditor/?source=directory

dgaspary

  • Jr. Member
  • **
  • Posts: 55
Re: XML tree view editor
« Reply #22 on: September 10, 2013, 01:46:35 am »
Any tips to compile with qt?

I get the error:

grids.pas(1692,3) Fatal: Can not find WSGrids used by Grids, ppu=/home/myUser/.lazarus/lib/LCLBase/units/x86_64-linux/wsgrids.ppu, package LCLBase

And the file is there. Removing the whole LCLBase, the IDE rebuild it, but the error remains.

Other Applications, GUI and Console, compile without problems.

UPDATE: Forget it. My Lazarus has some problem with grids. I Will try later.
« Last Edit: September 10, 2013, 01:52:34 am by dgaspary »

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor
« Reply #23 on: September 11, 2013, 12:26:55 am »
to dgaspary
The provided source code contains its own copy of Grids.pas with small changes to fix weird behaviour. Just try to rename the following files:
grids.pas
lcl_grid_images.lrs
lcl_dbgrid_images.lrs
It will force compilation with original ones and, possibly, eliminate the error.

dgaspary

  • Jr. Member
  • **
  • Posts: 55
Re: XML tree view editor
« Reply #24 on: September 11, 2013, 02:41:14 am »
Now I can compile and run, but I get a SIGSEGV as soon as the program starts.

function TXMLFile.ReadBinaryStream

Line:         HexToBin(PChar(streamText), PChar(Integer(Stream.Memory) + Stream.Position), Length(streamText) div 2);

My Environment:

fpc trunk (2.7.1) (one month old, I believe)
Lazarus trunk (from yesterday) - Qt
Kubuntu 12.10 - x86_64

vrull

  • Full Member
  • ***
  • Posts: 118
Re: XML tree view editor
« Reply #25 on: September 11, 2013, 03:43:35 am »
I suppose, it messes up with integer size. I always compiled it for 32 bit. Try to change this line to
Code: [Select]
HexToBin(PChar(streamText), PChar(PtrUInt(Stream.Memory) + Stream.Position), Length(streamText) div 2);
If it works, there are other two or three places in the code, where the same function is found. They must be corrected too.

dgaspary

  • Jr. Member
  • **
  • Posts: 55
Re: XML tree view editor
« Reply #26 on: September 11, 2013, 04:26:27 am »
Yes, with this new line it works.

I'll make more extensive tests tomorrow, I have been working a lot with XML, and a editor could be very useful.

Thank you

 

TinyPortal © 2005-2018