Commit graph

297459 commits

Author SHA1 Message Date
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
Luboš Luňák
ad1a6c6d50 improve import of docx m:d 2011-11-29 21:20:29 +01:00
Luboš Luňák
d193f127db docx OMathArg can actually be more than one element 2011-11-29 21:20:29 +01:00
Luboš Luňák
dff36f4c4c docx m:r can contain multiple m:t 2011-11-29 21:20:28 +01:00
Luboš Luňák
34e2e7dd84 implement docx m:groupChr 2011-11-29 21:20:28 +01:00
Luboš Luňák
6e91e7d4e7 implement m:func, m:limLow, m:limUpp 2011-11-29 21:20:28 +01:00
Luboš Luňák
49987bbb47 fix reading when the next tag can be one of several 2011-11-29 21:20:28 +01:00
Luboš Luňák
5c897753a6 better debug output when skipping an element 2011-11-29 21:20:27 +01:00
Luboš Luňák
f92bb66096 no debug about skipping tags if not actually skipping 2011-11-29 21:20:27 +01:00
Luboš Luňák
6bbca34846 make debug output print tags as strings rather than id numbers 2011-11-29 21:20:27 +01:00
Luboš Luňák
eb31865c85 merge processing of OMathArg and OMath, for now 2011-11-29 21:20:27 +01:00
Luboš Luňák
09f94dc9d8 m:f docx import is reasonably done 2011-11-29 21:20:26 +01:00