User:Paulszy


 * 11/18/2010

Installed and ran doxygen on the svx module with mat

Added: Reading, And displaying a given memory address to the GDB classroom.
 * 11/8/2010

Helped mat do some testing on with SVN commands.
 * 11/1/2010

applied svx_insert_no_close.diff patch. Learned about ModalDialog boxes.
 * 10/29/2010


 * 10/14/2010

while compiling vcl with debugging (build debug=t) there was a compile time error on my X86_64 fedora OS: --      Compiling: vcl/unx/source/app/randrwrapper.cxx g++ -fmessage-length=0 -c -g -O0 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -fvisibility=hidden -I. -I../../../unxlngx6.pro/inc/salapp -I../inc      - I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/home/dryrain/ooo4Kids/oo4kids_dev/solver /1.01/unxlngx6.pro/inc/stl -I/home/dryrain/ooo4Kids/oo4kids_dev/solver/1.01/unxlngx6.pro/inc/external -I/home/dryrain/ooo4Kids/oo4kids_dev/solver /1.01/unxlngx6.pro/inc -I/home/dryrain/ooo4Kids/oo4kids_dev/solenv/unxlngx6/inc -I/home/dryrain/ooo4Kids/oo4kids_dev/solenv/inc -I/home/dryrain/ooo4Kids /oo4kids_dev/res -I/home/dryrain/ooo4Kids/oo4kids_dev/solver/1.01/unxlngx6.pro/inc/stl -I/home/dryrain/ooo4Kids/oo4kids_dev/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include -I/usr/include -I/home/dryrain/ooo4Kids/oo4kids_dev /solver/1.01/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe -fvisibility-inlines-hidden -fno-use-cxa-atexit -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy    -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DOOo4Kids -DNPTL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86_64 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr /include/c++/4.4.4 -DSUPD=1.01 -DDEBUG -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 -DGSTREAMER -DCUI -DUSE_BUILTIN_RASTERIZER -DVCL_DLLIMPLEMENTATION -DUSE_RANDR -DSHAREDLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  -o ../../../unxlngx6.pro/slo/randrwrapper.o /home/dryrain /ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx: In member function 'void SalDisplay::DeInitRandR': /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx:302: error: 'stderr' was not declared in this scope /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx:302: error: 'fprintf' was not declared in this scope /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx: In member function 'int SalDisplay::processRandREvent(XEvent*)': /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx:343: error: 'stderr' was not declared in this scope /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app/randrwrapper.cxx:343: error: 'fprintf' was not declared in this scope dmake: Error code 1, while making '../../../unxlngx6.pro/slo/randrwrapper.obj' ERROR: Error 65280 occurred while making /home/dryrain/ooo4Kids/oo4kids_dev/vcl/unx/source/app rmdir /tmp/btzNMdI2CA

to fix this error I applied this patch:

your patch looks ok, but does not take care of the debug mode

Index: vcl/unx/source/app/randrwrapper.cxx ===================================================================    --- vcl/unx/source/app/randrwrapper.cxx (revision 920) +++ vcl/unx/source/app/randrwrapper.cxx (working copy) @@ -34,7 +34,7 @@    #include      #include      #include      - +#include #include "osl/module.h"     #include "rtl/ustring.hxx"

Please add a protection, to avoid including cstdio when not needed.

I'd suggest :
 * 1) ifdef DEBUG
 * 2) include
 * 3) endif

if you got a patch for vcl, send it to me : I can commit it in your name (and you'll be added in the contributors list)

Eric Bachard 05:24, 12 October 2010 (UTC)


 * 10/11/2010

to create a patch- svn diff (name of dir) - this will capture all the differences between the lastest file and all changes that were applied. svn diff (name of dir) > patch.diff to capture into a file instead of stdout.

Eric Bachard 03:53, 15 October 2010 (UTC)

The correct way is :

To remove a patch

patch -R -p0 < patch.diff

And what follows can be used when you want to reverse changes you did, manually:

svn diff (path_to_file/the_file) | patch -R -p0


 * 10/9/2010

While building vcl with debugging turned on (build debug=t), I ran into an error. (fprintf and stderr not defined in scope, in file $SRC_ROOT/vcl/unx/source/dtrans/config.cxx) I resolved the problem by doing #include at the beginning of the file.

When running build debug=t in the vcl directory a second time the same error as above occurred. This time in file $SRC_ROOT/vcl/unx/source/app/randrwrapper.cxx so I did another #include into the beginning of the file.

After these two simple modifications the compilation process finished successfully with debugging turned on.

-suggest these changes to Eric so people don't run into this problem again.

Turn off the werror is not the solution, but a workaround. I prepared a patch, and wanted to show you there is another better fix

Do you remember I asked you a question ?

Eric Bachard 06:40, 9 October 2010 (UTC)


 * 9/30/2010

Started build process. I ran into a compile error (raptor_serialize_end is definded in DSO /usr/lib/64/libraptor.so so try adding it to the linker command line /usr/lib64/libraptor.so.1: could not read symbols: Invalid operation)

Eric was kind enough to go through some troubleshooting, we figured out that the libraptor.so.1 in Fedora 13 64bit was causing conflicts. Add /usr/lib64 to the PATH to fix this issue.