Commit graph

2602 commits

Author SHA1 Message Date
Thomas Arnhold
3e7832724e Revert hrc string cleanup
This reverts mostly all of my hrc string cleanup commits. As Markus
stated in dc05a825e7 those are erroneous
and mostly untested. And therefore absolutely unsave. I only did test
them by compiling and checking the main screens. Cleaning those files
seems to be much more complicated than I thought.

So to be absolutely save I do this huge revert. Sorry for this.

Revert "hrc cleanup: Further cleanup"
This reverts commit 60212988e1.

Revert "hrc cleanup: Remove unused strings"
This reverts commit 0e2d7550dd.

Revert "hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc"
This reverts commit efb74b5dfd.

Revert "hrc cleanup: Remove unused Strings in cui"
This reverts commit 527e8f6186.

Revert "hrc cleanup: Remove unused Strings in desktop"
This reverts commit ac3800fbb9.

Revert "hrc cleanup: Remove unused cstitem.src"
This reverts commit ae95e31831.

Revert "hrc cleanup: Remove unused strings in wizards"
This reverts commit 20f9a17443.

Revert "hrc cleanup: Remove unused Strings in sfx2"
This reverts commit c26d4d3446.
2012-07-18 23:28:54 +02:00
Michael Meeks
456dd17399 remove obsolete delzip files from wizards 2012-07-18 09:40:09 +01:00
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Frank Schoenheit [fs]
d97caa2a77 fs34b: #i117454# don't ask for the value of the possibly
non-existent 'Sorting' HiddenControl
2012-07-18 09:29:19 +01:00
Frank Schoenheit [fs]
ff6c2e7828 fs34b: #i117472# fix color calculation from style string 2012-07-18 09:29:19 +01:00
Lionel Elie Mamane
a201316b83 reuse computed curFieldName
Change-Id: I4ca9942b3abd343b75336e68bfe669ce5d3a38de
2012-07-16 16:09:20 +02:00
Thomas Arnhold
cdaddecc5e java: printStackTrace always to stderr
like 3d3b3f656f

Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-13 12:45:57 +02:00
Thomas Arnhold
20f9a17443 hrc cleanup: Remove unused strings in wizards
Change-Id: I089642eaa1465629575a55d623eea79427bc2871
2012-07-13 12:45:57 +02:00
Lionel Elie Mamane
b0f84807ed openoffice.org -> libreoffice.org
Change-Id: I7e6f495eb56c0d6004c2e427b7fe9c3c09c7206f
2012-07-13 00:40:49 +02:00
Lionel Elie Mamane
3d3b3f656f errors to stderr
Change-Id: I01756622dd7700d3918d156f118cd69c8a15879a
2012-07-12 23:39:08 +02:00
Lionel Elie Mamane
ede56437f9 fdo#50800 populate composedCommandNames ASAP, not at call of getFromClause
In particular com/sun/star/wizards/ui/FilterComponent calls getSelectClause before calling getFromClause, and then all hell breaks loose: composedCommandNames is empty, thus cannot find the proper Alias column name, thus the column names in the select list were not properly escaped, ...
We have just made getFromClause quadratic instead of linear, but:
1) I do not think this would be a problem (small datastructures)
2) If it is, rather use a hashmap or something like that, wich will also make getSelectClause faster

Also make the fallback case of "unknown table" more robust: escape the table name (if any) and column name!

Change-Id: I474adc51fc6378d836bd5865d9eb9505983dcbc5
2012-07-12 23:39:07 +02:00
Thomas Arnhold
0e2d7550dd hrc cleanup: Remove unused strings
Change-Id: Icad1c4d4660cff2a9ad26e0d29faa4c809586b4e
2012-07-01 18:33:41 +02:00
Michael Stahl
02bb9c546e fix various (javac 1.7.0) warning: unreachable catch clause
Change-Id: I2b863b43db59e6904f97d9ad22fdb04013e8c76d
2012-06-29 22:03:05 +02:00
Noel Grandin
6cab99d79c Java cleanup - remove meaningless comments
Change-Id: I26c2f112abd3421231f51e915a97391fa59907a0
2012-06-29 22:03:00 +02:00
Noel Grandin
2fcb987a56 Java5 update - convert ArrayList to generics
Change-Id: I66cf3fd495485c92bdd9ed400482e7e72d806a89
2012-06-29 22:03:00 +02:00
Noel Grandin
9726ba569b Java cleanup - remove redundant superinterface declarations
Change-Id: I80212dae0b43505ccfb566b4855b5bd28f4314f4
2012-06-29 22:02:59 +02:00
Noel Grandin
3be987460d Java cleanup - remove unnecessary casts
Change-Id: I9fc995d9b3f971b9b8869cb3f21ddf69b4f90e08
2012-06-29 22:02:59 +02:00
Noel Grandin
dab59ab4bc Java cleanup - fix javadoc comments and invalid tags
Change-Id: Id1bb14458203393a2f40e0333afc62416719b1a0
2012-06-29 22:02:59 +02:00
Noel Grandin
1c78531915 Java5 update - convert collections classes to use generics
Change-Id: Ia2e92ea7c5da3ef6e7235b724a82d28d0e562541
2012-06-29 22:02:59 +02:00
Noel Grandin
34643facd7 Java5 update - convert Hashtable to HashMap
Change-Id: I4162dd0af7501013573590ee1a7a11fc1b36cc99
2012-06-29 22:02:59 +02:00
Noel Grandin
21e1b42f31 Updating to Java5 - convert Vector to ArrayList
Change-Id: I585312848dacf5128a64469874a1c65452a2b5c8
2012-06-29 22:02:58 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Michael Meeks
2c3aa4f3a5 remove malingering legacy RCS tags. 2012-06-28 19:59:06 +01:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Thomas Arnhold
f6a8cb7ae2 Remove completely commented out file webwizar.src
Change-Id: I4161a7fe929c81ac0bdd8506d2e0697bdc7f9c9e
2012-06-27 13:27:24 +02:00
Caolán McNamara
a77b96a8e8 ditch wizards schedule module
a) it doesn't work
b) isn't connected up to any menus
c) is arbitrarily localized to big 12 nations
d) out of date wrt public holidays in those anyway

Change-Id: I4a16490b3ae84c6e5dbe0774ea8eb0000ed6dc3d
2012-06-25 16:24:58 +01:00
Caolán McNamara
18b15e48cb this is the stupidest hard-coded number in the world
Change-Id: I4da7700f5a706716d14ca25eebf416d14bd6cf63
2012-06-25 16:24:58 +01:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Lionel Elie Mamane
8d39b71f35 fdo#37626: form wizard recognise "#" also at beginning of line
This was keeping the Base form wizard from applying styles
2012-06-20 06:37:37 +02:00
Lionel Elie Mamane
b86f2147e4 fdo#43967 legacy report designer wizard formats dates improperly
1) Set FormatsSupplier property only if underlying object has one.
   Else, exception is thrown and the format is not set
2) getTyperelatedFieldData uses the format keys, so initialize them
   before call, not after.

Change-Id: I68c4c96a9da9a6afdc3ab8964e973588f53ee814
2012-06-18 16:47:30 +02:00
Stephan Bergmann
213d5355d7 Clean up some more
...making use of Java 5 variadic function parameters.

Change-Id: I1b538ec7fbb3021a225031543e25dad081a7a409
2012-06-18 14:23:19 +02:00
Noel Grandin
5695aea3bb Add casts to reduce javac warning messages.
These warning arise because of the additional of varargs parameters
in Java1.6. Casting the parameter eliminates the compiler
confusion.

Change-Id: I4906bcfa2700ef80a67b79c61c6848a18e8a7168
2012-06-18 14:16:32 +02:00
Lionel Elie Mamane
b679dd69c0 legacy reports: unify treatment of query and table
In *both* cases, the value of hidden control "Sorting" (if non-empty)
decides the columns being sorted on.

Change-Id: I7f4b50c3af8c12e48e5dedd36b5877ad7a9e1b66
2012-06-06 14:52:04 +02:00
Lionel Elie Mamane
e08b4b98c3 legacy report wizard: when source is table, save name in QueryName
Change-Id: Ie0bdbed9578b95f7fccc3d9ff6d9c8b5b91ac0ab
2012-06-06 14:51:56 +02:00
Lionel Elie Mamane
817ab31b8c SQLQueryComposer allow setQueryCommand with prependSorting instead of append
Change-Id: Ia06794537ea4d0f6f069c83709792ebbcc084804
2012-06-06 14:51:47 +02:00
Lionel Elie Mamane
27cab1806f db.SQLQueryComposer allow prependSortingCriteria call with addAliasFieldNames
Change-Id: I05889ccac213743a55c302bd7249b30f817c0428
2012-06-06 14:51:39 +02:00
Lionel Elie Mamane
b107e8a126 cleanup
Change-Id: I1ce4279d434ffa58328e17863b2e68af1e813a99
2012-06-06 14:51:31 +02:00
Lionel Elie Mamane
f824f851c5 fdo#48018 legacy reports do not sort by group columns
Legacy report means done with the "old" report system, as opposed to
with report builder.

This was caused by a misguided attempt to sort-of work around i#110536
instead of fixing it cleanly. Revert that.

Apparently the idea was to not explicitly set grouping columns as
sorting columns, but that the report execution would automagically add
grouping columns at begin of sorting list at report execution
time. That's a bad idea for at least two reasons:
 * This does not allow the user to chose ASC/DESC for grouping columns
 * In rare / advanced cases, sorting on another column *before*
   grouping is desirable.
Plus, the "automagic adding" part apparently wasn't implemented
anyway.

Change-Id: I81e76eb4b6a0e543571a4df97d0ead77f6a2d7c8
2012-06-06 14:49:33 +02:00
Norbert Thiebaud
b255de8708 fix bug in commit 32c943e161
Change-Id: I684fb4adb68d372914ea42cc4e7bd4459a08b150
2012-06-05 18:14:52 -05:00
Lionel Elie Mamane
32c943e161 fdo#47473 try to set new order only after field columns are available
Change-Id: If8ba8f4e12aaebadec86a7f445a6d32bd363106d
2012-06-05 21:36:06 +02:00
Lionel Elie Mamane
98a8512939 untabify
Change-Id: Ic51b50a5b06f2a96750a945754e44a302b070f77
2012-06-05 21:35:26 +02:00
Lionel Elie Mamane
3ec6e13785 fdo#47325 legacy reports: survive absence of Sorting hidden control
Reports created in 3.4 and earlier lack it.

Change-Id: I2cf1cad75fff59f23ad98299c4f94253adf7355b
2012-06-05 18:43:14 +02:00
Kohei Yoshida
3f76713dbf Renamed writer_web_HTML to generic_HTML.
This should reflect the fact that this type was already used as a
generic HTML type.

Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
2012-05-22 14:32:53 -04:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Luboš Luňák
4e435cdd07 consistent MANIFEST.MF naming 2012-04-24 10:47:35 +02:00
Luboš Luňák
7099699654 remove duplicate Class-Path entry
It's already set by Jar_reportbuilder.mk .
2012-04-24 10:47:35 +02:00
David Tardon
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00