Commit graph

2612 commits

Author SHA1 Message Date
Michael Stahl
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
Andras Timar
c13c0c7d76 make buttons wider
Change-Id: I7af919450f6c75f87f0877e32ad6945ec392dbef
2012-08-16 20:34:38 +02:00
Andras Timar
b57ebd8c1f Don't say "yeeep"
Change-Id: I239be1b35103c53e9ace3a7e2917bd24a24497a3
2012-08-16 19:49:13 +02:00
Michael Stahl
48210d0c70 wizards: remove silly saxon9.jar from manifest classpath:
Apparently Xalan was introduced years ago to have a DOM implementation
with JRE < 1.4 (i#37179), which then got automatically converted to
saxon years later.

Change-Id: Ibc13b84331854926965f35e3afe25e923bad821b
2012-08-15 21:29:15 +02:00
Michael Stahl
cdbd6957a5 gbuild: remove most uses of gb_Jar_set_jarclasspath:
With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest
classpath automatically it is no longer necessary to call
gb_Jar_set_jarclasspath manually except for the URE jars, which
are apparently not supposed to be added automatically.

Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
2012-08-15 21:29:14 +02:00
Michael Meeks
f57d0649b9 misc. cleanup. 2012-08-13 15:57:27 +01:00
Julien Nabet
8b13238c45 Fix last duplicated lines for Python files
Change-Id: I22cbba9c574835c3e47dadb70d3c293b79e57325
2012-08-09 12:59:15 +02:00
Julien Nabet
28b3a290ce Others duplicated lines
Change-Id: Ief9589bd3ab0d4fd359dc18f85063dece29f4833
2012-08-09 12:27:42 +02:00
Julien Nabet
45a3e4dd79 "class HelpIds:" duplicated
Change-Id: I1395df60a5864c7f35c27274ddab631a5243a27f
2012-08-08 23:35:39 +02:00
Lionel Elie Mamane
94809ee4bf handle "no schema" case
This is especially the case when the source is a (saved) query.
Fixes: Report Builder wizard "Finish" button does nothing -> cannot create report through wizard

Change-Id: I266772035435a7c623beb0c0f66fc88e6316be8e
2012-08-02 12:07:45 +02:00
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