Commit graph

905 commits

Author SHA1 Message Date
Julien Nabet
e506874251 slightly buggy commit 66141a46a4 from 20/11/2008 2011-09-01 21:34:54 +02:00
Julien Nabet
78c1a9f5c4 Some cppcheck cleaning 2011-09-01 21:34:19 +02:00
Dmitry A Ashkadov
87eb8f8ee8 Polyline improvement for Windows
I tried to draw polyline.... But on Windows... the end point is not
drawn... the main problem is WinAPI LineTo() function. MSDN says:

The LineTo function draws a line from the current position up to, but
not including, the specified point.

I think WinAPI Polyline() function uses LineTo() to draw a polyline. I
see a hack in VCL module in WinSalgraphics::drawLine(): "we must paint
the endpoint" But there is no such hack for drawPolyLine() function. A
possible solution is same as for drawLine().
2011-08-29 13:21:32 +03:00
Tor Lillqvist
648bbe3d64 Remove assertion that does not compile 2011-08-23 01:02:28 +03:00
Caolán McNamara
5bc86df0c8 lets keep original encoding 2011-08-15 09:21:47 +01:00
Jan Holesovsky
7c1a620eca Commit fee11cbc61 changed encoding to UTF8, revert that. 2011-08-15 00:01:57 +02:00
Norbert Thiebaud
fee11cbc61 Replace removed ByteString API usage 2011-08-13 07:17:11 -05:00
Bjoern Michaelsen
a233dac065 resyncing to master 2011-07-21 18:56:16 +02:00
Tor Lillqvist
380971f078 Adapt for windres, use the actual lower-case file names 2011-07-15 17:53:56 +03:00
Tor Lillqvist
f564296d7b The MinGW winuser.h doesn't have WM_MOUSEHWHEEL yet 2011-07-14 21:31:28 +03:00
Tor Lillqvist
c4accd1fd7 Fix WNTGCC compilation error 2011-07-14 21:07:07 +03:00
Tor Lillqvist
80e824f344 Use all-lowercase header names 2011-07-14 21:02:30 +03:00
Tor Lillqvist
1f7e587c28 Fixes for Windows cross-compilation
Header names are all lower-case. Use our own sehandler.hxx instead of
assuming that stuff being in a patches excpt.h.
2011-07-14 18:27:26 +03:00
Tor Lillqvist
87f3d120ef Use the flat GdiPlus API as needed because of the incomplete headers from Wine 2011-07-14 18:27:26 +03:00
Tor Lillqvist
bf02d13352 chmod -x 2011-07-06 21:00:55 +03:00
Tor Lillqvist
30804502d9 Drop Win9x and NT4 code 2011-07-06 21:00:53 +03:00
Jesús Corrius
6bc21bfd34 Avoid possible null pointer dereference 2011-06-20 22:21:13 +02:00
Bjoern Michaelsen
941020379b Merge branch 'master' into feature/gnumake4
Conflicts:
	basebmp/prj/d.lst
	basebmp/test/basictest.cxx
	basebmp/test/makefile.mk
	basegfx/inc/basegfx/basegfxdllapi.h
	basegfx/inc/basegfx/tools/debugplotter.hxx
	basegfx/inc/basegfx/tuple/b2ituple.hxx
	basegfx/prj/d.lst
	basegfx/source/numeric/makefile.mk
	basegfx/source/polygon/makefile.mk
	basegfx/source/range/makefile.mk
	basegfx/source/raster/makefile.mk
	basegfx/source/tuple/makefile.mk
	basegfx/source/vector/makefile.mk
	basegfx/test/basegfx1d.cxx
	basegfx/test/makefile.mk
	basegfx/util/makefile.mk
	canvas/Library_canvasfactory.mk
	canvas/Module_canvas.mk
	canvas/prj/build.lst
	canvas/prj/d.lst
	canvas/source/cairo/cairo_canvashelper_texturefill.cxx
	canvas/source/cairo/makefile.mk
	canvas/source/tools/makefile.mk
	comphelper/qa/string/makefile.mk
	cppcanvas/Module_cppcanvas.mk
	cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
	cppcanvas/prj/build.lst
	cppcanvas/prj/d.lst
	cppcanvas/source/mtfrenderer/makefile.mk
	cppcanvas/util/makefile.mk
	i18npool/source/search/makefile.mk
	regexp/Library_regexp.mk
	regexp/prj/d.lst
	sax/CppunitTest_sax.mk
	sax/Library_sax.mk
	sax/prj/d.lst
	sax/qa/cppunit/test_converter.cxx
	sax/source/expatwrap/attrlistimpl.hxx
	sax/util/makefile.mk
	svtools/Library_svt.mk
	tools/Executable_sspretty.mk
	ucbhelper/prj/d.lst
	ucbhelper/source/provider/configureucb.cxx
	ucbhelper/source/provider/provconf.cxx
	ucbhelper/util/makefile.mk
	unotools/Library_utl.mk
	unotools/Module_unotools.mk
	unotools/Package_inc.mk
	unotools/prj/build.lst
	vcl/Library_desktop_detector.mk
	vcl/Library_vcl.mk
	vcl/Library_vclplug_gtk.mk
	vcl/aqua/source/gdi/salprn.cxx
	vcl/inc/aqua/saldata.hxx
	vcl/unx/generic/gdi/salgdi3.cxx
2011-06-19 12:47:44 +02:00
Jesús Corrius
03db851b12 Remove obsolete Win95/NT code 2011-06-18 18:36:57 +02:00
Philipp Lohmann [pl]
68200a816b ooo34gsl01: #i117131# use correct sign for TTFontInfo [hg:d1476b062da5] 2011-06-17 13:31:44 +02:00
Caolán McNamara
440eaa7f44 Resolves: fdo#37668 bitwise operations on signed numbers 2011-06-09 08:58:23 +01:00
Korrawit Pruegsanusak
cda4a29360 Code cleanup
* Remove dead code lying since 2001
* Remove duplicate if checking
* So unindent the code

Released under LGPLv3+/MPL
2011-05-30 12:27:26 +01:00
Tor Lillqvist
d892a900e3 Fix compilation errors on Windows, linking errors remain 2011-05-28 23:24:40 +03:00
Jan Holesovsky
9e5584a826 Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	cppcanvas/source/mtfrenderer/implrenderer.cxx
	i18npool/inc/i18npool/lang.h
	i18npool/source/isolang/isolang.cxx
	svtools/source/filter/exportdialog.cxx
	svtools/source/graphic/grfmgr.cxx
	vcl/aqua/source/dtrans/aqua_service.cxx
	vcl/aqua/source/window/salframe.cxx
	vcl/inc/sft.hxx
	vcl/inc/unx/pspgraphics.h
	vcl/inc/vcl/cursor.hxx
	vcl/inc/vcl/gdimtf.hxx
	vcl/inc/vcl/settings.hxx
	vcl/prj/d.lst
	vcl/source/app/settings.cxx
	vcl/source/control/edit.cxx
	vcl/source/gdi/gdimtf.cxx
	vcl/source/window/cursor.cxx
	vcl/source/window/window.cxx
	vcl/unx/generic/fontmanager/fontconfig.cxx
	vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
	vcl/unx/kde4/KDESalGraphics.cxx
2011-05-27 20:47:31 +02:00
Thorsten Behrens
52c92095da Swap direction on win32 horizontal scrolling
Fix for fdo#36380 - seems win32 reports negated scrolling for the
horizontal case.
2011-05-07 01:04:27 +02:00
Christian Dywan
51940f50c9 Unify light gray checked color special case
It's the same hack on all platforms using it.
2011-04-30 00:39:59 +02:00
Jan Holesovsky
83380a7805 Merge commit 'ooo/DEV300_m106' into libreoffice-3-4
Conflicts:
	cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
	l10ntools/scripts/localize.pl
	l10ntools/source/directory.cxx
	l10ntools/source/srciter.cxx
	padmin/Executable_spadmin.bin.mk
	padmin/Library_spa.mk
	svtools/inc/svtools/filter.hxx
	svtools/inc/svtools/grfmgr.hxx
	svtools/source/filter/filter.cxx
	svtools/source/filter/filter2.cxx
	svtools/source/filter/wmf/emfwr.cxx
	svtools/source/filter/wmf/enhwmf.cxx
	svtools/source/filter/wmf/winmtf.cxx
	svtools/source/filter/wmf/winmtf.hxx
	svtools/source/filter/wmf/winwmf.cxx
	svtools/source/filter/wmf/wmfwr.cxx
	svtools/source/graphic/grfmgr.cxx
	svtools/source/graphic/grfmgr2.cxx
	toolkit/source/controls/controlmodelcontainerbase.cxx
	toolkit/source/controls/unocontrol.cxx
	toolkit/source/helper/formpdfexport.cxx
	toolkit/source/helper/unowrapper.cxx
	vcl/Package_osx.mk
	vcl/aqua/source/app/salinst.cxx
	vcl/aqua/source/app/salsys.cxx
	vcl/aqua/source/dtrans/aqua_service.cxx
	vcl/aqua/source/dtrans/test_aquacb.cxx
	vcl/aqua/source/res/makefile.mk
	vcl/aqua/source/window/salframe.cxx
	vcl/aqua/source/window/salframeview.mm
	vcl/inc/aqua/salgdi.h
	vcl/inc/aqua/salinst.h
	vcl/inc/graphite_adaptors.hxx
	vcl/inc/graphite_cache.hxx
	vcl/inc/graphite_serverfont.hxx
	vcl/inc/impprn.hxx
	vcl/inc/svdata.hxx
	vcl/inc/unx/i18n_status.hxx
	vcl/inc/unx/saldata.hxx
	vcl/inc/unx/salfont.h
	vcl/inc/unx/salinst.h
	vcl/inc/unx/salprn.h
	vcl/inc/unx/salsys.h
	vcl/inc/unx/sm.hxx
	vcl/inc/vcl/gdimtf.hxx
	vcl/inc/vcl/graph.hxx
	vcl/inc/vcl/outdev.hxx
	vcl/inc/vcl/polyscan.hxx
	vcl/inc/vcl/svcompat.hxx
	vcl/inc/vcl/svgread.hxx
	vcl/inc/vcl/unobrok.hxx
	vcl/inc/win/salgdi.h
	vcl/inc/win/wincomp.hxx
	vcl/prj/d.lst
	vcl/source/app/dbggui.cxx
	vcl/source/app/idlemgr.cxx
	vcl/source/app/makefile.mk
	vcl/source/app/settings.cxx
	vcl/source/app/sound.cxx
	vcl/source/app/stdtext.cxx
	vcl/source/app/svapp.cxx
	vcl/source/app/svdata.cxx
	vcl/source/app/svmain.cxx
	vcl/source/app/timer.cxx
	vcl/source/app/unohelp.cxx
	vcl/source/components/dtranscomp.cxx
	vcl/source/control/button.cxx
	vcl/source/control/combobox.cxx
	vcl/source/control/ctrl.cxx
	vcl/source/control/edit.cxx
	vcl/source/control/field2.cxx
	vcl/source/control/ilstbox.cxx
	vcl/source/gdi/bitmap.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/cvtgrf.cxx
	vcl/source/gdi/font.cxx
	vcl/source/gdi/image.cxx
	vcl/source/gdi/imagerepository.cxx
	vcl/source/gdi/impbmp.cxx
	vcl/source/gdi/impgraph.cxx
	vcl/source/gdi/impimagetree.cxx
	vcl/source/gdi/jobset.cxx
	vcl/source/gdi/makefile.mk
	vcl/source/gdi/metaact.cxx
	vcl/source/gdi/outdev.cxx
	vcl/source/gdi/outdev2.cxx
	vcl/source/gdi/outdev5.cxx
	vcl/source/gdi/outdev6.cxx
	vcl/source/gdi/outmap.cxx
	vcl/source/gdi/polyscan.cxx
	vcl/source/gdi/print.cxx
	vcl/source/gdi/print2.cxx
	vcl/source/gdi/region.cxx
	vcl/source/gdi/salgdilayout.cxx
	vcl/source/gdi/sallayout.cxx
	vcl/source/gdi/svcompat.cxx
	vcl/source/gdi/virdev.cxx
	vcl/source/glyphs/gcach_ftyp.cxx
	vcl/source/glyphs/gcach_vdev.cxx
	vcl/source/glyphs/gcach_vdev.hxx
	vcl/source/glyphs/graphite_adaptors.cxx
	vcl/source/glyphs/graphite_cache.cxx
	vcl/source/glyphs/graphite_layout.cxx
	vcl/source/glyphs/graphite_serverfont.cxx
	vcl/source/glyphs/graphite_textsrc.hxx
	vcl/source/glyphs/makefile.mk
	vcl/source/src/makefile.mk
	vcl/source/window/accel.cxx
	vcl/source/window/brdwin.cxx
	vcl/source/window/btndlg.cxx
	vcl/source/window/dialog.cxx
	vcl/source/window/dndevdis.cxx
	vcl/source/window/dockmgr.cxx
	vcl/source/window/dockwin.cxx
	vcl/source/window/floatwin.cxx
	vcl/source/window/introwin.cxx
	vcl/source/window/keycod.cxx
	vcl/source/window/menu.cxx
	vcl/source/window/msgbox.cxx
	vcl/source/window/scrwnd.cxx
	vcl/source/window/split.cxx
	vcl/source/window/splitwin.cxx
	vcl/source/window/status.cxx
	vcl/source/window/syswin.cxx
	vcl/source/window/tabpage.cxx
	vcl/source/window/toolbox.cxx
	vcl/source/window/toolbox2.cxx
	vcl/source/window/window.cxx
	vcl/source/window/window2.cxx
	vcl/source/window/winproc.cxx
	vcl/source/window/wrkwin.cxx
	vcl/unx/generic/app/i18n_cb.cxx
	vcl/unx/generic/app/i18n_ic.cxx
	vcl/unx/generic/app/saldata.cxx
	vcl/unx/generic/app/saldisp.cxx
	vcl/unx/generic/app/salinst.cxx
	vcl/unx/generic/app/wmadaptor.cxx
	vcl/unx/generic/fontmanager/afm_hash.cpp
	vcl/unx/generic/gdi/salbmp.cxx
	vcl/unx/generic/gdi/salgdi3.cxx
	vcl/unx/generic/gdi/xrender_peer.cxx
	vcl/unx/generic/window/salframe.cxx
	vcl/unx/generic/window/salobj.cxx
	vcl/unx/gtk/a11y/makefile.mk
	vcl/unx/gtk/app/gtksys.cxx
	vcl/unx/gtk/app/makefile.mk
	vcl/unx/gtk/window/gtkframe.cxx
	vcl/unx/gtk/window/gtkobject.cxx
	vcl/unx/headless/svpinst.cxx
	vcl/unx/headless/svpinst.hxx
	vcl/unx/headless/svpprn.hxx
	vcl/unx/kde/kdedata.cxx
	vcl/unx/kde/salnativewidgets-kde.cxx
	vcl/unx/kde4/KDESalDisplay.hxx
	vcl/unx/kde4/KDEXLib.cxx
	vcl/unx/kde4/KDEXLib.hxx
	vcl/unx/kde4/VCLKDEApplication.cxx
	vcl/unx/kde4/makefile.mk
	vcl/unx/source/app/makefile.mk
	vcl/unx/source/fontmanager/makefile.mk
	vcl/unx/source/gdi/makefile.mk
	vcl/unx/source/inc/salcursors.h
	vcl/util/linksvp/makefile.mk
	vcl/win/source/app/saldata.cxx
	vcl/win/source/app/salinst.cxx
	vcl/win/source/app/salshl.cxx
	vcl/win/source/gdi/makefile.mk
	vcl/win/source/gdi/salbmp.cxx
	vcl/win/source/gdi/salgdi.cxx
	vcl/win/source/gdi/salgdi2.cxx
	vcl/win/source/gdi/salgdi3.cxx
	vcl/win/source/gdi/salgdi_gdiplus.cxx
	vcl/win/source/gdi/salprn.cxx
	vcl/win/source/gdi/salvd.cxx
	vcl/win/source/gdi/winlayout.cxx
	vcl/win/source/window/salframe.cxx
	vcl/win/source/window/salmenu.cxx
	vcl/win/source/window/salobj.cxx
2011-04-22 15:09:06 +02:00
Júlio Hoffimann
52f1b2b471 left arrow comments removed // <-- 2011-04-22 14:41:19 +02:00
Christina Rossmanith
1913e11aeb remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (libs-gui) 2011-04-19 20:42:51 +02:00
Caolán McNamara
16d9e686d7 don't drop unused errs, but log them 2011-04-18 21:31:57 +01:00
Kayo Hamid
bdb6e24462 fixes for some cppcheck warnings 2011-04-18 21:31:57 +01:00
Caolán McNamara
e601c32661 Resolves: fdo#33090 better glyph fallback under windows for complex text 2011-04-15 14:11:04 +01:00
Júlio Hoffimann
4fc170d3e8 all bogus comments removed by regular expressions 2011-04-15 10:39:52 +02:00
Ivo Hinkelmann
eabb05e6ca CWS-TOOLING: integrate CWS vcl2gnumake 2011-03-29 16:29:12 +02:00
Caolán McNamara
8ed148f64a Resolves: fdo#33455 implement rendering of 1bit pngs palette colors 2011-03-28 17:04:28 +01:00
Fridrich Štrba
a18b02e8a3 Temporarily put back prewin.h/postwin.h hack in tools and vcl 2011-03-28 09:44:37 +02:00
Fridrich Štrba
cbe2ad89be Adapt the tree to tools/svwin.h removal 2011-03-26 00:21:25 +01:00
Fridrich Štrba
78d6b75c90 Wholesale prewin.h/postwin.h removal 2011-03-25 19:03:49 +01:00
Samphan Raruenrom
e7f7c836d7 fix bug that prevents glyph-fallback for char at end of string 2011-03-24 15:28:33 +00:00
Philipp Lohmann [pl]
d67e92069b vcl2gnumake: rebase to DEV300m103 2011-03-23 18:06:39 +01:00
Philipp Lohmann [pl]
4617694b3f vcl2gnumake: #i116588# add: windows native resource files, cleanup (thanks hjs !) 2011-03-23 17:32:53 +01:00
Jan Holesovsky
932fb7b958 Merge commit 'ooo/DEV300_m103'
Conflicts:
	cppcanvas/source/mtfrenderer/implrenderer.cxx
	dtrans/source/win32/dtobj/XTDataObject.cxx
	dtrans/source/win32/dtobj/XTDataObject.hxx
	sot/source/sdstor/stgio.cxx
	tools/source/debug/debug.cxx
	vcl/source/gdi/jobset.cxx
	vcl/unx/kde4/KDEData.cxx
	vcl/unx/kde4/KDEData.hxx
	vcl/unx/kde4/KDESalDisplay.cxx
	vcl/unx/kde4/KDESalFrame.cxx
	vcl/unx/kde4/KDESalFrame.hxx
	vcl/unx/kde4/KDESalGraphics.cxx
	vcl/unx/kde4/KDESalGraphics.hxx
	vcl/unx/kde4/KDESalInstance.cxx
	vcl/unx/kde4/KDESalInstance.hxx
	vcl/unx/kde4/KDEXLib.cxx
	vcl/unx/kde4/VCLKDEApplication.cxx
	vcl/unx/kde4/VCLKDEApplication.hxx
2011-03-23 16:59:33 +01:00
Jan Holesovsky
4fdd55226d Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	comphelper/source/misc/servicedecl.cxx
	i18npool/source/breakiterator/breakiteratorImpl.cxx
	l10ntools/scripts/localize.pl
	svl/source/items/itemset.cxx
	svl/source/memtools/svarray.cxx
	svl/source/numbers/zformat.cxx
	svtools/source/brwbox/brwbox1.cxx
	tools/source/stream/strmwnt.cxx
	vcl/inc/vcl/graphite_adaptors.hxx
	vcl/inc/vcl/graphite_layout.hxx
	vcl/inc/vcl/graphite_serverfont.hxx
	vcl/source/control/imgctrl.cxx
	vcl/source/gdi/outdev.cxx
	vcl/source/gdi/outdev3.cxx
	vcl/source/glyphs/gcach_ftyp.cxx
	vcl/source/glyphs/graphite_adaptors.cxx
	vcl/source/glyphs/graphite_layout.cxx
	vcl/source/window/winproc.cxx
	vcl/unx/source/fontmanager/fontconfig.cxx
2011-03-18 15:55:08 +01:00
Tor Lillqvist
33a698be6b chmod -x 2011-03-16 19:58:25 +02:00
Tor Lillqvist
384ffe087a The WIN_BOOL/ULONG dance no longer needed 2011-03-16 19:56:45 +02:00
Fridrich Štrba
ec1522ea64 Another GR2_STATIC define 2011-03-16 10:26:58 +01:00
Fridrich Štrba
9a318cf805 MAKEFILE.MK -> makefile.mk 2011-03-16 10:25:08 +01:00
Caolán McNamara
a605870674 fix up merge conflicts 2011-03-15 11:46:25 +00:00
Thomas Arnhold
0c35d637f7 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:18 +01:00
Thomas Arnhold
ea9aeb6ad4 Move DBG_ERROR to OSL_FAIL for a macro 2011-03-11 23:41:06 +01:00