Tor Lillqvist
a7be6a2e89
Don't use zService if not set
...
Change-Id: I1043ab54cbffddd316d141e3f5d368849e3070ca
2013-07-25 21:26:37 +03:00
Andrzej J.R. Hunt
f40461a223
Remove unused struct definition (firebird-sdbc).
...
Change-Id: Idfe8a76c0c14291688f009a1d0b07cd80488f31e
2013-07-25 19:41:20 +02:00
Andrzej J.R. Hunt
89788d34ad
Disable case insensitivity in findColumn (firebird-sdbc).
...
In theory it is possible to have case insensitive identifiers
in firebird however these are only used with unquoted identifiers.
Base by default always uses quoted identifiers, there doesn't seem
to be any way of determining whether we are dealing with a case
insensitive identifier when retrieving it from the database either.
Change-Id: I4df0ab10c5a7c15ecde099e36978ac2e6c4ad0be
2013-07-25 19:41:20 +02:00
Andrzej J.R. Hunt
de0384045c
Cleanup XResultSetUpdate in ResultSet / throw exceptions (firebird-sdbc).
...
Change-Id: Ifc5437f10421ba00c16caa860f9737444a81d891
2013-07-25 19:41:19 +02:00
Andrzej J.R. Hunt
d011153df4
FunctionNotSupported exceptions for XResultSetUpdate. (firebird-sdbc)
...
Change-Id: Ie24ba7eeb8d638433fe6b27d74d70121472347c5
2013-07-25 19:41:19 +02:00
Andrzej J.R. Hunt
5d1245b89c
Implement the remaining execute* in PreparedStatement (firebird-sdbc)
...
Change-Id: I7df7e926c352f5d0ddf7acb4df9b4060a634140d
2013-07-25 19:41:19 +02:00
Andrzej J.R. Hunt
79002d6f35
Comment and cleanup unsupported batch methods (firebird-sdbc)
...
Change-Id: I553265a0f492e8c5c258cf94aead2019ff1f9350
2013-07-25 19:41:18 +02:00
Andrzej J.R. Hunt
63985cd35e
Implement getMetaData in PreparedStatement (firebird-sdbc).
...
Change-Id: I61450c2617f53ad9de13f667fa01d7a7dde31f85
2013-07-25 19:41:18 +02:00
Andrzej J.R. Hunt
61d4e32030
Make evaluateStatusVector a namespace function. (firebird-sdbc)
...
We're not in java after all...
Change-Id: I145fbd7adad5e03a7c9e7bcf28cb2f80ce40ba9e
2013-07-25 19:41:18 +02:00
Andrzej J.R. Hunt
5249927d9e
Remove old unneeded commented code. (firebird-sdbc)
...
Change-Id: I82013ac933b3a30093593e32fd202de351a96599
2013-07-25 19:41:17 +02:00
Andrzej J.R. Hunt
b17392f85d
Upgrade the last bit of pr_error to use exceptions. (firebird-sdbc)
...
Change-Id: I066cd519158c6d28ed410e4f62d9418dcf95a6c3
2013-07-25 19:41:17 +02:00
Artur Dryomov
e43a151549
Improve the SlideShowActivity.
...
* Enable up navigation.
* Show the current slide index properly.
* Show thumbnail if slide was not loaded yet.
Change-Id: I234dc1e583c8549b6a1c069d7e2294726d5e29d1
2013-07-25 18:02:00 +01:00
Artur Dryomov
f01c976a1d
Improve the ComputerConnectionFragment.
...
Show reconnection action bar button only when it is necessary, i. e.
when there is a connection error.
Change-Id: Iecb86f7a1bf0b094f2fffbe12c03bea474774417
2013-07-25 18:01:59 +01:00
Artur Dryomov
001552cc8a
Improve the ComputerCreationActivity.
...
* Allow using IP address as a name.
* Provide proper keyboards for typing name and address.
Change-Id: I86ca58282c81eb0705d6bc82b98b2aab94fbf676
2013-07-25 18:01:59 +01:00
Artur Dryomov
ac546de39e
Change the logo to a new one.
...
* The new logo is a flat version of the launcher icon. It follows the
Google Play store application style.
* All base densities are available now.
Change-Id: Ieb4cfb7f762421ac1b7a6edeece44788f26dd7d5
2013-07-25 18:01:59 +01:00
Artur Dryomov
173638b9a4
Change ComputersActivity to use swipe tabs.
...
Such method even remembers a current tab on orientation changes.
Change-Id: Iad14af060b41a4b8d225e83af450cdff0a6e78e0
2013-07-25 18:01:58 +01:00
Artur Dryomov
15081f4582
Improve ComputersFragment.
...
* Load saved computers better.
* Handle removing and adding computers properly.
Change-Id: I12027ad96f06cfeccbc249f453ccff588ccd79c6
2013-07-25 18:01:58 +01:00
Artur Dryomov
359751db77
Clean up the codebase.
...
* Fix licenses headers and footers once again.
* Fix inspection warnings.
* Fix typos.
* Rename resources to follow the same style everywhere.
Change-Id: I3ee60f4761446322bd34323f404354096292a086
2013-07-25 18:01:58 +01:00
Artur Dryomov
927711bf0f
Change the source code structure a bit.
...
* Follow usual Android project structure.
* Make the structure more clean.
Change-Id: Ia5b115fe2b8a6417e6d9cfaae46c859c9e4c3c1a
2013-07-25 18:01:57 +01:00
Artur Dryomov
cc20292c4d
Remove legacy and unused code.
...
Change-Id: I9c126628cd8e73c162e561d23bd884c1af26404a
2013-07-25 18:01:57 +01:00
Artur Dryomov
f39f3ccd59
Add a basic slide show activity.
...
Slides grid and pager could be switched now.
Change-Id: I2c29f36b16c247f1d895773d90766828f571a375
2013-07-25 18:01:57 +01:00
Artur Dryomov
043a580648
Add a basic slides pager UI.
...
Change-Id: I0ef53ca7bbcf5eab2bb131a88c687e302f80dc41
2013-07-25 18:01:56 +01:00
Artur Dryomov
1e680128df
Add a basic slides grid UI.
...
The slides adapter is using the ViewHolder pattern and view recycling to
improve performance.
Change-Id: I8f922799dc3af73e9ecaec92ca91eb38e8a784c0
2013-07-25 18:01:56 +01:00
Artur Dryomov
8e236acf9e
Fix source files headers and footers.
...
Change-Id: I3d5298f43efdf220fc56eee60636a94985a07360
2013-07-25 18:01:56 +01:00
Artur Dryomov
7ab7e72e86
Fix intent creation to use the static factory class.
...
Change-Id: I7c9cd2ab8a0d185e7ace7d7f9c0183775b620178
2013-07-25 18:01:55 +01:00
Artur Dryomov
d080b0efa1
Move pairing operations from CommunicationService to a PairingProvider.
...
Clean up CommunicationService as well.
Change-Id: I0fcea89b2531192869f4e039dba7e06528f22def
2013-07-25 18:01:55 +01:00
Artur Dryomov
1b085b8f73
Add adding and removing computers.
...
Change-Id: I52166bbe848e1b877a91d8ad83859e9f6345c3aa
2013-07-25 18:01:55 +01:00
Artur Dryomov
5f6eb2d86d
Remove PAIRING_STARTED intent action.
...
Replace with PAIRING_VALIDATION. Probably it is better to rely on
protocol and server.
Change-Id: I5120fe1b2c3a5f48c294fb2c76334c1cd09285a1
2013-07-25 18:01:54 +01:00
Artur Dryomov
c81c82f801
Add static factory for intents.
...
* Remove intents actions from the CommunicationService.
* Move all intents extras names to a single place.
* Move intents creation to a single place.
So we avoid duplications and possible typos.
Change-Id: Ic486727522962763e2fefbf96b65125cf2e3d466
2013-07-25 18:01:54 +01:00
Artur Dryomov
4397d863f4
Change TcpServersFinder to handle multiple threads properly.
...
Change-Id: I6d76e1b25e5d3a38fef0d3702fdb35a11e129946
2013-07-25 18:01:54 +01:00
Artur Dryomov
2aaab2a01e
Add additional loading servers to the UI.
...
Change-Id: I4866c6398146bd0e83d27c7f2014a0180b0b4540
2013-07-25 18:01:53 +01:00
Artur Dryomov
94255fc98e
Move servers management from the service to a separate class.
...
Change-Id: I7739bbf961c2783b3699e2bac21fc79eedcf5b26
2013-07-25 18:01:53 +01:00
Artur Dryomov
1990f88aa6
Add action bar button for reconnection.
...
Change-Id: I8729dcd2b179b7301ae85528a615195e907cf443
2013-07-25 18:01:53 +01:00
Artur Dryomov
c5cdd6b43f
Fix search state declaration at the CommunicationService.
...
Change-Id: Ib60b68cc9bad42207333738fa238e0dd1ec63588
2013-07-25 18:01:52 +01:00
Artur Dryomov
986b6804e0
Change thread usage at TcpServersFinder.
...
It seems like Executor is a much better solution.
Change-Id: Icbc5ef4fbdc73c159e51acad0e37bf895a5e4a70
2013-07-25 18:01:52 +01:00
Artur Dryomov
82f5b8200f
Fix messages receiver possible errors related to thread usage.
...
Change-Id: I403cee3815a4e2cd70468032dd9c50742262bee3
2013-07-25 18:01:52 +01:00
Artur Dryomov
77ba1b25d1
Fix broadcast manager usage.
...
Change-Id: Ifa4b461b537e40a65753c49f848dd8e4357e82f7
2013-07-25 18:01:52 +01:00
Artur Dryomov
5fe6ee0f92
Modify up navigation.
...
* Add such type of navigation to the ComputerConnectionActivity.
* Remove NavUtils usage. It is not a really clean solution but it keeps
activities state just right.
Change-Id: I9be70a530c180745fdfb35490b025a683aab6cf5
2013-07-25 18:01:51 +01:00
Artur Dryomov
8eb2f0ef16
Add the computer connection activity.
...
It shows proper instructions for Bluetooth and WiFi at moment, it should
be helpful for solving possible issues with the connection process.
Change-Id: Ie81bd211fa2b47e3392e1ef83a52a15ea54fe370
2013-07-25 18:01:51 +01:00
Artur Dryomov
fc961aeaf6
Add the licenses activity for showing open source licenses.
...
Change-Id: I2198cea9ef27cfbdf760a8da41e0c7af8e04f20e
2013-07-25 18:01:50 +01:00
Artur Dryomov
ba41294087
Add basic functionality of displaying servers list to the new UI.
...
Change-Id: I1df9d85d7c03884c9572a33957232edc576c9965
2013-07-25 18:01:50 +01:00
Artur Dryomov
fd5ec7142f
Remove preference requirement for TCP servers search.
...
Change-Id: I4305ccedd487f39ea3ec1a765f55c55aff096fd1
2013-07-25 18:01:50 +01:00
Artur Dryomov
668c57f61d
Add missed copyrights.
...
Change-Id: I3b750e853fc74a19329236e186ee05fd31ee77cc
2013-07-25 18:01:49 +01:00
Artur Dryomov
69ea1e76d8
Change the UI to a new look.
...
* Change action bar color to a more Impress- and Holo-consistent one.
* Clear used styles.
* Optimize manifest.
* Add computers lists activity with proper styling of tabs in landscape
and portrait modes.
Change-Id: Ie0a5ac15866b8cacdf44c39f7a2ca806e43421a4
2013-07-25 18:01:49 +01:00
Artur Dryomov
615a900393
Change the existing code to use new classes.
...
* Remove old classes, their functionality was moved to more suitable
places.
* Update existing ones to use new schema.
Change-Id: Ic525fd4682051317dc717dedb6d08b97f11c0b09
2013-07-25 18:01:49 +01:00
Artur Dryomov
f6a170524c
Add CommandsTransmitter and MessagesReceiver classes.
...
These classes consist of the code from Client, Receiver and Transmitter
classes. The main goal is to combine all actions at suitable plases.
Change-Id: Ic90f1c0a47a31bd32d57f409fe24a60f3b0686e1
2013-07-25 18:01:48 +01:00
Artur Dryomov
51b6e108ba
Add the ServerConnection interface and its Bluetooth and TCP implementations.
...
Basically code of these classes consists of Client implementations. The
new classes only provide connection and access to messages and commands
streams.
Change-Id: I683b58dc764d309c47bb46c98663bcb1986a197b
2013-07-25 18:01:48 +01:00
Artur Dryomov
858072d9b8
Refactor servers finders.
...
* Add a common ServersFinder interface.
* Rename finders to match their responsibility.
Change-Id: Ib414ce2ba8315558695c80ca47d43d98f64298c9
2013-07-25 18:01:48 +01:00
Artur Dryomov
a4165981dc
Fix possible null pointer exception in the BluetoothClient.
...
Change-Id: Ib43458bd8cfa9624f6f43610db90686476d9865f
2013-07-25 18:01:47 +01:00
Artur Dryomov
d0f3c74887
Refactor CommunicationService.
...
Change-Id: I5107d18101a3d37e6df260563814a367c93ec10d
2013-07-25 18:01:47 +01:00