Commit Graph

1540 Commits

Author SHA1 Message Date
a4f4e51304 use gb_Helper_make_url here 2012-04-12 20:22:21 +02:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
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
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
13ff4059a8 .html files don't need executable bits 2012-03-23 21:58:19 +01:00
30a29aa6f1 README files don't need executable bits 2012-03-23 21:58:17 +01:00
78fa09a6e1 .csv files don't need executable bits 2012-03-23 21:58:17 +01:00
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
dc1b917cda .gif files don't need executable bits 2012-03-23 21:58:14 +01:00
d7aacb8461 .hrc files don't need executable bits 2012-03-23 21:58:14 +01:00
c65ae8762b Improve error reporting 2012-03-23 17:34:22 +01:00
8087d5389f Java new cannot return null 2012-03-23 16:20:17 +01:00
4b6988b432 Improve error reporting 2012-03-23 16:20:17 +01:00
0b9fda25f3 fdo#46102: Fix Java script examples after gbuild'ification
...they contained no class files anymore, due to missing gb_Jar_set_packageroot
calls.  However, those calls only work for subdirectories, i.e., the example
.java files need to be put into a package (I chose
org.libreoffice.example.java_scripts) for all of them).  This in turn required
adaption of the parcel-descriptor.xml files; not sure what the logicalname
entries there are good for if anything -- the macro names at "Tools - Macros -
Run Macro..." now unfortunately(?) contain the fully qualified paths for the
HelloWorld, HighlightText, and MemoryUpdate examples.  There are additional
examples at scripting/examples/java/ that apparently do not get packaged (but I
adapted them anyway).
2012-03-23 16:20:17 +01:00
dd6c4f4db1 fdo#46102: Load Java scripts with class loaders that actually find them
ScriptMetaData.createURL produces weird URLs (ending in "/ucb/", and potentially
still containing vnd.sun.star.expand: prefix) that are apparently good for
loading documents for editing via UCBStreamHandler, but cannot meaningfully be
passed to a URLClassLoader.

It is unclear to me how the Java script provider shall ever have found the
script jars in the past.
2012-03-23 16:20:17 +01:00
788a19ceff scripting: don't need x bits for these 2012-03-23 15:37:23 +01:00
91d60be7ee fdo#46102: Fix scripting jar manifests after gbuild'ification 2012-03-22 23:28:37 +01:00
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
660e4481a4 Avoid temporary rtl::OUString
in scripting / sdext / starmath / stoc / svtools / svx
2012-02-28 01:55:00 +09:00
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
8361d62aa9 expand and remove dcsssf macro 2012-02-21 20:56:57 +01:00
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
81cf9f5099 Bypass building BASIC and scripting related modules for iOS
Any LO-based app distributed through the App Store can't have
scripting or extendability anyway.

Sure, this will break the build elsewhere because of missing headers.
No big deal, I will take care of that eventually. It isn't as if there
would anybody else building for iOS anyway, as far as I know. If there
is, please make yourself heard.
2012-01-27 22:43:58 +02:00
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00:00
aab14cb9fb fix prefix of command line switches (-- instead of -) 2012-01-11 19:25:45 +01:00
fffd541c3e Fix for fdo43460 Part XXIX getLength() to isEmpty()
Part XXIX
Modules
sax, scaddins, sccomp, scripting
2012-01-05 22:05:45 -02:00
8cc98837d3 catch exception by constant reference 2011-12-25 15:09:58 +09:00
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
d843e92c73 remove include of pch header from scripting 2011-11-27 13:20:34 -06:00
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
148529c36c switch python scripting extension to passive registration 2011-11-24 11:30:59 +00:00
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
5541912fed ScriptProviderForPython: better description 2011-11-08 14:14:39 +01:00
4570fe5875 ScriptProviderForPython: add some description 2011-11-05 00:08:34 +01:00
974c159234 a very minor typo in a comment 2011-11-04 23:29:13 +01:00
a72a7dc500 fdo#42312: Change bsh and js script providers from extensions to optional modules.
Their jar files reference other non-URE jars, so they cannot be extensions.
bsh.jar has been moved into the optional module (it used to be installed
always, but it looks like only the bsh script provider needs it; also, it
had been added to URE_MORE_JAVA_CLASSPATH_URLS if SYSTEM_BSH, which also
appears unnecessary as it is mentioned with an absolute file URL in the
Class-Path of the script provider jar).
js.jar has been included in the optional module (it used to be not installed
at all?).
2011-11-03 14:18:59 +01:00
b786a33cfd Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation. 2011-10-24 13:59:58 +02:00
c77a9254dd no need for SRCDIR parameter here 2011-10-23 13:20:29 +02:00