[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Script help for docs

From: Harun Trefry <aihtdikh_at_gmail.com>
Date: Tue, 29 Jun 2010 12:18:26 +0800

Hi Simon,

I started having a go at this in Python, unfortunately I don't know Python
(and don't really have time to learn) so I didn't get very far.
Since I'd started it, though, I finished off with a C++ version.
It's hardly elegant, but in case it's still useful to you I've put it up at
http://sites.google.com/site/aihtdikh/check_dialog_docs.zip
That zip contains .exe and (GPL) source, tested with VC++ (2008) and
MinGW g++ (3.4.5).

Hope it helps,
Harun Trefry

On 26/06/2010 6:40 AM, Simon Large wrote:
> Hi folks,
>
> This is pleas for someone smarter than me to write a python or perl
> script to check the docs for missing context links. Every dialog has
> an IDD_xxx reference in the resource file, and I need to check that
> every one of those has a corresponding HIDD_xxx reference in the doc
> source files. As there are currently 171 dialogs, doing that check
> manually is not something I relish. What I would like is script to
> scan a .rc file (UTF16) for IDD_ references, scan the .xml files in
> nested directories, and then flag up any IDD_ that does not have a
> corresponding HIDD_ reference somewhere in the XML file set.
>
> Any script fiends out there who would like to take this up?
>
> Simon
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2627172

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-29 06:18:35 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.