Add a testing target to make that is release + assertions
[WebKit-https.git] / Source / ThirdParty / ChangeLog
1 2020-01-07  Keith Miller  <keith_miller@apple.com>
2
3         Add a testing target to make that is release + assertions
4         https://bugs.webkit.org/show_bug.cgi?id=205895
5
6         Reviewed by Mark Lam.
7
8         * Makefile:
9
10 2019-11-01  Tim Horton  <timothy_horton@apple.com>
11
12         macCatalyst: Get TestWebKitAPI building
13         https://bugs.webkit.org/show_bug.cgi?id=203728
14
15         Reviewed by Alexey Proskuryakov.
16
17         * gtest/xcode/Config/General.xcconfig:
18         * gtest/xcode/Config/SDKVariant.xcconfig: Added.
19         Add SDKVariant.xcconfig to gtest so that it builds into the correct directory.
20
21 2019-08-29  Keith Rollin  <krollin@apple.com>
22
23         Update .xcconfig symbols to reflect the current set of past and future product versions.
24         https://bugs.webkit.org/show_bug.cgi?id=200720
25         <rdar://problem/54305032>
26
27         Reviewed by Alex Christensen.
28
29         Remove version symbols related to old OS's we no longer support,
30         ensure that version symbols are defined for OS's we do support.
31
32         * gtest/xcode/Config/DebugProject.xcconfig:
33         * gtest/xcode/Config/ReleaseProject.xcconfig:
34
35 2019-07-28  Alexey Proskuryakov  <ap@apple.com>
36
37         Fix static analyzer build
38         https://bugs.webkit.org/show_bug.cgi?id=200201
39
40         Reviewed by Anders Carlsson.
41
42         * Makefile: Add an analyze target, as this makefile is now used for full builds,
43         including static analyzer ones.
44
45 2019-04-29  Alex Christensen  <achristensen@webkit.org>
46
47         <rdar://problem/50299396> Fix internal High Sierra build
48         https://bugs.webkit.org/show_bug.cgi?id=197388
49
50         * gtest/xcode/Config/General.xcconfig:
51
52 2019-04-28  Andy Estes  <aestes@apple.com>
53
54         Fix the watchOS engineering build.
55
56         * Makefile: Started building libwebrtc on watchOS.
57
58 2019-04-25  Alex Christensen  <achristensen@webkit.org>
59
60         Start using C++17
61         https://bugs.webkit.org/show_bug.cgi?id=197131
62
63         Reviewed by Darin Adler.
64
65         * gtest/xcode/Config/General.xcconfig:
66
67 2018-10-30  Don Olmstead  <don.olmstead@sony.com>
68
69         [PlayStation] Enable JavaScriptCore
70         https://bugs.webkit.org/show_bug.cgi?id=191072
71
72         Reviewed by Brent Fulgham.
73
74         Add platform files for the PlayStation port.
75
76         * gtest/PlatformPlayStation.cmake: Added.
77
78 2018-10-08  Dan Bernstein  <mitz@apple.com>
79
80         gtest part of [Xcode] Update some build settings as recommended by Xcode 10
81         https://bugs.webkit.org/show_bug.cgi?id=190250
82
83         Reviewed by Anders Carlsson.
84
85         Didn’t turn on any of the warnings Xcode recommended for this third-party test support
86         library.
87
88         * gtest/xcode/Config/DebugProject.xcconfig: Set the deployment target in engineering builds
89           like we do in other projects. This addresses a build-time warning when building clients
90           of the library that its deployment target doesn’t match theirs.
91         * gtest/xcode/Config/ReleaseProject.xcconfig: Ditto.
92
93         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Let Xcode update LastUpgradeCheck.
94
95 2018-09-05  Don Olmstead  <don.olmstead@sony.com>
96
97         [CMake] Allow port specific options on gtest
98         https://bugs.webkit.org/show_bug.cgi?id=189313
99
100         Reviewed by Alex Christensen.
101
102         Allows a port to configure options within gtest for its platform.
103         The library type can be set otherwise it defaults to shared. Also the
104         compile definitions are propogated to TestWebKitAPI through a global
105         property.
106
107         * gtest/CMakeLists.txt:
108         * gtest/PlatformWin.cmake: Added.
109
110 2018-09-04  Ross Kirsling  <ross.kirsling@sony.com>
111
112         Update googletest
113         https://bugs.webkit.org/show_bug.cgi?id=175722
114
115         Reviewed by Brent Fulgham.
116
117         * gtest/:
118         Update to 1.8.1.
119
120         * gtest/CMakeLists.txt:
121         * gtest/xcode/:
122         Keep our versions of these build files, making any necessary additive updates
123         and removing WTF/JSC dependencies so that we stop forking third-party source.
124
125 2018-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
126
127         [WPE][GTK] Update xdgmime
128         https://bugs.webkit.org/show_bug.cgi?id=187727
129
130         Reviewed by Carlos Garcia Campos.
131
132         * xdgmime/README:
133         * xdgmime/README.webkit:
134         * xdgmime/src/xdgmime.c:
135         (_xdg_mime_mime_type_subclass):
136         * xdgmime/src/xdgmimecache.c:
137         (_xdg_mime_cache_new_from_file):
138         (_xdg_mime_cache_get_mime_type_for_file):
139         (_xdg_mime_cache_mime_type_subclass):
140
141 2018-07-03  Michael Catanzaro  <mcatanzaro@igalia.com>
142
143         [WPE][GTK] Another memory issue in xdgmime
144         https://bugs.webkit.org/show_bug.cgi?id=187239
145
146         Reviewed by Carlos Garcia Campos.
147
148         Sync the end of xdg_mime_get_mime_type_for_file() with _xdg_mime_cache_get_mime_type_for_file()
149         to avoid a memory issue.
150
151         I'm pretty sure this code is never executed by either Chromium or WebKit, but I'm not
152         comfortable with leaving it broken.
153
154         * xdgmime/README.webkit:
155         * xdgmime/src/xdgmime.c:
156         (xdg_mime_get_mime_type_for_file):
157
158 2018-06-30  Michael Catanzaro  <mcatanzaro@igalia.com>
159
160         Fix off-by-one error in xdg_mime_get_simple_globs
161         https://bugs.webkit.org/show_bug.cgi?id=186554
162
163         Reviewed by Daniel Bates.
164
165         We have an off-by-one error here in some code that was added for WebKit. (This is not an
166         issue with upstream xdgmime.)
167
168         No new tests. This problem is caught by TestDownloads, but only when running with ASan
169         enabled.
170
171         * xdgmime/src/xdgmimecache.c:
172         (get_simple_globs):
173         * xdgmime/src/xdgmimeglob.c:
174         (get_simple_globs):
175
176 2018-06-27  Michael Catanzaro  <mcatanzaro@igalia.com>
177
178         MIME type subclass check should guard against small strings
179         https://bugs.webkit.org/show_bug.cgi?id=186977
180
181         Reviewed by Carlos Garcia Campos.
182
183         Sadly, this code is duplicated between two different files because it is not good.
184
185         * xdgmime/README.webkit:
186         * xdgmime/src/xdgmime.c:
187         (ends_with):
188         (xdg_mime_is_super_type):
189         * xdgmime/src/xdgmimecache.c:
190         (ends_with):
191         (is_super_type):
192
193 2018-06-22  Michael Catanzaro  <mcatanzaro@igalia.com>
194
195         [WPE][GTK] Update xdgmime
196         https://bugs.webkit.org/show_bug.cgi?id=186907
197
198         Reviewed by Carlos Garcia Campos.
199
200         Only one change, fixes https://bugs.freedesktop.org/show_bug.cgi?id=97372.
201
202         * xdgmime/README.webkit:
203         * xdgmime/src/xdgmimeint.c:
204         (_xdg_binary_or_text_fallback):
205
206 2018-05-22  Ryan Haddad  <ryanhaddad@apple.com>
207
208         Unreviewed, rolling out r232052.
209
210         Breaks internal builds.
211
212         Reverted changeset:
213
214         "Use more C++17"
215         https://bugs.webkit.org/show_bug.cgi?id=185176
216         https://trac.webkit.org/changeset/232052
217
218 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
219
220         Use more C++17
221         https://bugs.webkit.org/show_bug.cgi?id=185176
222
223         Reviewed by JF Bastien.
224
225         * gtest/xcode/Config/General.xcconfig:
226
227 2018-05-14  Yusuke Suzuki  <utatane.tea@gmail.com>
228
229         [Win] Use C++17 in MSVC
230         https://bugs.webkit.org/show_bug.cgi?id=185232
231
232         Reviewed by Alex Christensen.
233
234         Use std::tuple instead of std::tr1::tuple since std::tr1::tuple is removed in C++17 MSVC.
235         In a subsequent patch, we will upgrade gtest too.
236
237         * gtest/include/gtest/internal/gtest-param-util-generated.h:
238         (testing::internal::CartesianProductHolder2::operator ParamGenerator< ::std::tuple<T1, T2> > const):
239         (testing::internal::CartesianProductHolder3::operator ParamGenerator< ::std::tuple<T1, T2, T3> > const):
240         (testing::internal::CartesianProductHolder4::operator ParamGenerator< ::std::tuple<T1, T2, T3, T4> > const):
241         (testing::internal::CartesianProductHolder5::operator ParamGenerator< ::std::tuple<T1, T2, T3, T4, T5> > const):
242         (testing::internal::CartesianProductHolder6::operator ParamGenerator< ::std::tuple<T1, T2, T3, T4, T5, T6> > const):
243         (testing::internal::CartesianProductHolder7:: const):
244         (testing::internal::CartesianProductHolder8:: const):
245         (testing::internal::CartesianProductHolder9:: const):
246         (testing::internal::CartesianProductHolder10:: const):
247         (testing::internal::CartesianProductHolder2::operator ParamGenerator< ::std::tr1::tuple<T1, T2> > const): Deleted.
248         (testing::internal::CartesianProductHolder3::operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3> > const): Deleted.
249         (testing::internal::CartesianProductHolder4::operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4> > const): Deleted.
250         (testing::internal::CartesianProductHolder5::operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5> > const): Deleted.
251         (testing::internal::CartesianProductHolder6::operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6> > const): Deleted.
252         * gtest/include/gtest/internal/gtest-tuple.h:
253
254 2018-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
255
256         Fix some -Wstring-op-truncation warnings
257         https://bugs.webkit.org/show_bug.cgi?id=185496
258
259         Reviewed by Alex Christensen.
260
261         Disable this warning when building gtest.
262
263         * gtest/CMakeLists.txt:
264
265 2018-05-09  Michael Catanzaro  <mcatanzaro@igalia.com>
266
267         [WPE] Build cleanly with GCC 8 and ICU 60
268         https://bugs.webkit.org/show_bug.cgi?id=185462
269
270         Reviewed by Carlos Alberto Lopez Perez.
271
272         * xdgmime/CMakeLists.txt: Silence -Wno-cast-function-type. I'm not fighting xdg-mime.
273
274 2018-05-06  Yusuke Suzuki  <utatane.tea@gmail.com>
275
276         [JSC][GTK][JSCONLY] Use capstone disassembler
277         https://bugs.webkit.org/show_bug.cgi?id=185283
278
279         Reviewed by Michael Catanzaro.
280
281         Add capstone to ThirdParty. We build capstone as a static library,
282         and link it against JSC. We only build disassembler for target architecture.
283         So for MIPS target, we only enable MIPS part of capstone.
284
285         We also remove unnecessary architectures in capstone, XCore, PowerPC, SystemZ, etc.
286         This is simply done by deleting these architecture directories.
287
288         We pick "next" branch instead of "master" branch since "next" branch is actively
289         developed.
290
291         * capstone/CMakeLists.txt: Added.
292         * capstone/Source/.appveyor.yml: Added.
293         * capstone/Source/.gitattributes: Added.
294         * capstone/Source/.gitignore: Added.
295         * capstone/Source/.travis.yml: Added.
296         * capstone/Source/CMakeLists.txt: Added.
297         * capstone/Source/COMPILE.TXT: Added.
298         * capstone/Source/COMPILE_CMAKE.TXT: Added.
299         * capstone/Source/COMPILE_MSVC.TXT: Added.
300         * capstone/Source/CREDITS.TXT: Added.
301         * capstone/Source/ChangeLog-capstone: Added.
302         * capstone/Source/HACK.TXT: Added.
303         * capstone/Source/LEB128.h: Added.
304         (decodeULEB128):
305         * capstone/Source/LICENSE.TXT: Added.
306         * capstone/Source/LICENSE_LLVM.TXT: Added.
307         * capstone/Source/MCDisassembler.h: Added.
308         * capstone/Source/MCFixedLenDisassembler.h: Added.
309         * capstone/Source/MCInst.c: Added.
310         (MCInst_Init):
311         (MCInst_clear):
312         (MCInst_insert0):
313         (MCInst_setOpcode):
314         (MCInst_setOpcodePub):
315         (MCInst_getOpcode):
316         (MCInst_getOpcodePub):
317         (MCInst_getOperand):
318         (MCInst_getNumOperands):
319         (MCInst_addOperand2):
320         (MCOperand_Init):
321         (MCOperand_isValid):
322         (MCOperand_isReg):
323         (MCOperand_isImm):
324         (MCOperand_isFPImm):
325         (MCOperand_getReg):
326         (MCOperand_setReg):
327         (MCOperand_getImm):
328         (MCOperand_setImm):
329         (MCOperand_getFPImm):
330         (MCOperand_setFPImm):
331         (MCOperand_CreateReg1):
332         (MCOperand_CreateReg0):
333         (MCOperand_CreateImm1):
334         (MCOperand_CreateImm0):
335         * capstone/Source/MCInst.h: Added.
336         * capstone/Source/MCInstrDesc.c: Added.
337         (MCOperandInfo_isPredicate):
338         (MCOperandInfo_isOptionalDef):
339         * capstone/Source/MCInstrDesc.h: Added.
340         * capstone/Source/MCRegisterInfo.c: Added.
341         (MCRegisterInfo_InitMCRegisterInfo):
342         (DiffListIterator_init):
343         (DiffListIterator_getVal):
344         (DiffListIterator_next):
345         (DiffListIterator_isValid):
346         (MCRegisterInfo_getMatchingSuperReg):
347         (MCRegisterInfo_getSubReg):
348         (MCRegisterInfo_getRegClass):
349         (MCRegisterClass_contains):
350         * capstone/Source/MCRegisterInfo.h: Added.
351         * capstone/Source/Makefile: Added.
352         * capstone/Source/MathExtras.h: Added.
353         (Hi_32):
354         (Lo_32):
355         (isUIntN):
356         (isMask_32):
357         (isMask_64):
358         (isShiftedMask_32):
359         (isShiftedMask_64):
360         (isPowerOf2_32):
361         (CountLeadingZeros_32):
362         (CountLeadingOnes_32):
363         (CountLeadingZeros_64):
364         (CountLeadingOnes_64):
365         (CountTrailingZeros_32):
366         (CountTrailingOnes_32):
367         (CountTrailingZeros_64):
368         (CountTrailingOnes_64):
369         (CountPopulation_32):
370         (CountPopulation_64):
371         (Log2_32):
372         (Log2_64):
373         (Log2_32_Ceil):
374         (Log2_64_Ceil):
375         (GreatestCommonDivisor64):
376         (BitsToDouble):
377         (BitsToFloat):
378         (DoubleToBits):
379         (FloatToBits):
380         (MinAlign):
381         (NextPowerOf2):
382         (RoundUpToAlignment):
383         (OffsetToAlignment):
384         (abs64):
385         (SignExtend32):
386         (SignExtend64):
387         (countLeadingZeros):
388         * capstone/Source/README.md: Added.
389         * capstone/Source/RELEASE_NOTES: Added.
390         * capstone/Source/SStream.c: Added.
391         (SStream_Init):
392         (SStream_concat0):
393         (SStream_concat):
394         (printInt64Bang):
395         (printUInt64Bang):
396         (printInt64):
397         (printInt32BangDec):
398         (printInt32Bang):
399         (printInt32):
400         (printUInt32Bang):
401         (printUInt32):
402         * capstone/Source/SStream.h: Added.
403         * capstone/Source/TODO: Added.
404         * capstone/Source/arch/ARM/ARMAddressingModes.h: Added.
405         (ARM_AM_getAddrOpcStr):
406         (ARM_AM_getShiftOpcStr):
407         (ARM_AM_getShiftOpcEncoding):
408         (ARM_AM_getAMSubModeStr):
409         (rotr32):
410         (rotl32):
411         (getSORegOpc):
412         (getSORegOffset):
413         (ARM_AM_getSORegShOp):
414         (getSOImmValImm):
415         (getSOImmValRot):
416         (getSOImmValRotate):
417         (getSOImmVal):
418         (isSOImmTwoPartVal):
419         (getSOImmTwoPartFirst):
420         (getSOImmTwoPartSecond):
421         (getThumbImmValShift):
422         (isThumbImmShiftedVal):
423         (getThumbImm16ValShift):
424         (isThumbImm16ShiftedVal):
425         (getThumbImmNonShiftedVal):
426         (getT2SOImmValSplatVal):
427         (getT2SOImmValRotateVal):
428         (getT2SOImmVal):
429         (getT2SOImmValRotate):
430         (isT2SOImmTwoPartVal):
431         (getT2SOImmTwoPartFirst):
432         (getT2SOImmTwoPartSecond):
433         (ARM_AM_getAM2Opc):
434         (getAM2Offset):
435         (getAM2Op):
436         (getAM2ShiftOpc):
437         (getAM2IdxMode):
438         (getAM3Opc):
439         (getAM3Offset):
440         (getAM3Op):
441         (getAM3IdxMode):
442         (getAM4SubMode):
443         (getAM4ModeImm):
444         (ARM_AM_getAM5Opc):
445         (ARM_AM_getAM5Offset):
446         (ARM_AM_getAM5Op):
447         (createNEONModImm):
448         (getNEONModImmOpCmode):
449         (getNEONModImmVal):
450         (ARM_AM_decodeNEONModImm):
451         (getFPImmFloat):
452         * capstone/Source/arch/ARM/ARMBaseInfo.h: Added.
453         (ARMCC_getOppositeCondition):
454         (ARMCC_ARMCondCodeToString):
455         (ARM_PROC_IFlagsToString):
456         (ARM_PROC_IModToString):
457         (ARM_MB_MemBOptToString):
458         (ARM_ISB_InstSyncBOptToString):
459         (isARMLowRegister):
460         (ARMII_AddrModeToString):
461         * capstone/Source/arch/ARM/ARMDisassembler.c: Added.
462         (ITStatus_push_back):
463         (ITStatus_instrInITBlock):
464         (ITStatus_instrLastInITBlock):
465         (ITStatus_getITCC):
466         (ITStatus_advanceITState):
467         (ITStatus_setITState):
468         (Check):
469         (ARM_getFeatureBits):
470         (DecodePredicateOperand):
471         (ARM_init):
472         (checkDecodedInstruction):
473         (_ARM_getInstruction):
474         (AddThumb1SBit):
475         (AddThumbPredicate):
476         (UpdateThumbVFPPredicate):
477         (_Thumb_getInstruction):
478         (Thumb_getInstruction):
479         (ARM_getInstruction):
480         (DecodeGPRnopcRegisterClass):
481         (DecodeGPRwithAPSRRegisterClass):
482         (DecodetGPRRegisterClass):
483         (DecodetcGPRRegisterClass):
484         (DecoderGPRRegisterClass):
485         (DecodeDPRRegisterClass):
486         (DecodeDPR_8RegisterClass):
487         (DecodeDPR_VFP2RegisterClass):
488         (DecodeDPairRegisterClass):
489         (DecodeCCOutOperand):
490         (DecodeSORegImmOperand):
491         (DecodeSORegRegOperand):
492         (DecodeRegListOperand):
493         (DecodeSPRRegListOperand):
494         (DecodeDPRRegListOperand):
495         (DecodeBitfieldMaskOperand):
496         (DecodeCopMemInstruction):
497         (DecodeAddrMode2IdxInstruction):
498         (DecodeSORegMemOperand):
499         (DecodeAddrMode3Instruction):
500         (DecodeRFEInstruction):
501         (DecodeQADDInstruction):
502         (DecodeMemMultipleWritebackInstruction):
503         (DecodeCPSInstruction):
504         (DecodeT2CPSInstruction):
505         (DecodeT2MOVTWInstruction):
506         (DecodeArmMOVTWInstruction):
507         (DecodeSMLAInstruction):
508         (DecodeAddrModeImm12Operand):
509         (DecodeAddrMode5Operand):
510         (DecodeAddrMode7Operand):
511         (DecodeT2BInstruction):
512         (DecodeBranchImmInstruction):
513         (DecodeAddrMode6Operand):
514         (DecodeVLDInstruction):
515         (DecodeVLDST1Instruction):
516         (DecodeVLDST2Instruction):
517         (DecodeVLDST3Instruction):
518         (DecodeVLDST4Instruction):
519         (DecodeVSTInstruction):
520         (DecodeVLD1DupInstruction):
521         (DecodeVLD2DupInstruction):
522         (DecodeVLD3DupInstruction):
523         (DecodeVLD4DupInstruction):
524         (DecodeNEONModImmInstruction):
525         (DecodeVSHLMaxInstruction):
526         (DecodeShiftRight8Imm):
527         (DecodeShiftRight16Imm):
528         (DecodeShiftRight32Imm):
529         (DecodeShiftRight64Imm):
530         (DecodeTBLInstruction):
531         (DecodeThumbAddSpecialReg):
532         (DecodeThumbBROperand):
533         (DecodeT2BROperand):
534         (DecodeThumbCmpBROperand):
535         (DecodeThumbAddrModeRR):
536         (DecodeThumbAddrModeIS):
537         (DecodeThumbAddrModePC):
538         (DecodeThumbAddrModeSP):
539         (DecodeT2AddrModeSOReg):
540         (DecodeT2LoadShift):
541         (DecodeT2LoadImm8):
542         (DecodeT2LoadImm12):
543         (DecodeT2LoadT):
544         (DecodeT2LoadLabel):
545         (DecodeT2Imm8S4):
546         (DecodeT2AddrModeImm8s4):
547         (DecodeT2AddrModeImm0_1020s4):
548         (DecodeT2Imm8):
549         (DecodeT2AddrModeImm8):
550         (DecodeT2LdStPre):
551         (DecodeT2AddrModeImm12):
552         (DecodeThumbAddSPImm):
553         (DecodeThumbAddSPReg):
554         (DecodeThumbCPS):
555         (DecodePostIdxReg):
556         (DecodeThumbBLXOffset):
557         (DecodeCoprocessor):
558         (DecodeThumbTableBranch):
559         (DecodeThumb2BCCInstruction):
560         (DecodeT2SOImm):
561         (DecodeThumbBCCTargetOperand):
562         (DecodeThumbBLTargetOperand):
563         (DecodeMemBarrierOption):
564         (DecodeInstSyncBarrierOption):
565         (DecodeMSRMask):
566         (DecodeBankedReg):
567         (DecodeDoubleRegLoad):
568         (DecodeDoubleRegStore):
569         (DecodeLDRPreImm):
570         (DecodeLDRPreReg):
571         (DecodeSTRPreImm):
572         (DecodeSTRPreReg):
573         (DecodeVLD1LN):
574         (DecodeVST1LN):
575         (DecodeVLD2LN):
576         (DecodeVST2LN):
577         (DecodeVLD3LN):
578         (DecodeVST3LN):
579         (DecodeVLD4LN):
580         (DecodeVST4LN):
581         (DecodeVMOVSRR):
582         (DecodeVMOVRRS):
583         (DecodeIT):
584         (DecodeT2LDRDPreInstruction):
585         (DecodeT2STRDPreInstruction):
586         (DecodeT2Adr):
587         (DecodeT2ShifterImmOperand):
588         (DecodeSwap):
589         (DecodeVCVTD):
590         (DecodeVCVTQ):
591         (DecodeLDR):
592         (DecodeMRRC2):
593         * capstone/Source/arch/ARM/ARMDisassembler.h: Added.
594         * capstone/Source/arch/ARM/ARMGenAsmWriter.inc: Added.
595         * capstone/Source/arch/ARM/ARMGenDisassemblerTables.inc: Added.
596         * capstone/Source/arch/ARM/ARMGenInstrInfo.inc: Added.
597         * capstone/Source/arch/ARM/ARMGenRegisterInfo.inc: Added.
598         * capstone/Source/arch/ARM/ARMGenSubtargetInfo.inc: Added.
599         * capstone/Source/arch/ARM/ARMInstPrinter.c: Added.
600         (get_op_access):
601         (set_mem_access):
602         (op_addImm):
603         (ARM_getRegName):
604         (translateShiftImm):
605         (printRegImmShift):
606         (printRegName):
607         (ARM_printInst):
608         (printOperand):
609         (printThumbLdrLabelOperand):
610         (printSORegRegOperand):
611         (printSORegImmOperand):
612         (printAM2PreOrOffsetIndexOp):
613         (printAddrModeTBB):
614         (printAddrModeTBH):
615         (printAddrMode2Operand):
616         (printAddrMode2OffsetOperand):
617         (printAM3PreOrOffsetIndexOp):
618         (printAddrMode3Operand):
619         (printAddrMode3OffsetOperand):
620         (printPostIdxImm8Operand):
621         (printPostIdxRegOperand):
622         (printPostIdxImm8s4Operand):
623         (printAddrMode5Operand):
624         (printAddrMode6Operand):
625         (printAddrMode7Operand):
626         (printAddrMode6OffsetOperand):
627         (printBitfieldInvMaskImmOperand):
628         (printMemBOption):
629         (printInstSyncBOption):
630         (printShiftImmOperand):
631         (printPKHLSLShiftImm):
632         (printPKHASRShiftImm):
633         (printRegisterList):
634         (printGPRPairOperand):
635         (printSetendOperand):
636         (printCPSIMod):
637         (printCPSIFlag):
638         (printMSRMaskOperand):
639         (printBankedRegOperand):
640         (printPredicateOperand):
641         (printMandatoryPredicateOperand):
642         (printSBitModifierOperand):
643         (printNoHashImmediate):
644         (printPImmediate):
645         (printCImmediate):
646         (printCoprocOptionImm):
647         (printAdrLabelOperand):
648         (printThumbS4ImmOperand):
649         (printThumbSRImm):
650         (printThumbITMask):
651         (printThumbAddrModeRROperand):
652         (printThumbAddrModeImm5SOperand):
653         (printThumbAddrModeImm5S1Operand):
654         (printThumbAddrModeImm5S2Operand):
655         (printThumbAddrModeImm5S4Operand):
656         (printThumbAddrModeSPOperand):
657         (printT2SOOperand):
658         (printAddrModeImm12Operand):
659         (printT2AddrModeImm8Operand):
660         (printT2AddrModeImm8s4Operand):
661         (printT2AddrModeImm0_1020s4Operand):
662         (printT2AddrModeImm8OffsetOperand):
663         (printT2AddrModeImm8s4OffsetOperand):
664         (printT2AddrModeSoRegOperand):
665         (printFPImmOperand):
666         (printNEONModImmOperand):
667         (printImmPlusOneOperand):
668         (printRotImmOperand):
669         (printModImmOperand):
670         (printFBits16):
671         (printFBits32):
672         (printVectorIndex):
673         (printVectorListOne):
674         (printVectorListTwo):
675         (printVectorListTwoSpaced):
676         (printVectorListThree):
677         (printVectorListFour):
678         (printVectorListOneAllLanes):
679         (printVectorListTwoAllLanes):
680         (printVectorListThreeAllLanes):
681         (printVectorListFourAllLanes):
682         (printVectorListTwoSpacedAllLanes):
683         (printVectorListThreeSpacedAllLanes):
684         (printVectorListFourSpacedAllLanes):
685         (printVectorListThreeSpaced):
686         (printVectorListFourSpaced):
687         (ARM_addVectorDataType):
688         (ARM_addVectorDataSize):
689         (ARM_addReg):
690         (ARM_addUserMode):
691         (ARM_addSysReg):
692         * capstone/Source/arch/ARM/ARMInstPrinter.h: Added.
693         * capstone/Source/arch/ARM/ARMMapping.c: Added.
694         (ARM_reg_name2):
695         (ARM_insn_name):
696         (ARM_rel_branch):
697         (ARM_blx_to_arm_mode):
698         (ARM_reg_access):
699         * capstone/Source/arch/ARM/ARMMapping.h: Added.
700         * capstone/Source/arch/ARM/ARMMappingInsn.inc: Added.
701         * capstone/Source/arch/ARM/ARMMappingInsnOp.inc: Added.
702         * capstone/Source/arch/ARM/ARMModule.c: Added.
703         (init):
704         (option):
705         (ARM_enable):
706         * capstone/Source/arch/Mips/MipsDisassembler.c: Added.
707         (getFeatureBits):
708         (Mips_init):
709         (readInstruction16):
710         (readInstruction32):
711         (MipsDisassembler_getInstruction):
712         (Mips_getInstruction):
713         (getReg):
714         (DecodeINSVE_DF_4):
715         (DecodeAddiGroupBranch_4):
716         (DecodeDaddiGroupBranch_4):
717         (DecodeBlezlGroupBranch_4):
718         (DecodeBgtzlGroupBranch_4):
719         (DecodeBgtzGroupBranch_4):
720         (DecodeBlezGroupBranch_4):
721         (DecodeCPU16RegsRegisterClass):
722         (DecodeGPR64RegisterClass):
723         (DecodeGPRMM16RegisterClass):
724         (DecodeGPRMM16ZeroRegisterClass):
725         (DecodeGPRMM16MovePRegisterClass):
726         (DecodeGPR32RegisterClass):
727         (DecodePtrRegisterClass):
728         (DecodeDSPRRegisterClass):
729         (DecodeFGR64RegisterClass):
730         (DecodeFGR32RegisterClass):
731         (DecodeCCRRegisterClass):
732         (DecodeFCCRegisterClass):
733         (DecodeCCRegisterClass):
734         (DecodeFGRCCRegisterClass):
735         (DecodeMem):
736         (DecodeCacheOp):
737         (DecodeCacheOpMM):
738         (DecodeCacheOpR6):
739         (DecodeSyncI):
740         (DecodeMSA128Mem):
741         (DecodeMemMMImm4):
742         (DecodeMemMMSPImm5Lsl2):
743         (DecodeMemMMGPImm7Lsl2):
744         (DecodeMemMMReglistImm4Lsl2):
745         (DecodeMemMMImm12):
746         (DecodeMemMMImm16):
747         (DecodeFMem):
748         (DecodeFMem2):
749         (DecodeFMem3):
750         (DecodeFMemCop2R6):
751         (DecodeSpecial3LlSc):
752         (DecodeHWRegsRegisterClass):
753         (DecodeAFGR64RegisterClass):
754         (DecodeACC64DSPRegisterClass):
755         (DecodeHI32DSPRegisterClass):
756         (DecodeLO32DSPRegisterClass):
757         (DecodeMSA128BRegisterClass):
758         (DecodeMSA128HRegisterClass):
759         (DecodeMSA128WRegisterClass):
760         (DecodeMSA128DRegisterClass):
761         (DecodeMSACtrlRegisterClass):
762         (DecodeCOP2RegisterClass):
763         (DecodeBranchTarget):
764         (DecodeJumpTarget):
765         (DecodeBranchTarget21):
766         (DecodeBranchTarget26):
767         (DecodeBranchTarget7MM):
768         (DecodeBranchTarget10MM):
769         (DecodeBranchTargetMM):
770         (DecodeJumpTargetMM):
771         (DecodeAddiur2Simm7):
772         (DecodeUImm6Lsl2):
773         (DecodeLiSimm7):
774         (DecodeSimm4):
775         (DecodeSimm16):
776         (DecodeLSAImm):
777         (DecodeInsSize):
778         (DecodeExtSize):
779         (DecodeSimm19Lsl2):
780         (DecodeSimm18Lsl3):
781         (DecodeSimm9SP):
782         (DecodeANDI16Imm):
783         (DecodeUImm5lsl2):
784         (DecodeRegListOperand):
785         (DecodeRegListOperand16):
786         (DecodeMovePRegPair):
787         (DecodeSimm23Lsl2):
788         * capstone/Source/arch/Mips/MipsDisassembler.h: Added.
789         * capstone/Source/arch/Mips/MipsGenAsmWriter.inc: Added.
790         * capstone/Source/arch/Mips/MipsGenDisassemblerTables.inc: Added.
791         * capstone/Source/arch/Mips/MipsGenInstrInfo.inc: Added.
792         * capstone/Source/arch/Mips/MipsGenRegisterInfo.inc: Added.
793         * capstone/Source/arch/Mips/MipsGenSubtargetInfo.inc: Added.
794         * capstone/Source/arch/Mips/MipsInstPrinter.c: Added.
795         (set_mem_access):
796         (isReg):
797         (MipsFCCToString):
798         (printRegName):
799         (Mips_printInst):
800         (printOperand):
801         (printUnsignedImm):
802         (printUnsignedImm8):
803         (printMemOperand):
804         (printMemOperandEA):
805         (printFCCOperand):
806         (printRegisterPair):
807         (printAlias1):
808         (printAlias2):
809         (printAlias):
810         (printRegisterList):
811         * capstone/Source/arch/Mips/MipsInstPrinter.h: Added.
812         * capstone/Source/arch/Mips/MipsMapping.c: Added.
813         (Mips_get_insn_id):
814         (Mips_group_name):
815         (Mips_map_insn):
816         (Mips_map_register):
817         * capstone/Source/arch/Mips/MipsMapping.h: Added.
818         * capstone/Source/arch/Mips/MipsMappingInsn.inc: Added.
819         * capstone/Source/arch/Mips/MipsModule.c: Added.
820         (init):
821         (option):
822         (Mips_enable):
823         * capstone/Source/capstone.pc.in: Added.
824         * capstone/Source/config.mk: Added.
825         * capstone/Source/cs.c: Added.
826         (cs_kern_os_calloc):
827         (cs_version):
828         (cs_support):
829         (cs_errno):
830         (cs_strerror):
831         (cs_open):
832         (cs_close):
833         (fill_insn):
834         (skipdata_size):
835         (cs_option):
836         (skipdata_opstr):
837         (cs_disasm):
838         (cs_disasm_ex):
839         (cs_free):
840         (cs_malloc):
841         (cs_disasm_iter):
842         (cs_reg_name):
843         (cs_insn_name):
844         (cs_group_name):
845         (cs_insn_group):
846         (cs_reg_read):
847         (cs_reg_write):
848         (cs_op_count):
849         (cs_op_index):
850         (cs_regs_access):
851         * capstone/Source/cs_priv.h: Added.
852         * capstone/Source/functions.mk: Added.
853         * capstone/Source/include/capstone/arm.h: Added.
854         * capstone/Source/include/capstone/arm64.h: Added.
855         * capstone/Source/include/capstone/capstone.h: Added.
856         * capstone/Source/include/capstone/evm.h: Added.
857         * capstone/Source/include/capstone/m680x.h: Added.
858         * capstone/Source/include/capstone/m68k.h: Added.
859         * capstone/Source/include/capstone/mips.h: Added.
860         * capstone/Source/include/capstone/platform.h: Added.
861         * capstone/Source/include/capstone/ppc.h: Added.
862         * capstone/Source/include/capstone/sparc.h: Added.
863         * capstone/Source/include/capstone/systemz.h: Added.
864         * capstone/Source/include/capstone/tms320c64x.h: Added.
865         * capstone/Source/include/capstone/x86.h: Added.
866         * capstone/Source/include/capstone/xcore.h: Added.
867         * capstone/Source/include/windowsce/intrin.h: Added.
868         * capstone/Source/include/windowsce/stdint.h: Added.
869         * capstone/Source/make.sh: Added.
870         * capstone/Source/nmake-x86.bat: Added.
871         * capstone/Source/nmake.bat: Added.
872         * capstone/Source/pkgconfig.mk: Added.
873         * capstone/Source/utils.c: Added.
874         (make_id2insn):
875         (insn_find):
876         (name2id):
877         (id2name):
878         (count_positive):
879         (count_positive8):
880         (cs_strdup):
881         (cs_snprintf):
882         (arr_exist8):
883         (arr_exist):
884         * capstone/Source/utils.h: Added.
885         * capstone/capstone-Revision.txt: Added.
886
887 2018-03-05  Don Olmstead  <don.olmstead@sony.com>
888
889         [CMake] Split JSC header copying into public and private targets
890         https://bugs.webkit.org/show_bug.cgi?id=183251
891
892         Reviewed by Konstantin Tokarev.
893
894         * gtest/CMakeLists.txt:
895
896 2018-02-06  Don Olmstead  <don.olmstead@sony.com>
897
898         Remove WebCore/ForwardingHeaders directory
899         https://bugs.webkit.org/show_bug.cgi?id=182347
900
901         Reviewed by Keith Miller.
902
903         * gtest/CMakeLists.txt:
904         * gtest/include/gtest/internal/gtest-port.h:
905
906 2018-02-05  Michael Catanzaro  <mcatanzaro@igalia.com>
907
908         Unreviewed, silence -Wimplicit-fallthrough in openvr
909         https://bugs.webkit.org/show_bug.cgi?id=182117
910
911         * openvr/patches/cmake-build.patch:
912         * openvr/src/CMakeLists.txt:
913
914 2018-02-04  Zan Dobersek  <zdobersek@igalia.com>
915
916         Lots of build warnings from Source/ThirdParty/openvr
917         https://bugs.webkit.org/show_bug.cgi?id=182117
918
919         Reviewed by Michael Catanzaro.
920
921         Suppress OpenVR compiler warnings by listing -Wno-unknown-pragmas,
922         -Wno-unused-parameter and -Wno-unused-variable options among the
923         libopenvr_api.so CXX flags.
924
925         CMake configuration warning about default project variables for the
926         openvr_api project is avoided by removing the openvr_api project and
927         instead setting the OPENVR_SOURCE_DIR to the path of the OpenVR
928         source directory under Source/ThirdParty/.
929
930         Another compiler warning is removed by fixing the return condition in
931         the Path_WriteBinaryFile() function to perform an equality comparison
932         instead of an assignment. This has already been fixed upstream.
933
934         All changes to the OpenVR code are reflected in the separately-managed
935         patch files kept in the patches/ directory.
936
937         * openvr/README.webkit:
938         * openvr/patches/Path_WriteBinaryFile-fix-return-condition.patch: Added.
939         * openvr/patches/cmake-build.patch:
940         * openvr/src/CMakeLists.txt:
941         * openvr/src/vrcommon/pathtools_public.cpp:
942         (Path_WriteBinaryFile):
943
944 2018-01-30  Don Olmstead  <don.olmstead@sony.com>
945
946         [CMake] Make WTF headers copies
947         https://bugs.webkit.org/show_bug.cgi?id=182274
948
949         Reviewed by Alex Christensen.
950
951         * gtest/CMakeLists.txt:
952
953 2018-01-27  Dan Bernstein  <mitz@apple.com>
954
955         HaveInternalSDK includes should be "#include?"
956         https://bugs.webkit.org/show_bug.cgi?id=179670
957
958         * gtest/xcode/Config/General.xcconfig:
959
960 2018-01-18  Sergio Villar Senin  <svillar@igalia.com>
961
962         [WebVR] Add OpenVR to the tree and to the build
963         https://bugs.webkit.org/show_bug.cgi?id=177298
964
965         Reviewed by Žan Doberšek.
966
967         Adding the required parts of OpenVR library to the tree. This will be used as a backend for
968         the eventual WebVR implementation.
969
970         * openvr/CMakeLists.txt: Added.
971         * openvr/LICENSE: Added.
972         * openvr/README.md: Added.
973         * openvr/README.webkit: Added. Includes specifics changes made to the original library to
974         accommodate it to the WebKit build system.
975         * openvr/Toolchain-clang.cmake: Added.
976         * openvr/headers/openvr.h: Added.
977         (vr::ButtonMaskFromId):
978         (vr::NotificationBitmap_t::NotificationBitmap_t):
979         (vr::VRToken):
980         (vr::COpenVRContext::COpenVRContext):
981         (vr::COpenVRContext::CheckClear):
982         (vr::COpenVRContext::VRSystem):
983         (vr::COpenVRContext::VRChaperone):
984         (vr::COpenVRContext::VRChaperoneSetup):
985         (vr::COpenVRContext::VRCompositor):
986         (vr::COpenVRContext::VROverlay):
987         (vr::COpenVRContext::VRResources):
988         (vr::COpenVRContext::VRScreenshots):
989         (vr::COpenVRContext::VRRenderModels):
990         (vr::COpenVRContext::VRExtendedDisplay):
991         (vr::COpenVRContext::VRSettings):
992         (vr::COpenVRContext::VRApplications):
993         (vr::COpenVRContext::VRTrackedCamera):
994         (vr::COpenVRContext::VRDriverManager):
995         (vr::OpenVRInternal_ModuleContext):
996         (vr::VRSystem):
997         (vr::VRChaperone):
998         (vr::VRChaperoneSetup):
999         (vr::VRCompositor):
1000         (vr::VROverlay):
1001         (vr::VRScreenshots):
1002         (vr::VRRenderModels):
1003         (vr::VRApplications):
1004         (vr::VRSettings):
1005         (vr::VRResources):
1006         (vr::VRExtendedDisplay):
1007         (vr::VRTrackedCamera):
1008         (vr::VRDriverManager):
1009         (vr::COpenVRContext::Clear):
1010         (vr::VR_Init):
1011         (vr::VR_Shutdown):
1012         * openvr/headers/openvr_api.cs: Added.
1013         * openvr/headers/openvr_api.json: Added.
1014         * openvr/headers/openvr_capi.h: Added.
1015         * openvr/headers/openvr_driver.h: Added.
1016         (vr::ButtonMaskFromId):
1017         (vr::IVRDriverDirectModeComponent::CreateSwapTextureSet):
1018         (vr::IVRDriverDirectModeComponent::DestroySwapTextureSet):
1019         (vr::IVRDriverDirectModeComponent::DestroyAllSwapTextureSets):
1020         (vr::IVRDriverDirectModeComponent::GetNextSwapTextureSetIndex):
1021         (vr::IVRDriverDirectModeComponent::SubmitLayer):
1022         (vr::IVRDriverDirectModeComponent::Present):
1023         (vr::CVRPropertyHelpers::CVRPropertyHelpers):
1024         (vr::CVRPropertyHelpers::TrackedDeviceToPropertyContainer):
1025         (vr::CVRPropertyHelpers::GetProperty):
1026         (vr::CVRPropertyHelpers::SetProperty):
1027         (vr::CVRPropertyHelpers::GetStringProperty):
1028         (vr::CVRPropertyHelpers::SetStringProperty):
1029         (vr::CVRPropertyHelpers::GetPropertyHelper):
1030         (vr::CVRPropertyHelpers::GetBoolProperty):
1031         (vr::CVRPropertyHelpers::GetFloatProperty):
1032         (vr::CVRPropertyHelpers::GetInt32Property):
1033         (vr::CVRPropertyHelpers::GetUint64Property):
1034         (vr::CVRPropertyHelpers::SetBoolProperty):
1035         (vr::CVRPropertyHelpers::SetFloatProperty):
1036         (vr::CVRPropertyHelpers::SetInt32Property):
1037         (vr::CVRPropertyHelpers::SetUint64Property):
1038         (vr::CVRPropertyHelpers::SetPropertyError):
1039         (vr::CVRPropertyHelpers::EraseProperty):
1040         (vr::CVRHiddenAreaHelpers::CVRHiddenAreaHelpers):
1041         (vr::CVRHiddenAreaHelpers::GetPropertyEnum):
1042         (vr::CVRHiddenAreaHelpers::SetHiddenArea):
1043         (vr::CVRHiddenAreaHelpers::GetHiddenArea):
1044         (vr::VRDriverContext):
1045         (vr::COpenVRDriverContext::COpenVRDriverContext):
1046         (vr::COpenVRDriverContext::VRSettings):
1047         (vr::COpenVRDriverContext::VRPropertiesRaw):
1048         (vr::COpenVRDriverContext::VRProperties):
1049         (vr::COpenVRDriverContext::VRHiddenArea):
1050         (vr::COpenVRDriverContext::VRServerDriverHost):
1051         (vr::COpenVRDriverContext::VRWatchdogHost):
1052         (vr::COpenVRDriverContext::VRDriverLog):
1053         (vr::COpenVRDriverContext::VRDriverHandle):
1054         (vr::OpenVRInternal_ModuleServerDriverContext):
1055         (vr::VRSettings):
1056         (vr::VRPropertiesRaw):
1057         (vr::VRProperties):
1058         (vr::VRHiddenArea):
1059         (vr::VRDriverLog):
1060         (vr::VRServerDriverHost):
1061         (vr::VRWatchdogHost):
1062         (vr::VRDriverHandle):
1063         (vr::COpenVRDriverContext::Clear):
1064         (vr::COpenVRDriverContext::InitServer):
1065         (vr::COpenVRDriverContext::InitWatchdog):
1066         (vr::InitServerDriverContext):
1067         (vr::InitWatchdogDriverContext):
1068         (vr::CleanupDriverContext):
1069         * openvr/patches/cmake-build.patch: Added.
1070         * openvr/src/CMakeLists.txt: Added.
1071         * openvr/src/Info.plist: Added.
1072         * openvr/src/README: Added.
1073         * openvr/src/ivrclientcore.h: Added.
1074         * openvr/src/json/json-forwards.h: Added.
1075         * openvr/src/json/json.h: Added.
1076         (std::swap):
1077         * openvr/src/jsoncpp.cpp: Added.
1078         (Json::codePointToUTF8):
1079         (Json::isControlCharacter):
1080         (Json::uintToString):
1081         (Json::fixNumericLocale):
1082         (Json::Features::Features):
1083         (Json::Features::all):
1084         (Json::Features::strictMode):
1085         (Json::containsNewLine):
1086         (Json::Reader::Reader):
1087         (Json::Reader::parse):
1088         (Json::Reader::readValue):
1089         (Json::Reader::skipCommentTokens):
1090         (Json::Reader::readToken):
1091         (Json::Reader::skipSpaces):
1092         (Json::Reader::match):
1093         (Json::Reader::readComment):
1094         (Json::normalizeEOL):
1095         (Json::Reader::addComment):
1096         (Json::Reader::readCStyleComment):
1097         (Json::Reader::readCppStyleComment):
1098         (Json::Reader::readNumber):
1099         (Json::Reader::readString):
1100         (Json::Reader::readObject):
1101         (Json::Reader::readArray):
1102         (Json::Reader::decodeNumber):
1103         (Json::Reader::decodeDouble):
1104         (Json::Reader::decodeString):
1105         (Json::Reader::decodeUnicodeCodePoint):
1106         (Json::Reader::decodeUnicodeEscapeSequence):
1107         (Json::Reader::addError):
1108         (Json::Reader::recoverFromError):
1109         (Json::Reader::addErrorAndRecover):
1110         (Json::Reader::currentValue):
1111         (Json::Reader::getNextChar):
1112         (Json::Reader::getLocationLineAndColumn const):
1113         (Json::Reader::getLocationSnippet const):
1114         (Json::Reader::getFormatedErrorMessages const):
1115         (Json::Reader::getFormattedErrorMessages const):
1116         (Json::Reader::getStructuredErrors const):
1117         (Json::Reader::pushError):
1118         (Json::Reader::good const):
1119         (Json::OurFeatures::all):
1120         (Json::OurReader::OurReader):
1121         (Json::OurReader::parse):
1122         (Json::OurReader::readValue):
1123         (Json::OurReader::skipCommentTokens):
1124         (Json::OurReader::readToken):
1125         (Json::OurReader::skipSpaces):
1126         (Json::OurReader::match):
1127         (Json::OurReader::readComment):
1128         (Json::OurReader::addComment):
1129         (Json::OurReader::readCStyleComment):
1130         (Json::OurReader::readCppStyleComment):
1131         (Json::OurReader::readNumber):
1132         (Json::OurReader::readString):
1133         (Json::OurReader::readStringSingleQuote):
1134         (Json::OurReader::readObject):
1135         (Json::OurReader::readArray):
1136         (Json::OurReader::decodeNumber):
1137         (Json::OurReader::decodeDouble):
1138         (Json::OurReader::decodeString):
1139         (Json::OurReader::decodeUnicodeCodePoint):
1140         (Json::OurReader::decodeUnicodeEscapeSequence):
1141         (Json::OurReader::addError):
1142         (Json::OurReader::recoverFromError):
1143         (Json::OurReader::addErrorAndRecover):
1144         (Json::OurReader::currentValue):
1145         (Json::OurReader::getNextChar):
1146         (Json::OurReader::getLocationLineAndColumn const):
1147         (Json::OurReader::getFormattedErrorMessages const):
1148         (Json::OurReader::getStructuredErrors const):
1149         (Json::OurReader::pushError):
1150         (Json::OurReader::good const):
1151         (Json::OurCharReader::OurCharReader):
1152         (Json::OurCharReader::parse):
1153         (Json::CharReaderBuilder::CharReaderBuilder):
1154         (Json::CharReaderBuilder::~CharReaderBuilder):
1155         (Json::CharReaderBuilder::newCharReader const):
1156         (Json::getValidReaderKeys):
1157         (Json::CharReaderBuilder::validate const):
1158         (Json::CharReaderBuilder::operator[]):
1159         (Json::CharReaderBuilder::strictMode):
1160         (Json::CharReaderBuilder::setDefaults):
1161         (Json::parseFromStream):
1162         (Json::operator>>):
1163         (Json::ValueIteratorBase::ValueIteratorBase):
1164         (Json::ValueIteratorBase::deref const):
1165         (Json::ValueIteratorBase::increment):
1166         (Json::ValueIteratorBase::decrement):
1167         (Json::ValueIteratorBase::computeDistance const):
1168         (Json::ValueIteratorBase::isEqual const):
1169         (Json::ValueIteratorBase::copy):
1170         (Json::ValueIteratorBase::key const):
1171         (Json::ValueIteratorBase::index const):
1172         (Json::ValueIteratorBase::name const):
1173         (Json::ValueIteratorBase::memberName const):
1174         (Json::ValueConstIterator::ValueConstIterator):
1175         (Json::operator=):
1176         (Json::ValueIterator::ValueIterator):
1177         (Json::ValueIterator::operator=):
1178         (Json::InRange):
1179         (Json::integerToDouble):
1180         (Json::duplicateStringValue):
1181         (Json::duplicateAndPrefixStringValue):
1182         (Json::decodePrefixedString):
1183         (Json::releaseStringValue):
1184         (Json::Exception::Exception):
1185         (Json::throw):
1186         (Json::RuntimeError::RuntimeError):
1187         (Json::LogicError::LogicError):
1188         (Json::throwRuntimeError):
1189         (Json::throwLogicError):
1190         (Json::Value::CommentInfo::CommentInfo):
1191         (Json::Value::CommentInfo::~CommentInfo):
1192         (Json::Value::CommentInfo::setComment):
1193         (Json::Value::CZString::CZString):
1194         (Json::Value::CZString::~CZString):
1195         (Json::Value::CZString::swap):
1196         (Json::Value::CZString::operator=):
1197         (Json::Value::CZString::operator< const):
1198         (Json::Value::CZString::operator== const):
1199         (Json::Value::CZString::index const):
1200         (Json::Value::CZString::data const):
1201         (Json::Value::CZString::length const):
1202         (Json::Value::CZString::isStaticString const):
1203         (Json::Value::Value):
1204         (Json::Value::~Value):
1205         (Json::Value::operator=):
1206         (Json::Value::swapPayload):
1207         (Json::Value::swap):
1208         (Json::Value::type const):
1209         (Json::Value::compare const):
1210         (Json::Value::operator< const):
1211         (Json::Value::operator<= const):
1212         (Json::Value::operator>= const):
1213         (Json::Value::operator> const):
1214         (Json::Value::operator== const):
1215         (Json::Value::operator!= const):
1216         (Json::Value::asCString const):
1217         (Json::Value::getString const):
1218         (Json::Value::asString const):
1219         (Json::Value::asConstString const):
1220         (Json::Value::asInt const):
1221         (Json::Value::asUInt const):
1222         (Json::Value::asInt64 const):
1223         (Json::Value::asUInt64 const):
1224         (Json::Value::asLargestInt const):
1225         (Json::Value::asLargestUInt const):
1226         (Json::Value::asDouble const):
1227         (Json::Value::asFloat const):
1228         (Json::Value::asBool const):
1229         (Json::Value::isConvertibleTo const):
1230         (Json::Value::size const):
1231         (Json::Value::empty const):
1232         (Json::Value::operator! const):
1233         (Json::Value::clear):
1234         (Json::Value::resize):
1235         (Json::Value::operator[]):
1236         (Json::Value::operator[] const):
1237         (Json::Value::initBasic):
1238         (Json::Value::resolveReference):
1239         (Json::Value::get const):
1240         (Json::Value::isValidIndex const):
1241         (Json::Value::find const):
1242         (Json::Value::append):
1243         (Json::Value::removeMember):
1244         (Json::Value::removeIndex):
1245         (Json::Value::isMember const):
1246         (Json::Value::getMemberNames const):
1247         (Json::IsIntegral):
1248         (Json::Value::isNull const):
1249         (Json::Value::isBool const):
1250         (Json::Value::isInt const):
1251         (Json::Value::isUInt const):
1252         (Json::Value::isInt64 const):
1253         (Json::Value::isUInt64 const):
1254         (Json::Value::isIntegral const):
1255         (Json::Value::isDouble const):
1256         (Json::Value::isNumeric const):
1257         (Json::Value::isString const):
1258         (Json::Value::isArray const):
1259         (Json::Value::isObject const):
1260         (Json::Value::setComment):
1261         (Json::Value::hasComment const):
1262         (Json::Value::getComment const):
1263         (Json::Value::setOffsetStart):
1264         (Json::Value::setOffsetLimit):
1265         (Json::Value::getOffsetStart const):
1266         (Json::Value::getOffsetLimit const):
1267         (Json::Value::toStyledString const):
1268         (Json::Value::begin const):
1269         (Json::Value::end const):
1270         (Json::Value::begin):
1271         (Json::Value::end):
1272         (Json::PathArgument::PathArgument):
1273         (Json::Path::Path):
1274         (Json::Path::makePath):
1275         (Json::Path::addPathInArg):
1276         (Json::Path::invalidPath):
1277         (Json::Path::resolve const):
1278         (Json::Path::make const):
1279         (Json::containsControlCharacter):
1280         (Json::containsControlCharacter0):
1281         (Json::valueToString):
1282         (Json::valueToQuotedString):
1283         (Json::strnpbrk):
1284         (Json::valueToQuotedStringN):
1285         (Json::Writer::~Writer):
1286         (Json::FastWriter::FastWriter):
1287         (Json::FastWriter::enableYAMLCompatibility):
1288         (Json::FastWriter::dropNullPlaceholders):
1289         (Json::FastWriter::omitEndingLineFeed):
1290         (Json::FastWriter::write):
1291         (Json::FastWriter::writeValue):
1292         (Json::StyledWriter::StyledWriter):
1293         (Json::StyledWriter::write):
1294         (Json::StyledWriter::writeValue):
1295         (Json::StyledWriter::writeArrayValue):
1296         (Json::StyledWriter::isMultineArray):
1297         (Json::StyledWriter::pushValue):
1298         (Json::StyledWriter::writeIndent):
1299         (Json::StyledWriter::writeWithIndent):
1300         (Json::StyledWriter::indent):
1301         (Json::StyledWriter::unindent):
1302         (Json::StyledWriter::writeCommentBeforeValue):
1303         (Json::StyledWriter::writeCommentAfterValueOnSameLine):
1304         (Json::StyledWriter::hasCommentForValue):
1305         (Json::StyledStreamWriter::StyledStreamWriter):
1306         (Json::StyledStreamWriter::write):
1307         (Json::StyledStreamWriter::writeValue):
1308         (Json::StyledStreamWriter::writeArrayValue):
1309         (Json::StyledStreamWriter::isMultineArray):
1310         (Json::StyledStreamWriter::pushValue):
1311         (Json::StyledStreamWriter::writeIndent):
1312         (Json::StyledStreamWriter::writeWithIndent):
1313         (Json::StyledStreamWriter::indent):
1314         (Json::StyledStreamWriter::unindent):
1315         (Json::StyledStreamWriter::writeCommentBeforeValue):
1316         (Json::StyledStreamWriter::writeCommentAfterValueOnSameLine):
1317         (Json::StyledStreamWriter::hasCommentForValue):
1318         (Json::BuiltStyledStreamWriter::BuiltStyledStreamWriter):
1319         (Json::BuiltStyledStreamWriter::write):
1320         (Json::BuiltStyledStreamWriter::writeValue):
1321         (Json::BuiltStyledStreamWriter::writeArrayValue):
1322         (Json::BuiltStyledStreamWriter::isMultineArray):
1323         (Json::BuiltStyledStreamWriter::pushValue):
1324         (Json::BuiltStyledStreamWriter::writeIndent):
1325         (Json::BuiltStyledStreamWriter::writeWithIndent):
1326         (Json::BuiltStyledStreamWriter::indent):
1327         (Json::BuiltStyledStreamWriter::unindent):
1328         (Json::BuiltStyledStreamWriter::writeCommentBeforeValue):
1329         (Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine):
1330         (Json::BuiltStyledStreamWriter::hasCommentForValue):
1331         (Json::StreamWriter::StreamWriter):
1332         (Json::StreamWriter::~StreamWriter):
1333         (Json::StreamWriter::Factory::~Factory):
1334         (Json::StreamWriterBuilder::StreamWriterBuilder):
1335         (Json::StreamWriterBuilder::~StreamWriterBuilder):
1336         (Json::StreamWriterBuilder::newStreamWriter const):
1337         (Json::getValidWriterKeys):
1338         (Json::StreamWriterBuilder::validate const):
1339         (Json::StreamWriterBuilder::operator[]):
1340         (Json::StreamWriterBuilder::setDefaults):
1341         (Json::writeString):
1342         (Json::operator<<):
1343         * openvr/src/openvr_api_public.cpp: Added.
1344         (vr::VR_GetInitToken):
1345         (vr::VR_InitInternal2):
1346         (vr::VR_InitInternal):
1347         (vr::VR_ShutdownInternal):
1348         (vr::VR_LoadHmdSystemInternal):
1349         (vr::VR_GetGenericInterface):
1350         (vr::VR_IsInterfaceVersionValid):
1351         (vr::VR_IsHmdPresent):
1352         (vr::VR_IsRuntimeInstalled):
1353         (vr::VR_RuntimePath):
1354         (vr::VR_GetVRInitErrorAsSymbol):
1355         (vr::VR_GetVRInitErrorAsEnglishDescription):
1356         (vr::VR_GetStringForHmdError):
1357         * openvr/src/vrcommon/dirtools_public.cpp: Added.
1358         (BCreateDirectoryRecursive):
1359         (BCreateDirectory):
1360         * openvr/src/vrcommon/dirtools_public.h: Added.
1361         * openvr/src/vrcommon/envvartools_public.cpp: Added.
1362         (GetEnvironmentVariable):
1363         (SetEnvironmentVariable):
1364         * openvr/src/vrcommon/envvartools_public.h: Added.
1365         * openvr/src/vrcommon/hmderrors_public.cpp: Added.
1366         (GetEnglishStringForHmdError):
1367         (GetIDForVRInitError):
1368         * openvr/src/vrcommon/hmderrors_public.h: Added.
1369         * openvr/src/vrcommon/pathtools_public.cpp: Added.
1370         (Path_GetExecutablePath):
1371         (Path_GetWorkingDirectory):
1372         (Path_SetWorkingDirectory):
1373         (Path_StripFilename):
1374         (Path_StripDirectory):
1375         (Path_StripExtension):
1376         (Path_GetExtension):
1377         (Path_IsAbsolute):
1378         (Path_MakeAbsolute):
1379         (Path_FixSlashes):
1380         (Path_GetSlash):
1381         (Path_Join):
1382         (Path_RemoveTrailingSlash):
1383         (Path_Compact):
1384         (Path_GetThisModulePath):
1385         (Path_IsDirectory):
1386         (Path_IsAppBundle):
1387         (Path_Exists):
1388         (Path_FindParentDirectoryRecursively):
1389         (Path_FindParentSubDirectoryRecursively):
1390         (Path_ReadBinaryFile):
1391         (Path_WriteBinaryFile):
1392         (Path_ReadTextFile):
1393         (Path_WriteStringToTextFile):
1394         (Path_WriteStringToTextFileAtomic):
1395         (Path_FilePathToUrl):
1396         (Path_UrlToFilePath):
1397         (GetUserDocumentsPath):
1398         * openvr/src/vrcommon/pathtools_public.h: Added.
1399         * openvr/src/vrcommon/sharedlibtools_public.cpp: Added.
1400         (SharedLib_Load):
1401         (SharedLib_GetFunction):
1402         (SharedLib_Unload):
1403         * openvr/src/vrcommon/sharedlibtools_public.h: Added.
1404         * openvr/src/vrcommon/strtools_public.cpp: Added.
1405         (StringHasPrefix):
1406         (StringHasPrefixCaseSensitive):
1407         (StringHasSuffix):
1408         (StringHasSuffixCaseSensitive):
1409         (UTF16to8):
1410         (UTF8to16):
1411         (strcpy_safe):
1412         (StringToUpper):
1413         (StringToLower):
1414         (ReturnStdString):
1415         (BufferToStdString):
1416         (Uint64ToString):
1417         (StringToUint64):
1418         (cIntToHexDigit):
1419         (iHexCharToInt):
1420         (V_URLEncodeInternal):
1421         (V_URLDecodeInternal):
1422         (V_URLEncode):
1423         (V_URLDecode):
1424         (V_StripExtension):
1425         * openvr/src/vrcommon/strtools_public.h: Added.
1426         (stricmp):
1427         (strnicmp):
1428         (wcsncpy_s):
1429         (strncpy_s):
1430         (strtoull):
1431         * openvr/src/vrcommon/vrpathregistry_public.cpp: Added.
1432         (GetAppSettingsPath):
1433         (CVRPathRegistry_Public::CVRPathRegistry_Public):
1434         (CVRPathRegistry_Public::GetOpenVRConfigPath):
1435         (CVRPathRegistry_Public::GetVRPathRegistryFilename):
1436         (ParseStringListFromJson):
1437         (StringListToJson):
1438         (CVRPathRegistry_Public::ToJsonString):
1439         (CVRPathRegistry_Public::BLoadFromFile):
1440         (CVRPathRegistry_Public::BSaveToFile const):
1441         (CVRPathRegistry_Public::GetRuntimePath const):
1442         (CVRPathRegistry_Public::GetConfigPath const):
1443         (CVRPathRegistry_Public::GetLogPath const):
1444         (CVRPathRegistry_Public::GetPaths):
1445         * openvr/src/vrcommon/vrpathregistry_public.h: Added.
1446
1447 2017-12-14  David Kilzer  <ddkilzer@apple.com>
1448
1449         Enable -Wstrict-prototypes for WebKit
1450         <https://webkit.org/b/180757>
1451         <rdar://problem/36024132>
1452
1453         Rubber-stamped by Joseph Pecoraro.
1454
1455         * gtest/xcode/Config/General.xcconfig:
1456         (WARNING_CFLAGS): Add semicolon.
1457         (CLANG_WARN_STRICT_PROTOTYPES): Add. Set to YES.
1458
1459 2017-10-05  Frederic Wang  <fwang@igalia.com>
1460
1461         Remove WOFF2 from Source/ThirdParty.
1462         https://bugs.webkit.org/show_bug.cgi?id=177862
1463
1464         Reviewed by Michael Catanzaro.
1465
1466         * woff2/CMakeLists.txt: Removed.
1467         * woff2/LICENSE: Removed.
1468         * woff2/README.webkit: Removed.
1469         * woff2/include/woff2/decode.h: Removed.
1470         * woff2/include/woff2/encode.h: Removed.
1471         * woff2/include/woff2/output.h: Removed.
1472         * woff2/src/buffer.h: Removed.
1473         * woff2/src/convert_woff2ttf_*.cc: Removed.
1474         * woff2/src/file.h: Removed.
1475         * woff2/src/font.cc: Removed.
1476         * woff2/src/font.h: Removed.
1477         * woff2/src/glyph.cc: Removed.
1478         * woff2/src/glyph.h: Removed.
1479         * woff2/src/normalize.cc: Removed.
1480         * woff2/src/normalize.h: Removed.
1481         * woff2/src/port.h: Removed.
1482         * woff2/src/round.h: Removed.
1483         * woff2/src/store_bytes.h: Removed.
1484         * woff2/src/table_tags.cc: Removed.
1485         * woff2/src/table_tags.h: Removed.
1486         * woff2/src/transform.cc: Removed.
1487         * woff2/src/transform.h: Removed.
1488         * woff2/src/variable_length.cc: Removed.
1489         * woff2/src/variable_length.h: Removed.
1490         * woff2/src/woff2_common.cc: Removed.
1491         * woff2/src/woff2_common.h: Removed.
1492         * woff2/src/woff2_compress.cc: Removed.
1493         * woff2/src/woff2_dec.cc: Removed.
1494         * woff2/src/woff2_decompress.cc: Removed.
1495         * woff2/src/woff2_enc.cc: Removed.
1496         * woff2/src/woff2_info.cc: Removed.
1497         * woff2/src/woff2_out.cc: Removed.
1498         * woff2/update.sh: Removed.
1499
1500 2017-10-05  Frederic Wang  <fwang@igalia.com>
1501
1502         Update Source/ThirdParty/woff2 to 22c256bc457777744ba14b7325a6e8e0e7dec91c
1503         https://bugs.webkit.org/show_bug.cgi?id=177994
1504
1505         Reviewed by Michael Catanzaro.
1506
1507         * woff2/CMakeLists.txt: Also consider the directory for public headers.
1508         * woff2/README.webkit:
1509         * woff2/include/woff2/decode.h: Renamed from Source/ThirdParty/woff2/src/woff2_dec.h.
1510         * woff2/include/woff2/encode.h: Renamed from Source/ThirdParty/woff2/src/woff2_enc.h.
1511         (woff2::WOFF2Params::WOFF2Params):
1512         * woff2/include/woff2/output.h: Renamed from Source/ThirdParty/woff2/src/woff2_out.h.
1513         (woff2::WOFF2Out::~WOFF2Out):
1514         (woff2::WOFF2StringOut::MaxSize):
1515         * woff2/src/buffer.h:
1516         * woff2/src/convert_woff2ttf_*.cc:
1517         * woff2/src/file.h:
1518         * woff2/src/font.cc:
1519         * woff2/src/font.h:
1520         * woff2/src/glyph.cc:
1521         * woff2/src/glyph.h:
1522         * woff2/src/normalize.cc:
1523         * woff2/src/normalize.h:
1524         * woff2/src/port.h:
1525         * woff2/src/round.h:
1526         * woff2/src/store_bytes.h:
1527         * woff2/src/table_tags.cc:
1528         * woff2/src/table_tags.h:
1529         * woff2/src/transform.cc:
1530         * woff2/src/transform.h:
1531         * woff2/src/variable_length.cc:
1532         * woff2/src/variable_length.h:
1533         * woff2/src/woff2_common.cc:
1534         * woff2/src/woff2_common.h:
1535         * woff2/src/woff2_compress.cc:
1536         * woff2/src/woff2_dec.cc:
1537         * woff2/src/woff2_decompress.cc:
1538         * woff2/src/woff2_enc.cc:
1539         * woff2/src/woff2_info.cc:
1540         * woff2/src/woff2_out.cc:
1541         * woff2/update.sh: Also consider directory for public headers.
1542
1543 2017-10-03  Frederic Wang  <fwang@igalia.com>
1544
1545         Remove Brotli from Source/ThirdParty
1546         https://bugs.webkit.org/show_bug.cgi?id=177804
1547
1548         Reviewed by Michael Catanzaro.
1549
1550         * brotli/CMakeLists.txt: Removed.
1551         * brotli/LICENSE: Removed.
1552         * brotli/README.webkit: Removed.
1553         * brotli/common/constants.h: Removed.
1554         * brotli/common/dictionary.bin: Removed.
1555         * brotli/common/dictionary.c: Removed.
1556         * brotli/common/dictionary.h: Removed.
1557         * brotli/common/version.h: Removed.
1558         * brotli/dec/bit_reader.c: Removed.
1559         * brotli/dec/bit_reader.h: Removed.
1560         * brotli/dec/context.h: Removed.
1561         * brotli/dec/decode.c: Removed.
1562         * brotli/dec/huffman.c: Removed.
1563         * brotli/dec/huffman.h: Removed.
1564         * brotli/dec/port.h: Removed.
1565         * brotli/dec/prefix.h: Removed.
1566         * brotli/dec/state.c: Removed.
1567         * brotli/dec/state.h: Removed.
1568         * brotli/dec/transform.h: Removed.
1569         * brotli/include/brotli/decode.h: Removed.
1570         * brotli/include/brotli/encode.h: Removed.
1571         * brotli/include/brotli/port.h: Removed.
1572         * brotli/include/brotli/types.h: Removed.
1573         * brotli/update.sh: Removed.
1574         * woff2/CMakeLists.txt: Use Brotli's include and library paths found by CMake.
1575
1576 2017-10-05  Frederic Wang  <fwang@igalia.com>
1577
1578         Upgrade Brotli to version 1.0.1 and WOFF2 to latest upstream
1579         https://bugs.webkit.org/show_bug.cgi?id=177768
1580
1581         Reviewed by Michael Catanzaro.
1582
1583         * brotli/CMakeLists.txt:
1584         * brotli/README.webkit:
1585         * brotli/common/constants.h: Added.
1586         * brotli/common/dictionary.bin: Added.
1587         * brotli/common/dictionary.c: Added.
1588         * brotli/common/dictionary.h: Added.
1589         * brotli/common/version.h: Added.
1590         * brotli/dec/Makefile: Removed.
1591         * brotli/dec/bit_reader.c:
1592         * brotli/dec/bit_reader.h:
1593         * brotli/dec/context.h:
1594         * brotli/dec/decode.c:
1595         * brotli/dec/decode.h: Removed.
1596         * brotli/dec/dictionary.c: Removed.
1597         * brotli/dec/dictionary.h: Removed.
1598         * brotli/dec/huffman.c:
1599         * brotli/dec/huffman.h:
1600         * brotli/dec/port.h:
1601         (BrotliDump):
1602         (BrotliRBit):
1603         * brotli/dec/prefix.h:
1604         * brotli/dec/state.c:
1605         * brotli/dec/state.h:
1606         * brotli/dec/transform.h:
1607         * brotli/dec/types.h: Removed.
1608         * brotli/include/brotli/decode.h: Added.
1609         * brotli/include/brotli/encode.h: Added.
1610         * brotli/include/brotli/port.h: Added.
1611         * brotli/include/brotli/types.h: Added.
1612         * brotli/update.sh:
1613         * woff2/CMakeLists.txt:
1614         * woff2/README.webkit:
1615         * woff2/src/buffer.h:
1616         (woff2::Buffer::Buffer):
1617         (woff2::Buffer::Read):
1618         * woff2/src/convert_woff2ttf_*.cc: Added.
1619         * woff2/src/font.cc:
1620         * woff2/src/glyph.cc:
1621         * woff2/src/normalize.cc:
1622         * woff2/src/port.h:
1623         * woff2/src/store_bytes.h:
1624         (woff2::Store16):
1625         * woff2/src/variable_length.cc:
1626         * woff2/src/woff2_common.cc:
1627         * woff2/src/woff2_dec.cc:
1628         * woff2/src/woff2_decompress.cc:
1629         * woff2/src/woff2_enc.cc:
1630         * woff2/src/woff2_info.cc: Added.
1631
1632 2017-08-08  Michael Catanzaro  <mcatanzaro@igalia.com>
1633
1634         [CMake] Properly test if compiler supports compiler flags
1635         https://bugs.webkit.org/show_bug.cgi?id=174490
1636
1637         Reviewed by Konstantin Tokarev.
1638
1639         * brotli/CMakeLists.txt:
1640         * gtest/CMakeLists.txt:
1641         * woff2/CMakeLists.txt:
1642         * xdgmime/CMakeLists.txt:
1643
1644 2017-07-17  Michael Catanzaro  <mcatanzaro@igalia.com>
1645
1646         [CMake] Macros in WebKitMacros.cmake should be prefixed with WEBKIT_ namespace
1647         https://bugs.webkit.org/show_bug.cgi?id=174547
1648
1649         Reviewed by Alex Christensen.
1650
1651         * brotli/CMakeLists.txt:
1652         * woff2/CMakeLists.txt:
1653         * xdgmime/CMakeLists.txt:
1654
1655 2017-07-13  Michael Catanzaro  <mcatanzaro@igalia.com>
1656
1657         Fix compiler warnings when building with GCC 7
1658         https://bugs.webkit.org/show_bug.cgi?id=174463
1659
1660         Reviewed by Darin Adler.
1661
1662         * brotli/CMakeLists.txt:
1663
1664 2017-05-11  Don Olmstead  <don.olmstead@am.sony.com>
1665
1666         [CMake] Add HAVE check for regex.h
1667         https://bugs.webkit.org/show_bug.cgi?id=171950
1668
1669         Reviewed by Michael Catanzaro.
1670
1671         * gtest/include/gtest/internal/gtest-port.h:
1672
1673 2017-04-19  Michael Catanzaro  <mcatanzaro@igalia.com>
1674
1675         [GTK] ../../Source/ThirdParty/xdgmime/src/xdgmimecache.c:200:62: warning: pointer of type ‘void *’ used in arithmetic [-Wpointer-arith]
1676         https://bugs.webkit.org/show_bug.cgi?id=171026
1677
1678         Reviewed by Carlos Garcia Campos.
1679
1680         * xdgmime/README.webkit:
1681         * xdgmime/src/xdgmimecache.c:
1682         (cache_magic_matchlet_compare_to_data):
1683
1684 2017-03-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1685
1686         Unreviewed. Fix the build after r214338.
1687
1688         Add missing files I forgot to git add again.
1689
1690         * xdgmime/CMakeLists.txt: Added.
1691         * xdgmime/README: Added.
1692         * xdgmime/README.webkit: Added.
1693
1694 2017-03-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1695
1696         [GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one
1697         https://bugs.webkit.org/show_bug.cgi?id=170001
1698
1699         Reviewed by Michael Catanzaro.
1700
1701         Add xdgmime to ThirdParty.
1702
1703         * xdgmime/CMakeLists.txt: Added.
1704         * xdgmime/README: Added.
1705         * xdgmime/README.webkit: Added.
1706         * xdgmime/src/xdgmime.c: Added.
1707         * xdgmime/src/xdgmime.h: Added.
1708         * xdgmime/src/xdgmimealias.c: Added.
1709         * xdgmime/src/xdgmimealias.h: Added.
1710         * xdgmime/src/xdgmimecache.c: Added.
1711         * xdgmime/src/xdgmimecache.h: Added.
1712         * xdgmime/src/xdgmimeglob.c: Added.
1713         * xdgmime/src/xdgmimeglob.h: Added.
1714         * xdgmime/src/xdgmimeicon.c: Added.
1715         * xdgmime/src/xdgmimeicon.h: Added.
1716         * xdgmime/src/xdgmimeint.c: Added.
1717         * xdgmime/src/xdgmimeint.h: Added.
1718         * xdgmime/src/xdgmimemagic.c: Added.
1719         * xdgmime/src/xdgmimemagic.h: Added.
1720         * xdgmime/src/xdgmimeparent.c: Added.
1721         * xdgmime/src/xdgmimeparent.h: Added.
1722
1723 2017-03-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1724
1725         Unreviewed. Add stubs for xdgmime sources to ThirdParty.
1726
1727         This is in preparation for bug #170001, to try to bypass the SVN hook that doesn't allow to commit source files
1728         containing tabs. I'm committing empty files, so that once those files are known by SVN I can set the
1729         allow-tabs property and then commit the actual contents.
1730
1731         * xdgmime/src/xdgmime.c: Added.
1732         * xdgmime/src/xdgmime.h: Added.
1733         * xdgmime/src/xdgmimealias.c: Added.
1734         * xdgmime/src/xdgmimealias.h: Added.
1735         * xdgmime/src/xdgmimecache.c: Added.
1736         * xdgmime/src/xdgmimecache.h: Added.
1737         * xdgmime/src/xdgmimeglob.c: Added.
1738         * xdgmime/src/xdgmimeglob.h: Added.
1739         * xdgmime/src/xdgmimeicon.c: Added.
1740         * xdgmime/src/xdgmimeicon.h: Added.
1741         * xdgmime/src/xdgmimeint.c: Added.
1742         * xdgmime/src/xdgmimeint.h: Added.
1743         * xdgmime/src/xdgmimemagic.c: Added.
1744         * xdgmime/src/xdgmimemagic.h: Added.
1745         * xdgmime/src/xdgmimeparent.c: Added.
1746         * xdgmime/src/xdgmimeparent.h: Added.
1747
1748 2017-02-09  Alex Christensen  <achristensen@webkit.org>
1749
1750         Build libwebrtc on bots without using it yet
1751         https://bugs.webkit.org/show_bug.cgi?id=168062
1752
1753         Reviewed by Brent Fulgham.
1754
1755         * Makefile:
1756
1757 2017-01-23  Timothy Hatcher  <timothy@hatcher.name>
1758
1759         gtest fails to link on Linux due to missing -lpthread
1760         https://bugs.webkit.org/show_bug.cgi?id=167313
1761
1762         * gtest/CMakeLists.txt: Remove find_package(Threads) that was added in my last commit.
1763         This is assumed to already happen in the platform cmake options file.
1764
1765 2017-01-23  Timothy Hatcher  <timothy@hatcher.name>
1766
1767         gtest fails to link on Linux due to missing -lpthread
1768         https://bugs.webkit.org/show_bug.cgi?id=167313
1769
1770         Reviewed by Alex Christensen.
1771
1772         * gtest/CMakeLists.txt: Add call to find_package(Threads) before testing CMAKE_USE_PTHREADS_INIT.
1773         Without the find_package call, CMAKE_USE_PTHREADS_INIT was always false for me. Also explicitly
1774         define GTEST_HAS_PTHREAD to 0 when CMAKE_USE_PTHREADS_INIT is false to prevent gtest-port.h from
1775         setting GTEST_HAS_PTHREAD based on the platform.
1776
1777 2017-01-20  Youenn Fablet  <youenn@apple.com>
1778
1779         [WebRTC] Add libwebrtc build infrastructure
1780         https://bugs.webkit.org/show_bug.cgi?id=167207
1781
1782         Reviewed by Alex Christensen.
1783
1784         Checking-in files used for building libwebrtc.
1785         The principle is the following:
1786         - Select a revision of libwebrtc
1787         - Ask libwebrtc build system to generate the project.json (something like gn gen --ide json ...)
1788         - Copy project.json here and the libwebrtc selected revision in a libwebrtc/libwebrtc folder.
1789         - Call Tools/Scripts/generate-libwebrtc-cmake which will update CMakeLists.txt
1790         - Build libwebrtc with CMake
1791
1792         * libwebrtc/CMakeLists.txt: Added (Generated by Tools/Scripts/generate-libwebrtc-cmake using project.json as input).
1793         * libwebrtc/Makefile: Added.
1794         * libwebrtc/WebKit/project.json: Added (Generated by libwebrtc build system).
1795         * libwebrtc/WebKit/rtc_sdk_framework_objc_info_plist.plist: Added.
1796         * libwebrtc/libwebrtc.xcodeproj/project.pbxproj: Added.
1797
1798 2016-12-10  Konstantin Tokarev  <annulen@yandex.ru>
1799
1800         [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them
1801         https://bugs.webkit.org/show_bug.cgi?id=165686
1802
1803         Reviewed by Michael Catanzaro.
1804
1805         This change reduces duplication of include path lists between modules,
1806         and reduces future need for fixes like r209605 (broken build because of
1807         WebCore header suddenly becoming used in WebKit2).
1808
1809         * gtest/CMakeLists.txt:
1810
1811 2016-12-06  Alexey Proskuryakov  <ap@apple.com>
1812
1813         Correct SDKROOT values in xcconfig files
1814         https://bugs.webkit.org/show_bug.cgi?id=165487
1815         rdar://problem/29539209
1816
1817         Reviewed by Dan Bernstein.
1818
1819         Fix suggested by Dan Bernstein.
1820
1821         * gtest/xcode/Config/DebugProject.xcconfig:
1822         * gtest/xcode/Config/ReleaseProject.xcconfig:
1823
1824 2016-09-28  Konstantin Tokarev  <annulen@yandex.ru>
1825
1826         Unreviewed, woff2 upgrade introduces compiler warnings
1827         https://bugs.webkit.org/show_bug.cgi?id=162678
1828
1829         * woff2/CMakeLists.txt:
1830
1831 2016-09-28  Michael Catanzaro  <mcatanzaro@igalia.com>
1832
1833         woff2 upgrade introduces compiler warnings
1834         https://bugs.webkit.org/show_bug.cgi?id=162678
1835
1836         Reviewed by Alex Christensen.
1837
1838         * woff2/CMakeLists.txt:
1839
1840 2016-09-28  Khaled Hosny  <khaledhosny@eglug.org>
1841
1842         Update woff2 to latest revision
1843         https://bugs.webkit.org/show_bug.cgi?id=162608
1844
1845         Reviewed by Michael Catanzaro.
1846
1847         * woff2/CMakeLists.txt:
1848         * woff2/README.webkit:
1849         * woff2/src/file.h:
1850         (woff2::GetFileContent):
1851         (woff2::SetFileContents):
1852         * woff2/src/font.cc:
1853         * woff2/src/font.h:
1854         * woff2/src/glyph.cc:
1855         * woff2/src/store_bytes.h:
1856         (woff2::Store16):
1857         * woff2/src/transform.cc:
1858         * woff2/src/woff2_common.cc:
1859         * woff2/src/woff2_compress.cc:
1860         * woff2/src/woff2_dec.cc:
1861         * woff2/src/woff2_dec.h:
1862         * woff2/src/woff2_decompress.cc:
1863         * woff2/src/woff2_enc.cc:
1864         * woff2/src/woff2_out.cc: Added.
1865         * woff2/src/woff2_out.h: Added.
1866         (woff2::WOFF2Out::~WOFF2Out):
1867         (woff2::WOFF2StringOut::MaxSize):
1868
1869 2016-09-28  Konstantin Tokarev  <annulen@yandex.ru>
1870
1871         [cmake] Suppress Clang warnings in brotli and woff2
1872         https://bugs.webkit.org/show_bug.cgi?id=162663
1873
1874         Reviewed by Michael Catanzaro.
1875
1876         * brotli/CMakeLists.txt:
1877         * woff2/CMakeLists.txt:
1878
1879 2016-09-27  Konstantin Tokarev  <annulen@yandex.ru> and Vitaliy Slobodin  <vitaliy.slobodin@gmail.com>
1880
1881         Fixed compilation of WOFF2 on Windows
1882         https://bugs.webkit.org/show_bug.cgi?id=162570
1883
1884         Reviewed by Alex Christensen.
1885
1886         * woff2/CMakeLists.txt: Avoid passing GCC-specific flags to other
1887         compilers.
1888         * woff2/src/port.h: Include assert.h.
1889
1890 2016-06-19  Frederic Wang  <fred.wang@free.fr>
1891
1892         Update Brotli to version 0.4.0
1893         https://bugs.webkit.org/show_bug.cgi?id=158907
1894
1895         Reviewed by Michael Catanzaro.
1896
1897         * brotli/README.webkit:
1898         * brotli/dec/bit_reader.h:
1899         * brotli/dec/decode.c:
1900         * brotli/dec/decode.h:
1901         * brotli/dec/huffman.c:
1902         * brotli/dec/huffman.h:
1903         * brotli/dec/port.h:
1904         (BrotliDump):
1905         * brotli/dec/state.c:
1906         * brotli/dec/state.h:
1907
1908 2016-05-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1909
1910         woff2_dec.cc triggers -Wsign-compare, -Wunused-but-set-variable
1911         https://bugs.webkit.org/show_bug.cgi?id=157732
1912
1913         Reviewed by Darin Adler.
1914
1915         * woff2/CMakeLists.txt:
1916
1917 2016-05-22  Brady Eidson  <beidson@apple.com>
1918
1919         Move to C++14.
1920         https://bugs.webkit.org/show_bug.cgi?id=157948
1921
1922         Reviewed by Michael Catanzaro.
1923
1924         * gtest/xcode/Config/General.xcconfig:
1925
1926 2016-03-17  Csaba Osztrogonác  <ossy@webkit.org>
1927
1928         Unreviewed, line ending fixes.
1929
1930         * gtest/codegear/gtest_all.cc:
1931         * gtest/codegear/gtest_link.cc:
1932
1933 2016-03-10  Frederic Wang  <fwang@igalia.com>
1934
1935         [GTK] Add support for WOFF2
1936         https://bugs.webkit.org/show_bug.cgi?id=152616
1937
1938         Reviewed by Carlos Garcia Campos.
1939
1940         We import the source of the third-party brotli and woff2 libraries because release packages do not exist yet.
1941         The script to update source from upstream as well as the makefile to compile relevant files are based on similar code from Mozilla.
1942
1943         * brotli/CMakeLists.txt: Added. We force BROTLI_BUILD_PORTABLE by default, see https://github.com/google/brotli/issues/307.
1944         * brotli/LICENSE: Added.
1945         * brotli/README.webkit: Added.
1946         * brotli/dec/Makefile: Added.
1947         * brotli/dec/bit_reader.c: Added.
1948         * brotli/dec/bit_reader.h: Added.
1949         * brotli/dec/context.h: Added.
1950         * brotli/dec/decode.c: Added.
1951         * brotli/dec/decode.h: Added.
1952         * brotli/dec/dictionary.c: Added.
1953         * brotli/dec/dictionary.h: Added.
1954         * brotli/dec/huffman.c: Added.
1955         * brotli/dec/huffman.h: Added.
1956         * brotli/dec/port.h: Added.
1957         (BrotliRBit):
1958         * brotli/dec/prefix.h: Added.
1959         * brotli/dec/state.c: Added.
1960         * brotli/dec/state.h: Added.
1961         * brotli/dec/transform.h: Added.
1962         * brotli/dec/types.h: Added.
1963         * brotli/update.sh: Added. This script helps to get the latest version of the decoder source code.
1964         * woff2/CMakeLists.txt: Added. We only compile the decoder files.
1965         * woff2/LICENSE: Added.
1966         * woff2/README.webkit: Added.
1967         * woff2/src/buffer.h: Added.
1968         (woff2::Failure):
1969         (woff2::Buffer::Buffer):
1970         (woff2::Buffer::Skip):
1971         (woff2::Buffer::Read):
1972         (woff2::Buffer::ReadU8):
1973         (woff2::Buffer::ReadU16):
1974         (woff2::Buffer::ReadS16):
1975         (woff2::Buffer::ReadU24):
1976         (woff2::Buffer::ReadU32):
1977         (woff2::Buffer::ReadS32):
1978         (woff2::Buffer::ReadTag):
1979         (woff2::Buffer::ReadR64):
1980         (woff2::Buffer::buffer):
1981         (woff2::Buffer::offset):
1982         (woff2::Buffer::length):
1983         (woff2::Buffer::set_offset):
1984         * woff2/src/file.h: Added.
1985         (woff2::GetFileContent):
1986         (woff2::SetFileContents):
1987         * woff2/src/font.cc: Added.
1988         * woff2/src/font.h: Added.
1989         * woff2/src/glyph.cc: Added.
1990         * woff2/src/glyph.h: Added.
1991         (woff2::Glyph::Glyph):
1992         * woff2/src/normalize.cc: Added.
1993         * woff2/src/normalize.h: Added.
1994         * woff2/src/port.h: Added.
1995         (woff2::Log2Floor):
1996         * woff2/src/round.h: Added.
1997         (woff2::Round4):
1998         * woff2/src/store_bytes.h: Added.
1999         (woff2::StoreU32):
2000         (woff2::Store16):
2001         (woff2::StoreBytes):
2002         * woff2/src/table_tags.cc: Added.
2003         * woff2/src/table_tags.h: Added.
2004         * woff2/src/transform.cc: Added.
2005         * woff2/src/transform.h: Added.
2006         * woff2/src/variable_length.cc: Added.
2007         * woff2/src/variable_length.h: Added.
2008         * woff2/src/woff2_common.cc: Added.
2009         * woff2/src/woff2_common.h: Added.
2010         (woff2::Table::operator<):
2011         * woff2/src/woff2_compress.cc: Added.
2012         * woff2/src/woff2_dec.cc: Added.
2013         * woff2/src/woff2_dec.h: Added.
2014         * woff2/src/woff2_decompress.cc: Added.
2015         * woff2/src/woff2_enc.cc: Added.
2016         * woff2/src/woff2_enc.h: Added.
2017         (woff2::WOFF2Params::WOFF2Params):
2018         * woff2/update.sh: Added. This script helps to get the latest upstream version.
2019
2020 2016-01-09  Dan Bernstein  <mitz@apple.com>
2021
2022         [Cocoa] Allow overriding the frameworks directory independently of using a staging install path
2023         https://bugs.webkit.org/show_bug.cgi?id=152926
2024
2025         Reviewed by Tim Horton.
2026
2027         Introduce a new build setting, WK_OVERRIDE_FRAMEWORKS_DIR. When not empty, it determines
2028         where the frameworks are installed. Setting USE_STAGING_INSTALL_PATH to YES sets
2029         WK_OVERRIDE_FRAMEWORKS_DIR to $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari.
2030
2031         Account for the possibility of WK_OVERRIDE_FRAMEWORKS_DIR containing spaces.
2032
2033         * gtest/xcode/Config/General.xcconfig:
2034           Add quotes to account for spaces.
2035         * gtest/xcode/Config/ProductionProject.xcconfig:
2036         - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with
2037           WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces.
2038         - Define WEBCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR.
2039
2040 2016-01-04  Alexey Proskuryakov  <ap@apple.com>
2041
2042         gtest should use the same SDK as other projects
2043         https://bugs.webkit.org/show_bug.cgi?id=152718
2044         rdar://problem/23566856
2045
2046         Reviewed by Alex Christensen.
2047
2048         gtest configuration attempted to use USE_INTERNAL_SDK without ever defining it.
2049
2050         * gtest/xcode/Config/DebugProject.xcconfig:
2051         * gtest/xcode/Config/General.xcconfig:
2052         * gtest/xcode/Config/ReleaseProject.xcconfig:
2053
2054 2016-01-02  Ting-Wei Lan  <lantw44@gmail.com>
2055
2056         Remove usage of environ in gtest
2057         https://bugs.webkit.org/show_bug.cgi?id=138420
2058
2059         Reviewed by Michael Catanzaro.
2060
2061         FreeBSD libc.so.7 does not contain an environ symbol, which causes
2062         undefined reference problem when using -Wl,--no-undefined. As gtest
2063         only uses environ as an argument to call execve, we can simply remove
2064         its usage by replacing execve with execv.
2065
2066         * gtest/src/gtest-death-test.cc:
2067
2068 2015-12-01  Dana Burkart  <dburkart@apple.com>
2069
2070         Remove Mountain Lion support from gtest
2071         https://bugs.webkit.org/show_bug.cgi?id=151705
2072
2073         Reviewed by Darin Adler.
2074
2075         * gtest/xcode/Config/General.xcconfig:
2076
2077 2015-11-02  Andy Estes  <aestes@apple.com>
2078
2079         [Cocoa] Add tvOS and watchOS to SUPPORTED_PLATFORMS
2080         https://bugs.webkit.org/show_bug.cgi?id=150819
2081
2082         Reviewed by Dan Bernstein.
2083
2084         This tells Xcode to include these platforms in its Devices dropdown, making it possible to build in the IDE.
2085
2086         * gtest/xcode/Config/General.xcconfig:
2087
2088 2015-08-20  Alex Christensen  <achristensen@webkit.org>
2089
2090         Clean up CMake build after r188673
2091         https://bugs.webkit.org/show_bug.cgi?id=148234
2092
2093         Reviewed by Tim Horton.
2094
2095         * gtest/CMakeLists.txt:
2096         gtest needs to be a static library on Windows to not crash.
2097
2098 2015-08-11  Brent Fulgham  <bfulgham@apple.com>
2099
2100         [Win] Switch Windows build to Visual Studio 2015
2101         https://bugs.webkit.org/show_bug.cgi?id=147887
2102         <rdar://problem/22235098>
2103
2104         Reviewed by Alex Christensen.
2105
2106         Update Visual Studio project file settings to use the current Visual
2107         Studio and compiler. Continue targeting binaries to run on our minimum
2108         supported configuration of Windows 7.
2109
2110         * gtest/msvc/gtest-md.vcxproj:
2111
2112 2015-08-10  Alex Christensen  <achristensen@webkit.org>
2113
2114         [Win] Unreviewed build fix after r188239.
2115
2116         * gtest/CMakeLists.txt:
2117         VS2015 requires __STDC_LIMIT_MACROS to be defined for INTMAX_MAX to be defined.
2118
2119 2015-08-10  Alex Christensen  <achristensen@webkit.org>
2120
2121         Build TestWebKitAPI with CMake on Windows
2122         https://bugs.webkit.org/show_bug.cgi?id=147851
2123
2124         Reviewed by Chris Dumez.
2125
2126         * gtest/CMakeLists.txt:
2127         Include DerivedSources to find WTF/WTFHeaderDetection.h.
2128
2129 2015-05-26  Dan Bernstein  <mitz@apple.com>
2130
2131         <rdar://problem/21104551> Update build settings
2132
2133         Reviewed by Anders Carlsson.
2134
2135         * gtest/xcode/Config/General.xcconfig:
2136
2137 2015-05-11  Brent Fulgham  <bfulgham@apple.com>
2138
2139         [Win] Move Windows build target to Windows 7 (or newer)
2140         https://bugs.webkit.org/show_bug.cgi?id=144890
2141         <rdar://problem/20707307>
2142
2143         Reviewed by Anders Carlsson.
2144
2145         Update linked SDK and minimal Windows level to be compatible with
2146         Windows 7 or newer.
2147
2148         * gtest/msvc/gtest-md.vcxproj:
2149
2150 2015-05-07  Dan Bernstein  <mitz@apple.com>
2151
2152         <rdar://problem/19317140> [Xcode] Remove usage of AspenFamily.xcconfig in Source/
2153         https://bugs.webkit.org/show_bug.cgi?id=144727
2154
2155         Reviewed by Darin Adler.
2156
2157         * gtest/xcode/Config/General.xcconfig: Don’t include AspenFamily.xcconfig.
2158
2159 2015-04-01  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2160
2161         [CMake] Make gtest/CMakeLists.txt more readable
2162         https://bugs.webkit.org/show_bug.cgi?id=143295
2163
2164         Reviewed by Csaba Osztrogonác.
2165
2166         gtest/CMakeLists.txt has used add_library() and include_directory() directly.
2167         This patch adds GTEST_INCLUDE_DIRECTORIES and GTEST_SOURCES, and use it.
2168
2169         * gtest/CMakeLists.txt:
2170
2171 2015-03-29  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2172
2173         [CMake] Update old CMakeList.txt in gtest
2174         https://bugs.webkit.org/show_bug.cgi?id=143192
2175
2176         Reviewed by Darin Adler.
2177
2178         CMake ports have used cmake/gtest/CMakeLists.txt instead of ThirdParty/test/CMakeLists.txt
2179         in order to build gtest. However it looks ThirdParty/test/CMakeLists.txt won't be used anymore.
2180         So this patch moves cmake/gtest/CMakeLists.txt to ThirdPart/test/CMakeLists.txt, and use it.
2181
2182         * gtest/CMakeLists.txt:
2183
2184 2014-12-26  Dan Bernstein  <mitz@apple.com>
2185
2186         <rdar://problem/19348208> REGRESSION (r177027): iOS builds use the wrong toolchain
2187         https://bugs.webkit.org/show_bug.cgi?id=139950
2188
2189         Reviewed by David Kilzer.
2190
2191         * gtest/xcode/Config/General.xcconfig: Only define TOOLCHAINS when building for OS X, doing so
2192         in a manner that works with Xcode 5.1.1.
2193
2194 2014-12-09  David Kilzer  <ddkilzer@apple.com>
2195
2196         Switch from using PLATFORM_NAME to SDK selectors in ANGLE, bmalloc, gtest, JavaScriptCore, WTF
2197         <http://webkit.org/b/139212>
2198
2199         Reviewed by Joseph Pecoraro.
2200
2201         * gtest/xcode/Config/General.xcconfig:
2202         - Only set SDKROOT and TOOLCHAINS on OS X.
2203
2204 2014-10-30  Dana Burkart  <dburkart@apple.com>
2205
2206         <rdar://problem/18821260> Prepare for the mysterious future
2207
2208         Reviewed by Lucas Forschler.
2209
2210         * gtest/xcode/Config/General.xcconfig:
2211
2212 2014-09-18  Brent Fulgham  <bfulgham@apple.com>
2213
2214         [Win] Unreviewed build fix.
2215
2216         * gtest/msvc/gtest-md.vcxproj: Make sure we use static linking for gtest on
2217         normal debug build to match the rest of WebKit.
2218
2219 2014-09-09  Benjamin Poulain  <bpoulain@apple.com>
2220
2221         Disable the "unreachable-code" warning
2222         https://bugs.webkit.org/show_bug.cgi?id=136677
2223
2224         Reviewed by Darin Adler.
2225
2226         * gtest/xcode/Config/General.xcconfig:
2227
2228 2014-09-06  Darin Adler  <darin@apple.com>
2229
2230         Make updates suggested by new version of Xcode
2231         https://bugs.webkit.org/show_bug.cgi?id=136603
2232
2233         Reviewed by Mark Rowe.
2234
2235         * gtest/xcode/Config/General.xcconfig: Moved CLANG_WARN_BOOL_CONVERSION,
2236         CLANG_WARN_ENUM_CONVERSION, CLANG_WARN_INT_CONVERSION, and COMBINE_HIDPI_IMAGES
2237         here from project file.  Added CLANG_WARN_UNREACHABLE_CODE, ENABLE_STRICT_OBJC_MSGSEND,
2238         and GCC_WARN_64_TO_32_BIT_CONVERSION as suggested by Xcode upgrade check.
2239
2240         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Updated LastUpgradeCheck and removed
2241         things that are redundant with the xcconfig file above.
2242
2243 2014-08-22  Renato Nagy  <nagy.renato@stud.u-szeged.hu>
2244
2245         Remove LevelDB.
2246         https://bugs.webkit.org/show_bug.cgi?id=136170
2247
2248         Reviewed by Gyuyoung Kim.
2249
2250         * leveldb/AUTHORS: Removed.
2251         * leveldb/LICENSE: Removed.
2252         * leveldb/Makefile: Removed.
2253         * leveldb/NEWS: Removed.
2254         * leveldb/README: Removed.
2255         * leveldb/TODO: Removed.
2256         * leveldb/build_detect_platform: Removed.
2257         * leveldb/db/builder.cc: Removed.
2258         * leveldb/db/builder.h: Removed.
2259         * leveldb/db/c.cc: Removed.
2260         * leveldb/db/c_test.c: Removed.
2261         * leveldb/db/corruption_test.cc: Removed.
2262         * leveldb/db/db_bench.cc: Removed.
2263         * leveldb/db/db_impl.cc: Removed.
2264         * leveldb/db/db_impl.h: Removed.
2265         * leveldb/db/db_iter.cc: Removed.
2266         * leveldb/db/db_iter.h: Removed.
2267         * leveldb/db/db_test.cc: Removed.
2268         * leveldb/db/dbformat.cc: Removed.
2269         * leveldb/db/dbformat.h: Removed.
2270         * leveldb/db/dbformat_test.cc: Removed.
2271         * leveldb/db/filename.cc: Removed.
2272         * leveldb/db/filename.h: Removed.
2273         * leveldb/db/filename_test.cc: Removed.
2274         * leveldb/db/leveldb_main.cc: Removed.
2275         * leveldb/db/log_format.h: Removed.
2276         * leveldb/db/log_reader.cc: Removed.
2277         * leveldb/db/log_reader.h: Removed.
2278         * leveldb/db/log_test.cc: Removed.
2279         * leveldb/db/log_writer.cc: Removed.
2280         * leveldb/db/log_writer.h: Removed.
2281         * leveldb/db/memtable.cc: Removed.
2282         * leveldb/db/memtable.h: Removed.
2283         * leveldb/db/repair.cc: Removed.
2284         * leveldb/db/skiplist.h: Removed.
2285         * leveldb/db/skiplist_test.cc: Removed.
2286         * leveldb/db/snapshot.h: Removed.
2287         * leveldb/db/table_cache.cc: Removed.
2288         * leveldb/db/table_cache.h: Removed.
2289         * leveldb/db/version_edit.cc: Removed.
2290         * leveldb/db/version_edit.h: Removed.
2291         * leveldb/db/version_edit_test.cc: Removed.
2292         * leveldb/db/version_set.cc: Removed.
2293         * leveldb/db/version_set.h: Removed.
2294         * leveldb/db/version_set_test.cc: Removed.
2295         * leveldb/db/write_batch.cc: Removed.
2296         * leveldb/db/write_batch_internal.h: Removed.
2297         * leveldb/db/write_batch_test.cc: Removed.
2298         * leveldb/doc/bench/db_bench_sqlite3.cc: Removed.
2299         * leveldb/doc/bench/db_bench_tree_db.cc: Removed.
2300         * leveldb/doc/benchmark.html: Removed.
2301         * leveldb/doc/doc.css: Removed.
2302         * leveldb/doc/impl.html: Removed.
2303         * leveldb/doc/index.html: Removed.
2304         * leveldb/doc/log_format.txt: Removed.
2305         * leveldb/doc/table_format.txt: Removed.
2306         * leveldb/helpers/memenv/memenv.cc: Removed.
2307         * leveldb/helpers/memenv/memenv.h: Removed.
2308         * leveldb/helpers/memenv/memenv_test.cc: Removed.
2309         * leveldb/include/leveldb/c.h: Removed.
2310         * leveldb/include/leveldb/cache.h: Removed.
2311         * leveldb/include/leveldb/comparator.h: Removed.
2312         * leveldb/include/leveldb/db.h: Removed.
2313         * leveldb/include/leveldb/env.h: Removed.
2314         * leveldb/include/leveldb/filter_policy.h: Removed.
2315         * leveldb/include/leveldb/iterator.h: Removed.
2316         * leveldb/include/leveldb/options.h: Removed.
2317         * leveldb/include/leveldb/slice.h: Removed.
2318         * leveldb/include/leveldb/status.h: Removed.
2319         * leveldb/include/leveldb/table.h: Removed.
2320         * leveldb/include/leveldb/table_builder.h: Removed.
2321         * leveldb/include/leveldb/write_batch.h: Removed.
2322         * leveldb/port/README: Removed.
2323         * leveldb/port/atomic_pointer.h: Removed.
2324         * leveldb/port/port.h: Removed.
2325         * leveldb/port/port_example.h: Removed.
2326         * leveldb/port/port_posix.cc: Removed.
2327         * leveldb/port/port_posix.h: Removed.
2328         * leveldb/port/thread_annotations.h: Removed.
2329         * leveldb/port/win/stdint.h: Removed.
2330         * leveldb/table/block.cc: Removed.
2331         * leveldb/table/block.h: Removed.
2332         * leveldb/table/block_builder.cc: Removed.
2333         * leveldb/table/block_builder.h: Removed.
2334         * leveldb/table/filter_block.cc: Removed.
2335         * leveldb/table/filter_block.h: Removed.
2336         * leveldb/table/filter_block_test.cc: Removed.
2337         * leveldb/table/format.cc: Removed.
2338         * leveldb/table/format.h: Removed.
2339         * leveldb/table/iterator.cc: Removed.
2340         * leveldb/table/iterator_wrapper.h: Removed.
2341         * leveldb/table/merger.cc: Removed.
2342         * leveldb/table/merger.h: Removed.
2343         * leveldb/table/table.cc: Removed.
2344         * leveldb/table/table_builder.cc: Removed.
2345         * leveldb/table/table_test.cc: Removed.
2346         * leveldb/table/two_level_iterator.cc: Removed.
2347         * leveldb/table/two_level_iterator.h: Removed.
2348         * leveldb/util/arena.cc: Removed.
2349         * leveldb/util/arena.h: Removed.
2350         * leveldb/util/arena_test.cc: Removed.
2351         * leveldb/util/bloom.cc: Removed.
2352         * leveldb/util/bloom_test.cc: Removed.
2353         * leveldb/util/cache.cc: Removed.
2354         * leveldb/util/cache_test.cc: Removed.
2355         * leveldb/util/coding.cc: Removed.
2356         * leveldb/util/coding.h: Removed.
2357         * leveldb/util/coding_test.cc: Removed.
2358         * leveldb/util/comparator.cc: Removed.
2359         * leveldb/util/crc32c.cc: Removed.
2360         * leveldb/util/crc32c.h: Removed.
2361         * leveldb/util/crc32c_test.cc: Removed.
2362         * leveldb/util/env.cc: Removed.
2363         * leveldb/util/env_posix.cc: Removed.
2364         * leveldb/util/env_test.cc: Removed.
2365         * leveldb/util/filter_policy.cc: Removed.
2366         * leveldb/util/hash.cc: Removed.
2367         * leveldb/util/hash.h: Removed.
2368         * leveldb/util/histogram.cc: Removed.
2369         * leveldb/util/histogram.h: Removed.
2370         * leveldb/util/logging.cc: Removed.
2371         * leveldb/util/logging.h: Removed.
2372         * leveldb/util/mutexlock.h: Removed.
2373         * leveldb/util/options.cc: Removed.
2374         * leveldb/util/posix_logger.h: Removed.
2375         * leveldb/util/random.h: Removed.
2376         * leveldb/util/status.cc: Removed.
2377         * leveldb/util/testharness.cc: Removed.
2378         * leveldb/util/testharness.h: Removed.
2379         * leveldb/util/testutil.cc: Removed.
2380         * leveldb/util/testutil.h: Removed.
2381
2382 2014-08-11  Andy Estes  <aestes@apple.com>
2383
2384         [iOS] Get rid of iOS.xcconfig
2385         https://bugs.webkit.org/show_bug.cgi?id=135809
2386
2387         Reviewed by Joseph Pecoraro.
2388
2389         All iOS.xcconfig did was include AspenFamily.xcconfig, so there's no need for the indirection.
2390
2391         * gtest/xcode/Config/General.xcconfig:
2392         * gtest/xcode/Config/iOS.xcconfig: Removed.
2393         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
2394
2395 2014-03-25  Martin Robinson  <mrobinson@igalia.com>
2396
2397         [GTK] Remove the autotools build
2398         https://bugs.webkit.org/show_bug.cgi?id=130717
2399
2400         Reviewed by Anders Carlsson.
2401
2402         * gtest/GNUmakefile.am: Removed.
2403         * leveldb/GNUmakefile.am: Removed.
2404
2405 2014-03-25  Gabor Rapcsanyi  <rgabor@webkit.org>
2406
2407         [EFL] Add ARM64 build support
2408         https://bugs.webkit.org/show_bug.cgi?id=130506
2409
2410         Rubber stamped by Gyuyoung Kim.
2411
2412         * leveldb/port/atomic_pointer.h: Set ARCH_CPU_ARM_FAMILY when __aarch64__ is defined.
2413
2414 2014-03-14  Landry Breuil  <landry@openbsd.org>
2415
2416         Fix leveldb build on OpenBSD/NetBSD by using the FreeBSD codepaths.
2417         https://bugs.webkit.org/show_bug.cgi?id=129966
2418
2419         Reviewed by Andreas Kling.
2420
2421         * leveldb/GNUmakefile.am:
2422         * leveldb/port/port_posix.h:
2423
2424 2014-01-12  Andy Estes  <aestes@apple.com>
2425
2426         Fix the Mac build after r161777.
2427
2428         * gtest/xcode/Config/General.xcconfig: AspenFamily.xcconfig excludes
2429         macosx from SUPPORTED_PLATFORMS, so add it back in ourselves.
2430
2431 2014-01-11  David Kilzer  <ddkilzer@apple.com>
2432
2433         [iOS] Upstream gtest
2434         <http://webkit.org/b/126811>
2435
2436         Reviewed by Mark Rowe.
2437
2438         * gtest/xcode/Config/General.xcconfig: Include iOS.xcconfig.
2439         * gtest/xcode/Config/iOS.xcconfig: Added.
2440         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Add iOS.xcconfig.
2441         Sort.
2442
2443 2013-12-13  Brent Fulgham  <bfulgham@apple.com>
2444
2445         [Win] Switch WebKit solution to Visual Studio 2013
2446         https://bugs.webkit.org/show_bug.cgi?id=125192
2447
2448         Reviewed by Anders Carlsson.
2449
2450         * gtest/msvc/gtest-md.vcxproj: Update for VS2013
2451
2452 2013-11-15  Roger Fong  <roger_fong@apple.com>
2453
2454         Unreviewed, gtest project file cleanup.
2455
2456         * gtest/msvc/gtest-md.vcxproj:
2457
2458 2013-10-24  Mark Rowe  <mrowe@apple.com>
2459
2460         Remove references to OS X 10.7 from Xcode configuration settings.
2461
2462         Now that we're not building for OS X 10.7 they're no longer needed.
2463
2464         Reviewed by Anders Carlsson.
2465
2466         * gtest/xcode/Config/General.xcconfig:
2467
2468 2013-10-24  Mark Rowe  <mrowe@apple.com>
2469
2470         <rdar://problem/15312643> Prepare for the mysterious future.
2471
2472         Reviewed by David Kilzer.
2473
2474         * gtest/xcode/Config/General.xcconfig:
2475
2476 2013-10-10  Mark Rowe  <mrowe@apple.com>
2477
2478         <rdar://problem/13341666> WebKit should always build against an SDK.
2479
2480         Have all projects default to building against the OS X Internal SDK for the Production
2481         configuration. For the Debug and Release configurations, look for UseInternalSDK.xcconfig
2482         to determine whether the OS X Internal SDK should be used. If not, use the normal OS X SDK.
2483
2484         Reviewed by Dan Bernstein.
2485
2486         * gtest/xcode/Config/General.xcconfig:
2487         * gtest/xcode/Config/ProductionProject.xcconfig:
2488
2489 2013-10-06  Dan Bernstein  <mitz@apple.com>
2490
2491         Build against the Xcode default toolchain when targeting OS X 10.8.
2492
2493         This fixes the build after r156632 in configurations that use another toolchain
2494         by default.
2495
2496         * gtest/xcode/Config/General.xcconfig:
2497
2498 2013-10-06  Darin Adler  <darin@apple.com>
2499
2500         Remove unneeded ScriptGCEvent class
2501         https://bugs.webkit.org/show_bug.cgi?id=122390
2502
2503         Reviewed by Anders Carlsson.
2504
2505         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Let Xcode update this file.
2506         Not really part of this bug fix, but good to land anyway.
2507
2508 2013-09-29  Darin Adler  <darin@apple.com>
2509
2510         Take some Xcode advice about turning on additional warnings in ANGLE and gtest
2511         https://bugs.webkit.org/show_bug.cgi?id=122087
2512
2513         Reviewed by Mark Rowe.
2514
2515         * gtest/xcode/Config/General.xcconfig: Added some warnings that Xcode 5 suggested.
2516
2517 2013-09-06  Alberto Garcia  <berto@igalia.com>
2518
2519         GTest: add support for FreeBSD and Hurd
2520         https://bugs.webkit.org/show_bug.cgi?id=120870
2521
2522         Patch by Emilio Pozuelo Monfort <pochu@debian.org>
2523         Reviewed by Gustavo Noronha Silva.
2524
2525         * gtest/include/gtest/internal/gtest-port.h:
2526
2527 2013-09-05  Anders Carlsson  <andersca@apple.com>
2528
2529         Enable C++11 wherever we build C++ files that include wtf/Platform.h
2530         https://bugs.webkit.org/show_bug.cgi?id=120782
2531
2532         Reviewed by Andreas Kling.
2533
2534         Set CLANG_CXX_LANGUAGE_STANDARD to gnu++0x.
2535
2536         * gtest/xcode/Config/General.xcconfig:
2537
2538 2013-08-20  Alex Christensen  <achristensen@apple.com>
2539
2540         Use PlatformArchitecture to distinguish between 32-bit and 64-bit builds on Windows.
2541         https://bugs.webkit.org/show_bug.cgi?id=119512
2542
2543         Reviewed by Brent Fulgham.
2544
2545         * gtest/msvc/gtest-md.vcxproj:
2546         Replaced obj32, bin32, and lib32 with macros for 64-bit build.
2547
2548 2013-07-23  David Farler  <dfarler@apple.com>
2549
2550         Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
2551         https://bugs.webkit.org/show_bug.cgi?id=117762
2552
2553         Reviewed by Mark Rowe.
2554
2555         * gtest/xcode/Config/General.xcconfig:
2556         Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
2557         * gtest/xcode/Config/StaticLibraryTarget.xcconfig:
2558         Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS.
2559
2560 2013-07-27  Mark Rowe  <mrowe@apple.com>
2561
2562         Fix builds against an SDK.
2563
2564         * gtest/xcode/Config/FrameworkTarget.xcconfig: Ensure that gtest.framework is installed
2565         in a location compatible with the SDK generation process.
2566
2567 2013-07-19  Alex Christensen  <achristensen@apple.com>
2568
2569         Added x64 configuration to Visual Studio build.
2570         https://bugs.webkit.org/show_bug.cgi?id=118888
2571
2572         Reviewed by Brent Fulgham.
2573
2574         * gtest/msvc/gtest-md.vcxproj:
2575
2576 2013-07-18  Roger Fong  <roger_fong@apple.com>
2577
2578         Make sure to link against _debug binaries when appropriate.
2579         <rdar://problem/14473010>.
2580
2581         * gtest/msvc/gtest-md.vcxproj:
2582
2583 2013-06-17  Darin Adler  <darin@apple.com>
2584
2585         Sort all the Xcode project files
2586         https://bugs.webkit.org/show_bug.cgi?id=117696
2587
2588         Reviewed by Anders Carlsson.
2589
2590         * gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj: Ran the sort-Xcode-project-file script.
2591         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Ran the sort-Xcode-project-file script.
2592
2593 2013-06-18  Roger Fong  <roger_fong@apple.com>
2594
2595         Replace tools32 folder with tools and update WebKit Windows solution accordingly.
2596         <rdar://problem/14118143>.
2597
2598         Rubberstamped by Brent Fulgham.
2599
2600         * gtest/msvc/gtest-md.vcxproj:
2601
2602 2013-06-03  Roger Fong  <roger_fong@apple.com>
2603
2604         Nuke VS2005 files from the tree.
2605         <rdar://problem/14042021>.
2606
2607         Rubberstamped by Brent Fulgham.
2608
2609         * gtest/msvc/gtest-md.sln: Removed.
2610         * gtest/msvc/gtest-md.vcproj: Removed.
2611         * gtest/msvc/gtest.sln: Removed.
2612         * gtest/msvc/gtest.vcproj: Removed.
2613         * gtest/msvc/gtest_main-md.vcproj: Removed.
2614         * gtest/msvc/gtest_main.vcproj: Removed.
2615         * gtest/msvc/gtest_prod_test-md.vcproj: Removed.
2616         * gtest/msvc/gtest_prod_test.vcproj: Removed.
2617         * gtest/msvc/gtest_unittest-md.vcproj: Removed.
2618         * gtest/msvc/gtest_unittest.vcproj: Removed.
2619
2620 2013-04-26  Roger Fong  <roger_fong@apple.com>
2621
2622         Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.
2623         Make the DebugSuffix configuration use _debug dependencies.
2624
2625         * gtest/msvc/gtest-md.vcxproj:
2626
2627 2013-04-09  Benjamin Poulain  <bpoulain@apple.com>
2628
2629         Remove the WebKit copy of GLU and the file using it
2630         https://bugs.webkit.org/show_bug.cgi?id=114249
2631
2632         Reviewed by Darin Adler.
2633
2634         * glu/.gitignore: Removed.
2635         * glu/LICENSE.txt: Removed.
2636         * glu/README.webkit: Removed.
2637         * glu/glu.gyp: Removed.
2638         * glu/gluos.h: Removed.
2639         * glu/internal_glu.h: Removed.
2640         * glu/libtess/GNUmakefile: Removed.
2641         * glu/libtess/Imakefile: Removed.
2642         * glu/libtess/README: Removed.
2643         * glu/libtess/alg-outline: Removed.
2644         * glu/libtess/dict-list.h: Removed.
2645         * glu/libtess/dict.c: Removed.
2646         * glu/libtess/dict.h: Removed.
2647         * glu/libtess/geom.c: Removed.
2648         * glu/libtess/geom.h: Removed.
2649         * glu/libtess/memalloc.c: Removed.
2650         * glu/libtess/memalloc.h: Removed.
2651         * glu/libtess/mesh.c: Removed.
2652         * glu/libtess/mesh.h: Removed.
2653         * glu/libtess/normal.c: Removed.
2654         * glu/libtess/normal.h: Removed.
2655         * glu/libtess/priorityq-heap.c: Removed.
2656         * glu/libtess/priorityq-heap.h: Removed.
2657         * glu/libtess/priorityq-sort.h: Removed.
2658         * glu/libtess/priorityq.c: Removed.
2659         * glu/libtess/priorityq.h: Removed.
2660         * glu/libtess/render.c: Removed.
2661         * glu/libtess/render.h: Removed.
2662         * glu/libtess/sweep.c: Removed.
2663         * glu/libtess/sweep.h: Removed.
2664         * glu/libtess/tess.c: Removed.
2665         * glu/libtess/tess.h: Removed.
2666         * glu/libtess/tessmono.c: Removed.
2667         * glu/libtess/tessmono.h: Removed.
2668
2669 2013-04-08  Benjamin Poulain  <benjamin@webkit.org>
2670
2671         Remove gyp from ThirdParty
2672         https://bugs.webkit.org/show_bug.cgi?id=114244
2673
2674         Rubberstamped by Ryosuke Niwa.
2675
2676         * gyp: Removed.
2677
2678 2013-04-05  Geoffrey Garen  <ggaren@apple.com>
2679
2680         Made USE(JSC) unconditional
2681         https://bugs.webkit.org/show_bug.cgi?id=114058
2682
2683         Reviewed by Anders Carlsson.
2684
2685         * gtest/include/gtest/internal/gtest-port.h:
2686
2687 2013-03-29  Martin Robinson  <mrobinson@igalia.com>
2688
2689         Update the version of gyp in the repository
2690         https://bugs.webkit.org/show_bug.cgi?id=113540
2691
2692         Reviewed by Nico Weber.
2693
2694         * gyp: Update gyp to r1605.
2695
2696 2013-03-21  Zan Dobersek  <zdobersek@igalia.com>
2697
2698         [GTK] Move libLevelDB.la setup into a separate GNUmakefile.am
2699         https://bugs.webkit.org/show_bug.cgi?id=112947
2700
2701         Reviewed by Martin Robinson.
2702
2703         * leveldb/GNUmakefile.am: Added, sets up the libLevelDB.la library.
2704
2705 2013-03-20  Brent Fulgham  <bfulgham@webkit.org>
2706
2707         [WinCairo] Build WinCairo port under VS2010.
2708         https://bugs.webkit.org/show_bug.cgi?id=112861
2709
2710         Reviewed by Tim Horton.
2711
2712         * gtest/msvc/gtest-md.vcxproj: Add WinCairo targets.
2713
2714 2013-03-07  Andrew Bortz  <andrew@abortz.net>
2715
2716         Replace Mersenne Twister RNG with a simple but fast RNG
2717         https://bugs.webkit.org/show_bug.cgi?id=111533
2718
2719         Reviewed by Adam Barth.
2720
2721         This code is no longer used.
2722
2723         * mt19937ar.c: Removed.
2724
2725 2013-02-20  Roger Fong  <roger_fong@apple.com>
2726
2727        Get VS2010 Solution B&I ready.
2728         <rdar://problem/1322988>
2729
2730         Rubberstamped by Timothy Horton.
2731         
2732         Add Production configuration. 
2733
2734         * gtest/msvc/gtest-md.vcxproj:
2735
2736 2013-02-14  Tony Chang  <tony@chromium.org>
2737
2738         Unreviewed, set svn:eol-style native for .sln, .vcproj, and .vsprops files.
2739         https://bugs.webkit.org/show_bug.cgi?id=96934
2740
2741         * gtest/msvc/gtest-md.sln: Modified property svn:eol-style.
2742         * gtest/msvc/gtest.sln: Modified property svn:eol-style.
2743
2744 2013-02-14  Tony Chang  <tony@chromium.org>
2745
2746         Unreviewed, set svn:eol-style CRLF for .sln files.
2747
2748         * gtest/msvc/gtest-md.sln: Added property svn:eol-style.
2749         * gtest/msvc/gtest.sln: Added property svn:eol-style.
2750
2751 2013-02-14  Roger Fong  <roger_fong@apple.com>
2752
2753         Add gtest-md VS2010 project files.
2754         https://bugs.webkit.org/show_bug.cgi?id=107034.
2755
2756         Reviewed by Brent Fulgham.
2757
2758         * gtest/msvc/gtest-md.sln: Added property svn:eol-style.
2759         * gtest/msvc/gtest.sln: Added property svn:eol-style.
2760
2761 2013-02-05  Simon Hausmann  <simon.hausmann@digia.com>
2762
2763         [Qt] Compile WTF tests of TestWebKitAPI
2764         https://bugs.webkit.org/show_bug.cgi?id=108935
2765
2766         Reviewed by Kenneth Rohde Christiansen.
2767
2768         Add qmake build system .pro file for building gtest as static library.
2769
2770         * gtest/gtest.pro: Added.
2771
2772 2013-02-05  Paweł Forysiuk  <tuxator@o2.pl>
2773
2774         Building with MinGW compiler dies with gtest errors
2775         https://bugs.webkit.org/show_bug.cgi?id=108470
2776
2777         Reviewed by Martin Robinson.
2778
2779         Variable Libraries_libgtest_la_CXXFLAGS blindly assumes that
2780         pthreads will always be enabled. Make using pthreads for gtest
2781         conditional on the build target.
2782
2783         * gtest/GNUmakefile.am: Set Libraries_libgtest_la_CXXFLAGS accordingly to the build target.
2784
2785 2013-01-23  Tony Chang  <tony@chromium.org>
2786
2787         Unreviewed, set svn:eol-style to CRLF on Windows .sln files.
2788
2789         * gtest/msvc/gtest-md.sln: Added property svn:eol-style.
2790         * gtest/msvc/gtest.sln: Added property svn:eol-style.
2791
2792 2013-01-17  Martin Robinson  <mrobinson@igalia.com>
2793
2794         [GTK] Build with LevelDB when IndexedDB is enabled
2795         https://bugs.webkit.org/show_bug.cgi?id=103220
2796
2797         Reviewed by Gustavo Noronha Silva.
2798
2799         Add the leveldb 1.9.0 source code to the ThirdParty dependencies.
2800         We cannot depend on leveldb provided by the distribution, because
2801         it sometimes breaks API compatibility.
2802
2803         * leveldb: Imported from the 1.9.0 leveldb source tarball.
2804
2805 2013-01-09  David Farler  <dfarler@apple.com>
2806
2807         Change ARCHS to generic setting to work with multiple platforms.
2808         https://bugs.webkit.org/show_bug.cgi?id=106478
2809
2810         Reviewed by Anders Carlsson.
2811
2812         * gtest/xcode/Config/General.xcconfig: ARCHS = $(ARCHS_STANDARD_32_64_BIT);
2813
2814 2012-10-28  Mark Rowe  <mrowe@apple.com>
2815
2816         Simplify Xcode configuration settings that used to vary between OS versions.
2817
2818         Reviewed by Dan Bernstein.
2819
2820         * gtest/xcode/Config/General.xcconfig:
2821
2822 2012-10-28  Mark Rowe  <mrowe@apple.com>
2823
2824         Remove references to unsupported OS and Xcode versions.
2825
2826         Reviewed by Anders Carlsson.
2827
2828         * gtest/xcode/Config/CompilerVersion.xcconfig: Removed.
2829         * gtest/xcode/Config/General.xcconfig:
2830
2831 2012-10-27  Dan Bernstein  <mitz@apple.com>
2832
2833         REAL_PLATFORM_NAME build setting is no longer needed
2834         https://bugs.webkit.org/show_bug.cgi?id=100587
2835
2836         Reviewed by Mark Rowe.
2837
2838         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
2839         to PLATFORM_NAME.
2840
2841         * gtest/xcode/Config/CompilerVersion.xcconfig:
2842         * gtest/xcode/Config/General.xcconfig:
2843
2844 2012-08-23  Mark Rowe  <mrowe@apple.com>
2845
2846         Make gtest build with the latest version of clang.
2847
2848         Reviewed by Dan Bernstein.
2849
2850         * gtest/src/gtest-internal-inl.h:
2851         (GTestFlagSaver): Remove an unused member.
2852
2853 2012-07-03  Tony Chang  <tony@chromium.org>
2854
2855         [chromium] Unreviewed, update .gitignore to handle VS2010 files.
2856
2857         * glu/.gitignore:
2858
2859 2012-06-27  Ryosuke Niwa  <rniwa@webkit.org>
2860
2861         Fix gcc build after r121302
2862         https://bugs.webkit.org/show_bug.cgi?id=90055
2863
2864         Reviewed by Mark Rowe.
2865
2866         Assume RTTI is disabled so that gtest builds under XCode 3.2.6.
2867
2868         * gtest/xcode/Config/General.xcconfig:
2869
2870 2012-04-30  Carlos Garcia Campos  <cgarcia@igalia.com>
2871
2872         Unreviewed. Fix make distcheck.
2873
2874         * gtest/GNUmakefile.am: Add source code files included by
2875         gtest_all.cc to EXTRA_DIST.
2876
2877 2012-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
2878
2879         [GTK] Build and run TestWebKitAPI WebKit2 unit tests
2880         https://bugs.webkit.org/show_bug.cgi?id=84446
2881
2882         Reviewed by Philippe Normand.
2883
2884         * gtest/GNUmakefile.am: Do not build libgtestmain anymmore since
2885         all tests use now a custom main to make sure WTF threads are
2886         initialized.
2887
2888 2012-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
2889
2890         [GTK] Build and run TestWebKitAPI unit tests
2891         https://bugs.webkit.org/show_bug.cgi?id=84325
2892
2893         Reviewed by Philippe Normand.
2894
2895         * gtest/GNUmakefile.am: Added.
2896
2897 2012-03-30  David Barr  <davidbarr@chromium.org>
2898
2899         Split up top-level .gitignore and .gitattributes
2900         https://bugs.webkit.org/show_bug.cgi?id=82687
2901
2902         Reviewed by Tor Arne Vestbø.
2903
2904         * glu/.gitignore: Added.
2905
2906 2012-03-09  Ashod Nakashian  <ashodnakashian@yahoo.com>
2907
2908         Bash scripts should support LF endings only
2909         https://bugs.webkit.org/show_bug.cgi?id=79509
2910
2911         Reviewed by David Kilzer.
2912
2913         * gtest/xcode/Samples/FrameworkSample/runtests.sh: Added property svn:executable.
2914         * gtest/xcode/Scripts/runtests.sh: Added property svn:executable.
2915
2916 2012-03-08  Jessie Berlin  <jberlin@apple.com>
2917
2918         More Windows build fixing.
2919
2920         * gtest/msvc/gtest-md.vcproj:
2921
2922 2012-03-07  Jessie Berlin  <jberlin@apple.com>
2923
2924         Clean Windows build fails after r110033
2925         https://bugs.webkit.org/show_bug.cgi?id=80553
2926
2927         Rubber-stamped by Jon Honeycutt and Eric Seidel.
2928
2929         * gtest/msvc/gtest-md.vcproj:
2930         Add the new JavaScriptCore include directory to the include path.
2931
2932 2012-02-21  Sam Weinig  <sam@webkit.org>
2933
2934         Attempt to fix the Snow Leopard build.
2935
2936         * gtest/xcode/Config/General.xcconfig:
2937
2938 2012-02-21  Sam Weinig  <sam@webkit.org>
2939
2940         Use libc++ when building with Clang on Mac
2941         https://bugs.webkit.org/show_bug.cgi?id=78981
2942
2943         Reviewed by Dan Bernstein.
2944
2945         * gtest/xcode/Config/General.xcconfig:
2946         In addition to enabling libc++ when building with Clang,
2947         disable gtest's use of tr1::tuple, which doesn't exist in
2948         libc++.
2949
2950 2012-01-25  Mark Rowe  <mrowe@apple.com>
2951
2952         Build in to an alternate location when USE_STAGING_INSTALL_PATH is set.
2953
2954         <rdar://problem/10609417> Adopt USE_STAGING_INSTALL_PATH
2955
2956         Reviewed by David Kilzer.
2957
2958         * gtest/xcode/Config/ProductionProject.xcconfig: Ensure that the staged frameworks path
2959         is in the framework search path when USE_STAGING_INSTALL_PATH is set. Look for the WebCore
2960         framework in the staged frameworks directory when USE_STAGING_INSTALL_PATH is set.
2961
2962 2012-01-06  Anders Carlsson  <andersca@apple.com>
2963
2964         Make JavaScriptCore.framework a reference and put it in a Frameworks group
2965         https://bugs.webkit.org/show_bug.cgi?id=75740
2966
2967         Reviewed by Mark Rowe.
2968
2969         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
2970
2971 2012-01-05  Dan Bernstein  <mitz@apple.com>
2972
2973         Made Debug/Release builds of gtest build only for the active architecture.
2974
2975         Reviewed by Dave Kilzer.
2976
2977         * gtest/xcode/Config/DebugProject.xcconfig:
2978         * gtest/xcode/Config/ProductionProject.xcconfig:
2979         * gtest/xcode/Config/ReleaseProject.xcconfig:
2980
2981 2012-01-04  David Kilzer  <ddkilzer@apple.com>
2982
2983         Remove HEADER_SEARCH_PATHS from Production configurations for gtest
2984
2985         Reviewed by Mark Rowe.
2986
2987         * gtest/xcode/gtest.xcodeproj/project.pbxproj: Remove
2988         HEADER_SEARCH_PATHS from Production configurations to match
2989         changes made for Debug and Release configurations in r104091.
2990
2991 2012-01-04  David Kilzer  <ddkilzer@apple.com>
2992
2993         TestWebKitAPI has issues due to FastMalloc incompatibility
2994         <http://webkit.org/b/66521>
2995         <rdar://problem/10607911>
2996
2997         Reviewed by David Levin.
2998
2999         Original patch by Dmitry Lomov <dslomov@google.com>.
3000
3001         This patch ensures that gtest uses the FastMalloc new and delete
3002         operators that are defined in JavaScriptCore.
3003
3004         * gtest/README.WebKit: Update with project changes.
3005         * gtest/include/gtest/internal/gtest-port.h: Import necessary
3006         headers to use FastMalloc in gtest.
3007         * gtest/msvc/gtest-md.vcproj: Add include directories to find
3008         WTF headers.
3009         * gtest/xcode/Config/DebugProject.xcconfig: Define
3010         WEBCORE_PRIVATE_HEADERS_DIR for Debug builds.
3011         * gtest/xcode/Config/General.xcconfig: Define
3012         HEADER_SEARCH_PATHS in terms of WEBCORE_PRIVATE_HEADERS_DIR.
3013         * gtest/xcode/Config/ProductionProject.xcconfig: Define
3014         WEBCORE_PRIVATE_HEADERS_DIR for Production builds.  This
3015         overrides the value in ReleaseProject.xcconfig.
3016         * gtest/xcode/Config/ReleaseProject.xcconfig: Define
3017         WEBCORE_PRIVATE_HEADERS_DIR for Release builds.
3018         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
3019         - Remove local HEADER_SEARCH_PATHS definitions.
3020         - Link to JavaScriptCore.framework when building
3021           gtest.framework.
3022
3023 2012-01-03  David Kilzer  <ddkilzer@apple.com>
3024
3025         Add Production configuration to gtest Xcode project
3026         <http://webkit.org/b/75153>
3027
3028         Reviewed by Adam Roben.
3029
3030         * gtest/README.WebKit: Updated.
3031         * gtest/xcode/Config/ProductionProject.xcconfig: Added.
3032         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
3033         - Added Production configuration based on Release configuration.
3034         - Made Production the default configuration.
3035
3036 2011-12-25  Darin Adler  <darin@apple.com>
3037
3038         * gtest/xcode/gtest.xcodeproj: Added property svn:ignore.
3039
3040 2011-11-11  Csaba Osztrogonác  <ossy@webkit.org>
3041
3042         100,000 !!!
3043
3044         Reviewed by Zoltan Herczeg.
3045
3046         * ChangeLog: Point out revision 100,000.
3047
3048 2011-08-25  Alexey Proskuryakov  <ap@apple.com>
3049
3050         Fix build when GCC 4.2 is not installed.
3051
3052         * gtest/xcode/Config/CompilerVersion.xcconfig: Copied from Source/WebCore/Configurations/CompilerVersion.xcconfig.
3053         * gtest/xcode/Config/General.xcconfig:
3054         Use the same compiler version as other projects do.
3055
3056 2011-08-19  Sheriff Bot  <webkit.review.bot@gmail.com>
3057
3058         Unreviewed, rolling out r93426.
3059         http://trac.webkit.org/changeset/93426
3060         https://bugs.webkit.org/show_bug.cgi?id=66607
3061
3062         Broke the Mac build by not building gtest.framework anymore
3063         (Requested by andersca on #webkit).
3064
3065         * gtest/README.WebKit:
3066         * gtest/include/gtest/internal/gtest-port.h:
3067         * gtest/msvc/gtest-md.vcproj:
3068         * gtest/xcode/Config/General.xcconfig:
3069         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
3070
3071 2011-08-18  Dmitry Lomov  <dslomov@google.com>
3072
3073         TestWebKitAPI breaks on Windows due to fast malloc incompatibility.
3074         https://bugs.webkit.org/show_bug.cgi?id=66521
3075
3076         This patch ensures that gtest uses new and delete operators that are defined in JavaScriptCore.
3077
3078         Reviewed by David Levin.
3079
3080         * gtest/include/gtest/internal/gtest-port.h:
3081         * gtest/msvc/gtest-md.vcproj:
3082         * gtest/README.WebKit:
3083         * gtest/xcode/Config/General.xcconfig:
3084         * gtest/xcode/gtest.xcodeproj/project.pbxproj:
3085
3086 2011-08-09  Mark Rowe  <mrowe@apple.com>
3087
3088         Fix gtest to compile in the release configuration with clang.
3089
3090         This change was made upstream in r443.
3091
3092         * gtest/src/gtest.cc:
3093
3094 2011-08-04  Mark Rowe  <mrowe@apple.com>
3095
3096         Future-proof Xcode configuration settings.
3097
3098         * gtest/xcode/Config/General.xcconfig:
3099
3100 2011-08-03  Dmitry Lomov  <dslomov@google.com>
3101
3102         https://bugs.webkit.org/show_bug.cgi?id=61812
3103         TestWebKitApi breaks in release mode due to gtest incompatibility with fast malloc
3104
3105         Disable fast malloc for offending class (::std::strstream) in gtest.
3106         This looks like the most non-intrusive solution.
3107
3108         Reviewed by David Levin.
3109
3110         * gtest/include/gtest/internal/gtest-port.h:
3111         (testing::internal::StrStream::operator new):
3112         (testing::internal::StrStream::operator new[]):
3113         (testing::internal::StrStream::operator delete):
3114         (testing::internal::StrStream::operator delete[]):
3115
3116 2011-07-05  Adam Barth  <abarth@webkit.org>
3117
3118         Import qunit JavaScript unit testing framework
3119         https://bugs.webkit.org/show_bug.cgi?id=63967
3120
3121         Reviewed by Eric Seidel.
3122
3123         We're going to use this unit testing framework to test garden-o-matic.
3124
3125         * qunit: Added.
3126
3127 2011-06-04  Adam Barth  <abarth@webkit.org>
3128
3129         * glu: Added property svn:ignore.
3130             - For glu.xcodeproj, which is generated from glu.gyp.
3131
3132 2011-05-24  Stephen White  <senorblanco@chromium.org>
3133
3134         Reviewed by Kenneth Russell.
3135
3136         Unfork glu sources as much as possible.
3137         https://bugs.webkit.org/show_bug.cgi?id=61365
3138
3139         Restore the glu sources closer to the original version on oss.sgi.com
3140         by removing the WebKit-specific include paths, restoring the include
3141         order, and renaming the glu* functions via #defines rather than in
3142         the source.
3143
3144         * glu/README.webkit:
3145         Update the README to reflect the changes from trunk.
3146         * glu/glu.gyp:
3147         Add Source/Thirdparty/glu as an include path, so we can remove the
3148         hardcoded paths from the source files.
3149         * glu/gluos.h:
3150         Add #defines to rename the glu entry points to internal_*.
3151         * glu/internal_glu.h:
3152         * glu/libtess/dict.c:
3153         * glu/libtess/geom.c:
3154         * glu/libtess/geom.h:
3155         * glu/libtess/memalloc.c:
3156         * glu/libtess/mesh.c:
3157         * glu/libtess/mesh.h:
3158         * glu/libtess/normal.c:
3159         * glu/libtess/normal.h:
3160         * glu/libtess/priorityq-heap.c:
3161         * glu/libtess/priorityq-sort.h:
3162         * glu/libtess/priorityq.c:
3163         * glu/libtess/priorityq.h:
3164         * glu/libtess/render.c:
3165         * glu/libtess/render.h:
3166         * glu/libtess/sweep.c:
3167         * glu/libtess/sweep.h:
3168         * glu/libtess/tess.c:
3169         * glu/libtess/tess.h:
3170         * glu/libtess/tessmono.c:
3171         Remove WebKit-specific include paths, and internal_ prefixes from glu
3172         entry points.  Restore include order to original source order.
3173
3174 2011-05-19  Evan Martin  <evan@chromium.org>
3175
3176         Reviewed by Tony Chang.
3177
3178         [chromium] remove <(library) variable
3179         https://bugs.webkit.org/show_bug.cgi?id=61158
3180
3181         This was for a build experiment; we can just use the correct value now.
3182
3183         * glu/glu.gyp:
3184         * gyp/test/library/src/library.gyp:
3185
3186 2011-05-12  Jeff Miller  <jeffm@apple.com>
3187
3188         Ignore Visual Studio *.user files.
3189
3190         * gtest/msvc: Added property svn:ignore.
3191
3192 2011-05-12  Adam Roben  <aroben@apple.com>
3193
3194         Windows production build fix
3195
3196         * gtest/msvc/gtest-md.vcproj: Fix the OutputDirectory and IntermediateDirectory attributes
3197         for all configurations.
3198
3199 2011-05-12  Adam Roben  <aroben@apple.com>
3200
3201         A little gtest cleanup after r86287
3202
3203         * gtest/msvc/gtest-md.vcproj: Added Debug_All and Production configurations to match our
3204         other projects. (At some point all the settings should be moved into .vsprops files to match
3205         our other projects, too.)
3206