Commit graph

297478 commits

Author SHA1 Message Date
Lionel Elie Mamane
9a466d9718 ODBC: use right integer length to get Statement Options
Else (on 64bits platform) the driver smashes our stack: SQL_ULEN is 64 bits
Widen result type of getQueryTimeOut, getMaxFieldSize and getMaxRows so that it will always fit
2011-11-30 16:00:00 +01:00
Bjoern Michaelsen
ec894c5fb9 lets only depend build-order only on build from debugrun for now
- as long as we still have the slow build.pl run for top-level build
2011-11-30 15:21:45 +01:00
Stephan Bergmann
08b921ef07 Enum member names live in the outer name scope. 2011-11-30 14:51:39 +01:00
Bjoern Michaelsen
1f538764ac make build.pl verbose on non-silent builds 2011-11-30 14:31:01 +01:00
Petr Mladek
817bf1d41b Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/core 2011-11-30 14:29:22 +01:00
Khaled Hosny
0608cb332a gtk: fix RTL combobox rendering
GTK themes expect the button and the editing area to be swapped in RTL.
2011-11-30 13:07:15 +00:00
Caolán McNamara
66a2598e16 convert over hidden windows-only ByteStrings 2011-11-30 13:04:32 +00:00
Caolán McNamara
bc340ff02d get findunusedcode target working 2011-11-30 13:04:31 +00:00
Michael Meeks
51bd0803b3 rename, and bundle the postgresql driver if it is enabled 2011-11-30 13:00:21 +00:00
Bjoern Michaelsen
509590426a fix TARGETGUI for windows 2011-11-30 13:36:33 +01:00
Niklas Johansson
0083479a80 Fixed fdo#42778 pass count in Manage Breakpoints and crash in dialog
When entering pass count 2 it is expected that the breakpoint is
passed two times before breaking not to break the second time.

Also fixed a crash due to dangling pointers of breakpoints.
2011-11-30 13:33:26 +01:00
Eike Rathke
c593018f6f no need to check for Gregorian cut-off date here 2011-11-30 13:15:54 +01:00
Stephan Bergmann
2d9beb7854 OSL_TRACE in sal/rtl/source/alloc_*.cxx leads to deadlock...
...with SAL_LOG=+INFO due to std::ostringstream in log.cxx using global operator
new, which potentially calls rtl_allocateMemory.
2011-11-30 12:41:52 +01:00
François Tigeot
4821546a24 Remove unused variable PACKAGE_LIB_DIR 2011-11-30 12:10:58 +01:00
Andras Timar
d764796547 temporary hack: soffice.bin should be type of GUI app, not CUI app fdo#42914
It is puzzling that Executable_soffice.bin.mk contains the line
$(eval $(call gb_Executable_set_targettype_gui,$(sofficebin),YES))
yet, in the build log we see -SUBSYSTEM:CONSOLE among the linker flags.
I added -SUBSYSTEM:WINDOWS flag exlicitely, and it comes later so it
prevails. I guess MinGW will be still affected. It really should be
fixed correctly by a gbuild expert.
2011-11-30 12:08:43 +01:00
Andras Timar
0ddefdad69 fix license header 2011-11-30 11:41:13 +01:00
François Tigeot
53ed1eb359 sampleicc has not yet been packaged in pkgsrc 2011-11-30 11:12:18 +01:00
Philipp Weissenbacher
b8c18bbb83 Translate German comments 2011-11-30 10:13:06 +01:00
Philipp Weissenbacher
b184d42289 Translate German comments 2011-11-30 10:13:06 +01:00
Stephan Bergmann
cbcf00ad04 Removed unused sal/inc/internal/once.h. 2011-11-30 09:10:17 +01:00
August Sodora
1eb974c142 Convert group of consts to enum 2011-11-30 02:11:59 -05:00
Kalman Szalai - KAMI
e57e5b0c7f Use SmART Gallery 0.95 2011-11-30 07:49:47 +01:00
August Sodora
e007d3f3b9 String->OUString 2011-11-30 01:44:43 -05:00
Kohei Yoshida
e4b924df8f Reduce usage of GetQueryItem() (singular version).
I added that as a convenience method while working on implementing
multi-value filtering.  But we need to stick with the plural version
GetQueryItems() from now on for clarity.
2011-11-30 01:22:39 -05:00
Fridrich Štrba
fc912cb108 Remove some obsolete config options 2011-11-30 07:03:06 +01:00
Kohei Yoshida
7f2fcde9e1 Export multi-value filters to xlsx. 2011-11-29 22:35:47 -05:00
Kohei Yoshida
5b033d425c sal_Bool to bool. 2011-11-29 22:35:47 -05:00
Kohei Yoshida
d4a51391d3 Correctly import multi-value filter settings.
We are still not 100% compatible, e.g. Excel's "show blanks" setting
is not cleanly mapped (partly due to ODF's limitation).  But that's
a future TODO.
2011-11-29 22:35:46 -05:00
Kohei Yoshida
af4435c5a4 Switch to TableFilterField3, but no other changes. 2011-11-29 22:35:46 -05:00
Kohei Yoshida
24497be469 Removed duplicate code block. 2011-11-29 22:35:46 -05:00
Kohei Yoshida
0278ebc50e Implemented the new multi-value filter API. 2011-11-29 22:35:45 -05:00
Kohei Yoshida
34493546d6 New UNO API to handle multi-value filters. 2011-11-29 22:35:45 -05:00
Takeshi Abe
7113c7152d catch by constant reference 2011-11-30 11:27:42 +09:00
Eike Rathke
2b2f6abfcc introduced Date::IsValidDate() and Date::Normalize()
+ IsValidDate() checks only day and month regarding the year, not Gregorian
  cut-off date as now does IsValidAndGregorian().
+ Normalize() carries over invalid day and month values to next months and
  years.
* All methods that return or internally use a day count now internally
  normalize the date values, without modifying the actual Date instance. So,
  if the date is not valid you may get unexpected results.
  * Previously, a date with month>12 would had accessed the days-of-month
    array out of bounds on all such methods. So you would had gotten
    unexpected results anyway..
  * Affected methods are:
    GetDayOfYear()
    GetWeekOfYear()
    GetDaysInMonth()
    static DateToDays()
2011-11-30 02:46:55 +01:00
Eike Rathke
7613359985 handle dates with year < 1000
* Read dates with years consisting of less than 4 digits.
  ISO 8601 specifies that years are to be written with a minimum of 4 digits.
  However, be lenient in what we accept.
* Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
2011-11-30 02:05:25 +01:00
Eike Rathke
07a7b2937a fixed fdo#40363 freeze chart wizard with non-gregorian date
Use the newly introduced Date::Normalize() instead of a never ending
while(!date.IsValid())
2011-11-30 02:05:24 +01:00
Eike Rathke
6619955e72 introduced Date::IsValidDate() and Date::Normalize()
+ IsValidDate() checks only day and month regarding the year, not Gregorian
  cut-off date as now does IsValidAndGregorian().
+ Normalize() carries over invalid day and month values to next months and
  years.
* All methods that return or internally use a day count now internally
  normalize the date values, without modifying the actual Date instance. So,
  if the date is not valid you may get unexpected results.
  * Previously, a date with month>12 would had accessed the days-of-month
    array out of bounds on all such methods. So you would had gotten
    unexpected results anyway..
  * Affected methods are:
    GetDayOfYear()
    GetWeekOfYear()
    GetDaysInMonth()
    static DateToDays()
2011-11-30 02:05:23 +01:00
Eike Rathke
dca69d5bb2 renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptions
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-30 02:05:22 +01:00
Jan Holesovsky
cb937da55c online update: Now check even the checkForUpdates(). 2011-11-30 00:24:52 +01:00
Jan Holesovsky
358ce1e9c1 online update: Cleanup after UpdateInformationProvider::load() rewrite. 2011-11-30 00:24:51 +01:00
Jan Holesovsky
b87fa222f1 online update: Unit testing framework + rewrite of load().
- introduce first two basic tests (to be improved)
- rewrite of UpdateInformationProvider::load() to use comphelper
- smaller splitting of functions to be able to unit test
2011-11-30 00:24:51 +01:00
Jan Holesovsky
4432a44e75 online update: Make the test for update to actually start (still fails). 2011-11-30 00:24:51 +01:00
Caolán McNamara
920a261c8a getenv based debugging code doesn't make complete sense, remove
i.e.

mnOutWidth = maPaperSize.Width() - 2*maPageOffset.X();
mnOutWidth = maPaperSize.Width() - 2*maPageOffset.Y();

might possibly be intended to be

mnOutWidth = maPaperSize.Width() - 2*maPageOffset.X();
mnOutHeight = maPaperSize.Height() - 2*maPageOffset.Y();

either way, its behind a special getenv, so ditch the lot
2011-11-29 23:23:06 +00:00
Rene Engelhard
b7b23ac999 don't remove Makefile on make distclean, we need it now in all cases... 2011-11-29 23:51:55 +01:00
Rene Engelhard
7f31dfc4b6 fix test: s/==/=/ 2011-11-29 23:51:55 +01:00
Stephan Bergmann
d008ebbeed Check for empty URLs after all, to avoid warnings from canonic(). 2011-11-29 23:03:09 +01:00
Stephan Bergmann
438054572e Adapted to new assertion/logging mechanisms. 2011-11-29 22:59:59 +01:00
Stephan Bergmann
da65218ce1 Enabled sc/qa/complex again.
sc/qa/complex/calcPreview/ tests do not work automatically and have been left
alone.
2011-11-29 21:50:07 +01:00
Luboš Luňák
a115442064 import docx m:m 2011-11-29 21:20:29 +01:00
Luboš Luňák
82c78e8790 finish reading in while() also when end of stream, just in case 2011-11-29 21:20:29 +01:00