James D. Lin

Results 49 issues of James D. Lin
trafficstars

I have a test that looks like: ```dart try { functionExpectedToFail(); fail('Failed to fail.'); } on ExpectedException catch (e) { // Significant code that extracts properties of `e` and that...

package:checks

On my Linux system, running `dart test --platform=firefox` fails to launch Firefox. Firefox shows a "Profile Missing" error dialog: ![image](https://user-images.githubusercontent.com/17391434/220773858-3daa5777-72cb-4e61-8295-a7473ed0236b.png) I haven't run `dart test --platform=firefox` in a while, but...

type-bug

droptxx is a thin wrapper around the C dropt library. I also wrote it quite awhile ago for C++03, but it would be much easier to use in C++11 code...

enhancement

Add an `IOOverrides` implementation for `MemoryFileSystem`. This provides a less invasive mechanism for testing code that uses `dart:io` directly. This is a work-in-progress because: * The tests probably could be...

The `LocalFileSystem common File copy succeedsIfDestinationExistsAsLinkToFile` and `LocalFileSystem common File copy succeedsIfDestinationIsLinkToFileInDifferentDirectory` tests seem to fail consistently on Windows. Examples: * https://ci.appveyor.com/project/tvolkert/file-dart/builds/33475434?fullLog=true * https://ci.appveyor.com/project/tvolkert/file-dart/builds/33475233?fullLog=true Based on https://github.com/google/file.dart/issues/56, should these be...

It might be nice to have a `ChrootFileSystem` implementation that automatically encrypted all writes and decrypted all reads.

In https://github.com/google/file.dart/pull/157, I made `MemoryFile`/`MemoryRandomAccessFile` try to handle the file being renamed/moved/removed from under them. Currently they always follow POSIX behavior (the equivalent of the open file handle tracks the...

I added a basic `MemoryRandomAccessFile` class in PR #136, but I didn't bother implementing `lock`/`lockSync` and `unlock`/`unlockSync`. Mostly that's because it's not obvious to me how they should behave. (Possibly...

I'm adding a `MemoryRandomAccessFile` class (PR https://github.com/google/file.dart/pull/136). The current implementation does not do anything special to honor file system permissions. I have not looked closely at `MemoryFile`, but I suspect...

The [`DateFormat` documentation](https://pub.dev/documentation/intl/latest/intl/DateFormat-class.html) (as of intl 0.18.1) includes examples for calling `initializeDateFormatting`: > ```dart > import 'package:intl/date_symbol_data_file.dart'; > initializeDateFormatting('de_DE', null).then((_) => runMyCode()); > ``` > ```dart > import 'package:intl/date_symbol_data_http_request.dart'; >...

type-documentation
P2
package:intl