518 Commits

Author SHA1 Message Date
Tor Lillqvist
876111ad31 Fixup glitches in selection handle dragging and coordinate offsets
It is obvious that I don't fully understand how to handle the view
coordinates, the applicationFrame etc. Possibly I am doing something
slightly wrong... Anyway, add a hack to make the touch input actually
refer to the thing under the finger;)

Also fix the handling of the selection end dragging.

Change-Id: I27a6a978e7fc28759b70d29ebca75bfd6b5f54a1
2013-10-27 22:11:19 +02:00
Tor Lillqvist
ee1f43710f Bin some unnecessary NSLogging
Change-Id: Id4baff53735586345dd6624f3c8b996f1816149a
2013-10-27 22:11:18 +02:00
Tor Lillqvist
37056560a3 Tweak how the resize handles look and make it easier to grab them
Note that this *is* still just an experimental app, not intended to be
in any way carefully designed for end-user use. I tweaked the look and
feel a bit just for fun.

Change-Id: I98339d32a8c3ac332fc42b206ab185a61abc4cc6
2013-10-27 22:11:18 +02:00
Siqi LIU
2f3b37b6d1 client end takes care of server version
Change-Id: I4d72a403971efb863a077d6ed6f1129ef0384e7b
2013-10-27 10:39:27 +01:00
Tor Lillqvist
a9759f706b Add a few sources from vcl
Change-Id: Iaddbfb48a071baaf84ee7bde38f40449f342dce8
2013-10-25 00:48:11 +03:00
Tor Lillqvist
54ef5bd641 More work on selection handling in iOS
Got the selection start and end handle dragging working... The trick was not
to call SwWrtShell::SetCursor(), but SwCrsrShell::SetCrsr(). Sounds easy but
took a lot of guessing and experimentation to figure out. Anyway, now it does
what I had expected it to do a few das ago already.

There are glitches, especially in corner cases like if you move the start
handle past the end handle or vice versa.

more

Change-Id: Id6c1d99a4052531789bccf0d48165cfb41b89cfe
9b94c0dd55b04a7b6b3c40654562a9c51fa9b450
2013-10-23 00:19:20 +03:00
Tor Lillqvist
025bd0fab4 Add a file
Change-Id: I0d0934d964143231b11356fc25cc3e6dad289d15
2013-10-22 23:42:35 +03:00
Roi Illouz
073ee020d0 emantic name changing fro LO_LDFLAGS to LINK_LDFLAGS
Change-Id: Iee16bd0d774a9c24834a2a0882d301a9255d7bd9
Reviewed-on: https://gerrit.libreoffice.org/6372
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-22 10:54:37 +00:00
Roi Illouz
d1c26cd0ad Created an automatic lib linkage with no copy to source tree
Change-Id: I60384fdb4307b71d84072a0268e75abead8c5896
Reviewed-on: https://gerrit.libreoffice.org/6368
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-22 09:00:54 +00:00
Tor Lillqvist
657a3a8182 Try to handle selection resizing in a more "correct" way
Faking mouse clicks is a stupid way to do it of course. Try to do it
"right". For now just worked on moving the end handle, but once that
works, similar code should be used for the start handle, too.

Does not work yet. It is hard to extract out from
SwEditWin::MouseButtonDown() exactly what all is relevant, and what
isn't, for this use case.

Change-Id: I76a226f787facbac645aaff8b4852d693bcf4ccb
2013-10-22 01:10:41 +03:00
Tor Lillqvist
36fb29338b Bin verbose logging
Change-Id: Ifd3613f7a48f966f23ea2023f922b05b5f83fcab
2013-10-22 01:10:35 +03:00
Tor Lillqvist
bdf2b506c3 Intermediate commit of experimental iOS app hacking
Change-Id: I9326c9684a9c53f1f9a3ea5603bcb44c941e8918
2013-10-22 01:10:25 +03:00
Roi Illouz
d8d0b83435 Fix breakpoint support for Xcode
Change-Id: Ifd80d9128fdd37f91377ccb48e91db273a5b1770
Reviewed-on: https://gerrit.libreoffice.org/6358
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-20 13:15:00 +00:00
Ptyl Dragon
6dd8449172 fix save several file on by reseting the xstorable on close
Change-Id: I329d43e06b0c81cebda0464ebb0fff41714020a3
Reviewed-on: https://gerrit.libreoffice.org/6355
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-20 09:23:22 +00:00
Ptyl Dragon
1034a2eb97 added save to ios app and removed keyboard on open
Change-Id: Ibfa9373cc82d7e2022190e158f94eb323a57f241
Reviewed-on: https://gerrit.libreoffice.org/6351
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-19 10:05:27 +00:00
Tor Lillqvist
9b966d0dc8 fileacc is not a separate component any more
Change-Id: I59eac660accfc362766bc3744655e2ba2d66ddd6
2013-10-19 11:19:06 +03:00
Ptyl Dragon
4219195dec ios tile testing app done
Change-Id: I1c4a45c3f19d79b4da8cc96304e0e1802f92dff2
Reviewed-on: https://gerrit.libreoffice.org/6320
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2013-10-18 16:07:19 +00:00
Tor Lillqvist
4d8f12f57b More text selection WIP hacking
Change-Id: Ia29725295613faf875a688b3917b144a5f05bbe3
2013-10-18 18:48:03 +03:00
Tor Lillqvist
459e3a26a4 Add dummy touch_ui_selection_start()
Change-Id: Id3854de1bcb8d5856d56e96895ff3bbf2e4aa666
2013-10-18 15:45:20 +03:00
Tor Lillqvist
24f8446c9e Work in progress: Text selection handling for iOS
Change-Id: I31c6bcb9a4b26653d439601f78d71fd94d938eeb
2013-10-18 15:45:20 +03:00
Marcos Paulo de Souza
b538fc543e fdo#60698: Move fileaccess module to ucb
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb
Reviewed-on: https://gerrit.libreoffice.org/6311
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-18 12:25:11 +00:00
Tor Lillqvist
ab5b6e3de4 The Emacs mode for Objective-C is called "ObjC"
Change-Id: I78428758aff0f0fb7e25ae8724ac32db824e10a6
2013-10-17 21:18:10 +03:00
Ptyl Dragon
76a9ae801b added for infrastructure for ios tile testing app
Change-Id: Ie8ac64769c01c5e967a56844a69747ef4d4f20af
2013-10-17 17:02:44 +02:00
Ptyl Dragon
ae549ad1e6 infrastructure for ios tile testing app
Change-Id: I1a3d10b7fb61b19664b383d29c6e607c01b90a71
2013-10-17 17:02:43 +02:00
ptyl@cloudon.com
d8e8e6bcbe added draw tile signature and select all fix
Change-Id: I6118c55caa12d9ba52000f89e869e27b218859be
2013-10-17 11:11:39 +02:00
Tor Lillqvist
e3c4611040 Make the MobileLibreOffice project work better in a srcdir!=builddir scenario
Manual intervention still needed to copy over the
ios/MobileLibreOffice and ios/shared directories, though.

Change-Id: I1e985cb9bf61238631bd01cd222eeaeb447d58b9
2013-10-17 10:22:30 +03:00
Tor Lillqvist
22fbb71b5c Use ln -f to avoid warnings about existing files
Some libraries exist both in solver/*/lib and in their
UnpackedTarball/foo location.

Change-Id: Ie312479069738b27900bd4d7021ede986d94f22a
2013-10-16 16:39:49 +03:00
Tor Lillqvist
a2f51cf9f4 Drop the set -x
Change-Id: I014202fa48a211499b0290e6236bbdc96ad247a8
2013-10-16 16:39:49 +03:00
Tor Lillqvist
795dcf9da4 Make libc++ optional for iOS and use the right library in the Xcode projects
It seems that using libc++ when building with Xcode 4 (and iOS SDK 6)
you get linking errors. Stick to libstdc++ for now then with that.

Propagate the choice to the iOS Xcode projects through the lo.xcconfig
file.

Change-Id: Ic61dd2336066a77c4219c532106e3e50e85d0689
2013-10-16 16:39:49 +03:00
Tor Lillqvist
ea8028a575 For clarity, prefix the LO-specific Xcode configuration variables with LO_
Change-Id: I196feb392f9ebebfdcd6f6e0ecd2c9cc89707cbb
2013-10-16 15:58:15 +03:00
Tor Lillqvist
1204d2ff81 Adapt to changed directory structure in fundamentalrc
With this change, the MobileLibreOffice app builds and runs for me.

Change-Id: I8c7ce3fdedced5eb82ed18e21873e773733d612f
2013-10-16 01:57:52 +03:00
Tor Lillqvist
0d9c32a8df No "registry" directly at top app level any more
Change-Id: Idc81f4913a96938f1fdd2644cc9e34a07554bb21
2013-10-16 01:43:39 +03:00
Tor Lillqvist
5b0577885a No mlo_select_all(), probably left out accidentally from Ptyl's commit
Change-Id: I1859f6c05f371fccdd39f903d663d5a452866876
2013-10-16 01:39:49 +03:00
Tor Lillqvist
de547ccdde Use libc++ here, too, as we now do for the LO code
Also quotes added by Xcode around library names that contain
nonalphanumerics.

Change-Id: Ie5b34b2da0ec5600e9ca1aba1e17efd7e3e087de
2013-10-16 01:36:10 +03:00
Tor Lillqvist
892ebc079a Add dummy touch_ui_keyboard_visible()
Change-Id: Ib3de4092f48e16ac88108d6a69a04baf92a82de1
2013-10-16 01:35:28 +03:00
Tor Lillqvist
0aca32e4c0 Ignore the lib_link and resource_link dirs
Change-Id: Ib30199e3f193f9b98e9f0e2ec0d76953abf39a14
2013-10-16 01:12:42 +03:00
Tor Lillqvist
a359bc887a Adapt library names and paths to current build system
For many 3rd-party libraries we have for some time already kept the
archives only in their build directories, under workdir's
UnpackedTarball. Also, we now use upstream names for them which often
contain a verison number.

Change-Id: I51888de287e2c352a890bd4ae1dfdf0c6dc77158
2013-10-16 00:49:49 +03:00
Tor Lillqvist
4eddef42f3 Linking changes: Adapt to changes in build system
Link libs from where they are now. Yeah, a third place where we
tediously list this (also in solenv/gbuild/platform/IOS_ARM_GCC.mk and
ios/Executable_LibreOffice.mk, although the latter will probably now
go away when/if the experimenatl iOS app is superseded by this
MobileLibreOffice app).

Also, don't duplicate the lib_link directory, and don't use a path to
the randomly-named DerivedData directory.

Change-Id: I7b685085d07da18a4594db067fb586b4eb3d2d4a
2013-10-16 00:34:03 +03:00
Tor Lillqvist
4afeb5c4ad Adapt to recent changes in solver/instdir/workdir structure
Change-Id: I1286feafa1a11fe30aa4f8383c094661aa10db92
2013-10-16 00:17:00 +03:00
Tor Lillqvist
f42245a1c0 Use OUTDIR and INSTDIR in the shell script
Change-Id: I400fc5d0d572b3eab99f8da20162de1191cf3a53
2013-10-16 00:17:00 +03:00
Tor Lillqvist
0cba01cbf6 Add OUTDIR
Change-Id: I1b3b22a9de54559a0b89c91fb10ef6f90ccb1ceb
2013-10-16 00:17:00 +03:00
Tor Lillqvist
93267ff3e5 Adapt to changed <touch/touch.h> API
Change-Id: I9304a0a08c6eed79726700cdc8451dc0fbe613cf
2013-10-16 00:16:59 +03:00
Tor Lillqvist
a3ff47a4c2 Use WORKDIR instead of hardcoding unxiosr.pro
In a --enable-dbgutil build there is no ".pro" suffix.

Change-Id: Id95f5a4a972059a9c67985a8c15405a9303ad6b2
2013-10-16 00:16:59 +03:00
Tor Lillqvist
3de8a0fda4 There is no "make" mode at least in my Emacs
Change-Id: If693c4ddcd560336df6878a0a83e445d889d30de
2013-10-16 00:16:59 +03:00
Tor Lillqvist
389a61ab46 We want config_host, not config_build
We use GNU cross-compilation terminology: "host" means the platform
the code being compiled will run on (this is often somewhat surprising
to those unaware), and "build" means the platform the build tools (=
the compiler, linker etc) is running on.

For an iOS app, "host" is iOS and "build" is OS X.

There is also "target" but it is in this case the same as
"host". (Only in a so-called Canadian Cross situation is "target"
different from "host" (and from "build").)

Change-Id: I6eefa982916f0660afd259770bf455cf28793670
2013-10-16 00:16:58 +03:00
Tor Lillqvist
f222e8efcf Set ARCHS = armv7 otherwise Xcode complains for me about armv7s
Change-Id: I59767af5fe4b2067a175c6882ecb3edf3c4ee2f7
2013-10-16 00:16:58 +03:00
Tor Lillqvist
298c69d56e Generate the ios/lo.xcconfig at configure time
Also, add INSTDIR and WORKDIR.

Change-Id: I16266202c2e2d005533f7ffbcc2ae41f63833928
2013-10-16 00:16:57 +03:00
Tor Lillqvist
848d06690c Remove file that contained pathname specific to one developer's machine
Change-Id: Ia8eb3ad11c947bae64b5758fd4c0820bf3c09905
2013-10-16 00:16:57 +03:00
ptyl@cloudon.com
2b60f46e25 Add the new iOS app project files
Change-Id: I9ac049ef61e698afda1577a630e1185c75a33734
2013-10-15 22:52:06 +03:00
Tor Lillqvist
12947fd00d Add outmap.cxx
Change-Id: Ied91c3edf9e4c8996a08ea722ba8dd409357d7b5
2013-10-15 15:45:14 +03:00