Commit Graph
26 Commits
Author SHA1 Message Date
Julien Nabet b8a6998342 Following tdf#111561: no need to autorelease "elements" (apple_remote)
Change-Id: Ic074af74a9f48618ac1c4b3752b15661f2003815
Reviewed-on: https://gerrit.libreoffice.org/43333
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-12 07:41:44 +02:00
Julien Nabet 47039a11da tdf#111561: try to fix leak in HIDRemoteControlDevice (apple_remote)
Change-Id: I6539f1cc9612eb3380381a54d3d1d674fd66cc03
Reviewed-on: https://gerrit.libreoffice.org/43329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-11 20:09:34 +02:00
Julien Nabet 59fd62fc2f Typo notifcation->notification
Change-Id: I411105f1a3d519dd08bee55c722e4a06a14f238d
Reviewed-on: https://gerrit.libreoffice.org/41368
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-21 07:38:46 +02:00
Stephan Bergmann e9febbc320 loplugin:oncevar
Change-Id: I9d6902d86c9b72ad28a025374077ef90a350e598
2017-08-07 08:07:42 +02:00
Stephan Bergmann 817b026bcb loplugin:loopvartoosmall
Change-Id: Idd385c764778313bfb419a04ca7a3884b78e88f6
2017-03-30 10:26:24 +02:00
Andrea Gelmini 5ad636acc6 Fix typos
Change-Id: Idbf0aa261b829e83d4c08a2e989a4ced871dc6de
Reviewed-on: https://gerrit.libreoffice.org/35616
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-26 20:37:59 +00:00
Stephan Bergmann 04900bf971 loplugin:externvar
Change-Id: I35449ee2d7294024fde83e36af83311a08a7ccae
2017-01-09 20:02:01 +01:00
Stephan Bergmann a6c88e4bf1 SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprecations
...for now

Change-Id: I64a0a8f6a006d75b6f82d7aae570aef414984a78
2016-10-05 20:29:04 +02:00
Douglas Mencken d676bd620a apple_remote: autorelease --> release in dealloc (destructor)
using autorelease here leads to “just leaking” because there's no autorelease pool for thread
besides, make sure that released fields do not contain used•to•be•a•valid•pointer value

Change-Id: Id6cb37643230f64dbe9f6128f52236f04d0c88e4
Reviewed-on: https://gerrit.libreoffice.org/22981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-07 16:07:19 +00:00
Douglas Mencken 487ba71c9e apple_remote: fix “variable set but not used” for non-debug builds
Change-Id: I038fd0bee0e983a91557226aaba1dcff56512ccb
Reviewed-on: https://gerrit.libreoffice.org/22856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-07 15:36:38 +00:00
Chris Sherlock 01aa78cf08 vcl: cmdevt.[hc]xx -> commandevent.[hc]xx
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b
Reviewed-on: https://gerrit.libreoffice.org/22216
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-08 21:41:17 +00:00
Stephan Bergmann 551433e7cf loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: Ie5a52b097ff2992de5cc82ba0d303618b44e3213
2015-11-10 16:20:33 +01:00
Andrea Gelmini 87578eb519 Fixed license encoding to have all the same apple_remote/source/*
Change-Id: Ibeee5a8c49f2d4710de6a1e0ee2013f3755a177b
Reviewed-on: https://gerrit.libreoffice.org/12149
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-11-01 14:30:06 +00:00
Alexander Wilms b2afdb85c3 Remove visual noise from apple_remote
Change-Id: I12bec42cb699d8cbcfab2eb4d2f8ad8f5ed83b78
Reviewed-on: https://gerrit.libreoffice.org/8229
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 16:26:29 +00:00
Herbert Dürr 9d5841aa43 Resolved: #i124201# mark debug-infos from the apple_remote...
module appropriately

to make the source of some log messages more clear

(cherry picked from commit fe4ae4735c5a5e2b2210e684e97228cd91174e4c)

Conflicts:
	apple_remote/AppleRemote.m
	apple_remote/source/HIDRemoteControlDevice.m
	apple_remote/source/RemoteControl.m
	apple_remote/source/RemoteControlContainer.m

Change-Id: Ie57114f4d2d67f258808d03e01dff8bc05ba9f2c
2014-02-10 16:36:50 +00:00
Herbert Dürr 87f5235261 Resolves: #i124201# rename apple_remote's MainController...
to AppleRemoteController

having a MainController class in the global namespace of an application with
gazillions of MVC patterns is not a good idea. Renaming it to better match
its scope (i.e. the Apple Remote) cleans this up.

(cherry picked from commit 8ef3836059ca613d125f66e6bad21c83200dadad)

Conflicts:
	apple_remote/source/RemoteMainController.m
	include/apple_remote/RemoteMainController.h
	vcl/inc/osx/saldata.hxx
	vcl/osx/saldata.cxx
	vcl/osx/salinst.cxx
	vcl/osx/vclnsapp.mm

Change-Id: I1f252ac51ef65966a48ee03b2cd3519f98d57383
2014-02-10 11:57:56 +00:00
Tor Lillqvist cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
Thomas Arnhold 70e4329d04 fdo#60724 successfull -> successful
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15 05:34:02 +02:00
Tor Lillqvist 07c9bb1038 Drop workarounds for Mac OS X SDKs 10.4 and 10.5
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-07 03:04:31 +03:00
Tor Lillqvist b98e598cc4 WaE: cast from pointer to integer of different size
Change-Id: I28195a347dd63b7e44268a396aa70150c917e55f
2012-07-28 09:50:10 +03:00
Tor Lillqvist aef42e168d WaE: format specifies type 'int' but the argument has type 'void *'
Change-Id: I0b8fad6adcef16fb93e4cc0d1beec8e5ae2a3c79
2012-07-28 09:07:28 +03:00
Tor Lillqvist fbd82ae883 Bin a line of apparently meaningless and wrong Mac OS X code
When LibreOffice is compiled against the 10.6 SDK and run under gdb,
the apple_remote code caused "cannot init a class object" exception
messages to be printed.

Upon closer inspection this was caused by the call to [super init] in
the sendDistributedNotification class method of the RemoteControl
class.

As far as I understand, calling [super init] and assigning its return
value to self, even, is pointless and wrong in a class method.

This code apparently has not been causing any harm when built against
the 10.4 SDK. This is probably just accidental thanks to a more
lenient Objective-C runtime getting used?

When built against the 10.6 SDK, though, the resulting Objective-C
exception seemed to make input event handling non-functional. After
this fix LibreOffice built this way works better.

Change-Id: I I I383611753f3f83a9efa4694b1900c8b66ed1a8e3
2012-05-08 00:22:51 +03:00
Tor Lillqvist 8701f5ef05 Add Emacs and vim mode lines
Change-Id: I8ccb7be448faf42904eb6246a4f5a06ff8028ffc
2012-05-08 00:22:16 +03:00
Norbert Thiebaud fbbcc07ff4 gbuildify apple_remote 2012-02-05 19:34:07 -06:00
Norbert Thiebaud bec18a80f5 Revert "gbuildify apple_remote" need to have soenv2 merged before
This reverts commit 3d75a28274.
This will be pused again _after_ feature/soenv2 is merged
2012-01-28 18:29:49 -06:00
Norbert Thiebaud 3d75a28274 gbuildify apple_remote 2012-01-28 18:10:31 -06:00