Граф коммитов

385 Коммитов

Автор SHA1 Сообщение Дата
Phil Smith 7637db9f57 Feedback taken into account and hooked-up git tags to version. 2017-10-25 18:08:30 -07:00
Phil Smith 32671061cb feedback and some cleanup 2017-10-25 14:25:11 -07:00
Phillip Smith 3e8bc53836 fix bad merge 2017-10-25 00:56:41 -07:00
Phillip Smith ade7403e45 Merge with origin/feature 2017-10-25 00:53:20 -07:00
Phillip Smith 49d4618287 Enable debugging on Mac via VSCode 2017-10-25 00:46:21 -07:00
Phillip Smith 817c4879e6 Cleanup AppxPackageObject and enable VSCode support 2017-10-25 00:16:45 -07:00
Phillip Smith ea968f273f Publish headers needed for clients to consume 2017-10-24 22:29:16 -07:00
Phillip Smith 89fa6a2d68 Fix small build break found on Mac 2017-10-24 20:54:37 -07:00
Phil Smith abbabc9b3d Merged PR 1015588: Merge cmake to feature
This change replaces the series of VS build solutions and one-off Xcode workspace/projects that had to constantly be kept in sync with each other with a single CMake-based build system.  This new system has a single build authoring mechanism (CMakeLists.txt) that describes each logical sub-project of the entire project.  Builds in VS2017, Xcode, VS NMake, and unix make have been confirmed as working.  Automated continuous integration of this new build system is now turned-on, meaning that once this change goes live, you'll need to update your client view of the project.  At a minimum, you'll need to run: git submodule update && git submodule init once this change is pulled into your branch.  For those not entirely familiar with CMake, you can use https://cmake.org/Wiki/CMake as a good starting point for how to get up and running.

Related work items: #13953155, #13953165
2017-10-25 00:40:45 +00:00
Phil Smith 2446059951 Hookup Xerces and some initial package validation wiring. [Content_Types].xml no longer unpacked as payload. 2017-10-24 17:40:18 -07:00
Phillip Smith a709c98948 Merge branch 'cmake' of https://microsoft.visualstudio.com/DefaultCollection/_git/xPlatAppx into cmake 2017-10-23 22:24:24 -07:00
Phillip Smith b3a74504e8 Fix Xcode generated projects to now provide pointers to headers used by xPlatAppx project. 2017-10-23 22:24:18 -07:00
Phil Smith d2be6b9ca2 Updated README.md 2017-10-24 05:22:34 +00:00
Phil Smith 1d312a42a4 Updated README.md 2017-10-24 05:01:30 +00:00
Phil Smith f7ab41d8f5 Create make scripts that do build bidding on build machines. 2017-10-23 18:18:07 -07:00
Phil Smith 63e9ed305a Add makemac script for building in VSO pool. 2017-10-23 17:09:15 -07:00
Phil Smith bf822ff4ed Cleanup calling convention problems 2017-10-23 16:29:58 -07:00
Phil Smith d56c120e7f Make MAC build work via cmake 2017-10-23 15:24:04 -07:00
Phil Smith bec7a19212 Now can switch between projects and get builds from root 2017-10-20 17:35:25 -07:00
Phil Smith 02e8f4d3d4 Move zlib to tag 'v1.2.9' and fix building xPlatAppx and MakeXplat via CMake on Win32 2017-10-20 16:18:01 -07:00
Phil Smith 0cef010d24 enable ignoring bin directory as part of cmake build for automated builds. 2017-10-20 10:18:37 -07:00
Phil Smith 9c474077f9 Made more progress on building everything except zlib on win32 now. 2017-10-20 00:51:19 -07:00
Phil Smith e69885407a Updated README.md 2017-10-20 01:21:01 +00:00
Phil Smith 46c15b8641 Make some more headway into authoring cmake files. 2017-10-19 18:17:46 -07:00
Phil Smith ff199e4fab remove all the VS projects, rename FTS FileSystem PAL -> POSIX, and stub-out CMakeLists.txt for everything. 2017-10-19 17:08:56 -07:00
Phil Smith 3b7c175b72 Merged PR 1002403: Point xerces submodule at Xerces-C_3_2_0 tag 2017-10-19 22:37:59 +00:00
Phil Smith 8fcf801860 Merge remote-tracking branch 'origin/feature' into psmith 2017-10-19 15:35:11 -07:00
Phil Smith aa7de04a88 fix build break on 64-bit builds. 2017-10-19 15:34:40 -07:00
Ruben Guerrero Samaniego c1ed26e8e2 Merged PR 1001261: Merge appxpackaging to feature
Coclasses with AppxPackaging interfaces

Verified that builds on Windows, Linux and Android

Related work items: #13953288
2017-10-19 21:20:45 +00:00
Phil Smith 3df721b0a7 Merge remote-tracking branch 'origin/feature' into psmith 2017-10-19 11:00:47 -07:00
Phil Smith dbb011d098 Point xerces submodule at Xerces-C_3_2_0 tag 2017-10-19 10:35:04 -07:00
Ruben Guerrero Samaniego c63c51e4e7 Merged PR 997556: Enable build on android 2017-10-18 22:00:55 +00:00
Ruben Guerrero Samaniego 8dee63444e Merged PR 995543: Merge fixBuildLinux2 to feature 2017-10-18 18:34:35 +00:00
Phil Smith 08b09e24b6 Fix case where InflateStream returns fewer bytes than requested despite not being at EOF 2017-10-17 17:57:36 -07:00
Phil Smith 0f68a95445 Resolve merge conflicts coming from Feature 2017-10-17 14:11:37 -07:00
Phil Smith a03fbb7c13 Merged PR 992714: Fix build break on MAC
Fix build break on MAC
2017-10-17 21:08:53 +00:00
Phil Smith 507274d216 Fix build break on MAC 2017-10-17 13:43:30 -07:00
Phil Smith 1d1bd94122 Merged PR 988433: Implement command line parser.
Sample output:

>MakeXplat.exe
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.

Usage:
------
    MakeXplat.exe <command> [options]

Valid commands:
---------------
    -?        --  Displays this help text.
    -pack     --  Create a new package from files on disk
    -unpack   --  Create a new package from files on disk

For help with a specific command, enter MakeXplat.exe <command> --?

>MakeXplat.exe -?
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.

Usage:
------
    MakeXplat.exe <command> [options]

Valid commands:
---------------
    -?        --  Displays this help text.
    -pack     --  Create a new package from files on disk
    -unpack   --  Create a new package from files on disk

For help with a specific command, enter MakeXplat.exe <command> --?

>MakeXplat.exe -unpack
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.
MakeXplat.exe: error : Missing required options.  Use '-?' option for more details.

>MakeXplat.exe -unpack -?
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.

Usage:
------
    MakeXplat.exe -upack --p <package> --d <directory> [options]

Description:
------------
    Extracts all files within an app package at the <input pakcage name> to the
    specified <output directory>.  The output has the same directory structure
    as the package.

Options:
--------
    -?   : Displays this help text.
    -d   : REQUIRED, specify output directory name.
    -mv  : Skips manifest validation.  By default manifest validation is enabled.
    -p   : REQUIRED, specify input package name.
    -pfn : Unpacks all files to a subdirectory under the specified output path, named after the package full name.
    -sv  : Skips signature validation.  By default signature validation is enabled.

>MakeXplat.exe -pack
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.
MakeXplat.exe: error : Missing required options.  Use '-?' option for more details.

>MakeXplat.exe -pack -?
Microsoft (R) MakeXplat.exe Tool version
Copyright (C) 2017 Microsoft.  All rights reserved.

Usage:
------
    MakeXplat.exe -pack --p <package> --c <certificate> --d <directory> [options]

Description:
------------
    Creates an appx package at output <package> name by adding all files from
    content <directory> (including subfolders), and signs the package using
    the specified <certificate>.  You must include a valid app package manifest
    named AppxManifest.xml in the content directory if you do not specify the
    --nmv option.

Options:
--------
    -?   : Displays this help text.
    -c   : REQUIRED, specify input certificate name.
    -d   : REQUIRED, specify input directory name.
    -mv  : Skips manifest validation.  By default manifest validation is enabled.
    -p   : REQUIRED, specify output package file name.
    -sv  : Skips signature validation.  By default signature validation is enabled.

>

Related work items: #13953773
2017-10-17 19:39:33 +00:00
Phil Smith 4f995a271f fixed one last minor nit 2017-10-17 12:38:13 -07:00
Phil Smith d8d635f26e Fixed some typos that I found, took feedback into account, and renamed some things for the sake of clarity 2017-10-17 12:33:49 -07:00
Thomas Olsen (WINDOWS) d09aad25cd fix merge 2017-10-17 11:49:44 -07:00
Thomas Olsen (WINDOWS) d25150b25a RangeStream + ValidateCert test 2017-10-17 11:34:11 -07:00
Phil Smith 144959a64b Merged PR 988738: Fix some problems with asserts and ensure that xPlatAppx project always uses
Fix some problems with asserts and ensure that xPlatAppx project always uses C++14

Related work items: #14265946
2017-10-17 17:05:10 +00:00
Phil Smith a242645ace Feedback taken into account. 2017-10-16 17:54:23 -07:00
Phil Smith 121d3dd1c7 Small fix to handle overspecified options 2017-10-16 16:25:08 -07:00
Phil Smith b3f89076d7 Implement command line parser. 2017-10-16 16:16:32 -07:00
Phil Smith 9a13c65c0d Merged PR 986469: Reduce working set during entire scenario of reading from zip package by roughly half.
TLDR; we don't need to hold on to the state w.r.t. the 2 maps involving the central directory and the file repository.  So we put those on the stack during construction of the ZipObject instead.
2017-10-16 20:19:45 +00:00
Phil Smith 7b946dee04 Reduce working set during read of zip package by roughly half. 2017-10-16 12:12:43 -07:00
Phil Smith 0d26c8f09b Merged PR 982660: Week 2
Pulling first two weeks of feature work into master.

Related work items: #13953177
2017-10-14 00:25:39 +00:00
Phil Smith 6d2bc34837 Merged PR 981744: Move to a single unified exception type and standardize to a single list of all errors that originate from this project
This patch also makes debugging on CHK/DEBUG builds MUCH easier by putting a debug assert in the path of these throws.  Also, this makes the code more readable as exceptions are behind an Assert macro (which always throws the specified exception code with the associated message, but does so in a single line for readability).
2017-10-14 00:15:33 +00:00