<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 21, 2015 at 7:44 AM, Oliver Brinzing <span dir="ltr"><<a href="mailto:Oliver.Brinzing@gmx.de" target="_blank">Oliver.Brinzing@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And to add to Markus's response, it'd be great to have patches that improve things. So feel free to submit your fixes.<br>
</blockquote>
<br></span>
i think i have a small patch for vs 2013 ide integration - maybe someone can verify?<br>
<br>
if one starts vs 2013 the first time after running "/opt/lo/bin/make vs2013-ide-integration"<br>
vs complains about duplicate projects. altogether there are 2246 projects (lo 5.0.1).<br></blockquote><div><br></div><div>This is a regression that happened in past few months. Because the ide-integration script isn't maintained, nobody fixed it (although I do have it in my todo list).<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
i had a look into "LibreOffice.sln" and found, that a lot of projects have 6 entries (e.g. "Library swui").<br>
only the one with the "ProjectSection" node seems to be the valid one, but vs always includes only the first.<br>
<br>
i checked output from<br>
(LC_MESSAGES=C C:/cygwin/opt/lo/bin/make cmd="C:/cygwin/opt/lo/bin/make -npf Makefile.gbuild all" cmd || true)<br>
and found 276 entries for "Library_swui", distributed over 6 different entries inside the 150 mb file.<br>
<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 20)<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 30)<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 41)<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 49)<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 77)<br>
# makefile (from 'D:/sources/core/sw/Library_<a href="http://swui.mk" target="_blank">swui.mk</a>', line 160)<br>
<br>
now i checked "/bin/gbuild-to-ide":<br>
<br>
"GbuildParser._parse_hash(self, line, state)" appends 2246 libname/exename, even if it's value is "None".<br>
adding "if libname != None:" /  "if exename != None:" generates only 340 project entries:<br>
<br></blockquote><div>Sounds great! Can you please submit a patch to gerrit? <br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[...]<br>
def _parse_hash(self, line, state):<br>
        libmatch = GbuildParser.libpattern.match(line)<br>
        if libmatch:<br>
            libname = self.libnames.get(state.ilib, None)<br>
            if libname != None:<br>
                print('libname: %s' % libname, end='\n')<br>
                self.libs.append(<br>
                    GbuildLib(libmatch.group(2), libname, libmatch.group(1),<br>
                              state.include, state.include_sys, state.defs, state.cxxobjects,<br>
                              state.cxxflags, state.linked_libs))<br>
                state = GbuildParserState()<br>
                return state<br>
        exematch = GbuildParser.exepattern.match(line)<br>
        if exematch:<br>
            exename = self.exenames.get(state.target, None)<br>
            if exename != None:<br>
                print('exename: %s' % exename, end='\n')<br>
                self.exes.append(<br>
                    GbuildExe(exematch.group(2), exename, exematch.group(1),<br>
                              state.include, state.include_sys, state.defs, state.cxxobjects,<br>
                              state.cxxflags, state.linked_libs))<br>
                state = GbuildParserState()<br>
                return state<br>
[..]<br>
<br>
vs now complains only about 3 duplicate exe projects (soffice_bin, unopkg_com, unopkg_bin).<br>
<br>
but projects "sw", "swui", "sc" and others have now class view and code assist :-)<br>
<br></blockquote><div>Thanks!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards<div class="HOEnZb"><div class="h5"><br>
Oliver<br>
<br>
<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</div></div></blockquote></div><br></div></div>