openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tal Daniel <>
Subject Re: [Mac] Development environment
Date Sat, 05 Oct 2013 16:46:16 GMT
On Sat, Oct 5, 2013 at 10:41 AM, Herbert Duerr <> wrote:

> Hi Tal,
> Tal Daniel wrote:
> > I'm desperate for some mentoring regarding setting up the dev
> environment.
> > on the Mac. Herbert, can you direct me at the right direction, such as
> > which IDE, what project settings,...

I wrote a helper
> script to make AOO debugging with LLDB more convenient. Please see
>    main/solenv/inc/
> To use it run lldb and enter
>         command script import path-to-script/
> or add that line to lldb's configuration file
>         ~/.lldbinit
> It mostly helps to view AOO's strings. As the ecosystem of OOo's string
> classes was not one of its strong points this helper is quite useful.

Thanks, I'll try that, when I get the hang of Xcode, I have no experience
dev in Xcode yet.

> > do you build a module externally, etc.
> I'm not sure I understand the question. Do you mean how to build a
> third-party module such as main/icu?

Yes, e.g, when you're done editing a cxx file, you enter the folder of that
module, build it, then back to instsetoo_native, and build --all?

> > Notes:
> > I'm used to Eclipse; does Xcode have any benefits?
> XCode integrates with LLDB and has some additional tools, e.g. for
> profiling. But maybe there are extensions for Eclipse to do this too.
> > Currently I'm oriented towards fixing BiDi parts (/sw?
> > ... started reading the dev guide),
> This is an API from the UNO framework. From a BiDi perspective it just
> exposes the functionality provided by ICU's BiDi algorithm [1]. In AOO's
> core BiDi is used in Writer (main/sw/source/core/text), EditEngine
> (main/editeng/source/editeng/) and Vcl (mostly
> main/vcl/source/gdi/outdev3.cxx 's OutputDevice::ImplLayout method), so
> if there are BiDi problems you'll probably find the answer in their code.
> [1]

Wow, nice references... thanks! I've tried to edit some code today, in
editeng/source/editeng/impedit2.cxx, but nothing had an effect on the final
app, after I installed it. Strange. I'll try the other locations you
referred me to, later on this week.

BTW, do files with different indexes target different OS/platforms? i.e.
impedit.cxx, impedit[2-4].cxx


Before I forget it: For AOO set the tab-space to four (although I
> personally would prefer ts=8 indentation, but the existing AOO codebase
> assumes ts=4).
Tab space 4 is my Xcode's default. thanks.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message