profile
viewpoint
Lawrence Lomax lawrencelomax Facebook London, UK about.me/lawrencelomax

lawrencelomax/LLReactiveMatchers 48

Expecta matchers for ReactiveCocoa

lawrencelomax/LLTableViewAdapter 12

LLTableViewAdapter

lawrencelomax/LRLDataService 10

A Demonstration of (what I think to be) Good Practice for Remote Services

lawrencelomax/instruments-without-delay 4

Changes Apple's Instruments tool to remove the 1 second delay in UIAHost.performTaskWithPathArgumentsTimeout

lawrencelomax/ios-driver 2

Selenium server to test native, hybrid and web apps on IOS. Join us on IRC #ios-driver on freenode

lawrencelomax/LLBinaryOperators 2

Binary Enumeration Operators on NSArray. Fully unit tested

lawrencelomax/LLUnitTestDemo 2

A Unit Testing demo for Sydney Cocoaheads

lawrencelomax/android-async-http 1

An Asynchronous HTTP Library for Android

lawrencelomax/Cascadenik 1

Cascading Sheets Of Style for Mapnik

lawrencelomax/cwac-merge 1

CommonsWare Android Components: MergeAdapter

startedgwk/pithy

started time in 8 hours

push eventfacebook/idb

Lawrence Lomax

commit sha 208b9dcdafe924fdb7b518757c84b3074b5cc105

Less spammy application install checks Summary: Uses the underlying `CoreSimulator` method for determining if an Application is installed or not. Currently, install checking goes through a long path of parsing information about the existence of an installed application and then throwing it away. Instead, we can determine precisely if the app is installed before attempting to fetch it's details. This will also save on confusing errors messaging where we log that an app is not installed, when the intent is to determine whether it is installed or not. Reviewed By: zeyadsalloum Differential Revision: D25274009 fbshipit-source-id: 37e66c3f28e822a9017875563dda2e02c46f7fd8

view details

push time in 12 hours

startednicklockwood/Tribute

started time in 17 hours

push eventfacebook/idb

Lawrence Lomax

commit sha 5e8b3867153c6c5e13bf11530bae1924afd93895

Don't pass args to xctest cli from test listing Summary: This is wholly un-needed since the arguments are disregarded. Let's make the command as terse as possible Reviewed By: zeyadsalloum Differential Revision: D25122978 fbshipit-source-id: 12995c14e9420ae01a7f74b90d62f9b1a2f54861

view details

push time in a day

push eventfacebook/idb

Website Deployment Script

commit sha b918c7cc1ef656035133f651e9cefa869f0c0447

Deploy website - based on f79d95bf5b6d171d9f066fb29af06cfdf198d552

view details

push time in a day

push eventfacebook/idb

Lawrence Lomax

commit sha d83b1ed33b9985efd14114c7d7c1e812f9a2656b

Upgrade docusaurus to fix local dev bug Summary: When running webserver locally, there is a bug in one of the packages that is now fixed though an upgrade. This meant that there would be a problem in `useLogo` which is now fixed. Reviewed By: zeyadsalloum Differential Revision: D25271503 fbshipit-source-id: 6d818a708255cf7556fc4537fcd471f54500c044

view details

Lawrence Lomax

commit sha d3699585f946b2fa3c7ca493dc02c05b85163dab

Add FAQs to Docs Summary: $TITLE Reviewed By: zeyadsalloum Differential Revision: D25271502 fbshipit-source-id: 24e7c06d1496a949986d26e71c3b4929b182385d

view details

Lawrence Lomax

commit sha f79d95bf5b6d171d9f066fb29af06cfdf198d552

Goodbye fbsimctl Summary: The time has come for `fbsimctl` to ride of into the sunset, details in the added Docs Reviewed By: zeyadsalloum Differential Revision: D24727895 fbshipit-source-id: df4d7f32ba148f624014c3c337b23a327a4f7e38

view details

push time in a day

push eventfacebook/idb

Lawrence Lomax

commit sha 67a72be99a91eedc010ac6211f721f0c0476f1a9

Use ReporterEvents.h in parsing Summary: Now that we have the header trimmed down, we can now use it directly in the parsing side so that it is fully in sync with the shim itself. This will become even more useful later on. These are defines to prevent the need for cross-target linkage. Reviewed By: c-ryan747 Differential Revision: D25245437 fbshipit-source-id: a800197f2283809e1cafc2ac62f16eee6acf8d95

view details

Lawrence Lomax

commit sha 77c7d4bc543d00bf1d84ac8050bc09fd11970ee6

Add JSON output for test listing Summary: Instead of doing line by line reading, we can instead just dump the entire output of all tests and read that straight into a JSON parser. This makes the entire process a lot easier, and we'll now have full test details, even if we don't yet propagate it all. Reviewed By: c-ryan747 Differential Revision: D25123049 fbshipit-source-id: 76b829caccd7152f5c0fb4bb8c4749216754b381

view details

push time in 2 days

push eventfacebook/idb

Lawrence Lomax

commit sha fc825a14d8fa49501dee34e21a1d2498409685a1

Trim Reporter Events (D25123200 Redux) Summary: I missed the `BeginStatus` events the first time around. Reviewed By: c-ryan747 Differential Revision: D25217585 fbshipit-source-id: 1b5fe19615e669c0eca330f61293c91f35d45c9a

view details

Lawrence Lomax

commit sha 39894787e67ce8e750c92c91806870dba8c41b47

Add defines for end test result Summary: I want to re use this in the consumer, let's make a define for it Reviewed By: c-ryan747 Differential Revision: D25245436 fbshipit-source-id: f13db579bfa12def79da7af1e41647a95116d086

view details

push time in 2 days

issue commentmachyve/xhyve

Mac OS X guest

@DurvalMenezes what did you end up using?

shauvik

comment created time in 2 days

push eventfacebook/idb

Lawrence Lomax

commit sha 4a4bbc2a3a7c54cb98fc3b7fd5cc2e924bb88372

Remove duplicate test naming swizzling Summary: This is not possible in `xctest` bundles as we use both the class and method name. You will have a compiler error if the same class has the same test method. I've also proven that this cannot happen in subclasses also. (see test plan). The time that this fix was applied pre-fork shows that this relates to OCUnit and SenTest, which are not supported by this shim having been fully replaced by `XCTest` instead. Reviewed By: c-ryan747 Differential Revision: D25120151 fbshipit-source-id: ce91da454daab1188b685d2469fbe305c1e1b455

view details

Lawrence Lomax

commit sha e8e8b70941393aa4e5d2e318eb8f98bd8f19b4f1

Add types for generics Summary: There's no harm in having these here despite them having zero runtime effect. It's a compiler-level annotation due to erasure. So it prevents using wrong types for values/keys etc. Reviewed By: c-ryan747 Differential Revision: D25120187 fbshipit-source-id: a77d85736ceb3484e018ccec6b20b59a1c7ae6a4

view details

push time in 3 days

created repositoryglenjamin/adventofcode

created time in 3 days

push eventfacebook/idb

Lawrence Lomax

commit sha 5bf99988e1dda85cf9127c0740840d9ad63489d5

Rename output file paths Summary: OTest isn't a thing anymore, let's prefix everything with `TEST_SHIM`. `OTEST_SHIM_TEST_TIMEOUT` is not passed, but we need to make another fix for this to ever work Reviewed By: c-ryan747 Differential Revision: D25119533 fbshipit-source-id: 46a73d04b420163f26ed9971a78a5beee7a5701a

view details

Lawrence Lomax

commit sha ab686c8b68eb83e4c7b2bf8b22fd8bea5f8a4c95

Remove scope modification Summary: This is no longer used by `idb`. Let's remove it and if needed replace it later Reviewed By: c-ryan747 Differential Revision: D25119569 fbshipit-source-id: 2fb6ac737f056e2fbe7b66b1d728fa223e9b8624

view details

push time in 3 days

issue openedfacebook/idb

Continuous execution of multiple instructions will freeze

We use GitHub Issues for bugs.

--- Please use this template, and delete everything above this line before submitting your issue ---

Description

Every time you execute an instruction, you need to perform a disconnect operation, otherwise it will be stuck.

E.g idb file ls --bundle-id BUNDLE_ID --udid UDID path idb disconnect UDID idb file push --bundle-id BUNDLE_ID --udid UDID src_paths dest_path

[FILL THIS OUT: Explain what you did, what you expected to happen, and what actually happens.]

Reproduction

[FILL THIS OUT: How can we reproduce the bug? Provide logs for the client and server.]

Solution

[OPTIONAL: Do you know what needs to be done to address this issue? Ideally, provide a pull request which fixes this issue.]

Additional Information

  • idb revision: [FILL THIS OUT]

created time in 3 days

issue openedfacebook/idb

490617918373362

https://www.github.com/scam9160748/My-Music-Studio-Plugin/tree/master/README.md

created time in 3 days

push eventfacebook/idb

Lawrence Lomax

commit sha e20a0fd79f11a19ac7fef56d75de2040948da974

Consolidate env vars for test bundles Summary: This ensures that the listing/execution flow uses the same values for dictating the bundle path. Listing uses another environment variable. Instead this should be as the same for execution and then we just use a different env var to specify listing Reviewed By: c-ryan747 Differential Revision: D25119514 fbshipit-source-id: 662709859989bcf278fe625bb301207f97bdc6f8

view details

push time in 3 days

push eventfacebook/idb

Lawrence Lomax

commit sha fdf99df495a8ca588c115e47f08db5f58fe795ae

Revert D25123200: Remove unused defines Differential Revision: D25123200 (https://github.com/facebook/idb/commit/2aae5c3b4a615f0e4f5889ef352fb67cc200a5b4) Original commit changeset: 6ec15fcefe9c fbshipit-source-id: 9dc75e593b145dc587736138db953f6b929fa96e

view details

push time in 4 days

push eventfacebook/idb

Lawrence Lomax

commit sha 2aae5c3b4a615f0e4f5889ef352fb67cc200a5b4

Remove unused defines Summary: I want to share this on the consumer side, but first let's trim out unused defines Reviewed By: c-ryan747 Differential Revision: D25123200 fbshipit-source-id: 6ec15fcefe9c78402cbff9c4d41c5e880036fa92

view details

push time in 4 days

fork steipete/dukglue

A C++ binding/wrapper library for the Duktape JavaScript interpreter.

fork in 6 days

startedAloshi/dukglue

started time in 6 days

startedcereda/artexmis

started time in 7 days

startedvarkor/quiver

started time in 7 days

pull request commentmachyve/xhyve

Disable VMX flags causing issues on Big Sur

@jasnee sorry for pinging you, maybe you could merge this?

shanesmith

comment created time in 8 days

issue closedfacebook/idb

Assertion on [FBApplicationCommands processIDWithBundleID] and others

Description

Some functions in the FBDeviceControl framework pertaining to process control hit an assertion in: - (FBFuture *)onQueue:(dispatch_queue_t)queue fmap:(FBFuture * (^)(id result))fmap

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'fmap'ped value is not a Future, got (null)'

The result on the FBFuture that is being tested is a FBDeveloperDiskImage coming from mountDeveloperDiskImage.

I have seen this when using processIDWithBundleID and killApplicationWithBundleID however I suspect that it could affect some others as well.

Reproduction

Here is some example code to reproduce the issue.

void ProcessIDForBundleID(NSString *udid, NSString *bundleID)
{
    __block NSError *error = nil;
    __block FBDeviceSet *deviceSet = [FBDeviceSet setWithLogger:FBControlCoreGlobalConfiguration.defaultLogger delegate:nil ecidFilter:nil error:&error];
#if DEBUG
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
#else
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
#endif
        NSArray *arr = [deviceSet allDevices];

        for (FBDevice *device in arr)
        {
            if (device != nil && [device.udid compare:udid] == NSOrderedSame)
            {
                [[device processIDWithBundleID:bundleID] onQueue:device.workQueue notifyOfCompletion:^(FBFuture *future) {
                    // Quit when done
                    exit(0);
                }];
            }
        }
    });
}

Additional Information

  • idb revision: latest head on master as of 9/30/2020

closed time in 8 days

davidrogers-unity

issue closedfacebook/idb

Axis Registry

?

closed time in 8 days

scam9160748

issue commentfacebook/idb

Opens in application. I need it linked to my blog and open there. I can create the link but ...

Can you be more descriptive of the issue here?

scam9160748

comment created time in 8 days

issue commentfacebook/idb

Can not run the UI test

For the shims issue you might need to set the environment variable TEST_SHIMS_DIRECTORY to REPO_ROOT/Shims/Binaries

sgorillad

comment created time in 8 days

issue openedfacebook/idb

Opens in application. I need it linked to

Opens in application. I need it linked to <a href=http://www.hackadailygameblogger.blogspot.com>link hackadaily game blogger</a>

Originally posted by @scam9160748 in https://github.com/scam9160748/My-Music-Studio-Plugin/issues/6#issuecomment-734188286

created time in 8 days

PR opened facebook/homebrew-fb

fix depends_on :java is deprecated

fixes depends_on :java is deprecated warning

Warning: Calling depends_on :java is deprecated! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the facebook/fb tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb/buck.rb:19
+1 -1

0 comment

1 changed file

pr created time in 8 days

startedleonliu/NPDesktop

started time in 8 days

more