Compare commits
1283 Commits
Author | SHA1 | Date |
---|---|---|
Marius Greuel | 73383e7169 | |
Marius Greuel | e54ded6db3 | |
Marius Greuel | 8b147b4bcd | |
Joerg Wunsch | a8931a4eb1 | |
Joerg Wunsch | 2e0be1e1ae | |
mcuee | e226add045 | |
Stefan Rueger | 1b8a4d48ab | |
Stefan Rueger | 5642cecb82 | |
Marius Greuel | 6e1f14bc7a | |
Stefan Rueger | 7250d3fea3 | |
Stefan Rueger | 4c1192e884 | |
Stefan Rueger | 653d66b014 | |
Stefan Rueger | 5328b798e4 | |
Marius Greuel | 739d3f85c3 | |
Marius Greuel | 0b9999610c | |
Stefan Rueger | cf64837391 | |
Stefan Rueger | fdcfb543fc | |
Marius Greuel | c2a90f41f0 | |
Marius Greuel | 7b3cfd2724 | |
Stefan Rueger | 8b0c9988fc | |
Stefan Rueger | 2ca87126e5 | |
Stefan Rueger | b5e4ea62b9 | |
Stefan Rueger | eeb92b3c52 | |
Joerg Wunsch | b6da4c167e | |
Stefan Rueger | 1d6f23cae7 | |
Stefan Rueger | 872af44fcd | |
Stefan Rueger | f8635451a2 | |
Stefan Rueger | 5eddc33864 | |
Stefan Rueger | c44d0e9c73 | |
Stefan Rueger | 82cf688357 | |
Stefan Rueger | abdc65d79f | |
Stefan Rueger | a301a3c4bc | |
Stefan Rueger | eca0fab1f7 | |
Stefan Rueger | 74cbb51ef5 | |
Stefan Rueger | 0a883973a2 | |
Stefan Rueger | 8d8157bf8b | |
Stefan Rueger | b5cabc1dcf | |
Stefan Rueger | bc198fd18d | |
Bas Wijnen | dc0ab33a58 | |
Stefan Rueger | 17e2feff26 | |
Joerg Wunsch | b6d50ef0a9 | |
Joerg Wunsch | e45195d643 | |
Joerg Wunsch | 06e999b8c5 | |
Stefan Rueger | b2c03f5d40 | |
Stefan Rueger | f0649d76da | |
Stefan Rueger | d09b83079c | |
Stefan Rueger | 9c3263a851 | |
Stefan Rueger | 90dfee80ba | |
Stefan Rueger | ac10272bb6 | |
Stefan Rueger | ab3da9f87c | |
Marius Greuel | 161e25e886 | |
Marius Greuel | 894d4cba10 | |
Marius Greuel | d001172b46 | |
Stefan Rueger | 0f956e90eb | |
Stefan Rueger | d91c33b5e3 | |
Stefan Rueger | e2dc3621db | |
Stefan Rueger | b11475f077 | |
Stefan Rueger | 50a5d87a4e | |
Stefan Rueger | 92f980d15f | |
Stefan Rueger | 71b7e6d51f | |
Joerg Wunsch | 8a4ab97360 | |
Marius Greuel | 724fd9d572 | |
Marius Greuel | a138ec259f | |
Marius Greuel | 80740071e2 | |
Marius Greuel | 7a5883b75d | |
mcuee | 46368b7059 | |
mcuee | 3e08177450 | |
Marius Greuel | f220656e0b | |
Marius Greuel | 805db5b13e | |
Marius Greuel | aed9e1b7fa | |
Marius Greuel | 9412413fca | |
Marius Greuel | 252d6833d4 | |
Marius Greuel | 5d0f151f4a | |
mcuee | 0c0da9162c | |
mcuee | afb72c998e | |
mcuee | d4bef10e30 | |
mcuee | eba5cea8e1 | |
mcuee | 2c4f2ada3f | |
mcuee | 49834a47cd | |
mcuee | 39ab053937 | |
MCUdude | 57cfced151 | |
Stefan Rueger | 857344295c | |
Stefan Rueger | 292f1d54b9 | |
Stefan Rueger | 217adc543b | |
Stefan Rueger | c2070d44c7 | |
Hans | c991ae9739 | |
Stefan Rueger | a696c94d8f | |
Stefan Rueger | b29dfb77e9 | |
Stefan Rueger | 3c152dc122 | |
Stefan Rueger | 41c9ed02e3 | |
Stefan Rueger | 435343bab3 | |
Stefan Rueger | c6633fedce | |
Jan Egil Ruud | a2ae465484 | |
Stefan Rueger | 4d9d4050e0 | |
Jan Egil Ruud | 918e01d93d | |
Jan Egil Ruud | d1010fd46f | |
Stefan Rueger | 3b14c2df77 | |
MCUdude | 0be8f3b82d | |
Stefan Rueger | 412eb9503e | |
MCUdude | 30e90bdfd2 | |
Stefan Rueger | 159d12693e | |
Hans | 95363a11a7 | |
Stefan Rueger | bbd3ed21ef | |
Jörg Wunsch | b10854677d | |
Stefan Rueger | 72f097502f | |
Stefan Rueger | e4f10a33ab | |
Stefan Rueger | 9bd4dee254 | |
Jan Egil Ruud | f08f771ab4 | |
Jan Egil Ruud | af43a7757d | |
Jan Egil Ruud | 2561d87fbd | |
Stefan Rueger | db0258a7d8 | |
Stefan Rueger | 8024bfd4fb | |
Stefan Rueger | 6b03d7dc5a | |
Stefan Rueger | 23dddef64b | |
Stefan Rueger | f688baabb7 | |
Stefan Rueger | 2e98ee3a1c | |
Stefan Rueger | 3b30e5d424 | |
Stefan Rueger | 0ae632070f | |
Jan Egil Ruud | 8db18e64ed | |
Jan Egil Ruud | dc64fb716f | |
Jan Egil Ruud | f78e14ee96 | |
Jan Egil Ruud | bb808e8d5f | |
Jan Egil Ruud | e18b5c4fb0 | |
Jan Egil Ruud | b643f0a1a0 | |
Jan Egil Ruud | b52bd393de | |
Jan Egil Ruud | 95160e8801 | |
Jan Egil Ruud | e87a9b59b6 | |
Jan Egil Ruud | 1eb6a06055 | |
Jan Egil Ruud | cad296f780 | |
Jan Egil Ruud | 90bd24a902 | |
Stefan Rueger | ea2d7eec95 | |
Jan Egil Ruud | 2f5566a8ed | |
Jan Egil Ruud | f2156b834d | |
MCUdude | 2d7ad8e373 | |
MCUdude | 6385fb09f7 | |
Stefan Rueger | 2f2a6c0008 | |
Stefan Rueger | bb14386f63 | |
Stefan Rueger | 2ac582fa02 | |
Stefan Rueger | 58e2bca42c | |
Stefan Rueger | 5a0975aee7 | |
Stefan Rueger | 0c96f5d6dc | |
Stefan Rueger | ba9d24fdd2 | |
Stefan Rueger | 0e0a0ba0eb | |
Stefan Rueger | d774e87a59 | |
Stefan Rueger | 3a5f3735ba | |
Stefan Rueger | baa52e3a02 | |
Stefan Rueger | 1cb169ec93 | |
Stefan Rueger | 231e88aaf9 | |
Stefan Rueger | d2a2ec1d1b | |
Stefan Rueger | bbc52499e7 | |
Stefan Rueger | 2cecf66a61 | |
Stefan Rueger | 10ca3661bb | |
Stefan Rueger | 664b1aa1f6 | |
Stefan Rueger | 607f0c48be | |
Stefan Rueger | 289ca4f34c | |
Stefan Rueger | 7269370bf6 | |
Stefan Rueger | e6f7e158cd | |
Stefan Rueger | 2b3534ea8a | |
Stefan Rueger | 8e79b7dc52 | |
Stefan Rueger | 68c6ffd7fc | |
Stefan Rueger | afa57ace84 | |
mcuee | 01ed17bd5c | |
Stefan Rueger | c3413ff0f4 | |
Jan Egil Ruud | f9a2bd0327 | |
Stefan Rueger | 19cd7d8c69 | |
Stefan Rueger | d3b14f21f9 | |
Stefan Rueger | b925b5113d | |
Stefan Rueger | 25ca91371d | |
Stefan Rueger | 33dd231e4c | |
Stefan Rueger | 8c73609c0e | |
Stefan Rueger | 796e97ee3a | |
Stefan Rueger | 9599bf2243 | |
Stefan Rueger | 7d5ab433ca | |
Stefan Rueger | adc333ea54 | |
Jan Egil Ruud | 5dc2545716 | |
Jan Egil Ruud | 3afdd55089 | |
Jan Egil Ruud | 32a6ca39e4 | |
Stefan Rueger | 883d9494c8 | |
Stefan Rueger | 05d78828e0 | |
Stefan Rueger | eee17ab096 | |
Stefan Rueger | ef824d4d89 | |
Stefan Rueger | 9c30ccc6ea | |
Stefan Rueger | 3400527c7d | |
Cristiano De Alti | c3acdccbe5 | |
Stefan Rueger | 02e02be6f9 | |
Stefan Rueger | 2063671a02 | |
Stefan Rueger | f9aea24fba | |
Stefan Rueger | 2e398916a7 | |
mcuee | b1b8d95154 | |
mcuee | 4c8a900452 | |
Joerg Wunsch | 8a61ae5acf | |
Jörg Wunsch | 3892c5a459 | |
Jan Egil Ruud | 10ccf0f515 | |
Jörg Wunsch | 13e0bd030f | |
Joerg Wunsch | 461d75bbc7 | |
Joerg Wunsch | f90e36f231 | |
Stefan Rueger | 7f4474f049 | |
Stefan Rueger | c0e4dd494e | |
mcuee | df4dccabfc | |
Stefan Rueger | 53de22cb83 | |
Stefan Rueger | f276d325ec | |
Stefan Rueger | ee25a62df6 | |
Stefan Rueger | d65a9a3cee | |
mcuee | c9357132fa | |
Joerg Wunsch | ff478dcb83 | |
Jörg Wunsch | 6c3ce22b1e | |
Joerg Wunsch | 77ad26ddf4 | |
Joerg Wunsch | efad24e3de | |
Joerg Wunsch | 2fc351750e | |
Joerg Wunsch | 908e6b15da | |
Joerg Wunsch | 9df522a219 | |
Joerg Wunsch | 01be288b18 | |
Stefan Rueger | a3eeedd176 | |
Stefan Rueger | 2abb666bd2 | |
Stefan Rueger | d901e0a768 | |
Stefan Rueger | 82b9491cbd | |
Stefan Rueger | afc2f7cf0c | |
Stefan Rueger | ff9c8bbe46 | |
Stefan Rueger | e2b69dec75 | |
Stefan Rueger | b178deef5f | |
Stefan Rueger | 6e3a99be87 | |
Stefan Rueger | 22bd977365 | |
Stefan Rueger | c67bfe39a3 | |
Stefan Rueger | 321bddbf7b | |
Stefan Rueger | 2434c3f7f6 | |
Stefan Rueger | 4c4952d4f6 | |
Stefan Rueger | afa408e2c6 | |
Stefan Rueger | d5d0b940cc | |
Stefan Rueger | 84a3e2cc2b | |
Stefan Rueger | c7ba53bca0 | |
Stefan Rueger | ea65918dca | |
Stefan Rueger | 20b86fb739 | |
Stefan Rueger | 6a6d333849 | |
Stefan Rueger | cf3c81f714 | |
Stefan Rueger | 715db4c690 | |
Stefan Rueger | 21d93ec8cb | |
Stefan Rueger | e6c26d8db4 | |
Stefan Rueger | 4c92030e3a | |
Stefan Rueger | d211c4e5f5 | |
Stefan Rueger | 02fe08aed2 | |
MCUdude | 577ee72db7 | |
Stefan Rueger | b5699663c4 | |
Stefan Rueger | 50046da923 | |
Stefan Rueger | a3c04d294e | |
Stefan Rueger | d87eb14dc9 | |
Stefan Rueger | 87df3216cb | |
Stefan Rueger | a1018999c4 | |
Stefan Rueger | 418cf08e84 | |
mcuee | 5862a5b7e9 | |
mcuee | 79c43789a9 | |
mcuee | f2a413d2dc | |
Stefan Rueger | 1dba916e06 | |
Stefan Rueger | 3769332afd | |
Stefan Rueger | ec1e7156bd | |
Stefan Rueger | 960bf7b959 | |
Stefan Rueger | 0ebf220315 | |
Stefan Rueger | b1b4a180ba | |
Stefan Rueger | ae5b460859 | |
Stefan Rueger | baaad71aa5 | |
Stefan Rueger | 16922842be | |
Stefan Rueger | 2c7083f001 | |
Stefan Rueger | 4f6bab6303 | |
Stefan Rueger | 5b008a04cf | |
steelman | 34fa2faba5 | |
Dawid Buchwald | fa1c081a94 | |
Dawid Buchwald | 2230c05871 | |
mcuee | e300861505 | |
mcuee | 4a5efa7635 | |
mcuee | 21e372f639 | |
MCUdude | 992e9666a3 | |
Łukasz Stelmach | c890ff90eb | |
Stefan Rueger | b9396bcd02 | |
Łukasz Stelmach | 9977f1ed12 | |
MCUdude | 72da5c73db | |
MCUdude | 867d83c215 | |
MCUdude | 14446950df | |
MCUdude | b083416e3b | |
MCUdude | 13817459e1 | |
MCUdude | c999083b8f | |
Stefan Rueger | b864d7e73a | |
Stefan Rueger | e172877724 | |
Stefan Rueger | 2503ae03ce | |
Stefan Rueger | ff1d26ad18 | |
Stefan Rueger | 8e879cfae6 | |
Dan Applegate | 946b701b08 | |
Stefan Rueger | 08f4f6c63f | |
MCUdude | bfec594ffd | |
Stefan Rueger | 714c2fbf95 | |
Stefan Rueger | 8a3864d263 | |
Marius Greuel | 86155bdf66 | |
Stefan Rueger | 48919f59b3 | |
Stefan Rueger | e14e5d2f74 | |
Stefan Rueger | 929441eb82 | |
Stefan Rueger | 22362e9f08 | |
Stefan Rueger | d3a3257cf7 | |
Marius Greuel | 9377acee0e | |
MCUdude | 1ca1be0447 | |
Stefan Rueger | 44fe5bec2d | |
MCUdude | d5e4ed9f89 | |
Stefan Rueger | cd79f81747 | |
Stefan Rueger | f2fb3b45b4 | |
Stefan Rueger | d74b17b9b4 | |
Stefan Rueger | c4cb242823 | |
Stefan Rueger | bc9137854b | |
Stefan Rueger | 83232bc7e1 | |
Stefan Rueger | 59a191ee2c | |
Hans | da275f8ef2 | |
Hans | 2c8cef2712 | |
MCUdude | 31c3db2617 | |
MCUdude | ffabab1fb2 | |
MCUdude | 4bc9e020f1 | |
MCUdude | 419fd35b72 | |
Marius Greuel | ef209fe44e | |
MCUdude | e05aa16510 | |
MCUdude | e39133daf5 | |
Hans | 52eb2e36a7 | |
MCUdude | 01ccab08b4 | |
MCUdude | 521155c1c2 | |
Marius Greuel | 3b8f41ca20 | |
MCUdude | e1a317c670 | |
Shunichi Wakabayashi | 2a64e78c7b | |
MCUdude | 80ca8a644e | |
MCUdude | 62aa480876 | |
Stefan Rueger | 8f478f0098 | |
Stefan Rueger | 9a59941dfe | |
Stefan Rueger | 94203eb441 | |
Stefan Rueger | f172f05372 | |
Stefan Rueger | 7743051926 | |
Stefan Rueger | db8b04f423 | |
Stefan Rueger | 3b8ac76246 | |
Stefan Rueger | fe991b8214 | |
Stefan Rueger | f17a012325 | |
Stefan Rueger | 097c78098d | |
Stefan Rueger | ca154f812f | |
Stefan Rueger | aa789d4662 | |
Stefan Rueger | 93df07866a | |
Stefan Rueger | d8ff9bef6c | |
Stefan Rueger | 9e836d7988 | |
Stefan Rueger | 4c29edbc41 | |
Stefan Rueger | 0175ffd21f | |
Stefan Rueger | 505d53c2e1 | |
Stefan Rueger | b04a83b1a2 | |
Stefan Rueger | 97c5ac312a | |
Stefan Rueger | 4070ca9012 | |
Shunichi Wakabayashi | be40d3b260 | |
Stefan Rueger | 07f1f60020 | |
Stefan Rueger | fba2ac0330 | |
Stefan Rueger | 7a76967851 | |
Stefan Rueger | 669796119a | |
Stefan Rueger | f8a62cca34 | |
Stefan Rueger | 0d411f2879 | |
Stefan Rueger | ac8fbadff4 | |
Stefan Rueger | 7087fd9f3e | |
Stefan Rueger | 168a8b92e9 | |
Stefan Rueger | a5f3885b50 | |
Marius Greuel | 8ecae62f4a | |
Marius Greuel | c633255c01 | |
Marius Greuel | 07ed4746be | |
Stefan Rueger | b99df388bd | |
Alex Papazoglou | bf70b5fc8c | |
Alex Papazoglou | 4af49bb5fb | |
Stefan Rueger | a536a01ebf | |
Stefan Rueger | dab99c0823 | |
Stefan Rueger | 0d1b49a4e4 | |
Stefan Rueger | 602fab481c | |
Stefan Rueger | fc970226b6 | |
Stefan Rueger | 40896802af | |
Stefan Rueger | b328067f87 | |
Stefan Rueger | ffb8b7fcdf | |
Stefan Rueger | 4f7868ef4b | |
Stefan Rueger | 626a43b139 | |
Stefan Rueger | b0198a319f | |
Stefan Rueger | 0756b8e3ad | |
Stefan Rueger | 0df8b87eda | |
Stefan Rueger | ed2b8342df | |
Stefan Rueger | eb7bdfd422 | |
Stefan Rueger | cddf2943eb | |
Stefan Rueger | 0ccdd24d7e | |
Stefan Rueger | c97eb85cd8 | |
Stefan Rueger | 7fab75336e | |
Stefan Rueger | 716984dbb1 | |
Stefan Rueger | 57ebd36a01 | |
Stefan Rueger | 09d14601af | |
Stefan Rueger | 3e49f078b3 | |
Stefan Rueger | 731d581398 | |
Stefan Rueger | 88c48cdf82 | |
Stefan Rueger | fc6ef68b98 | |
Stefan Rueger | 61efb02ef8 | |
Stefan Rueger | 5f910580b7 | |
Stefan Rueger | c6ef6a9b9b | |
Stefan Rueger | c7951813ef | |
Stefan Rueger | 56aae55737 | |
Stefan Rueger | f8dd9bc97d | |
Stefan Rueger | 38aa1313f9 | |
Stefan Rueger | c03f4a7925 | |
Stefan Rueger | dfef8bb0a8 | |
Stefan Rueger | e332ecf0b4 | |
Stefan Rueger | a4bfa8247d | |
Stefan Rueger | 4c6ba0aae6 | |
Stefan Rueger | 0b94ffdd3b | |
Stefan Rueger | 0987416387 | |
Stefan Rueger | 297740db0e | |
Stefan Rueger | c9736a9db5 | |
brutzzl3r | 266eb23207 | |
Stefan Rueger | 533feec4ed | |
Stefan Rueger | 8420b27233 | |
Stefan Rueger | c2c9053b13 | |
brutzzl3r | 346de71cd5 | |
Stefan Rueger | ccb576ebc1 | |
Stefan Rueger | c9cf308037 | |
Stefan Rueger | f4c5a8350d | |
Stefan Rueger | 7375477f70 | |
Stefan Rueger | 22c4dbf23e | |
Stefan Rueger | 8a717987ec | |
Stefan Rueger | 7c8d336e27 | |
Stefan Rueger | c21be27a7d | |
Stefan Rueger | 1da97f6825 | |
Stefan Rueger | f25bc55806 | |
Stefan Rueger | 49fcd8a96e | |
Stefan Rueger | 075dee1dd3 | |
Stefan Rueger | 08049a40ea | |
Stefan Rueger | 81136688f6 | |
Stefan Rueger | a8bbedcde3 | |
Stefan Rueger | e681035cc4 | |
Stefan Rueger | e590aead93 | |
Stefan Rueger | b24a1cf667 | |
Stefan Rueger | 5f5002eeaa | |
Stefan Rueger | 4eec8d15db | |
Stefan Rueger | bdfeb0ad34 | |
Stefan Rueger | ed36c7e1f6 | |
Stefan Rueger | 5f01d900f5 | |
Stefan Rueger | 3412196cd9 | |
Stefan Rueger | 53ece53862 | |
Stefan Rueger | 648f3319a9 | |
Stefan Rueger | 9604a3ef36 | |
Stefan Rueger | 42c8169c37 | |
Stefan Rueger | 02027ab766 | |
Stefan Rueger | e91f73392c | |
Stefan Rueger | 310b801c59 | |
Stefan Rueger | 7f63632c6e | |
Stefan Rueger | 18e5bfd203 | |
Stefan Rueger | 33ae3719e3 | |
Stefan Rueger | 7730706498 | |
Stefan Rueger | 5e9be93100 | |
MCUdude | de124bfd9b | |
Stefan Rueger | f299439b97 | |
Stefan Rueger | 004b46b594 | |
Stefan Rueger | 62dcc2e6e8 | |
Stefan Rueger | 78754b8ccc | |
MCUdude | 104dcf6052 | |
Stefan Rueger | 1549273529 | |
Stefan Rueger | d5d3a0e09e | |
Stefan Rueger | 3d06457a16 | |
Stefan Rueger | 29c6645abc | |
Stefan Rueger | 535004ee3d | |
Stefan Rueger | 7310df030f | |
Stefan Rueger | 4babe183da | |
Joerg Wunsch | cc93bd2c83 | |
MCUdude | 248c17177c | |
Joerg Wunsch | ce1ae41dd6 | |
Joerg Wunsch | 26f431c944 | |
Stefan Rueger | 5a517fb74d | |
Stefan Rueger | a95d169ccc | |
Stefan Rueger | 02788fb48a | |
Stefan Rueger | 572849ec2a | |
Stefan Rueger | 55f6765ea5 | |
Stefan Rueger | 192e118d2c | |
Stefan Rueger | 696574d1eb | |
Stefan Rueger | 4ada98a1a8 | |
Stefan Rueger | 6afa115a5f | |
Stefan Rueger | 30041e3f5f | |
MCUdude | bfdad78fcb | |
Stefan Rueger | db37c9d286 | |
Stefan Rueger | bdb5ba6055 | |
Stefan Rueger | 1555906604 | |
Stefan Rueger | 8503f2d2d5 | |
Stefan Rueger | f8b6a246ef | |
Stefan Rueger | bb6e1bbaec | |
Stefan Rueger | 8da9c2bbf6 | |
Stefan Rueger | 8989e6515b | |
Stefan Rueger | 43e2955c61 | |
Stefan Rueger | affe4cb50a | |
Stefan Rueger | 3b5a1f63c6 | |
Stefan Rueger | 3c05fe6412 | |
Stefan Rueger | e52bd2b99b | |
Stefan Rueger | eba67e56fc | |
Stefan Rueger | f95a1d3448 | |
Stefan Rueger | 0e7c1512e4 | |
MCUdude | ec467c465e | |
Stefan Rueger | 068e78e832 | |
Stefan Rueger | 87401d341e | |
Stefan Rueger | a5552f64cf | |
Stefan Rueger | 6e5bf3bc8d | |
Stefan Rueger | 494199fa78 | |
Stefan Rueger | 6fa7400e4e | |
Stefan Rueger | 1d3a7591ea | |
MCUdude | 5904611928 | |
Stefan Rueger | 79921e52dc | |
Stefan Rueger | d05ddd188d | |
Stefan Rueger | e7e062ec05 | |
Stefan Rueger | 7ceb163cba | |
Stefan Rueger | 14b27726d4 | |
Stefan Rueger | 5721908e63 | |
MCUdude | dde35018eb | |
Stefan Rueger | 901d49c4e6 | |
Stefan Rueger | b02cce38d7 | |
Stefan Rueger | 0b3a5781fc | |
Stefan Rueger | 1efbc64922 | |
Stefan Rueger | ea226936b7 | |
Stefan Rueger | f8145ae1c4 | |
Stefan Rueger | 5690352676 | |
Stefan Rueger | 3ef8122d90 | |
Stefan Rueger | feb38b83ef | |
Hans | dc6c10dc6c | |
Stefan Rueger | c81f52ff10 | |
Stefan Rueger | 09a95a3717 | |
Stefan Rueger | b6204b181a | |
Stefan Rueger | 0edb77bdf8 | |
Stefan Rueger | 04f790ad85 | |
Stefan Rueger | e867486f3f | |
Stefan Rueger | 1e8b56751e | |
Stefan Rueger | d9cb9772d7 | |
Stefan Rueger | 63fb79accb | |
Stefan Rueger | f871a4dc1e | |
Stefan Rueger | 7c766ef9bd | |
Stefan Rueger | 704d253636 | |
Stefan Rueger | 8140c9c90b | |
Stefan Rueger | 56113f6d8a | |
Stefan Rueger | c5f522342d | |
Stefan Rueger | 92425af0cc | |
Stefan Rueger | 602e9bb80c | |
Stefan Rueger | 7205bbae80 | |
Stefan Rueger | aa09bcf900 | |
Stefan Rueger | ddffabe86a | |
Stefan Rueger | 0b2f38c67d | |
Stefan Rueger | 5c4cfa642a | |
Stefan Rueger | 9fe6820236 | |
Stefan Rueger | feda75b60a | |
Stefan Rueger | 51355d04fb | |
Stefan Rueger | 62d3eebd56 | |
Stefan Rueger | 9afa56381e | |
Stefan Rueger | ff43e0544d | |
Stefan Rueger | 177834ae7c | |
Stefan Rueger | d3ad078577 | |
Stefan Rueger | 39a00bc71e | |
Stefan Rueger | 360d7c502b | |
Stefan Rueger | d9450058c8 | |
Jan Egil Ruud | 69ee5da613 | |
Jan Egil Ruud | 2478c18745 | |
Jan Egil Ruud | 173b4f9d0a | |
Stefan Rueger | ff8f519a34 | |
Hans | 913509d6e6 | |
Stefan Rueger | 215ea1af5c | |
Stefan Rueger | 9e2cea3ada | |
Jan Egil Ruud | 91310e6f50 | |
Ruud, Jan Egil | 9e5ea25b9e | |
Stefan Rueger | 64ee4858fd | |
Stefan Rueger | d3b22fa3c6 | |
Stefan Rueger | 9742c7b97a | |
Stefan Rueger | 00ea21597e | |
Stefan Rueger | 9ea02c4431 | |
Stefan Rueger | 2b6ee8f4d1 | |
Stefan Rueger | 7aad03cbcd | |
Stefan Rueger | a721e485cb | |
Stefan Rueger | bb049a085e | |
Stefan Rueger | 237cb63211 | |
Stefan Rueger | 2827c2695e | |
Joerg Wunsch | bdab12d8fb | |
MCUdude | d2bb964fc7 | |
Joerg Wunsch | f22b81c00e | |
Joerg Wunsch | 8953967fc3 | |
Stefan Rueger | ef785a617a | |
Joerg Wunsch | ad2be990b7 | |
prchal | 134509cc6f | |
Joerg Wunsch | 8bd39157c1 | |
MCUdude | 963a1e54af | |
Joerg Wunsch | 37026cad52 | |
MCUdude | b167e88422 | |
Stefan Rueger | 3893a21164 | |
Stefan Rueger | d95c1a91f7 | |
Stefan Rueger | c4add116d6 | |
MCUdude | 6473a6d71a | |
MCUdude | 30c1b31b8d | |
Ruud, Jan Egil | 65763b5700 | |
Ruud, Jan Egil | 39008ac2c1 | |
MCUdude | 577856cf15 | |
MCUdude | 50220289bb | |
MCUdude | e068341716 | |
MCUdude | f67c35744e | |
MCUdude | ba98e48880 | |
Stefan Rueger | 0240b361f5 | |
Stefan Rueger | 66c69a7584 | |
Stefan Rueger | 43c6b04226 | |
Stefan Rueger | a21f3d20af | |
Joerg Wunsch | a6ea797c1c | |
Jörg Wunsch | 8cd6f357b1 | |
Jörg Wunsch | 7ec51a5185 | |
Stefan Rueger | 09c168a186 | |
Stefan Rueger | d8a30aa8c4 | |
Stefan Rueger | 3bd75e74c6 | |
Stefan Rueger | cef3abac14 | |
Joerg Wunsch | 362e6993ac | |
Jörg Wunsch | 6d1c83e182 | |
Joerg Wunsch | 1b997968a5 | |
Jörg Wunsch | 55dddc57cc | |
Fabrice Fontaine | 17509d2ef4 | |
Stefan Rueger | 0a7f2645c9 | |
Stefan Rueger | 54d590b9c1 | |
Stefan Rueger | 317cc6d492 | |
Stefan Rueger | 40425ffac4 | |
Hans | 8159c46013 | |
MCUdude | 89b0aa72e0 | |
Joerg Wunsch | ae0e3e2f8e | |
Joerg Wunsch | 1aa59aaa98 | |
Jörg Wunsch | 6b5ca522d7 | |
MCUdude | 692c13ed98 | |
MCUdude | aa211f7580 | |
MCUdude | 3b0a2abc20 | |
Stefan Rueger | c8350f816c | |
Joerg Wunsch | 3082630430 | |
Marius Greuel | cb114233ef | |
Marius Greuel | 3148b31e01 | |
Marius Greuel | fc9d640f0b | |
Marius Greuel | d9f8fded51 | |
prchal | bd8c17b35f | |
MCUdude | bdb4128de3 | |
Joerg Wunsch | feaa1c6a6b | |
Jörg Wunsch | 5695b0d55a | |
Stefan Rueger | 952ad72fb9 | |
Ebben Aries | 3b0d7e5d5d | |
Marius Greuel | 65bb41f8e9 | |
Marius Greuel | 0ea4b08b2f | |
Marius Greuel | 053c2dcdd3 | |
Marius Greuel | 8b61c9dd8f | |
Marius Greuel | 15fe12b1a9 | |
Marius Greuel | b8420ee52d | |
Marius Greuel | 6ebbd4e162 | |
Marius Greuel | 4b2bf38849 | |
Marius Greuel | 9d6420e723 | |
Marius Greuel | bc9b67a153 | |
Marius Greuel | 93b2a56c0e | |
Charles | a23055d648 | |
Charles | 75bfbf7bef | |
Joerg Wunsch | 4601bee4af | |
Jörg Wunsch | 5f091a6c1c | |
Subhaditya Nath | b9a012cebb | |
Jörg Wunsch | 1797c62c25 | |
Joerg Wunsch | d6347f4187 | |
Joerg Wunsch | a855692d97 | |
Joerg Wunsch | 9bc28d410e | |
Joerg Wunsch | ec50337434 | |
Joerg Wunsch | a2e456ca8a | |
Joerg Wunsch | 43ddea9102 | |
Marius Greuel | 01a9e42d7d | |
Marius Greuel | c64f2030a1 | |
Marius Greuel | 3bdf138721 | |
Joerg Wunsch | a4c9fcdcd7 | |
Joerg Wunsch | 28ccd82edc | |
Jörg Wunsch | ca16fc2ce6 | |
Jörg Wunsch | d7c59ca2f9 | |
Joerg Wunsch | 4bcd0eaa1d | |
Stefan Rueger | 033b2ed796 | |
Stefan Rueger | 580c37fbfe | |
Stefan Rueger | f47ec634f8 | |
Stefan Rueger | 52734bafc6 | |
Stefan Rueger | 52b20f4a28 | |
Stefan Rueger | 2397984d2b | |
Joerg Wunsch | 08ad5ea445 | |
Joerg Wunsch | 5a3ff78844 | |
Joerg Wunsch | 74a92d7991 | |
Stefan Rueger | e18d436f88 | |
Stefan Rueger | ed38456f83 | |
MCUdude | 6fceea8f71 | |
MCUdude | 9d025e6a70 | |
Tomasz 'CeDeROM' CEDRO | b99a145b9f | |
Joerg Wunsch | 60960ba590 | |
Jörg Wunsch | 99a75701b1 | |
Jörg Wunsch | abe7180bb8 | |
per1234 | 157b6a63c1 | |
MCUdude | 1363c7fe76 | |
Joerg Wunsch | 7e26a15375 | |
Jörg Wunsch | e84210c6b0 | |
MCUdude | 08bd5fa938 | |
MCUdude | 17b67da03e | |
Alexander Smirnov | 3dc1e4e72b | |
MCUdude | 795dd91575 | |
MCUdude | 8f100f5df3 | |
MCUdude | f0f9059ade | |
Nav | e069871c8e | |
Joerg Wunsch | 0aa43968a0 | |
Hans | f22bc62b06 | |
Hans | d09a4e93a2 | |
Hans | aa7ae7bb87 | |
Hans | 1d0cbc2246 | |
Joerg Wunsch | 79c4137289 | |
Joerg Wunsch | 8697f6def7 | |
Joerg Wunsch | 981a6f1f20 | |
Joerg Wunsch | c64db5fb76 | |
Joerg Wunsch | 50c373bf71 | |
Jörg Wunsch | 0c722bf288 | |
Jörg Wunsch | 28d1442fc8 | |
Jörg Wunsch | 75e4d06463 | |
Jörg Wunsch | 99f191a0ca | |
Joerg Wunsch | 33bace0cee | |
Joerg Wunsch | 0c912a201f | |
Joerg Wunsch | 31feb9ff75 | |
Joerg Wunsch | c5a28eedc0 | |
Joerg Wunsch | 29a01c1047 | |
MCUdude | 426ea1fa78 | |
MCUdude | 6a5988ad64 | |
MCUdude | dcf771424b | |
Joerg Wunsch | 67b56d322b | |
Joerg Wunsch | 27d201acb1 | |
Joerg Wunsch | ded30f86bc | |
Joerg Wunsch | 9bc4a2463d | |
Joerg Wunsch | 8ad55e07ac | |
Joerg Wunsch | d89817ddb9 | |
Joerg Wunsch | fc6a71a142 | |
Joerg Wunsch | da1271642e | |
Joerg Wunsch | 0e441013e9 | |
Joerg Wunsch | c5f7939fca | |
Joerg Wunsch | 297d81818a | |
Joerg Wunsch | 7391e569b3 | |
Joerg Wunsch | 67ab74cd6a | |
Joerg Wunsch | 631f671fe8 | |
MCUdude | 248b554e8d | |
MCUdude | 40e3aa1790 | |
MCUdude | dca5fc92bf | |
MCUdude | 4e05a8fa41 | |
MCUdude | 1299d6b8bd | |
MCUdude | da315d7323 | |
Joerg Wunsch | 416c465ec0 | |
MCUdude | 41f524c1ba | |
MCUdude | 5ebb9047be | |
MCUdude | fde7881611 | |
MCUdude | 1c94c95f1c | |
Joerg Wunsch | e2995857ac | |
Joerg Wunsch | a4cbd5c6fc | |
Joerg Wunsch | 87b39637ff | |
Joerg Wunsch | 34168759b0 | |
Joerg Wunsch | c746c9bc9e | |
Joerg Wunsch | 65618ed655 | |
Joerg Wunsch | 00ea962abe | |
Joerg Wunsch | d62f309a00 | |
Joerg Wunsch | 92a5ae20a6 | |
Joerg Wunsch | 5cbc9c37fc | |
Jörg Wunsch | 0f4b5b223b | |
Jörg Wunsch | 0b82b5c573 | |
Jörg Wunsch | 9355d67e0f | |
MCUdude | d9c52249a9 | |
MCUdude | c7174d7678 | |
MCUdude | df6e2eea12 | |
Joerg Wunsch | 0d58adb10a | |
Jörg Wunsch | ebb1849724 | |
Jan Egil Ruud | 0c8b42524e | |
MCUdude | b688b1f601 | |
MCUdude | d89f695c31 | |
MCUdude | 1f2b570216 | |
Joerg Wunsch | 64cc54ac35 | |
Jörg Wunsch | e2e5e44bab | |
MCUdude | 07ea8f5e09 | |
Joerg Wunsch | 0269817217 | |
Joerg Wunsch | fe6290072a | |
Jörg Wunsch | 008f95f6ff | |
MCUdude | a73567893b | |
MCUdude | fa706f0d01 | |
MCUdude | 3532c567ac | |
Joerg Wunsch | 14f646822c | |
Jörg Wunsch | bb73ade70b | |
MCUdude | bb99a36a14 | |
Joerg Wunsch | 0d7d034d24 | |
Joerg Wunsch | c7d1ebcf1f | |
Joerg Wunsch | b891b7c64b | |
MCUdude | a9b756e5c7 | |
Dawid Buchwald | cf67a76c23 | |
MCUdude | 0e29b43bd0 | |
MCUdude | 4b9219edee | |
Joerg Wunsch | 428cd89e8d | |
Jörg Wunsch | 3efd3b2052 | |
Jörg Wunsch | 7c65adba26 | |
Dawid Buchwald | 75ab3c418e | |
MCUdude | 62f3b84eee | |
Dawid Buchwald | 066f54fbfa | |
Dawid Buchwald | de19f203e0 | |
Jörg Wunsch | d054c68b19 | |
Joerg Wunsch | 5c90fbbaae | |
Jörg Wunsch | c2fe68ef7d | |
Hans | c345985928 | |
Joerg Wunsch | c1ec836fbd | |
Jörg Wunsch | ba01fd7e30 | |
Marius Greuel | 59ecd4cc65 | |
Marius Greuel | e31be88ce0 | |
MCUdude | 6e7f38e81f | |
MCUdude | 10e05eed21 | |
MCUdude | 551046052e | |
MCUdude | 2a92b8cce4 | |
MCUdude | c007dc7d24 | |
MCUdude | 2589b17640 | |
MCUdude | 19e2cae053 | |
MCUdude | 932f68f24c | |
MCUdude | b1d34a510c | |
MCUdude | f2bdcbe977 | |
Joerg Wunsch | 7b79b72794 | |
Jörg Wunsch | 76a17be4d0 | |
MCUdude | 80f1d96e07 | |
Joerg Wunsch | 09fe08e51c | |
Jörg Wunsch | f2c73c2bb8 | |
MCUdude | b581d14823 | |
Joerg Wunsch | 354a1c4f1f | |
Jörg Wunsch | 23a09a6197 | |
MCUdude | 3fc39c47ad | |
MCUdude | d6ccf7a3ff | |
Joerg Wunsch | 452f673f38 | |
Joerg Wunsch | 38a3af37e2 | |
Jörg Wunsch | d134dc8fff | |
Jörg Wunsch | ba314f23e9 | |
MCUdude | a43f220ef9 | |
Joerg Wunsch | 1c0b70da89 | |
Jörg Wunsch | b6a6c681df | |
Joerg Wunsch | 3eda1d15f9 | |
Marius Greuel | c6438532f0 | |
MCUdude | 625027a807 | |
Joerg Wunsch | 6fd68ed7fe | |
Joerg Wunsch | 36de84ab48 | |
Joerg Wunsch | 8c6c6a14ec | |
Yegor Yefremov | 7ed3632902 | |
Joerg Wunsch | e28e28d7c3 | |
Joerg Wunsch | a3868a8260 | |
Jörg Wunsch | e0bc6a8bd6 | |
Jörg Wunsch | 69177dfe3f | |
Joerg Wunsch | b84e6862a7 | |
MCUdude | 7144a9f2ae | |
MCUdude | 28be45d8b6 | |
Joerg Wunsch | 4ff72ac462 | |
Jörg Wunsch | 4ea4ff7fba | |
Jörg Wunsch | 7e7c4e630e | |
Jörg Wunsch | 39deb3a600 | |
Jörg Wunsch | dd8c3ff830 | |
MCUdude | ad6eff0f76 | |
MCUdude | 286c0f5e2a | |
MCUdude | f6bbaadfa6 | |
Yegor Yefremov | acee6afa4e | |
Joerg Wunsch | 42a154dddf | |
Joerg Wunsch | de3d7c1659 | |
Joerg Wunsch | a8f7e96222 | |
Joerg Wunsch | 37b0659951 | |
Joerg Wunsch | 4538d91091 | |
Jörg Wunsch | 6d762a835b | |
Jörg Wunsch | cce7a934d6 | |
Jörg Wunsch | 490558049e | |
Jörg Wunsch | 512cce405c | |
Joerg Wunsch | e5ac9e943c | |
Joerg Wunsch | 0b1db09daf | |
Jörg Wunsch | 1b8b1d69e7 | |
Hans | d401b2224e | |
Joerg Wunsch | 950583323f | |
Jörg Wunsch | 0682af212c | |
MCUdude | b1cbbfc9f0 | |
MCUdude | dbac0ecf8c | |
Joerg Wunsch | 325604f970 | |
Yegor Yefremov | 8be18c788e | |
Joerg Wunsch | 090920298d | |
Jörg Wunsch | fa58267643 | |
Marius Greuel | 44b0c0715f | |
Marius Greuel | 7b9f258806 | |
MCUdude | 0e451f73cf | |
Joerg Wunsch | b3c76f3e54 | |
Jörg Wunsch | 54d143d4a5 | |
MCUdude | 4453d54296 | |
MCUdude | 9c08c0c164 | |
MCUdude | 628c48aff6 | |
MCUdude | 8e47768600 | |
Joerg Wunsch | e5edecf95e | |
Jörg Wunsch | b99687f33c | |
Joerg Wunsch | 153031d6d6 | |
Joerg Wunsch | c31578cbbd | |
MCUdude | 310fe49b73 | |
Joerg Wunsch | 5c264992fc | |
Jörg Wunsch | 77a5703c5c | |
Joerg Wunsch | 822578cffd | |
Jörg Wunsch | d1634e4d96 | |
MCUdude | 99d8fa5d88 | |
MCUdude | cc77f89953 | |
MCUdude | 7064447378 | |
MCUdude | 77ed8b98c5 | |
MCUdude | 32232faa2b | |
Dawid Buchwald | ab57f38387 | |
Dawid Buchwald | 90d0fa7346 | |
Marius Greuel | 956a274abd | |
Marius Greuel | 3fbac230b3 | |
Marius Greuel | 0ba4d2eaee | |
Joerg Wunsch | 1faa02b9cb | |
Jörg Wunsch | dc2f5b25a2 | |
Joerg Wunsch | 65d5cfadc1 | |
Joerg Wunsch | 1049777283 | |
Jörg Wunsch | 4e1bbf07ac | |
Yegor Yefremov | e72fa01073 | |
Joerg Wunsch | 60bda0bcc4 | |
Jörg Wunsch | 2d833e7ceb | |
Yegor Yefremov | 8374564665 | |
Joerg Wunsch | b33709bc04 | |
Joerg Wunsch | c7f7fcda8e | |
Joerg Wunsch | 6870417860 | |
Joerg Wunsch | 829425f246 | |
Jörg Wunsch | 22e6c4b325 | |
Joerg Wunsch | a3bf6cc4c5 | |
Joerg Wunsch | b1b80bfa4a | |
Jörg Wunsch | 0a4193f742 | |
Joerg Wunsch | 48bcc269e2 | |
Joerg Wunsch | cf35b7fe32 | |
Joerg Wunsch | fa8a31740f | |
Dawid Buchwald | 92a3eb1080 | |
Joerg Wunsch | ea29434568 | |
Jörg Wunsch | 5746bb2670 | |
Marius Greuel | f043e1b484 | |
MCUdude | 2fd967866c | |
Yegor Yefremov | 1a85e01b63 | |
Marius Greuel | f67cb3c224 | |
Marius Greuel | 1297098eae | |
David Fries | 40f0fae5a4 | |
David Fries | cffa6c7ca0 | |
David Fries | 112b6edd1c | |
MCUdude | 8f16c2a1e4 | |
Joerg Wunsch | a182ef5a26 | |
Jörg Wunsch | a447673b07 | |
Dawid Buchwald | a8de8b8b8f | |
Dawid Buchwald | 4a26aac5c8 | |
Dawid Buchwald | b70fe0e956 | |
Joerg Wunsch | e3338c428f | |
Jörg Wunsch | f1dbb2aae8 | |
Yegor Yefremov | b13c61893b | |
Marius Greuel | d2ae6a824f | |
Marius Greuel | 21d7fc58b6 | |
Dawid Buchwald | 1631fc4dd8 | |
Marius Greuel | c71fab0889 | |
Marius Greuel | 47b5d1af73 | |
Marius Greuel | 872f3a3a8d | |
Marius Greuel | 428f5828b4 | |
Marius Greuel | b87b527b3a | |
Marius Greuel | 80d53839dd | |
Marius Greuel | e1221e22ff | |
Joerg Wunsch | 7d574ccf0b | |
Jörg Wunsch | 366a368882 | |
Yegor Yefremov | f2d6342d21 | |
Joerg Wunsch | 11f7692cc0 | |
Jörg Wunsch | 6a737a0c13 | |
Marius Greuel | fc54ef5e59 | |
Marius Greuel | fe6f08d48f | |
Marius Greuel | d05c2db3fb | |
Marius Greuel | 1fb88c3040 | |
Marius Greuel | c035c91db5 | |
Joerg Wunsch | 3a3250322d | |
Jörg Wunsch | a91e389a5e | |
Yegor Yefremov | f29b2a283a | |
Joerg Wunsch | 8c4c9d0090 | |
Jörg Wunsch | 539eec79e6 | |
Joerg Wunsch | 32d78cc9a0 | |
Joerg Wunsch | 5cbd6a5160 | |
Jörg Wunsch | ac7a794b70 | |
Marius Greuel | f20c4bd9e6 | |
Joerg Wunsch | 67df9b0782 | |
Jörg Wunsch | 118993a584 | |
Joerg Wunsch | 6cfdb3a04b | |
Joerg Wunsch | fffbd09767 | |
Jörg Wunsch | 75fd2d5ea4 | |
Yegor Yefremov | d5b2106644 | |
Jörg Wunsch | a61707bb65 | |
Joerg Wunsch | 7bf9711392 | |
Jörg Wunsch | 3069105134 | |
Yegor Yefremov | a6ad88d9c4 | |
Joerg Wunsch | 8c1c803fb2 | |
Jörg Wunsch | 97c34f7b26 | |
Joerg Wunsch | 1529277477 | |
MCUdude | 50e15a5cf8 | |
Jörg Wunsch | 48a8388b09 | |
Hans | 4b76ccc951 | |
Jörg Wunsch | e27990bd54 | |
Jörg Wunsch | b8c825c9af | |
Joerg Wunsch | 124ef7fe3d | |
Joerg Wunsch | 6a87a110cc | |
Joerg Wunsch | 374861f62e | |
Marius Greuel | 3747db516a | |
Joerg Wunsch | dba89e7269 | |
Joerg Wunsch | 863f77d827 | |
Joerg Wunsch | 9c7bb3787d | |
Joerg Wunsch | eff180353e | |
Joerg Wunsch | f9ea588525 | |
Joerg Wunsch | fa079bec8c | |
Joerg Wunsch | 3a77394d67 | |
Kristof Mulier | 5c896992cd | |
Jörg Wunsch | 6aa65683ad | |
MCUdude | ecca860972 | |
Yegor Yefremov | dc1fed40bf | |
Marius Greuel | 4d5af6370d | |
Marius Greuel | 12a67554d9 | |
Jörg Wunsch | aa2f132b24 | |
Marius Greuel | e843db55ae | |
MCUdude | f96b98e9df | |
MCUdude | dcd5374ae9 | |
MCUdude | b9f03b1377 | |
MCUdude | f5bec43812 | |
MCUdude | a2a276a8cc | |
MCUdude | 71d5dbec48 | |
Joerg Wunsch | c69627a87c | |
Joerg Wunsch | a6a06f47f6 | |
Jörg Wunsch | 69231d7ad0 | |
MCUdude | 2623e7a9fa | |
MCUdude | 302b6eb05a | |
Joerg Wunsch | 89c4ab0375 | |
Marius Greuel | 5246cf1750 | |
Marius Greuel | 65e3fe358a | |
MCUdude | 0a335e2f73 | |
Joerg Wunsch | e3520aba9d | |
Jörg Wunsch | 4c3530e199 | |
Joerg Wunsch | a369f9d28f | |
Joerg Wunsch | fd276c1e88 | |
Joerg Wunsch | 805ca48ffa | |
Jörg Wunsch | b14459dc04 | |
Joerg Wunsch | a625db23e0 | |
Jörg Wunsch | f531af70db | |
Jörg Wunsch | 5520bd6711 | |
Marius Greuel | 55251ea6f5 | |
Marius Greuel | 3840468e36 | |
Marius Greuel | f391b7138b | |
Dawid Buchwald | c48c5135d8 | |
Dawid Buchwald | 993b8d7792 | |
Dawid Buchwald | b78170397a | |
Jörg Wunsch | c60c5c4b83 | |
Yegor Yefremov | d14bb02dca | |
Jörg Wunsch | 3d39f3f232 | |
Yegor Yefremov | f2dc95ea01 | |
Joerg Wunsch | 025ebd4ae8 | |
Joerg Wunsch | 47947fb35c | |
Marius Greuel | 86cef2559f | |
Jörg Wunsch | 1f44ec5e0c | |
Jörg Wunsch | 2c0ccfed3a | |
Dawid Buchwald | c093b21a67 | |
Dawid Buchwald | 291549d021 | |
Dawid Buchwald | 0bb1b758a4 | |
Jörg Wunsch | cef773d17f | |
Marius Greuel | 764c0f6e19 | |
Marius Greuel | 60cb548075 | |
Marius Greuel | 89c345c6a6 | |
Marius Greuel | e4ebfe420c | |
Marius Greuel | fbdb6a98c0 | |
Joerg Wunsch | 868895e2e0 | |
Jörg Wunsch | 6454bd79a8 | |
Joerg Wunsch | 3a8af359f3 | |
Jörg Wunsch | 6404e78154 | |
Dawid Buchwald | d1dddad896 | |
Dawid Buchwald | c3100763cb | |
Dawid Buchwald | dc846ba7e8 | |
Dawid Buchwald | 189f829c3f | |
Dawid Buchwald | 9ff14b7a42 | |
Dawid Buchwald | e941d4d3f1 | |
Dawid Buchwald | c6902553be | |
Dawid Buchwald | 8f67f9c50b | |
Dawid Buchwald | 748bee8ecf | |
Dawid Buchwald | b6e72dce4c | |
Marius Greuel | 062fa8c77b | |
Marius Greuel | e6427d3420 | |
Marius Greuel | 5633a6d88a | |
Marius Greuel | d5959d27b8 | |
Marius Greuel | 5596d06d93 | |
Marius Greuel | 9d916b31a0 | |
Marius Greuel | e85d112891 | |
Joerg Wunsch | 7015ebe0d6 | |
Joerg Wunsch | 02a2cab296 | |
Joerg Wunsch | 6264404cc1 | |
Joerg Wunsch | 2df2587155 | |
Joerg Wunsch | 202b6cab39 | |
Joerg Wunsch | 6f69ddb068 | |
Joerg Wunsch | 1214f99c2b | |
Joerg Wunsch | eb7ccaf92b | |
Joerg Wunsch | b376b6acdc | |
Joerg Wunsch | f09f308ff8 | |
Joerg Wunsch | 53de300b6e | |
Joerg Wunsch | 03132d7338 | |
Joerg Wunsch | 15bd30d442 | |
Joerg Wunsch | 4396674aa7 | |
Joerg Wunsch | c9a1405547 | |
Joerg Wunsch | 2aee540bfa | |
Joerg Wunsch | dd1255b0c8 | |
Joerg Wunsch | 18fe8ef834 | |
Joerg Wunsch | bd4f46b1ff | |
Joerg Wunsch | 6f183d427c | |
Joerg Wunsch | d208503911 | |
Joerg Wunsch | 93767e0de1 | |
Joerg Wunsch | 711323e7cc | |
Joerg Wunsch | 6887f4f373 | |
Joerg Wunsch | 49e5f2451c | |
Joerg Wunsch | 2015a874e0 | |
Joerg Wunsch | 5bf24e4e96 | |
Joerg Wunsch | 105cebb389 | |
Joerg Wunsch | 7ff5652edc | |
Joerg Wunsch | 6de6c0ffce | |
Joerg Wunsch | d947e5893f | |
Joerg Wunsch | 391439493d | |
Joerg Wunsch | 265aa3296b | |
Joerg Wunsch | 172fcb7c7e | |
Joerg Wunsch | bd50422644 | |
Joerg Wunsch | 8004e38403 | |
Joerg Wunsch | 9a15fcb25f | |
Joerg Wunsch | f821bfc03d | |
Joerg Wunsch | e8c5ed0fcd | |
Joerg Wunsch | ebea9b5237 | |
Joerg Wunsch | 5e6a662e8a | |
Joerg Wunsch | 3d1b0ff308 | |
Joerg Wunsch | db7249bf57 | |
Joerg Wunsch | 10df0ff15a | |
Joerg Wunsch | 91948428a6 | |
Joerg Wunsch | 62a00cedc7 | |
Joerg Wunsch | 8841a9cd93 | |
Joerg Wunsch | 46628eb3c6 | |
Joerg Wunsch | 84af4b36a1 | |
Joerg Wunsch | 1b3afa4cef | |
Joerg Wunsch | eb461f706f | |
Joerg Wunsch | 9cf4edf76f | |
Joerg Wunsch | ea27bfef1e | |
Joerg Wunsch | 7c554b0035 | |
Joerg Wunsch | 8907155291 | |
Joerg Wunsch | aedc3b0c2a | |
Joerg Wunsch | b05e8af0a7 | |
Joerg Wunsch | 60f5885849 | |
Joerg Wunsch | e074edf4cb | |
Joerg Wunsch | c9aeaf8928 | |
Joerg Wunsch | 38e5aa33ea | |
Joerg Wunsch | 69a771317f | |
Joerg Wunsch | 1b650f594d | |
Joerg Wunsch | c934f95f5e | |
Joerg Wunsch | e98f9854b7 | |
Joerg Wunsch | 40b0b104d6 | |
Joerg Wunsch | 9b3762a812 | |
Joerg Wunsch | 1d2e4ef388 | |
Joerg Wunsch | 2c4f9d23b4 | |
Joerg Wunsch | 3f5e101f09 | |
Joerg Wunsch | e35e8f414a | |
Joerg Wunsch | 4278300d8e | |
Joerg Wunsch | 34a1c8394c | |
Joerg Wunsch | acd2aa6417 | |
Joerg Wunsch | b23c506cbd | |
Joerg Wunsch | 60529b4e50 | |
Joerg Wunsch | da0e437eaa | |
Joerg Wunsch | 785b0cea55 | |
Joerg Wunsch | c34fb88844 | |
Joerg Wunsch | ae24d7a284 | |
Joerg Wunsch | e43c47a93f | |
Joerg Wunsch | 061406c602 | |
Joerg Wunsch | 4648eca956 | |
Joerg Wunsch | bb7be5efe6 | |
Joerg Wunsch | 536816087b | |
Joerg Wunsch | 0a3faafd57 | |
Joerg Wunsch | 46e573cde6 | |
Joerg Wunsch | f36484ed19 | |
Joerg Wunsch | d4b40ef6ee | |
Joerg Wunsch | 9cb9f504ae | |
Joerg Wunsch | 7de935d3ad | |
Joerg Wunsch | e5aca9db5b | |
Joerg Wunsch | f8cbb6ddad | |
Joerg Wunsch | 0bd9e3e48b | |
Joerg Wunsch | 6543ee1df6 | |
Joerg Wunsch | c3ec8d5229 | |
Joerg Wunsch | 7eb498992c | |
Joerg Wunsch | 7140312c17 | |
Joerg Wunsch | 845abf1d08 | |
Joerg Wunsch | b46c10e661 | |
Joerg Wunsch | 2b9108b58f | |
Joerg Wunsch | aab6f0bd35 | |
Joerg Wunsch | df4cd5e8a2 | |
Joerg Wunsch | 4de2d7c8c4 | |
Joerg Wunsch | 6744c9e48a | |
Joerg Wunsch | 164ee65147 | |
Joerg Wunsch | 85a2eed129 | |
Joerg Wunsch | 47112a4734 | |
Joerg Wunsch | 6b57f3dc8b | |
Joerg Wunsch | 559c20f207 | |
Joerg Wunsch | ecaaa1e1d5 | |
Joerg Wunsch | 7ac874ffe1 | |
Joerg Wunsch | 82dc3bf679 | |
Joerg Wunsch | 6e57e225e7 | |
Joerg Wunsch | 186656b855 | |
Joerg Wunsch | 492a7b6709 | |
Joerg Wunsch | 1c83889f8f | |
Joerg Wunsch | 9099352871 | |
Joerg Wunsch | d6deb43957 | |
Joerg Wunsch | f0c62a3ff8 | |
Joerg Wunsch | 7e32be2599 | |
Joerg Wunsch | 86ce06c189 | |
Joerg Wunsch | b5b37c30f2 | |
Joerg Wunsch | 71be95b16a | |
Joerg Wunsch | 185b615245 | |
Joerg Wunsch | 02e6082312 | |
Joerg Wunsch | a6dc66fb9e | |
Joerg Wunsch | 0634e4eb92 | |
Joerg Wunsch | 5dba081585 | |
Joerg Wunsch | 3afd51e7d5 | |
Joerg Wunsch | 9db53455a9 | |
Joerg Wunsch | 081b6fe229 | |
Joerg Wunsch | 45cdd4a906 | |
Joerg Wunsch | aac9fc6365 | |
Joerg Wunsch | 8b6b83043a | |
Joerg Wunsch | 04c1887b12 | |
Joerg Wunsch | 60849ce3c9 | |
Joerg Wunsch | 7aa558e562 | |
Joerg Wunsch | c686946563 | |
Joerg Wunsch | 1e05c4339f | |
Joerg Wunsch | 6326b19cfe | |
Joerg Wunsch | 4305a99484 | |
Joerg Wunsch | a7238c44af | |
Joerg Wunsch | b41fbccf3d | |
Joerg Wunsch | 5e874c8a04 | |
Joerg Wunsch | 141bdc7171 | |
Joerg Wunsch | 172f34f872 | |
Joerg Wunsch | 7d2a1c916b | |
Joerg Wunsch | f428a6db07 | |
Joerg Wunsch | c64d0cbf5a | |
Joerg Wunsch | 436a37eb5f | |
Joerg Wunsch | 260078ae86 | |
Joerg Wunsch | 3519f359cf | |
Joerg Wunsch | 4c36ad97c2 | |
Joerg Wunsch | 665d851523 | |
Joerg Wunsch | 2ef34a70c3 | |
Joerg Wunsch | 1d6192e487 | |
Joerg Wunsch | 5f1c98ed9d | |
Joerg Wunsch | e7377a9d52 | |
Joerg Wunsch | be5defaa86 | |
Joerg Wunsch | 3fd1765025 | |
Joerg Wunsch | 62a3bf0dcd | |
Rene Liebscher | 3aa2c9529b | |
Joerg Wunsch | d0955aa6e0 | |
Joerg Wunsch | 3f77955a47 | |
Joerg Wunsch | 25829f2c5e | |
Joerg Wunsch | 979f010e70 | |
Joerg Wunsch | 95da7a137b | |
Joerg Wunsch | d1af80102d | |
Rene Liebscher | 701db74e34 | |
Rene Liebscher | 5f8a599ce5 | |
Rene Liebscher | 58f509cb54 | |
Joerg Wunsch | 83ff6d306d | |
Joerg Wunsch | 3d5beb40df | |
Joerg Wunsch | b348d97620 | |
Joerg Wunsch | 361e948a7a | |
Joerg Wunsch | cdee435f8b | |
Rene Liebscher | 0136b7dd1b | |
Rene Liebscher | 1ec0fb131e | |
Rene Liebscher | 17bb2a10cd | |
Rene Liebscher | b3982b24f8 | |
Joerg Wunsch | a226a8a922 | |
Rene Liebscher | 8fd3870861 | |
Axel Wachtler | 8a387a198f | |
Joerg Wunsch | 960a7bc9d0 | |
Rene Liebscher | ec361815fa | |
Rene Liebscher | eab60712a0 | |
Rene Liebscher | f57f89bfec | |
Rene Liebscher | 2d2f71fb28 | |
Axel Wachtler | c6788bd795 | |
Rene Liebscher | 471b504278 | |
Rene Liebscher | 4ddd784940 | |
Rene Liebscher | 14ffb37cfd | |
Rene Liebscher | 29aab53b6f | |
Joerg Wunsch | 046d324d32 | |
Joerg Wunsch | 9d8f653f66 | |
Joerg Wunsch | d3149cee79 | |
Joerg Wunsch | 8b3a4aab56 | |
Joerg Wunsch | 94eed0dffe | |
Joerg Wunsch | d09bc2e1fb | |
Joerg Wunsch | d8089139d2 | |
Joerg Wunsch | 491876339b | |
Joerg Wunsch | 8a6f8b04bd | |
Axel Wachtler | 15a08ee93f | |
Joerg Wunsch | 3d4445ae87 | |
Axel Wachtler | eb5fcb581f | |
Joerg Wunsch | 52dd5cc7ac | |
Joerg Wunsch | 96647f1486 | |
Joerg Wunsch | a13d8b1ecf | |
Joerg Wunsch | 57903bdeb8 | |
Rene Liebscher | 2eec999cdb | |
Rene Liebscher | 868416dbba | |
Rene Liebscher | 487584b784 | |
Joerg Wunsch | 408184c43d | |
Joerg Wunsch | 584654b70e | |
Joerg Wunsch | d69b85c974 | |
Joerg Wunsch | 3e0b544560 |
|
@ -0,0 +1,39 @@
|
||||||
|
# EditorConfig: https://editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[{CMakeLists.txt,*.cmake}]
|
||||||
|
charset = utf-8
|
||||||
|
tab_width = 4
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[{bootstrap,configure.ac,avrdude.spec.in,Makefile.am}]
|
||||||
|
charset = utf-8
|
||||||
|
tab_width = 4
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[avrdude.conf.in]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.{c,h,cpp,y}]
|
||||||
|
tab_width = 4
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
charset = utf-8
|
||||||
|
tab_width = 2
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
charset = utf-8
|
||||||
|
tab_width = 2
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
|
@ -0,0 +1,4 @@
|
||||||
|
* text=auto eol=lf
|
||||||
|
*.sln text eol=crlf
|
||||||
|
*.vcxproj text eol=crlf
|
||||||
|
*.vcxproj.filters text eol=crlf
|
|
@ -0,0 +1,293 @@
|
||||||
|
#
|
||||||
|
# build.yml - GitHub build action for AVRDUDE
|
||||||
|
# Copyright (C) 2021 Marius Greuel
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- 'onlinedocs'
|
||||||
|
pull_request:
|
||||||
|
branches-ignore:
|
||||||
|
- 'onlinedocs'
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
env:
|
||||||
|
BUILD_TYPE: RelWithDebInfo
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linux-x86_64:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install prerequisites
|
||||||
|
run: >-
|
||||||
|
sudo apt-get update
|
||||||
|
|
||||||
|
sudo apt-get install -y
|
||||||
|
build-essential
|
||||||
|
cmake
|
||||||
|
flex
|
||||||
|
bison
|
||||||
|
libelf-dev
|
||||||
|
libusb-dev
|
||||||
|
libusb-1.0-0-dev
|
||||||
|
libhidapi-dev
|
||||||
|
libftdi1-dev
|
||||||
|
libreadline-dev
|
||||||
|
texinfo
|
||||||
|
texlive
|
||||||
|
texi2html
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-D BUILD_DOC=1
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D HAVE_LINUXGPIO=1
|
||||||
|
-D HAVE_LINUXSPI=1
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-B build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-linux-x86_64
|
||||||
|
path: |
|
||||||
|
build/
|
||||||
|
!**/*.d
|
||||||
|
!**/*.o
|
||||||
|
- name: Archive executables
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: avrdude-linux-x86_64
|
||||||
|
path: |
|
||||||
|
build/src/avrdude
|
||||||
|
build/src/avrdude.conf
|
||||||
|
|
||||||
|
linux:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: debian:11
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- { arch: i386, processor: i686, prefix: i686-linux-gnu, inc-lib: i386-linux-gnu }
|
||||||
|
- { arch: armhf, processor: armhf, prefix: arm-linux-gnueabihf, inc-lib: arm-linux-gnueabihf }
|
||||||
|
- { arch: arm64, processor: aarch64, prefix: aarch64-linux-gnu, inc-lib: aarch64-linux-gnu }
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Add architecture
|
||||||
|
run: |
|
||||||
|
dpkg --add-architecture ${{matrix.arch}}
|
||||||
|
apt-get update
|
||||||
|
- name: Install prerequisites
|
||||||
|
run: >-
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get install -y
|
||||||
|
git
|
||||||
|
cmake
|
||||||
|
flex
|
||||||
|
bison
|
||||||
|
crossbuild-essential-${{matrix.arch}}
|
||||||
|
libelf-dev:${{matrix.arch}}
|
||||||
|
libusb-dev:${{matrix.arch}}
|
||||||
|
libusb-1.0-0-dev:${{matrix.arch}}
|
||||||
|
libhidapi-dev:${{matrix.arch}}
|
||||||
|
libftdi1-dev:${{matrix.arch}}
|
||||||
|
libreadline-dev:${{matrix.arch}}
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D HAVE_LINUXGPIO=1
|
||||||
|
-D HAVE_LINUXSPI=1
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-D CMAKE_SYSTEM_NAME=Linux
|
||||||
|
-D CMAKE_SYSTEM_PROCESSOR=${{matrix.processor}}
|
||||||
|
-D CMAKE_C_COMPILER=${{matrix.prefix}}-gcc
|
||||||
|
-D CMAKE_FIND_ROOT_PATH=/usr/${{matrix.prefix}}
|
||||||
|
-D CMAKE_INCLUDE_PATH=/usr/include/${{matrix.inc-lib}}
|
||||||
|
-D CMAKE_LIBRARY_PATH=/usr/lib/${{matrix.inc-lib}}
|
||||||
|
-B build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-linux-${{matrix.processor}}
|
||||||
|
path: |
|
||||||
|
build/
|
||||||
|
!**/*.d
|
||||||
|
!**/*.o
|
||||||
|
- name: Archive executables
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: avrdude-linux-${{matrix.processor}}
|
||||||
|
path: |
|
||||||
|
build/src/avrdude
|
||||||
|
build/src/avrdude.conf
|
||||||
|
|
||||||
|
macos-x86_64:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install prerequisites
|
||||||
|
run: >-
|
||||||
|
# brew update
|
||||||
|
|
||||||
|
brew install
|
||||||
|
cmake
|
||||||
|
flex
|
||||||
|
bison
|
||||||
|
libelf
|
||||||
|
libusb
|
||||||
|
hidapi
|
||||||
|
libftdi
|
||||||
|
readline
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-D CMAKE_C_FLAGS=-I/usr/local/include
|
||||||
|
-D CMAKE_EXE_LINKER_FLAGS=-L/usr/local/Cellar
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-B build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-macos-x86_64
|
||||||
|
path: |
|
||||||
|
build/
|
||||||
|
!**/*.d
|
||||||
|
!**/*.o
|
||||||
|
- name: Archive executables
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: avrdude-macos-x86_64
|
||||||
|
path: |
|
||||||
|
build/src/avrdude
|
||||||
|
build/src/avrdude.conf
|
||||||
|
|
||||||
|
msvc:
|
||||||
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- { arch: x86, platform: Win32 }
|
||||||
|
- { arch: x64, platform: x64 }
|
||||||
|
- { arch: arm64, platform: ARM64 }
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install prerequisites
|
||||||
|
# As Chocolatey is notoriously unreliable, install winflexbison3 directly from GitHub.
|
||||||
|
# run: choco install winflexbison3
|
||||||
|
run: |
|
||||||
|
curl https://github.com/lexxmark/winflexbison/releases/download/v2.5.24/win_flex_bison-2.5.24.zip --location --output winflexbison.zip
|
||||||
|
unzip winflexbison.zip -d ${{github.workspace}}\winflexbison
|
||||||
|
echo "${{github.workspace}}\winflexbison" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-A ${{matrix.platform}}
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D CMAKE_SYSTEM_VERSION=11
|
||||||
|
-D CMAKE_C_FLAGS_RELWITHDEBINFO="/MT /GL /Zi /O2 /Ob1 /DNDEBUG"
|
||||||
|
-D CMAKE_CXX_FLAGS_RELWITHDEBINFO="/MT /GL /Zi /O2 /Ob1 /DNDEBUG"
|
||||||
|
-D CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO="/DEBUG /INCREMENTAL:NO /LTCG /OPT:REF /OPT:ICF"
|
||||||
|
-D HAVE_LIBREADLINE=HAVE_LIBREADLINE-NOTFOUND
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-D USE_EXTERNAL_LIBS=1
|
||||||
|
-B build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build --config ${{env.BUILD_TYPE}}
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-msvc-${{matrix.arch}}
|
||||||
|
path: |
|
||||||
|
build/
|
||||||
|
!**/_deps/
|
||||||
|
!**/*.obj
|
||||||
|
- name: Move executables
|
||||||
|
run: |
|
||||||
|
mv build/src/RelWithDebInfo/avrdude.exe build/src
|
||||||
|
mv build/src/RelWithDebInfo/avrdude.pdb build/src
|
||||||
|
- name: Archive executables
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: avrdude-msvc-${{matrix.arch}}
|
||||||
|
path: |
|
||||||
|
build/src/avrdude.exe
|
||||||
|
build/src/avrdude.pdb
|
||||||
|
build/src/avrdude.conf
|
||||||
|
|
||||||
|
mingw:
|
||||||
|
runs-on: windows-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: msys2 {0}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- { sys: mingw32, env: i686 }
|
||||||
|
- { sys: mingw64, env: x86_64 }
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: msys2/setup-msys2@v2
|
||||||
|
with:
|
||||||
|
msystem: ${{matrix.sys}}
|
||||||
|
update: true
|
||||||
|
install: >-
|
||||||
|
base-devel
|
||||||
|
mingw-w64-${{matrix.env}}-gcc
|
||||||
|
mingw-w64-${{matrix.env}}-cmake
|
||||||
|
mingw-w64-${{matrix.env}}-libelf
|
||||||
|
mingw-w64-${{matrix.env}}-libusb
|
||||||
|
mingw-w64-${{matrix.env}}-libusb-compat-git
|
||||||
|
mingw-w64-${{matrix.env}}-hidapi
|
||||||
|
mingw-w64-${{matrix.env}}-libftdi
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
cmake
|
||||||
|
-G"MSYS Makefiles"
|
||||||
|
-D DEBUG_CMAKE=1
|
||||||
|
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
-B build
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build
|
||||||
|
- name: Archive build artifacts
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-mingw-${{matrix.env}}
|
||||||
|
path: |
|
||||||
|
build/
|
||||||
|
- name: Archive executables
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: avrdude-mingw-${{matrix.env}}
|
||||||
|
path: |
|
||||||
|
build/src/avrdude.exe
|
||||||
|
build/src/avrdude.conf
|
|
@ -0,0 +1,78 @@
|
||||||
|
#
|
||||||
|
# deploy.yml - GitHub deploy action for AVRDUDE
|
||||||
|
# Copyright (C) 2021 Marius Greuel
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*-windows'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
uses: mariusgreuel/avrdude/.github/workflows/build.yml@windows
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
steps:
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
with:
|
||||||
|
tag_name: ${{github.ref}}
|
||||||
|
release_name: AVRDUDE ${{github.ref}}
|
||||||
|
body: "See **[Release Notes](https://github.com/avrdudes/avrdude/blob/main/NEWS)** for changes"
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
|
||||||
|
asset-msvc:
|
||||||
|
needs: release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- { arch: x86 }
|
||||||
|
- { arch: x64 }
|
||||||
|
- { arch: arm64 }
|
||||||
|
steps:
|
||||||
|
- name: Download artifact
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: avrdude-msvc-${{matrix.arch}}
|
||||||
|
|
||||||
|
- name: Create release asset
|
||||||
|
run: >-
|
||||||
|
zip -j asset.zip
|
||||||
|
avrdude.exe
|
||||||
|
avrdude.pdb
|
||||||
|
avrdude.conf
|
||||||
|
|
||||||
|
- name: Upload release asset
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
with:
|
||||||
|
upload_url: ${{needs.release.outputs.upload_url}}
|
||||||
|
asset_path: ./asset.zip
|
||||||
|
asset_name: avrdude-${{github.ref_name}}-windows-${{matrix.arch}}.zip
|
||||||
|
asset_content_type: application/zip
|
|
@ -1,3 +1,7 @@
|
||||||
|
.DS_Store
|
||||||
|
.deps/
|
||||||
|
.libs/
|
||||||
|
m4/
|
||||||
*.diff
|
*.diff
|
||||||
*.patch
|
*.patch
|
||||||
y.output
|
y.output
|
||||||
|
@ -5,16 +9,16 @@ y.tab.h
|
||||||
lexer.c
|
lexer.c
|
||||||
config_gram.c
|
config_gram.c
|
||||||
config_gram.h
|
config_gram.h
|
||||||
.cvsignore
|
|
||||||
.depend
|
.depend
|
||||||
.deps
|
|
||||||
INSTALL
|
INSTALL
|
||||||
Makefile.in
|
Makefile.in
|
||||||
Makefile
|
Makefile
|
||||||
ac_cfg.h.in
|
ac_cfg.h.in
|
||||||
|
ac_cfg.h.in~
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
autom4te.cache
|
autom4te.cache
|
||||||
configure
|
configure
|
||||||
|
configure~
|
||||||
depcomp
|
depcomp
|
||||||
install-sh
|
install-sh
|
||||||
compile
|
compile
|
||||||
|
@ -31,3 +35,33 @@ config.log
|
||||||
config.status
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
avrdude
|
avrdude
|
||||||
|
libtool
|
||||||
|
ltmain.sh
|
||||||
|
ylwrap
|
||||||
|
tags
|
||||||
|
cscope.out
|
||||||
|
|
||||||
|
*.o
|
||||||
|
*.lo
|
||||||
|
*.a
|
||||||
|
*.la
|
||||||
|
|
||||||
|
# CMake
|
||||||
|
out/
|
||||||
|
build/
|
||||||
|
build_*/
|
||||||
|
|
||||||
|
# Visual Studio
|
||||||
|
.vs/
|
||||||
|
[Dd]ebug/
|
||||||
|
[Rr]elease/
|
||||||
|
x64/
|
||||||
|
x86/
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.userosscache
|
||||||
|
*.sln.docstates
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Visual Studio code
|
||||||
|
.vscode/
|
26
AUTHORS
|
@ -2,6 +2,14 @@ AVRDUDE was written by:
|
||||||
|
|
||||||
Brian S. Dean <bsd@bdmicro.com>
|
Brian S. Dean <bsd@bdmicro.com>
|
||||||
|
|
||||||
|
AVRDUDE is currently maintained by:
|
||||||
|
|
||||||
|
Hans Eirik Bull
|
||||||
|
Stefan Rueger
|
||||||
|
Xiaofan Chen
|
||||||
|
Marius Greuel
|
||||||
|
Joerg Wunsch
|
||||||
|
|
||||||
Contributors:
|
Contributors:
|
||||||
|
|
||||||
Joerg Wunsch <j@uriah.heep.sax.de>
|
Joerg Wunsch <j@uriah.heep.sax.de>
|
||||||
|
@ -10,7 +18,7 @@ Contributors:
|
||||||
Alex Shepherd <maillists@ajsystems.co.nz>
|
Alex Shepherd <maillists@ajsystems.co.nz>
|
||||||
Martin Thomas <mthomas@rhrk.uni-kl.de>
|
Martin Thomas <mthomas@rhrk.uni-kl.de>
|
||||||
Theodore A. Roth <troth@openavr.org>
|
Theodore A. Roth <troth@openavr.org>
|
||||||
Michael Holzt <kju-avr@fqdn.org>
|
Juliane Holzt <avrdude@juliane.holzt.de>
|
||||||
Colin O'Flynn <coflynn@newae.com>
|
Colin O'Flynn <coflynn@newae.com>
|
||||||
Thomas Fischl <tfischl@gmx.de>
|
Thomas Fischl <tfischl@gmx.de>
|
||||||
David Hoerl <dhoerl@mac.com>
|
David Hoerl <dhoerl@mac.com>
|
||||||
|
@ -23,6 +31,20 @@ Contributors:
|
||||||
Brett Hagman <bhagman@roguerobotics.com>
|
Brett Hagman <bhagman@roguerobotics.com>
|
||||||
Rene Liebscher <r.liebscher@gmx.de>
|
Rene Liebscher <r.liebscher@gmx.de>
|
||||||
Jim Paris <jim@jtan.com>
|
Jim Paris <jim@jtan.com>
|
||||||
|
Jan Egil Ruud <janegil.ruud@microchip.com>
|
||||||
|
David Mosberger <davidm@egauge.net>
|
||||||
|
David Sainty
|
||||||
|
Marius Greuel <greuelm@mgtek.com>
|
||||||
|
Dawid Buchwald <dawid.buchwald@hotmail.com>
|
||||||
|
Hans Eirik Bull
|
||||||
|
Stefan Rueger
|
||||||
|
Xiaofan Chen
|
||||||
|
|
||||||
For minor contributions, please see the ChangeLog files.
|
Contributors to code no longer present:
|
||||||
|
|
||||||
|
Dale Roberts for the giveio driver
|
||||||
|
Paula Tomlinson for the loaddrv sources
|
||||||
|
Chris Liechti for loaddrv modifications
|
||||||
|
|
||||||
|
For minor contributions, please see the ChangeLog files / Git log.
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
$Id$
|
|
||||||
|
|
||||||
How to build avrdude from SVN:
|
|
||||||
|
|
||||||
1. svn co svn://svn.savannah.nongnu.org/avrdude/trunk
|
|
||||||
|
|
||||||
2. cd trunk/avrdude
|
|
||||||
|
|
||||||
3. ./bootstrap
|
|
||||||
|
|
||||||
4. ./configure
|
|
||||||
|
|
||||||
5. make
|
|
|
@ -0,0 +1,396 @@
|
||||||
|
#
|
||||||
|
# CMakeLists.txt - CMake project for AVRDUDE
|
||||||
|
# Copyright (C) 2021 Marius Greuel
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Typical usage:
|
||||||
|
# cmake -B build
|
||||||
|
# cmake --build build
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
project(avrdude VERSION 7.1 LANGUAGES C)
|
||||||
|
|
||||||
|
set(CMAKE_C_STANDARD 11)
|
||||||
|
set(CMAKE_C_STANDARD_REQUIRED True)
|
||||||
|
|
||||||
|
option(BUILD_DOC "Enable building documents" OFF)
|
||||||
|
option(HAVE_LINUXGPIO "Enable Linux sysfs GPIO support" OFF)
|
||||||
|
option(HAVE_LINUXSPI "Enable Linux SPI support" OFF)
|
||||||
|
option(HAVE_PARPORT "Enable parallel port support" OFF)
|
||||||
|
option(USE_EXTERNAL_LIBS "Use external libraries from AVRDUDE GitHub repositories" OFF)
|
||||||
|
option(USE_LIBUSBWIN32 "Prefer libusb-win32 over libusb" OFF)
|
||||||
|
option(DEBUG_CMAKE "Enable debugging output for this CMake project" OFF)
|
||||||
|
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
# Prefer static libraries over DLLs on Windows
|
||||||
|
option(USE_STATIC_LIBS "Use static libraries" ON)
|
||||||
|
else()
|
||||||
|
option(USE_STATIC_LIBS "Use static libraries" OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
include(CheckIncludeFile)
|
||||||
|
include(CheckSymbolExists)
|
||||||
|
include(FetchContent)
|
||||||
|
include(FindPackageMessage)
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
set(CONFIG_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}")
|
||||||
|
set(AVRDUDE_FULL_VERSION ${CMAKE_PROJECT_VERSION})
|
||||||
|
|
||||||
|
# =====================================
|
||||||
|
# Get Git commit info
|
||||||
|
# =====================================
|
||||||
|
|
||||||
|
# GIT_COMMIT_HASH -> hash of latest commit, e.g. b8b859f5
|
||||||
|
# GIT_COMMIT_DATE -> date of latest commit, e.g. 20201231
|
||||||
|
# GIT_COMMIT_YEAR -> year of latest commit, e.g. 2020
|
||||||
|
|
||||||
|
find_package(Git)
|
||||||
|
if(Git_FOUND)
|
||||||
|
execute_process(
|
||||||
|
COMMAND "${GIT_EXECUTABLE}" log -1 --format=%h
|
||||||
|
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||||
|
OUTPUT_VARIABLE GIT_COMMIT_HASH
|
||||||
|
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "${GIT_EXECUTABLE}" log -1 --format=%ad --date=format:%Y%m%d
|
||||||
|
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||||
|
OUTPUT_VARIABLE GIT_COMMIT_DATE
|
||||||
|
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "${GIT_EXECUTABLE}" log -1 --format=%ad --date=format:%Y
|
||||||
|
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||||
|
OUTPUT_VARIABLE GIT_COMMIT_YEAR
|
||||||
|
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND "${GIT_EXECUTABLE}" log -1 --tags --format=%h
|
||||||
|
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||||
|
OUTPUT_VARIABLE GIT_TAG_HASH
|
||||||
|
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
|
)
|
||||||
|
|
||||||
|
# If the commit is not tagged, include the date and commit hash in the full version string.
|
||||||
|
if(NOT GIT_COMMIT_HASH STREQUAL GIT_TAG_HASH)
|
||||||
|
set(AVRDUDE_FULL_VERSION "${CMAKE_PROJECT_VERSION}-${GIT_COMMIT_DATE} (${GIT_COMMIT_HASH})")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_package(FLEX)
|
||||||
|
if(NOT FLEX_FOUND)
|
||||||
|
message(SEND_ERROR "This CMake project requires 'flex', which is not installed on your system." )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_package(BISON QUIET)
|
||||||
|
if(BISON_FOUND)
|
||||||
|
find_package_message(BISON "Found BISON: ${BISON_EXECUTABLE} (found version \"${BISON_VERSION}\")" "[${BISON_EXECUTABLE}][${BISON_VERSION}]")
|
||||||
|
else()
|
||||||
|
find_program(YACC_EXECUTABLE NAMES yacc byacc DOC "path to the yacc executable")
|
||||||
|
mark_as_advanced(YACC_EXECUTABLE)
|
||||||
|
if(YACC_EXECUTABLE)
|
||||||
|
find_package_message(YACC "Found YACC: ${YACC_EXECUTABLE}" "[${YACC_EXECUTABLE}]")
|
||||||
|
else()
|
||||||
|
message(SEND_ERROR "This CMake project requires 'bison', 'yacc', or 'byacc', which is not installed on your system." )
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# =====================================
|
||||||
|
# Detect installed libraries
|
||||||
|
# =====================================
|
||||||
|
|
||||||
|
if(USE_STATIC_LIBS)
|
||||||
|
set(PREFERRED_LIBELF libelf.a elf)
|
||||||
|
set(PREFERRED_LIBUSB libusb.a usb)
|
||||||
|
set(PREFERRED_LIBUSB_1_0 libusb-1.0.a usb-1.0)
|
||||||
|
set(PREFERRED_LIBHIDAPI libhidapi.a libhidapi-libusb.a libhidapi-hidraw.a hidapi hidapi-libusb hidapi-hidraw)
|
||||||
|
set(PREFERRED_LIBFTDI libftdi.a ftdi)
|
||||||
|
set(PREFERRED_LIBFTDI1 libftdi1.a ftdi1)
|
||||||
|
set(PREFERRED_LIBREADLINE libreadline.a)
|
||||||
|
else()
|
||||||
|
set(PREFERRED_LIBELF elf)
|
||||||
|
set(PREFERRED_LIBUSB usb)
|
||||||
|
set(PREFERRED_LIBUSB_1_0 usb-1.0)
|
||||||
|
set(PREFERRED_LIBHIDAPI hidapi hidapi-libusb hidapi-hidraw)
|
||||||
|
set(PREFERRED_LIBFTDI ftdi)
|
||||||
|
set(PREFERRED_LIBFTDI1 ftdi1)
|
||||||
|
set(PREFERRED_LIBREADLINE readline)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Find libelf
|
||||||
|
|
||||||
|
find_library(HAVE_LIBELF NAMES ${PREFERRED_LIBELF})
|
||||||
|
if(HAVE_LIBELF)
|
||||||
|
set(LIB_LIBELF ${HAVE_LIBELF})
|
||||||
|
check_include_file(libelf.h HAVE_LIBELF_H)
|
||||||
|
check_include_file(libelf/libelf.h HAVE_LIBELF_LIBELF_H)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Find libusb
|
||||||
|
|
||||||
|
find_library(HAVE_LIBUSB NAMES ${PREFERRED_LIBUSB})
|
||||||
|
if(HAVE_LIBUSB)
|
||||||
|
set(LIB_LIBUSB ${HAVE_LIBUSB})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_library(HAVE_LIBUSB_1_0 NAMES ${PREFERRED_LIBUSB_1_0})
|
||||||
|
if(HAVE_LIBUSB_1_0)
|
||||||
|
set(LIB_LIBUSB_1_0 ${HAVE_LIBUSB_1_0})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# FreeBSD's library 'libusb' supports both the libusb-0.1 and libusb-1.0 API.
|
||||||
|
if (HAVE_LIBUSB AND CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
|
set(HAVE_LIBUSB_1_0 ${HAVE_LIBUSB})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_library(HAVE_LIBUSB_WIN32 NAMES libusb0.a usb0)
|
||||||
|
|
||||||
|
if(HAVE_LIBUSB OR HAVE_LIBUSB_1_0 OR HAVE_LIBUSB_WIN32)
|
||||||
|
check_include_file(usb.h HAVE_USB_H)
|
||||||
|
check_include_file(lusb0_usb.h HAVE_LUSB0_USB_H)
|
||||||
|
check_include_file(libusb.h HAVE_LIBUSB_H)
|
||||||
|
check_include_file(libusb-1.0/libusb.h HAVE_LIBUSB_1_0_LIBUSB_H)
|
||||||
|
|
||||||
|
if((USE_LIBUSBWIN32 OR NOT HAVE_LIBUSB) AND HAVE_LIBUSB_WIN32)
|
||||||
|
set(HAVE_LIBUSB ${HAVE_LIBUSB_WIN32})
|
||||||
|
set(LIB_LIBUSB ${HAVE_LIBUSB_WIN32})
|
||||||
|
unset(HAVE_USB_H CACHE)
|
||||||
|
elseif(NOT HAVE_USB_H)
|
||||||
|
find_path(LIBUSB_COMPAT_DIR libusb-compat/usb.h)
|
||||||
|
if(LIBUSB_COMPAT_DIR)
|
||||||
|
set(LIBUSB_COMPAT_DIR ${LIBUSB_COMPAT_DIR}/libusb-compat)
|
||||||
|
set(HAVE_USB_H 1)
|
||||||
|
else()
|
||||||
|
unset(LIBUSB_COMPAT_DIR CACHE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Find libhidapi
|
||||||
|
|
||||||
|
find_library(HAVE_LIBHID NAMES hid)
|
||||||
|
if(HAVE_LIBHID)
|
||||||
|
set(LIB_LIBHID ${HAVE_LIBHID})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_library(HAVE_LIBHIDAPI NAMES ${PREFERRED_LIBHIDAPI})
|
||||||
|
if(HAVE_LIBHIDAPI)
|
||||||
|
set(LIB_LIBHIDAPI ${HAVE_LIBHIDAPI})
|
||||||
|
check_include_file(hidapi/hidapi.h HAVE_HIDAPI_HIDAPI_H)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Find libftdi
|
||||||
|
|
||||||
|
find_library(HAVE_LIBFTDI NAMES ${PREFERRED_LIBFTDI})
|
||||||
|
if(HAVE_LIBFTDI)
|
||||||
|
set(LIB_LIBFTDI ${HAVE_LIBFTDI})
|
||||||
|
set(HAVE_LIBFTDI_TYPE_232H 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
find_library(HAVE_LIBFTDI1 NAMES ${PREFERRED_LIBFTDI1})
|
||||||
|
if(HAVE_LIBFTDI1)
|
||||||
|
set(LIB_LIBFTDI1 ${HAVE_LIBFTDI1})
|
||||||
|
set(HAVE_LIBFTDI_TYPE_232H 1)
|
||||||
|
set(CMAKE_REQUIRED_LIBRARIES ${LIB_LIBFTDI1} ${LIB_LIBUSB} ${LIB_LIBUSB_1_0})
|
||||||
|
check_symbol_exists(ftdi_tcioflush "libftdi1/ftdi.h" HAVE_FTDI_TCIOFLUSH)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# -------------------------------------
|
||||||
|
# Find libreadline
|
||||||
|
|
||||||
|
find_library(HAVE_LIBREADLINE NAMES ${PREFERRED_LIBREADLINE})
|
||||||
|
if(HAVE_LIBREADLINE)
|
||||||
|
set(LIB_LIBREADLINE ${HAVE_LIBREADLINE})
|
||||||
|
elseif(MSVC)
|
||||||
|
set(HAVE_LIBREADLINE 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# =====================================
|
||||||
|
# Use external libraries if requested
|
||||||
|
# =====================================
|
||||||
|
|
||||||
|
if(USE_EXTERNAL_LIBS)
|
||||||
|
FetchContent_Declare(libelf
|
||||||
|
GIT_REPOSITORY https://github.com/avrdudes/libelf.git
|
||||||
|
GIT_TAG e5a39bf19bd6598c42e09172be5a78ceec2a065c
|
||||||
|
)
|
||||||
|
|
||||||
|
FetchContent_Declare(libusb
|
||||||
|
GIT_REPOSITORY https://github.com/avrdudes/libusb.git
|
||||||
|
GIT_TAG 632bc25d04eff563cc00de29435b9a7ed6f4654c
|
||||||
|
)
|
||||||
|
|
||||||
|
FetchContent_Declare(libhidapi
|
||||||
|
GIT_REPOSITORY https://github.com/avrdudes/libhidapi.git
|
||||||
|
GIT_TAG d1307487973c857bc158e27ecc99644b2f5e68ea
|
||||||
|
)
|
||||||
|
|
||||||
|
FetchContent_Declare(libftdi
|
||||||
|
GIT_REPOSITORY https://github.com/avrdudes/libftdi.git
|
||||||
|
GIT_TAG f9fe6e96b97c3a08efd081632c1859cb83aa14e3
|
||||||
|
)
|
||||||
|
|
||||||
|
message(STATUS "Fetching external libraries, please wait...")
|
||||||
|
FetchContent_MakeAvailable(
|
||||||
|
libelf
|
||||||
|
libusb
|
||||||
|
libhidapi
|
||||||
|
libftdi
|
||||||
|
)
|
||||||
|
|
||||||
|
message(STATUS "Using external library 'libelf'")
|
||||||
|
set(LIB_LIBELF libelf)
|
||||||
|
set(HAVE_LIBELF 1)
|
||||||
|
set(HAVE_LIBELF_H 1)
|
||||||
|
|
||||||
|
message(STATUS "Using external library 'libusb'")
|
||||||
|
set(LIB_LIBUSB libusb)
|
||||||
|
set(HAVE_LIBUSB 1)
|
||||||
|
set(HAVE_LUSB0_USB_H 1)
|
||||||
|
|
||||||
|
message(STATUS "Using external library 'libhidapi'")
|
||||||
|
set(LIB_LIBHIDAPI libhidapi)
|
||||||
|
set(HAVE_LIBHIDAPI 1)
|
||||||
|
set(HAVE_HIDAPI_HIDAPI_H 1)
|
||||||
|
|
||||||
|
message(STATUS "Using external library 'libftdi'")
|
||||||
|
set(LIB_LIBFTDI libftdi)
|
||||||
|
set(HAVE_LIBFTDI 1)
|
||||||
|
set(HAVE_LIBFTDI_TYPE_232H 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
if(BUILD_DOC)
|
||||||
|
add_subdirectory(src/doc)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# =====================================
|
||||||
|
# Configuration
|
||||||
|
# =====================================
|
||||||
|
|
||||||
|
message(STATUS "Configuration summary:")
|
||||||
|
message(STATUS "----------------------")
|
||||||
|
|
||||||
|
if (DEBUG_CMAKE)
|
||||||
|
message(STATUS "CMAKE_HOST_SYSTEM: ${CMAKE_HOST_SYSTEM}")
|
||||||
|
message(STATUS "CMAKE_SYSTEM: ${CMAKE_SYSTEM}")
|
||||||
|
message(STATUS "CMAKE_FIND_ROOT_PATH: ${CMAKE_FIND_ROOT_PATH}")
|
||||||
|
message(STATUS "CMAKE_C_COMPILER: ${CMAKE_C_COMPILER}")
|
||||||
|
message(STATUS "CONFIG_DIR: ${CONFIG_DIR}")
|
||||||
|
message(STATUS "AVRDUDE_FULL_VERSION: ${AVRDUDE_FULL_VERSION}")
|
||||||
|
message(STATUS "USE_EXTERNAL_LIBS: ${USE_EXTERNAL_LIBS}")
|
||||||
|
message(STATUS "USE_LIBUSBWIN32: ${USE_LIBUSBWIN32}")
|
||||||
|
message(STATUS "HAVE_LIBELF: ${HAVE_LIBELF}")
|
||||||
|
message(STATUS "HAVE_LIBUSB: ${HAVE_LIBUSB}")
|
||||||
|
message(STATUS "HAVE_LIBUSB_1_0: ${HAVE_LIBUSB_1_0}")
|
||||||
|
message(STATUS "HAVE_LIBUSB_WIN32: ${HAVE_LIBUSB_WIN32}")
|
||||||
|
message(STATUS "HAVE_LIBHID: ${HAVE_LIBHID}")
|
||||||
|
message(STATUS "HAVE_LIBHIDAPI: ${HAVE_LIBHIDAPI}")
|
||||||
|
message(STATUS "HAVE_LIBFTDI: ${HAVE_LIBFTDI}")
|
||||||
|
message(STATUS "HAVE_LIBFTDI1: ${HAVE_LIBFTDI1}")
|
||||||
|
message(STATUS "HAVE_LIBREADLINE: ${HAVE_LIBREADLINE}")
|
||||||
|
message(STATUS "HAVE_LIBELF_H: ${HAVE_LIBELF_H}")
|
||||||
|
message(STATUS "HAVE_LIBELF_LIBELF_H: ${HAVE_LIBELF_LIBELF_H}")
|
||||||
|
message(STATUS "HAVE_USB_H: ${HAVE_USB_H}")
|
||||||
|
message(STATUS "HAVE_LUSB0_USB_H: ${HAVE_LUSB0_USB_H}")
|
||||||
|
message(STATUS "HAVE_LIBUSB_H: ${HAVE_LIBUSB_H}")
|
||||||
|
message(STATUS "HAVE_LIBUSB_1_0_LIBUSB_H: ${HAVE_LIBUSB_1_0_LIBUSB_H}")
|
||||||
|
message(STATUS "HAVE_HIDAPI_HIDAPI_H: ${HAVE_HIDAPI_HIDAPI_H}")
|
||||||
|
message(STATUS "LIBUSB_COMPAT_DIR: ${LIBUSB_COMPAT_DIR}")
|
||||||
|
message(STATUS "----------------------")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBELF)
|
||||||
|
message(STATUS "DO HAVE libelf")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libelf")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBUSB)
|
||||||
|
message(STATUS "DO HAVE libusb")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libusb")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBUSB_1_0)
|
||||||
|
message(STATUS "DO HAVE libusb_1_0")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libusb_1_0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBHIDAPI)
|
||||||
|
message(STATUS "DO HAVE libhidapi")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libhidapi")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBFTDI)
|
||||||
|
if(HAVE_LIBFTDI1)
|
||||||
|
message(STATUS "DO HAVE libftdi (but prefer to use libftdi1)")
|
||||||
|
else()
|
||||||
|
message(STATUS "DO HAVE libftdi")
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libftdi")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBFTDI1)
|
||||||
|
message(STATUS "DO HAVE libftdi1")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libftdi1")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBREADLINE)
|
||||||
|
message(STATUS "DO HAVE libreadline")
|
||||||
|
else()
|
||||||
|
message(STATUS "DON'T HAVE libreadline")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(BUILD_DOC)
|
||||||
|
message(STATUS "ENABLED doc")
|
||||||
|
else()
|
||||||
|
message(STATUS "DISABLED doc")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_PARPORT)
|
||||||
|
message(STATUS "ENABLED parport")
|
||||||
|
else()
|
||||||
|
message(STATUS "DISABLED parport")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LINUXGPIO)
|
||||||
|
message(STATUS "ENABLED linuxgpio")
|
||||||
|
else()
|
||||||
|
message(STATUS "DISABLED linuxgpio")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LINUXSPI)
|
||||||
|
message(STATUS "ENABLED linuxspi")
|
||||||
|
else()
|
||||||
|
message(STATUS "DISABLED linuxspi")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
message(STATUS "----------------------")
|
|
@ -0,0 +1,76 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "x64-Debug",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "Debug",
|
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "USE_EXTERNAL_LIBS",
|
||||||
|
"value": "true",
|
||||||
|
"type": "BOOL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "x64-Release",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "RelWithDebInfo",
|
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "USE_EXTERNAL_LIBS",
|
||||||
|
"value": "true",
|
||||||
|
"type": "BOOL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "x86-Debug",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "Debug",
|
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"inheritEnvironments": [ "msvc_x86" ],
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "USE_EXTERNAL_LIBS",
|
||||||
|
"value": "true",
|
||||||
|
"type": "BOOL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "x86-Release",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"configurationType": "RelWithDebInfo",
|
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
||||||
|
"cmakeCommandArgs": "",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"inheritEnvironments": [ "msvc_x86" ],
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "USE_EXTERNAL_LIBS",
|
||||||
|
"value": "true",
|
||||||
|
"type": "BOOL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
202
ChangeLog
|
@ -1,202 +0,0 @@
|
||||||
2014-03-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* pgm.c (pgm_free): Cleanup police: destroy the p->usbpid
|
|
||||||
list when freeing the programmer struct.
|
|
||||||
|
|
||||||
2014-03-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #40782: Verify errors for object size > 16 k on x32e5 due
|
|
||||||
to typo in avrdude.conf
|
|
||||||
* avrdude.conf.in (ATmega8E5, ATmega32E5): fix boot location
|
|
||||||
|
|
||||||
2014-02-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (atmelice, atmelice_pdi, atmelice_dw, atmelice_isp):
|
|
||||||
New entries.
|
|
||||||
* avrdude.1: Document the Atmel-ICE addition.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
* usbdevs.c (USB_DEVICE_ATMEL_ICE): New entry.
|
|
||||||
|
|
||||||
2014-02-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Bump copyright year.
|
|
||||||
|
|
||||||
2014-02-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c (jtag3_recv): avoid memmov'ing more data than available
|
|
||||||
|
|
||||||
2014-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.1: Documentation update for EDBG.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2014-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: For EDBG protocol, always use 512-byte block I/O. The
|
|
||||||
lower layers will split this according to the EP's maxsize. This
|
|
||||||
makes it work over USB 1.1 connections (albeit very slowly, due to
|
|
||||||
the interrupt transfers used).
|
|
||||||
|
|
||||||
2014-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* config_gram.y: Turn the usbpid parameter of the programmer into
|
|
||||||
a list of PIDs. Make the JTAGICE3 programmer handle a list of
|
|
||||||
PIDs, by trying each of them in sequence. Use a single, central
|
|
||||||
jtag3_open_common() function to handle the common code of all
|
|
||||||
jtag3_open_* functions. Centralize all USB VID/PID definitions in
|
|
||||||
usbdevs.h.
|
|
||||||
* flip1.c: (Dito.)
|
|
||||||
* ft245r.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* jtag3.c: (Dito.)
|
|
||||||
* jtag3.h: (Dito.)
|
|
||||||
* flip2.c: (Dito.)
|
|
||||||
* usbdevs.h: (Dito.)
|
|
||||||
* pgm.c: (Dito.)
|
|
||||||
* serial.h: (Dito.)
|
|
||||||
* pgm.h: (Dito.)
|
|
||||||
* usbtiny.c: (Dito.)
|
|
||||||
* usbasp.c: (Dito.)
|
|
||||||
* avrftdi.c: (Dito.)
|
|
||||||
* usbtiny.h: (Dito.)
|
|
||||||
* avrdude.conf.in: (Dito.)
|
|
||||||
* usbasp.h: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
|
|
||||||
2014-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c (usbdev_open): Replace all calls to exit(1) by
|
|
||||||
return -1
|
|
||||||
|
|
||||||
2014-02-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3_private.h: Add EDBG/CMSIS-DAP specific constants.
|
|
||||||
* jtag3.c: Add EDBG/CMSIS-DAP protocol implementation.
|
|
||||||
* serial.h: (Dito.)
|
|
||||||
* usbdevs.h: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
* configure.ac: (Dito.)
|
|
||||||
* avrdude.conf.in: Add JTAGICE3 and XplainedPro entries using
|
|
||||||
EDBG.
|
|
||||||
* configure.ac: Bump version date.
|
|
||||||
|
|
||||||
2014-02-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c (usbdev_recv_frame): Fix a bug where a new recv
|
|
||||||
request was issued even though all desired data had aldready
|
|
||||||
been received.
|
|
||||||
|
|
||||||
2014-02-21 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* serial.h: Change the second parameter of the ser_open method
|
|
||||||
from "baud" into a "union pinfo", so the USB parameters can be
|
|
||||||
passed without hacks.
|
|
||||||
* arduino.c: (Dito.)
|
|
||||||
* avr910.c: (Dito.)
|
|
||||||
* buspirate.c: (Dito.)
|
|
||||||
* butterfly.c: (Dito.)
|
|
||||||
* jtag3.c: (Dito.)
|
|
||||||
* jtagmkI.c: (Dito.)
|
|
||||||
* jtagmkII.c: (Dito.)
|
|
||||||
* ser_avrdoper.c: (Dito.)
|
|
||||||
* ser_posix.c: (Dito.)
|
|
||||||
* ser_win32.c: (Dito.)
|
|
||||||
* stk500.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
* wiring.c: (Dito.)
|
|
||||||
|
|
||||||
2014-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
[bug #41402] dfu.c missing include <stdint.h>
|
|
||||||
* dfu.c: include <stdint.h> where uint16_t is defined
|
|
||||||
|
|
||||||
2014-01-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega256RFR2 et al.): Fix EEPROM size.
|
|
||||||
|
|
||||||
2014-01-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
[bug #41357] OS X: Avrdude messes with the usb stack?
|
|
||||||
* usb_libusb.c (usbdev_close): Only issue the usb_reset() for
|
|
||||||
Linux systems, as these are the only ones that seem to require
|
|
||||||
it under some circumstances.
|
|
||||||
|
|
||||||
2014-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (libelf): check against elf_getshdrstrndx() rather
|
|
||||||
than just elf_begin() only, so it is clear we found a sufficiently
|
|
||||||
recent libelf to work with.
|
|
||||||
|
|
||||||
2014-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Alan Horstmann:
|
|
||||||
bug #40897: AT Mega2560 not correctly programmed with stk500(v1) ISP (solution patch)
|
|
||||||
* stk500.c: Implement extended address byte handling.
|
|
||||||
* avrdude.conf.in (ATmega2560): enable stk500_devcode so
|
|
||||||
STK500v1 protocol actually starts at all.
|
|
||||||
|
|
||||||
2014-01-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* flip1.c: Implement the meat of FLIP version 1 protocol.
|
|
||||||
* avrdude.1: Document the new protocol.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2014-01-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* flip2.c (flip2_page_erase): Remove unimplemented function.
|
|
||||||
* dfu.h: Correctly conditionalize <usb.h> vs. <lusb0_usb.h>;
|
|
||||||
add adjustable timeout (struct dfu_dev); add dfu_abort()
|
|
||||||
* dfu.c (dfu_abort): New function; implement adjustable timeout.
|
|
||||||
|
|
||||||
2014-01-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (libhid): Turn from AC_TRY_RUN into
|
|
||||||
AC_TRY_COMPILE, so it also works for cross-compilation
|
|
||||||
setups.
|
|
||||||
|
|
||||||
2014-01-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* dfu.c (dfu_init): Move the descriptor checks up into the
|
|
||||||
FLIP protocol implementation.
|
|
||||||
* flip2.c (flip2_initialize): (Dito.)
|
|
||||||
* flip1.c (flip1_initialize): (Dito.)
|
|
||||||
|
|
||||||
2014-01-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* flip2.c: Rename from flip.c
|
|
||||||
* flip2.h: Rename from flip.h
|
|
||||||
* Makefile.am: Reflect the renaming.
|
|
||||||
* dfu.c: Update information how to get GPL.
|
|
||||||
* dfu.h: (Dito.)
|
|
||||||
|
|
||||||
2014-01-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* flip.c (flip2_initialize): Check user is running on an Xmega
|
|
||||||
device.
|
|
||||||
|
|
||||||
2014-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* flip.c: Added some verbose-level messages (-vv)
|
|
||||||
* dfu.c: Added some verbose-level messages (-vvvv)
|
|
||||||
|
|
||||||
2014-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Kirill Levchenko:
|
|
||||||
patch #7896: DFU FLIPv2 programming support
|
|
||||||
* pgm_type.c: Add the flip2 programmer type.
|
|
||||||
* config_gram.y: Allow for the usbid keyword in a device definition.
|
|
||||||
* avrdude.conf.in: Add usbpid values to those Xmega devices where
|
|
||||||
applicable.
|
|
||||||
* avrpart.h: Add usbpid device field.
|
|
||||||
* dfu.c: (New file.)
|
|
||||||
* dfu.h: (New file.)
|
|
||||||
* flip.c: (New file.)
|
|
||||||
* flip.h: (New file.)
|
|
||||||
* Makefile.am: Add new files.
|
|
||||||
* doc/avrdude.texi: Document the changes.
|
|
||||||
* avrdude.1: (Dito.)
|
|
||||||
|
|
||||||
2014-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* ChangeLog-2013: Annual changelog rotation.
|
|
598
ChangeLog-2001
|
@ -1,598 +0,0 @@
|
||||||
2001-12-30 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: Update version.
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Clarify a comment.
|
|
||||||
|
|
||||||
* avrdude.conf.sample: fix address bits
|
|
||||||
|
|
||||||
* avrdude.1: Bring up to date.
|
|
||||||
|
|
||||||
2001-12-29 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Add the AVR3 progammer.
|
|
||||||
|
|
||||||
* avr.c, avrdude.conf.sample, config_gram.y, main.c, pindefs.h:
|
|
||||||
Fix VCC assertion.
|
|
||||||
|
|
||||||
Make the BUFF pin a mask like VCC to allow multiple pins to be
|
|
||||||
asserted at the same time (STK200 has two buffer enable lines).
|
|
||||||
|
|
||||||
Add the STK200 programmer.
|
|
||||||
|
|
||||||
Fix EEPROM address line selection for several parts.
|
|
||||||
|
|
||||||
2001-12-15 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample: fix spelling error
|
|
||||||
|
|
||||||
2001-11-24 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile:
|
|
||||||
Change "WARNING" to "NOTE" when overwriting the avrprog.conf file.
|
|
||||||
|
|
||||||
* avrdude.1: Add my e-mail address.
|
|
||||||
|
|
||||||
* avrdude.conf.sample:
|
|
||||||
Add comments about instruction formats. Correct an instruction
|
|
||||||
specification (cut&paste error).
|
|
||||||
|
|
||||||
2001-11-21 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, config_gram.y, lexer.l, term.c:
|
|
||||||
In interactive mode, reset the address and length if we start dumping
|
|
||||||
a memory type different than the previous one.
|
|
||||||
|
|
||||||
* avr.c, avrdude.conf.sample, config_gram.y:
|
|
||||||
Allow instruction data to be specified more flexibly, which can be
|
|
||||||
used to make the instruction input more readable in the config file.
|
|
||||||
|
|
||||||
* main.c: Bump version number.
|
|
||||||
|
|
||||||
* Makefile, avr.c, avr.h, avrdude.conf.sample, config.c, config.h:
|
|
||||||
* config_gram.y, fileio.c, fileio.h, lexer.l, main.c, term.c:
|
|
||||||
This is a major re-write of the programming algorithms. The Atmel
|
|
||||||
serial programming instructions are not very orthoganal, i.e., the
|
|
||||||
"read fuse bits" instruction on an ATMega103 is an entirely different
|
|
||||||
opcode and data format from the _same_ instruction for an ATMega163!
|
|
||||||
Thus, it becomes impossible to have a single instruction encoding
|
|
||||||
(varying the data) across the chip lines.
|
|
||||||
|
|
||||||
This set of changes allows and requires instruction encodings to be
|
|
||||||
defined on a per-part basis within the configuration file. Hopefully
|
|
||||||
I've defined the encoding scheme in a general enough way so it is
|
|
||||||
useful in describing the instruction formats for yet-to-be invented
|
|
||||||
Atmel chips. I've tried hard to make it match very closely with the
|
|
||||||
specification in Atmel's data sheets for their parts. It's a little
|
|
||||||
more verbose than what I initially hoped for, but I've tried to keep
|
|
||||||
it as concise as I could, while still remaining reasonably flexible.
|
|
||||||
|
|
||||||
2001-11-19 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrdude.conf.sample, main.c, ppi.c, term.c:
|
|
||||||
Add support for ATMega163.
|
|
||||||
|
|
||||||
Add support for reading/writing ATMega163 lock and fuse bits.
|
|
||||||
Unfortunately, in looking at the specs for other ATMega parts, they
|
|
||||||
use entirely different instruction formats for these commands. Thus,
|
|
||||||
these routines won't work for the ATMega103, for example.
|
|
||||||
|
|
||||||
Add support for sending raw command bytes via the interactive terminal
|
|
||||||
interface. This allows one to execute any programming instruction on
|
|
||||||
the target device, whether or not avrprog supports it explicitly or
|
|
||||||
not. Thus, one can use this feature to program fuse / lock bits, or
|
|
||||||
access any other feature of a current or future device that avrprog
|
|
||||||
does not know how to do.
|
|
||||||
|
|
||||||
Add in comments, an experimental instruction format in the
|
|
||||||
configuration file. If this works out, it would allow supporting new
|
|
||||||
parts and non-orthoganal instructions across existing parts without
|
|
||||||
making avrprog code changes.
|
|
||||||
|
|
||||||
2001-11-17 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Add ATMEGA163 part.
|
|
||||||
|
|
||||||
2001-11-11 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: output formatting
|
|
||||||
|
|
||||||
2001-11-05 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* ppi.c: Get ppi.h from /usr/include, not /sys.
|
|
||||||
|
|
||||||
2001-10-31 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, avrdude.conf.sample, main.c: Correct version string.
|
|
||||||
Update read/write status more frequently.
|
|
||||||
Prefix ATMega parts with an 'm'.
|
|
||||||
|
|
||||||
2001-10-16 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c: Change ording for memory display.
|
|
||||||
|
|
||||||
* config_gram.y: comment
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrdude.conf.sample, config_gram.y, lexer.l, term.c:
|
|
||||||
Fix (again, hopefully) page addressing for the ATMega parts.
|
|
||||||
|
|
||||||
Rename the poorly chosen name "bank" to "page" for page addressing.
|
|
||||||
Atmel calls it "page" in their documentation.
|
|
||||||
|
|
||||||
* config_gram.y, main.c: Fix an (non)exit.
|
|
||||||
Silence a couple of compiler warnings.
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrdude.conf.sample, config_gram.y, main.c:
|
|
||||||
Fix ATMega flash addressing. Add an ATMEGA16 part. Perform sanity
|
|
||||||
checking on the memory parameters for parts that do bank addressing.
|
|
||||||
|
|
||||||
2001-10-15 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* config.c, config.h, lists.h: Add copyright.
|
|
||||||
|
|
||||||
* config_gram.y, lexer.l, lists.c: Add copyrights.
|
|
||||||
|
|
||||||
* Makefile: Attempt to install avrprog.conf.
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Correct dt006 pinout.
|
|
||||||
|
|
||||||
* Makefile, lexer.l:
|
|
||||||
Try and detect an old-style config file and print an appropriate error
|
|
||||||
message and a suggestion for correcting it.
|
|
||||||
|
|
||||||
* Makefile, avr.c, avrdude.1, avrdude.conf.sample: Update the man page.
|
|
||||||
|
|
||||||
Miscellaneous minor cleanups.
|
|
||||||
|
|
||||||
2001-10-14 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, Makefile.inc, avr.c, avr.h, avrdude.conf.sample:
|
|
||||||
* config.c, config.h, config_gram.y, lexer.l, lists.c, lists.h:
|
|
||||||
* main.c, pindefs.h, term.c:
|
|
||||||
Use lex/yacc for parsing the config file. Re-work the config file
|
|
||||||
format using a more human-readable format.
|
|
||||||
|
|
||||||
Read part descriptions from the config file now instead of hard-coding
|
|
||||||
them.
|
|
||||||
|
|
||||||
Update usage().
|
|
||||||
|
|
||||||
Cleanup unused code.
|
|
||||||
|
|
||||||
* Makefile, avr.c, avr.h, fileio.c, term.c:
|
|
||||||
First cut at supporting the ATmega 103 which uses bank addressing and
|
|
||||||
has a 128K flash.
|
|
||||||
|
|
||||||
Due to the bank addressing required, interactive update of the flash
|
|
||||||
is not supported, though the eeprom can be updated interactively.
|
|
||||||
Both memories can be programmed via non-interactive mode.
|
|
||||||
|
|
||||||
Intel Hex Record type '04' is now generated as required for outputing
|
|
||||||
memory contents that go beyond 64K.
|
|
||||||
|
|
||||||
2001-10-13 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, avr.h, fileio.c, fileio.h, main.c, ppi.c, ppi.h, term.c:
|
|
||||||
* term.h:
|
|
||||||
Style fixes.
|
|
||||||
|
|
||||||
* avr.c, avr.h, fileio.c, fileio.h, main.c, term.c:
|
|
||||||
Commit changes in preparation for support the ATMega line.
|
|
||||||
|
|
||||||
2001-10-01 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile: Don't override CFLAGS.
|
|
||||||
|
|
||||||
* avrdude.1: Correct default pin assignment.
|
|
||||||
|
|
||||||
* avr.c, fileio.c, main.c, ppi.c, term.c:
|
|
||||||
Remove debugging code - it served its purpose.
|
|
||||||
|
|
||||||
Update copyrights.
|
|
||||||
|
|
||||||
2001-09-21 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c:
|
|
||||||
Be sure to read the exit specs after the pin configuration has been
|
|
||||||
assigned, otherwise, we may apply the exit specs to the wrong pins.
|
|
||||||
|
|
||||||
* main.c: debugging
|
|
||||||
|
|
||||||
2001-09-20 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.1, avrdude.conf.sample, main.c:
|
|
||||||
Prefix pin config entries in the config file with a "c:". Later, I
|
|
||||||
might make part descriptions read in this way and we can use a
|
|
||||||
different letter for those (p). This will make the parsing easier to
|
|
||||||
distinguish between the entry types.
|
|
||||||
|
|
||||||
* main.c: Initialize pin configuration description.
|
|
||||||
|
|
||||||
2001-09-19 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* AVRprog.pdf, Makefile, avr.c, avrdude.1, avrdude.conf.sample:
|
|
||||||
* avrdude.pdf, fileio.c, fileio.h, main.c, pindefs.h, term.c:
|
|
||||||
Make the pin definitions configurable based on entries in a config
|
|
||||||
file. This makes supporting other programmers much easier.
|
|
||||||
|
|
||||||
Rename AVRprog.pdf to avrprog.pdf.
|
|
||||||
|
|
||||||
2001-04-29 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog-programmer.jpg: Remove this image file from the repository.
|
|
||||||
|
|
||||||
2001-04-26 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog-schematic.jpg:
|
|
||||||
Remove this image, use AVRprog.pdf as the preferred schematic for the
|
|
||||||
programmer.
|
|
||||||
|
|
||||||
2001-04-25 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* AVRprog.pdf, Makefile, avrdude.1:
|
|
||||||
Add a schematic provided by Joerg Wunch and also update the manual
|
|
||||||
page (also updated by Joerg) to reference the schematic.
|
|
||||||
|
|
||||||
2001-02-25 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, Makefile.inc: Automate dependency generation.
|
|
||||||
|
|
||||||
2001-02-08 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: Turn off ready led when finished programming.
|
|
||||||
|
|
||||||
* main.c: update version
|
|
||||||
|
|
||||||
* avr.c, main.c: Correct a few comments.
|
|
||||||
|
|
||||||
* Makefile, avr.c, term.c: Makefile : update dependencies
|
|
||||||
|
|
||||||
avr.c : correct status led updates
|
|
||||||
|
|
||||||
term.c : update status leds on write, make the address and length
|
|
||||||
arguments for dump optional.
|
|
||||||
|
|
||||||
2001-01-26 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: Version 1.1
|
|
||||||
|
|
||||||
* main.c:
|
|
||||||
Hmmm ... cvs co -D <timestamp> does not work. Change the revision
|
|
||||||
timestamp to a full date/time value.
|
|
||||||
|
|
||||||
* avr.c, fileio.c, main.c, ppi.c, term.c:
|
|
||||||
Add a -V option to display the version information about each
|
|
||||||
component module. This is intended for support purposes, so that I
|
|
||||||
can tell unambiguously what version a binary out in the field is.
|
|
||||||
|
|
||||||
Additionally, display a revision timestamp along with the version
|
|
||||||
number. This also is intended for aiding in support and is the Unix
|
|
||||||
time of the latest component module. Having this, should allow me to
|
|
||||||
do a "cvs co -D timestamp avrprog" and get exactly the source of the
|
|
||||||
version that is being reported.
|
|
||||||
|
|
||||||
* fileio.c:
|
|
||||||
Return the maximum address (+1) written as opposed to the actual
|
|
||||||
number of bytes written. The presence of an Intel Hex address
|
|
||||||
record can cause these two number to be different; but the callers
|
|
||||||
of this routine need the former.
|
|
||||||
|
|
||||||
* main.c:
|
|
||||||
Fix a place where we were exiting without applying the exit-specs.
|
|
||||||
|
|
||||||
Wrap a long line.
|
|
||||||
|
|
||||||
* avr.c, fileio.c: avr.c: Update a comment.
|
|
||||||
|
|
||||||
fileio.c: Properly handle all the Intel Hex record types that I can
|
|
||||||
find information about.
|
|
||||||
|
|
||||||
2001-01-25 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Usage, avr.h: Get rid of the Usage file.
|
|
||||||
|
|
||||||
2001-01-24 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, avr.c, avr.h, main.c, pindefs.h, ppi.c:
|
|
||||||
Move pin definitions to their own file.
|
|
||||||
|
|
||||||
First pass at providing feedback via the optionally connected leds. I
|
|
||||||
don't actually have any of these attached to my programmer, so I can
|
|
||||||
only guess as whether this is toggling them on and off correctly.
|
|
||||||
|
|
||||||
Also, enable and disable the optional 74367 buffer.
|
|
||||||
|
|
||||||
* avr.h, main.c, ppi.c, ppi.h, avr.c:
|
|
||||||
Rearrange the pinout for the programmer to be a little more logical.
|
|
||||||
Provide hooks to support a buffered programmer, pin 6 is now used to
|
|
||||||
enable a buffer that can be used to isolate the target system from the
|
|
||||||
parallel port pins. This is important when programming the target
|
|
||||||
in-system.
|
|
||||||
|
|
||||||
Totally change the way the pin definitions are defined. Actually
|
|
||||||
set/clear pins based on the way more intuitive pin number, instead of
|
|
||||||
PPI data register, bit number combination. A table of pin data is
|
|
||||||
used so that any hardware inversion done by the parallel port is
|
|
||||||
accounted for, what you set is actually what appears at the pin.
|
|
||||||
Retain the old method for handling Vcc, however, because the hold
|
|
||||||
method is much easier to use when setting / retrieving multiple pins
|
|
||||||
simultaneously.
|
|
||||||
|
|
||||||
2001-01-22 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile: Don't gzip the man page.
|
|
||||||
|
|
||||||
* avrdude.1: .Nm macro fix. Submitted by Joerg.
|
|
||||||
|
|
||||||
* main.c: Cosmetic, don't output a preceding linefeed for usage().
|
|
||||||
|
|
||||||
* Makefile, avr.c, avr.h, fileio.c, term.c:
|
|
||||||
Makefile : use gzip -f for man page installation so that we don't get
|
|
||||||
prompted.
|
|
||||||
|
|
||||||
avr.c avr.h fileio.c term.c :
|
|
||||||
|
|
||||||
Change the avrpart data structure so that the typedef AVRMEM is
|
|
||||||
used as an index into an array for the sizes of the memory types
|
|
||||||
and also for pointers to buffers that represent the chip data for
|
|
||||||
that memory type. This removes a lot of conditional code of the
|
|
||||||
form:
|
|
||||||
|
|
||||||
switch (memtype) {
|
|
||||||
case AVR_FLASH :
|
|
||||||
...
|
|
||||||
}
|
|
||||||
|
|
||||||
Also, re-code avr_read_byte() and avr_write_byte() to properly
|
|
||||||
handle the flash memory type without having to tell them whether
|
|
||||||
they should program the high byte or the low byte - figure that
|
|
||||||
out from the address itself. For flash memory type, these
|
|
||||||
routines now take the actual byte address instead of the word
|
|
||||||
address. This _greatly_ simplifies many otherwise simple
|
|
||||||
operations, such a reading or writing a range of memory, by not
|
|
||||||
having to worry about whether the address starts on an odd byte
|
|
||||||
or an even byte.
|
|
||||||
|
|
||||||
2001-01-20 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, avr.h, fileio.c, fileio.h, main.c:
|
|
||||||
Return error codes instead of exiting, thus making sure that we exit
|
|
||||||
only via main() so that the exitspecs are properly applied.
|
|
||||||
|
|
||||||
When reading input data from a file, remember how many bytes were read
|
|
||||||
and write and verify only that many bytes.
|
|
||||||
|
|
||||||
Don't complain when an input file size is smaller than the memory size
|
|
||||||
we are programming. This is normal.
|
|
||||||
|
|
||||||
* fileio.c:
|
|
||||||
Correct checksum calculation; failure to account for the value of the
|
|
||||||
record type was causing non-zero record types to be calculated
|
|
||||||
incorrectly.
|
|
||||||
|
|
||||||
* Makefile, main.c: Makefile : install the man page
|
|
||||||
|
|
||||||
main.c : drop the giant usage text now that we have a man page.
|
|
||||||
|
|
||||||
* avrdude.1:
|
|
||||||
Add initial man page graciously contributed by Joerg Wunsch. Thanks
|
|
||||||
Joerg!
|
|
||||||
|
|
||||||
2001-01-19 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* term.c:
|
|
||||||
Accept abbreviations for eeprom and flash for the dump and write
|
|
||||||
commands.
|
|
||||||
|
|
||||||
Fix small bug keeping 1 character command lines from being added to
|
|
||||||
the history.
|
|
||||||
|
|
||||||
* term.c:
|
|
||||||
Implement enough state in cmd_dump so that if it is called with no
|
|
||||||
arguments, it successively dumps the next chunk of data of the same
|
|
||||||
previously specified length.
|
|
||||||
|
|
||||||
* term.c, term.h, fileio.c, fileio.h, main.c, ppi.c, ppi.h:
|
|
||||||
* Makefile, avr.c, avr.h, avrprog.c:
|
|
||||||
The program was getting too large for a single file. Split it up into
|
|
||||||
more modular pieces.
|
|
||||||
|
|
||||||
Also, accept command abbreviations as long as they are not ambiguous.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Add ability to specify the state of the power and reset pins on
|
|
||||||
program exit. Default to leaving the pins in the state they were when
|
|
||||||
we found them.
|
|
||||||
|
|
||||||
Contributed by: Joerg Wunsch
|
|
||||||
|
|
||||||
2001-01-18 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, avrprog.c:
|
|
||||||
Switch to using readline() for getting terminal input. I can't seem
|
|
||||||
to get the history capabilities working yet, but even so, it does
|
|
||||||
better handling of the prompt and strips newlines for us, so it's
|
|
||||||
still a win.
|
|
||||||
|
|
||||||
Add a few new commands for terminal mode: help, sig, part, erase.
|
|
||||||
Display rudimentory help using the help command.
|
|
||||||
|
|
||||||
Add some function prototypes.
|
|
||||||
|
|
||||||
* Usage, avrprog.c:
|
|
||||||
Change -c (interactive command mode) to the more intuitive -t
|
|
||||||
(terminal mode).
|
|
||||||
|
|
||||||
Make binary format the default for output.
|
|
||||||
|
|
||||||
Update the parts table with corrections for old values and add some
|
|
||||||
new values.
|
|
||||||
|
|
||||||
2001-01-15 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Automatically verify on-chip data with what we just programmed.
|
|
||||||
|
|
||||||
* avrprog.c, Makefile:
|
|
||||||
Prepare the Makefile for integration into the FreeBSD ports tree.
|
|
||||||
|
|
||||||
Fix a few "may be used uninitialized" bugs found by -Wall.
|
|
||||||
|
|
||||||
2001-01-14 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c: Free a buffer.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Use a smarter programming algorithm - read the existing data byte
|
|
||||||
first and only write the new one if it is different.
|
|
||||||
|
|
||||||
Add -n option which is a test mode in which the chip is not actually
|
|
||||||
updated. This option does not affect writes in interactive mode.
|
|
||||||
|
|
||||||
* avrprog.c: Add the "dump" and "write" interactive commands.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Correctly produce and handle "end of record" for intel hex files.
|
|
||||||
|
|
||||||
2001-01-13 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Re-enable writing to the chip. I should probably should make this a
|
|
||||||
command-line selectable option so that I don't keep forgetting and
|
|
||||||
committing it with it disabled.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Add a newline before exiting due to command line errors. Perform a
|
|
||||||
bit more option compatibility testing between -c, -i, and -o.
|
|
||||||
|
|
||||||
* avrprog.c: Add input file format auto-detection support.
|
|
||||||
|
|
||||||
* Usage, avrprog.c: Say what the defaults are.
|
|
||||||
|
|
||||||
* avrprog-programmer.jpg, Usage, avrprog-schematic.jpg: New files.
|
|
||||||
|
|
||||||
* avrprog.c: Correct usage text.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Parameterize a few additional items per chip. Print out all per-chip
|
|
||||||
parameters on startup. Use the per-chip parameters in the code
|
|
||||||
instead of hard-coded values for the 2313.
|
|
||||||
|
|
||||||
* avrprog.c: Fix filename assignment error.
|
|
||||||
|
|
||||||
Clean up debugging code a little, utilize fileio() instead of making
|
|
||||||
direct calls to b2ihex().
|
|
||||||
|
|
||||||
* avrprog.c: A lot of general code cleanup.
|
|
||||||
|
|
||||||
Re-work command line options to be more intuitive.
|
|
||||||
|
|
||||||
Support Intel Hex input and output file formats. Provide hooks to
|
|
||||||
support Motorola S-Record as well.
|
|
||||||
|
|
||||||
Add a few more part-specific parameters to the avrpart structure.
|
|
||||||
|
|
||||||
Only write the flash or eeprom if the data to be written is not 0xff.
|
|
||||||
|
|
||||||
2000-12-31 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c: Update a comment.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Provide the ability to tie additionally tie pins 6-9 of the parallel
|
|
||||||
port to Vcc in order to supply more current.
|
|
||||||
|
|
||||||
Fix a typo on the size of the S1200's Flash.
|
|
||||||
|
|
||||||
Bring RESET low when programming is completed.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Correct pin connection comments. Elaborate a bit on Vcc connection.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Update after receiving some good feedback from Joerg Wunsch. We
|
|
||||||
should now be able to program AT90S1200's.
|
|
||||||
|
|
||||||
2000-12-30 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c: Don't limit eeprom addresses.
|
|
||||||
|
|
||||||
2000-12-20 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, avrprog.c:
|
|
||||||
Add support for the 8515. Make the addition for other devices easier.
|
|
||||||
|
|
||||||
2000-08-27 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Clear all bits except AVR_RESET when finished reading or programming
|
|
||||||
the Atmel device.
|
|
||||||
|
|
||||||
2000-08-07 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c: update announcement message
|
|
||||||
|
|
||||||
* avrprog.c: Update announcement message.
|
|
||||||
|
|
||||||
* avrprog.c: Return the correct return code from 'main()'.
|
|
||||||
|
|
||||||
* avrprog.c:
|
|
||||||
Add ppi_pulse() function and fix ppi_toggle() to actully toggle
|
|
||||||
instead of pulse.
|
|
||||||
|
|
||||||
Make all abnormal returns after the parallel port has been opened go
|
|
||||||
through a single exit point at the bottom of 'main()'.
|
|
||||||
|
|
||||||
2000-08-06 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, avrprog.c: Makefile: add --pedantic compiler option
|
|
||||||
|
|
||||||
avrprog.c:
|
|
||||||
|
|
||||||
Add lots of comments, move getop() variable declarations to
|
|
||||||
the top of the program.
|
|
||||||
|
|
||||||
Add a typedef name to the AVR memory type and use it for
|
|
||||||
function declarations.
|
|
||||||
|
|
||||||
Add a usleep() delay in the sense loop to avoid becoming a cpu
|
|
||||||
hog.
|
|
||||||
|
|
||||||
Print out a version string so that folks know what version of
|
|
||||||
the software they are running.
|
|
||||||
|
|
||||||
Be sure and close the parallel device and the i/o file when
|
|
||||||
terminating abnormally.
|
|
||||||
|
|
||||||
* avrprog.c: Print out version information when invoked.
|
|
||||||
|
|
||||||
* Makefile, avrprog.c: Makefile: Add an install target.
|
|
||||||
|
|
||||||
avrprog.c:
|
|
||||||
|
|
||||||
Add license.
|
|
||||||
|
|
||||||
Document the header a bit better.
|
|
||||||
|
|
||||||
Add capability to read out and display the device signature bytes.
|
|
||||||
|
|
||||||
Add capability to power the device from the parallel port.
|
|
||||||
|
|
||||||
Eliminate debug print facility.
|
|
||||||
|
|
||||||
Provide 'avr_cmd()' function.
|
|
||||||
|
|
||||||
When memory locations don't program, generate a newline so that the
|
|
||||||
information is not overwritten and lost.
|
|
||||||
|
|
||||||
Don't print out the message about needing to specify a file if the
|
|
||||||
user is not requesting an operation that requires the file.
|
|
||||||
|
|
||||||
2000-08-05 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrprog.c: Pring usage when no arguments are supplied.
|
|
||||||
|
|
||||||
* Makefile, avrprog.c: Initial check-in
|
|
||||||
|
|
||||||
* Makefile, avrprog.c: New file.
|
|
||||||
|
|
237
ChangeLog-2002
|
@ -1,237 +0,0 @@
|
||||||
2002-12-12 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: minor cleanup
|
|
||||||
|
|
||||||
2002-12-07 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.1, main.c:
|
|
||||||
If the stk500 is being used, default to using the first serial port.
|
|
||||||
|
|
||||||
2002-12-03 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.1: Mention STK500 support.
|
|
||||||
|
|
||||||
2002-12-01 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* stk500.c: Remove unused code.
|
|
||||||
|
|
||||||
* CHANGELOG, stk500.c:
|
|
||||||
Document changes since the previous version in the CHANGELOG.
|
|
||||||
|
|
||||||
Cleanup stk500.c a bit.
|
|
||||||
|
|
||||||
* stk500.c: Fix cut and paste braino.
|
|
||||||
|
|
||||||
* avr.c, avrdude.conf.sample, main.c, pgm.h, stk500.c:
|
|
||||||
The STK500 can perform paged read/write operations even on standard
|
|
||||||
"non-paged" parts. Take advantage of that and use the faster internal
|
|
||||||
routines of the STK500 for those parts as well.
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrpart.h, main.c, pgm.c, pgm.h, stk500.c:
|
|
||||||
Optimize reading and writing for the STK500 programmer if the part
|
|
||||||
supports paged reads and writes. This greatly decreases the
|
|
||||||
program/verify time from about 4.5 minutes down to about 10 seconds in
|
|
||||||
a 12K program size test case.
|
|
||||||
|
|
||||||
Print out the hardware and firmware version for the STK500 if verbose
|
|
||||||
is enabled.
|
|
||||||
|
|
||||||
* avrdude.conf.sample, avrpart.h, config_gram.y, lexer.l, pgm.h:
|
|
||||||
* ppi.c, ppi.h, stk500.c, stk500.h, stk500_private.h:
|
|
||||||
Add basic support for STK500.
|
|
||||||
|
|
||||||
2002-11-30 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample, config.c, config.h, config_gram.y, lexer.l:
|
|
||||||
* main.c, pgm.c, pgm.h, ppi.c, ppi.h, term.c, term.h, Makefile:
|
|
||||||
* avr.c, avr.h:
|
|
||||||
Seperate programmer operations out into a driver-like interface so
|
|
||||||
that programmers other than the direct parallel port connection can be
|
|
||||||
supported.
|
|
||||||
|
|
||||||
2002-11-23 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG, main.c, term.c:
|
|
||||||
term.c - when in interactive terminal mode and dumping memory using
|
|
||||||
the 'dump <memtype>' command without any address information,
|
|
||||||
and the end of memory is reached, wrap back around to zero on
|
|
||||||
the next invocation.
|
|
||||||
|
|
||||||
CHANGELOG - describe changes
|
|
||||||
|
|
||||||
main.c - update version number
|
|
||||||
|
|
||||||
* main.c:
|
|
||||||
When getting ready to initiate communications with the AVR device,
|
|
||||||
first pull /RESET low for a short period of time before enabling the
|
|
||||||
buffer chip. This sequence allows the AVR to be reset before the
|
|
||||||
buffer is enabled to avoid a short period of time where the AVR may be
|
|
||||||
driving the programming lines at the same time the programmer tries
|
|
||||||
to. Of course, if a buffer is being used, then the /RESET line from
|
|
||||||
the programmer needs to be directly connected to the AVR /RESET line
|
|
||||||
and not via the buffer chip.
|
|
||||||
|
|
||||||
2002-11-06 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG: Update changelog.
|
|
||||||
|
|
||||||
* avr.c, avr.h, main.c: Fix -Y option. Reported by Joerg Wunsch.
|
|
||||||
|
|
||||||
2002-11-01 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG, main.c: Version update and CHANGELOG entry.
|
|
||||||
|
|
||||||
* avr.c:
|
|
||||||
Be backward compatible with the 2-byte rewrite cycle counter which
|
|
||||||
appeared in version 2.1.0, but was changed to a 4 byte counter in
|
|
||||||
version 2.1.1. Reminded by Joerg Wunsch.
|
|
||||||
|
|
||||||
2002-10-29 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG, avrdude.1, main.c:
|
|
||||||
Add '-V' (no verify) flag requested by Joerg Wunsch. Update the man
|
|
||||||
page.
|
|
||||||
|
|
||||||
2002-10-13 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG, avrdude.1: Update man page and changelog.
|
|
||||||
|
|
||||||
* main.c: Update version number.
|
|
||||||
|
|
||||||
2002-10-12 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile: Remove --pedantic and -g from the compiler options.
|
|
||||||
|
|
||||||
2002-10-11 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, term.c:
|
|
||||||
Use a four byte value instead of a two byte value for the programming
|
|
||||||
cycle count stored at the end of EEPROM. It seems as though Atmel was
|
|
||||||
greatly conservative in claiming a 1000 count reliability for the
|
|
||||||
FLASH. I current have a part that has been reprogrammed 173330 times,
|
|
||||||
and counting.
|
|
||||||
|
|
||||||
Fix a compiler warning.
|
|
||||||
|
|
||||||
* avrdude.conf.sample:
|
|
||||||
Fix ATMega128 instruction encoding for reading the low and high fuse
|
|
||||||
bits. Thanks to Joerg Wunsch for tripping over this.
|
|
||||||
|
|
||||||
2002-08-01 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, avrdude.1, main.c:
|
|
||||||
Move erase-rewrite cycle increment to within the chip erase routine so
|
|
||||||
that it is tracked no matter where the erase was initiated: command
|
|
||||||
line mode or interactive mode, without code duplicaiton.
|
|
||||||
|
|
||||||
* CHANGELOG: Recent updates.
|
|
||||||
|
|
||||||
* avr.c: Eliminate unused variables.
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrdude.1, fileio.c, main.c:
|
|
||||||
Implement a way of tracking how many erase-rewrite cycles a part has
|
|
||||||
undergone. This utilizes the last two bytes of EEPROM to maintain a
|
|
||||||
counter that is incremented each time the part is erased.
|
|
||||||
|
|
||||||
2002-07-27 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avr.c, main.c:
|
|
||||||
Fix a typo in a comment. Display the size of memory being written.
|
|
||||||
Display the correct memory name in an error message (previously
|
|
||||||
hardcoded).
|
|
||||||
|
|
||||||
2002-06-22 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG, avrdude.conf.sample:
|
|
||||||
Add support for ATtiny15 - contributed by Asher Hoskins
|
|
||||||
<asher@crumbly.freeserve.co.uk>
|
|
||||||
|
|
||||||
2002-04-23 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG: Say what changed.
|
|
||||||
|
|
||||||
2002-04-07 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* Makefile, avrdude.conf.sample:
|
|
||||||
Backup the config file to a timestamped name to keep from possibly
|
|
||||||
overwriting user-modified configs.
|
|
||||||
|
|
||||||
Add read/write instructions for all memory types for ATMEGA103,
|
|
||||||
ATMEGA128, ATMEGA16, and ATMEGA8.
|
|
||||||
|
|
||||||
2002-04-05 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample:
|
|
||||||
Add support for ATMEGA128; untested; requested by Jeff Gardner
|
|
||||||
<gardner@journey.com>.
|
|
||||||
|
|
||||||
2002-02-15 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Minor ordering.
|
|
||||||
|
|
||||||
* CHANGELOG, main.c: Update version numbers.
|
|
||||||
|
|
||||||
2002-02-14 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG: Summarize latest updates.
|
|
||||||
|
|
||||||
* avrdude.conf.sample, config_gram.y:
|
|
||||||
Make pwroff_after_write a yes/no field instead of a numeric.
|
|
||||||
|
|
||||||
* avrdude.conf.sample: Document the pwroff_after_write flag.
|
|
||||||
|
|
||||||
* avr.c: Enable the extra part verbosity when verbosity >= 3.
|
|
||||||
|
|
||||||
* avr.c, avr.h, avrdude.conf.sample, config_gram.y, lexer.l:
|
|
||||||
* main.c, term.c:
|
|
||||||
Fix error reporting by avr_write_byte().
|
|
||||||
|
|
||||||
Fix setting of status LEDs under various write-fail conditions.
|
|
||||||
|
|
||||||
Add a flag to indicate that a memory type requires the device to
|
|
||||||
possibly be powered off and back on after a write to it. This is due
|
|
||||||
to a hardware problem on some Atmel devices, see:
|
|
||||||
|
|
||||||
http://www.atmel.com/atmel/acrobat/doc1280.pdf
|
|
||||||
|
|
||||||
Add greater verbosity to the part-display code when verbose>1 to
|
|
||||||
display avrprog's encoding of the defined programming instructions.
|
|
||||||
This is primarily for debugging purposes.
|
|
||||||
|
|
||||||
|
|
||||||
Part updates:
|
|
||||||
|
|
||||||
* add the AT90S4414 part
|
|
||||||
|
|
||||||
* add fuse and lock bit access instructions for the AT90S1200,
|
|
||||||
AT90S4434, and AT90S8515.
|
|
||||||
|
|
||||||
* add the pwroff_after_write flag to the fuse bits for the AT90S2333
|
|
||||||
and AT90S4433 parts
|
|
||||||
|
|
||||||
2002-02-09 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* avrdude.conf.sample:
|
|
||||||
Updates to the 2333 and 4433 parts, contributed by Joerg Wunsh.
|
|
||||||
|
|
||||||
2002-01-18 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* CHANGELOG: Add changelog.
|
|
||||||
|
|
||||||
2002-01-12 Brian S. Dean <bsd@bsdhome.com>
|
|
||||||
|
|
||||||
* main.c: Add (c) to copyright.
|
|
||||||
|
|
||||||
* fileio.c, fileio.h, lexer.l, lists.c, lists.h, main.c:
|
|
||||||
* pindefs.h, ppi.c, ppi.h, term.c, term.h, avr.c, avr.h:
|
|
||||||
* config.c, config.h, config_gram.y:
|
|
||||||
Update version number. Update copyright.
|
|
||||||
|
|
||||||
* avrdude.1: Update copyright and add description of "default".
|
|
||||||
|
|
||||||
Submitted by: Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr.c, term.c:
|
|
||||||
Fix programming of write-only memories (such as lock bits on the
|
|
||||||
2313).
|
|
||||||
|
|
1095
ChangeLog-2003
1644
ChangeLog-2004-2006
364
ChangeLog-2007
|
@ -1,364 +0,0 @@
|
||||||
2007-11-08 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Partially revert the line buffered output change,
|
|
||||||
and turn stderr into unbuffered output while producing the
|
|
||||||
progress report.
|
|
||||||
|
|
||||||
2007-11-07 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Add setup and teardown hooks to the programmer
|
|
||||||
definition. If present, call the setup hook immediately after
|
|
||||||
finding the respective programmer object, and schedule the
|
|
||||||
teardown hook to be called upon exit. This allows the
|
|
||||||
programmer implementation to dynamically allocate private
|
|
||||||
programmer data.
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* avr910.c: Convert static programmer data into dynamically
|
|
||||||
allocated data.
|
|
||||||
* butterfly.c: (Ditto.)
|
|
||||||
* jtagmkI.c: (Ditto.)
|
|
||||||
* jtagmkII.c: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* usbasp.c: (Ditto.)
|
|
||||||
* usbtiny.c: (Ditto.)
|
|
||||||
|
|
||||||
2007-11-06 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* butterfly.c: Remove the no_show_func_info() calls, as Brian
|
|
||||||
promised some 4 years ago.
|
|
||||||
|
|
||||||
2007-11-06 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Add the -x option to pass extended parameters to
|
|
||||||
the programmer backend.
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* jtagmkII.c: Implement the extended parameter jtagchain=
|
|
||||||
to support JTAG daisy-chains.
|
|
||||||
* avrdude.1: Document all of the above.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2007-10-30 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version for post-release.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version, releasing avrdude-5.5.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by <bikenomad@gmail.com>:
|
|
||||||
patch #5007: Patch for line-buffering of stdout and stderr
|
|
||||||
* main.c: call setvbuf() for stdout and stderr.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by <graceindustries@gmail.com>:
|
|
||||||
patch #5953: Add AT90CAN64 and AT90CAN32 to avrdude.conf
|
|
||||||
* avrdude.conf.in: Add entry for AT90CAN64 and AT90CAN32.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Wolfgang Moser:
|
|
||||||
patch #6121: ISP support for the C2N232I device (serial port
|
|
||||||
bitbanging)
|
|
||||||
* avrdude.conf.in: Add entry for c2n232i.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by <karl.yerkes@gmail.com>:
|
|
||||||
patch #6141: accept binary format immediate values
|
|
||||||
* fileio.c: Detect a 0b prefix, and call strtoul() differently
|
|
||||||
in that case.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #21076: -vvvv serial receive prints are empty in Win32 build
|
|
||||||
* ser_win32.c (ser_recv): Drop the essentially unused variable
|
|
||||||
"len", and use the variable "read" in order to track how many
|
|
||||||
bytes have just been read in.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #21145: atmega329p not recognized
|
|
||||||
* avrdude.conf.in: Add definitions for the ATmega329P/3290P.
|
|
||||||
Same as ATmega329/3290 except of the different signature.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #21152: Unable to program atmega324p with avrdude 5.4 and AVRISP
|
|
||||||
using default configuration file.
|
|
||||||
* avrdude.conf.in: Uncomment the (bogus) stk500_devcode lines for
|
|
||||||
the ATmega164P, ATmega324P, ATmega644, and ATmega644P definitions.
|
|
||||||
This only affects users of STK500v1 firmware.
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by <ladyada@gmail.com>:
|
|
||||||
Patch #6233: Add support for USBtinyISP programmer
|
|
||||||
* usbtiny.c: New file.
|
|
||||||
* usbtiny.h: (Ditto.)
|
|
||||||
* Makefile.am: Include usbtiny into the build.
|
|
||||||
* avrdude.conf.in: (Ditto.)
|
|
||||||
* config_gram.y: (Ditto.)
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.1: Document the usbtiny support.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2007-10-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* doc/avrdude.texi: Sort list of supported programmers into
|
|
||||||
alphabetical order, add all missing programmers.
|
|
||||||
|
|
||||||
2007-07-24 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
* usbasp.c: Added long addresses to support devices with more
|
|
||||||
than 64kB flash. Closes bug #20558: Long address problem with
|
|
||||||
USBasp.
|
|
||||||
|
|
||||||
2007-06-27 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* Makefile.am (EXTRA_DIST): Add ChangeLog-2004-2006.
|
|
||||||
|
|
||||||
2007-05-16 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version for post-release.
|
|
||||||
|
|
||||||
2007-05-16 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version, releasing avrdude-5.4.
|
|
||||||
|
|
||||||
2007-05-16 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Fix AVR910 devcodes. It seems that the AVR109
|
|
||||||
listing refers to "BOOT"-type code, while the standard codes are
|
|
||||||
different (usually one below).
|
|
||||||
|
|
||||||
2007-05-16 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr.c (avr_read, avr_write): only use the paged_load and
|
|
||||||
paged_write backend functions iff the memory area in question has
|
|
||||||
a page_size != 0.
|
|
||||||
This is supposed to fix bug #19234: avrdude-5.3.1 segfaults when
|
|
||||||
stk500v1 tries to program an ATtiny15
|
|
||||||
|
|
||||||
2007-05-15 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr910.c: Fall back to avr_{read,write}_byte_default(). Fixes
|
|
||||||
bug #18803: Fuse reading regression in avrdude 5.3.1 with avr910
|
|
||||||
programmer
|
|
||||||
|
|
||||||
2007-05-15 Colin O'Flynn <coflynn@newae.com>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Rename the ATmega164 and ATmega324 into
|
|
||||||
ATmega164P and ATmega324P, resp. Add an entry for the ATmega644P.
|
|
||||||
Fixes bug #19769: ATmega164p not recognized
|
|
||||||
|
|
||||||
2007-05-15 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* ser_posix.c (ser_send): Don't select() on the output fd before
|
|
||||||
trying to write something to the serial line. That kind of
|
|
||||||
polling isn't very useful anyway, and it seems it breaks for the
|
|
||||||
Linux CP210x USB<->RS-232 bridge driver which is certainly a bug
|
|
||||||
in the driver, but we can just avoid that bug alltogether.
|
|
||||||
|
|
||||||
2007-05-15 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Fix the STK500v2 ISP delay parameter for
|
|
||||||
ATmega640/1280/1281/2560/2561. Atmel has changed the XML
|
|
||||||
files after the initial release.
|
|
||||||
|
|
||||||
2007-05-01 Colin O'Flynn <coflynn@newae.com>
|
|
||||||
|
|
||||||
* safemode.c: -Oops - bug in verbose output. Fixed.
|
|
||||||
-Fixed handling of cases where programmer cannot read fuses (AVR910)
|
|
||||||
* main.c: -Also fixing handling of cases where programmer cannot
|
|
||||||
read fuses
|
|
||||||
This should close one or more bugs (18803, 19570)
|
|
||||||
|
|
||||||
2007-05-01 Colin O'Flynn <coflynn@newae.com>
|
|
||||||
|
|
||||||
* safemode.c: Added verbose output from safemode routines.
|
|
||||||
|
|
||||||
2007-03-25 Colin O'Flynn <coflynn@newae.com>
|
|
||||||
|
|
||||||
* stk500generic.c: Forgot to close the serial port before trying to
|
|
||||||
open it again, caused problems on Windows machines.
|
|
||||||
Closes bug #19411
|
|
||||||
|
|
||||||
2007-02-26 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Add the AT90PWM2/3B devices.
|
|
||||||
|
|
||||||
2007-02-02 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
* usbasp.c: Changed return value of function usbasp_initialize to stop
|
|
||||||
avrdude on communication errors between programmer and target.
|
|
||||||
Closes bug #18581: safemode destroys fuse bits
|
|
||||||
|
|
||||||
2007-02-01 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* config_gram.y: Remove duplicate definition of token K_WRITEPAGE
|
|
||||||
|
|
||||||
2007-01-30 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* butterfly.c: Implement ATmega256x support for butterfly/avr109.
|
|
||||||
|
|
||||||
2007-01-30 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Fix subdir handling. Now finally, "make
|
|
||||||
distcheck" will include the documentation into the tarball even if
|
|
||||||
the configure had been run without the --enable-doc.
|
|
||||||
|
|
||||||
2007-01-30 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* safemode.c: Obtain progname from avrdude.h rather than trying to
|
|
||||||
roll our own (duplicate) copy of it.
|
|
||||||
* avr910.c: Constify char pointers.
|
|
||||||
* avrpart.c: (Ditto.)
|
|
||||||
* avrpart.h: (Ditto.)
|
|
||||||
* butterfly.c: (Ditto.)
|
|
||||||
* config.c: (Ditto.)
|
|
||||||
* config.h: (Ditto.)
|
|
||||||
* jtagmkI.c: (Ditto.)
|
|
||||||
* jtagmkII.c: (Ditto.)
|
|
||||||
* par.c: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* serbb_posix.c: (Ditto.)
|
|
||||||
* serbb_win32.c: (Ditto.)
|
|
||||||
* stk500.c: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* usbasp.c: (Ditto.)
|
|
||||||
|
|
||||||
2007-01-29 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrpart.c: More backend/library abstraction and generalization:
|
|
||||||
turn the list_parts() and list_programmers() functions into
|
|
||||||
general list iteration functions that call a caller-supplied
|
|
||||||
callback for each element. Implement list_parts() and
|
|
||||||
list_programmers() as private functions in main.c based on that
|
|
||||||
approach.
|
|
||||||
* avrpart.h: (Ditto.)
|
|
||||||
* main.c: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
|
|
||||||
2007-01-25 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* Makefile.am: Rearrange everything so it is now built into a
|
|
||||||
libavrdude.a library, and link main.c against that library.
|
|
||||||
* configure.ac: Add AC_PROG_RANLIB as we are building a library
|
|
||||||
now.
|
|
||||||
|
|
||||||
2007-01-24 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Major code cleanup.
|
|
||||||
- Make all internal functions "static".
|
|
||||||
- Make sure each module's header and implementation file match.
|
|
||||||
- Remove all library-like functionality from main.c, so only
|
|
||||||
the actual frontend remains in main.c.
|
|
||||||
- Add C++ brackets to all header files.
|
|
||||||
* avr.c: (Ditto.)
|
|
||||||
* avr.h: (Ditto.)
|
|
||||||
* avr910.c: (Ditto.)
|
|
||||||
* avr910.h: (Ditto.)
|
|
||||||
* avrdude.h: (Ditto.)
|
|
||||||
* avrpart.c: (Ditto.)
|
|
||||||
* avrpart.h: (Ditto.)
|
|
||||||
* bitbang.h: (Ditto.)
|
|
||||||
* butterfly.h: (Ditto.)
|
|
||||||
* config.c: (Ditto.)
|
|
||||||
* config.h: (Ditto.)
|
|
||||||
* confwin.h: (Ditto.)
|
|
||||||
* crc16.c: (Ditto.)
|
|
||||||
* crc16.h: (Ditto.)
|
|
||||||
* fileio.c: (Ditto.)
|
|
||||||
* fileio.h: (Ditto.)
|
|
||||||
* jtagmkI.h: (Ditto.)
|
|
||||||
* jtagmkII.h: (Ditto.)
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* lists.h: (Ditto.)
|
|
||||||
* main.c: (Ditto.)
|
|
||||||
* par.h: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* ppi.c: (Ditto.)
|
|
||||||
* ppi.h: (Ditto.)
|
|
||||||
* safemode.h: (Ditto.)
|
|
||||||
* serbb.h: (Ditto.)
|
|
||||||
* serial.h: (Ditto.)
|
|
||||||
* stk500.h: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* stk500v2.h: (Ditto.)
|
|
||||||
* term.c: (Ditto.)
|
|
||||||
* term.h: (Ditto.)
|
|
||||||
* usbasp.h: (Ditto.)
|
|
||||||
* update.c: New file.
|
|
||||||
* update.h: New file.
|
|
||||||
* Makefile.am: Include update.c and update.h.
|
|
||||||
|
|
||||||
2007-01-24 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Move all "extern" declarations into a centreal header file.
|
|
||||||
* Makefile.am: Add new avrdude.h.
|
|
||||||
* avrdude.h: New file.
|
|
||||||
* avr.c: Replace private extern decl's by #include "avrdude.h".
|
|
||||||
* avr910.c: (Ditto.)
|
|
||||||
* avrpart.c: (Ditto.)
|
|
||||||
* bitbang.c: (Ditto.)
|
|
||||||
* butterfly.c: (Ditto.)
|
|
||||||
* config.c: (Ditto.)
|
|
||||||
* config_gram.y: (Ditto.)
|
|
||||||
* fileio.c: (Ditto.)
|
|
||||||
* jtagmkI.c: (Ditto.)
|
|
||||||
* jtagmkII.c: (Ditto.)
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* main.c: (Ditto.)
|
|
||||||
* par.c: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* ppi.c: (Ditto.)
|
|
||||||
* ppiwin.c: (Ditto.)
|
|
||||||
* ser_avrdoper.c: (Ditto.)
|
|
||||||
* ser_posix.c: (Ditto.)
|
|
||||||
* ser_win32.c: (Ditto.)
|
|
||||||
* serbb_posix.c: (Ditto.)
|
|
||||||
* serbb_win32.c: (Ditto.)
|
|
||||||
* stk500.c: (Ditto.)
|
|
||||||
* stk500generic.c: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* term.c: (Ditto.)
|
|
||||||
* usb_libusb.c: (Ditto.)
|
|
||||||
* usbasp.c: (Ditto.)
|
|
||||||
|
|
||||||
2007-01-13 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega8): Bump the delay values for flash
|
|
||||||
and EEPROM, based on the current Atmel XML file.
|
|
||||||
|
|
||||||
2007-01-12 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Improve the detection of the Win32 HID library,
|
|
||||||
and the presence of the header ddk/hidsdi.h. It now works
|
|
||||||
correctly under Cygwin and several flavours of MinGW.
|
|
||||||
* Makefile.am: Add new LIBHID pattern.
|
|
||||||
|
|
||||||
2007-01-11 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* butterfly.c (butterfly_initialize): when sending the 'T'
|
|
||||||
command (which is ignored by current AVR109 bootloaders),
|
|
||||||
send the first reply from the list of supported device
|
|
||||||
codes back rather than using avrdude.conf's idea about
|
|
||||||
an AVR910 device code. Apparently, this solves disagreements
|
|
||||||
between different versions of at least the ATmega8 AVR910
|
|
||||||
device code.
|
|
||||||
Closes bug #18727: Writing flash failed
|
|
||||||
|
|
||||||
2007-01-07 Joerg Wunsch <j@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Reported by Till Harbaum:
|
|
||||||
* avrdude.conf.in (ATtiny25/45/85): Change HVSP reset from
|
|
||||||
500 microseconds to 1 ms, matching the most recent Atmel XML
|
|
||||||
specs.
|
|
185
ChangeLog-2008
|
@ -1,185 +0,0 @@
|
||||||
2008-11-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.h: Change the prototype for usleep() to be more Cygwin-
|
|
||||||
friendly.
|
|
||||||
* ppiwin.c: (Ditto.)
|
|
||||||
|
|
||||||
2008-11-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by limor <limor@ladyada.net>
|
|
||||||
* usbtiny.c (usbtiny_cmd): Replace sizeof() by a fixed constant
|
|
||||||
4 for the result array, because otherwise it would take the size
|
|
||||||
of a pointer which miserably fails on 64-bit machines.
|
|
||||||
|
|
||||||
2008-11-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
patch #6609: Using PCI parallel port cards on Windows
|
|
||||||
* ppiwin.c (ppi_open): If the port parameter passed from the
|
|
||||||
-p option is neither lpt1/2/3, try interpreting it directly as
|
|
||||||
a base address.
|
|
||||||
* avrdude.1: Document the change.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2008-11-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #22882: Erase Cycle Counter does not work for stk500v2
|
|
||||||
* stk500v2.c (stk500v2_chip_erase,stk500hv_chip_erase): Return
|
|
||||||
the expected 0 for success rather than a protocol-dependant
|
|
||||||
number.
|
|
||||||
|
|
||||||
2008-11-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #22883: Chip Erase performed even with no-write flag (-n)
|
|
||||||
* main.c: Do not erase the chip if both, -e and -n options have
|
|
||||||
been specified.
|
|
||||||
|
|
||||||
2008-11-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #24589: AT90USB64* have wrong signature
|
|
||||||
* avrdude.conf.in: Uncomment the correct, and delete the wrong
|
|
||||||
signature for AT90USB646/647. Alas, the datasheet has never been
|
|
||||||
corrected for years.
|
|
||||||
|
|
||||||
2008-10-31 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: Fix a serious memory corruption that happened when
|
|
||||||
using the JTAG ICE mkII (or AVR Dragon) in ISP mode. The wrong
|
|
||||||
set of per-programmer private data had been allocated (stk500v2
|
|
||||||
vs. jtagmkII) which was too small to hold the actual data.
|
|
||||||
* jtagmkII.h: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
|
|
||||||
2008-07-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: Implement Xmega JTAG support.
|
|
||||||
* jtagmkII_private.h: Add EMULATOR_MODE_JTAG_XMEGA.
|
|
||||||
|
|
||||||
2008-07-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Remember whether the device initialization worked, and
|
|
||||||
allow to continue with -F if it failed yet do not attempt to
|
|
||||||
perform anything on the device itself. That way, -tF could be
|
|
||||||
specified for programmers like the STK500/STK600 even without a
|
|
||||||
device connected, just in order to allow changing parameters on
|
|
||||||
the programmer itself.
|
|
||||||
* avrdude.1: Document that possible use of the -F option.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2008-07-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk600_xprog_paged_write): Fix a fatal miscalculation
|
|
||||||
of the number of bytes to be written which caused a malloc chunk
|
|
||||||
corruption.
|
|
||||||
|
|
||||||
2008-07-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
First implementation of ATxmega support. By now, only the
|
|
||||||
PDI mode of the STK600 is supported. Single-byte EEPROM
|
|
||||||
(and flash) updates do not work yet.
|
|
||||||
* avr.c: "boot" memory is a candidate memory region for paged
|
|
||||||
operations, besides "flash" and "eeprom".
|
|
||||||
* avrdude.conf.in: add ATxmega128A1 and ATxmega128A1revD
|
|
||||||
* avrpart.h: add the AVRPART_HAS_PDI flag (used to distinguish
|
|
||||||
ATxmega parts from classic AVRs), the nvm_base part field, and
|
|
||||||
the offset field for a memory region.
|
|
||||||
* config_gram.y: add "has_pdi", "nvm_base", and "offset"
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* main.c: disable auto_erase for ATxmega parts
|
|
||||||
* stk500v2.c: implement the XPROG functionality, and divert to
|
|
||||||
this for ATxmega parts
|
|
||||||
* avrdude.1: Document the changes.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2008-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Fix a bunch of warnings.
|
|
||||||
* avr910.c (avr910_paged_load): possible unitialized use of
|
|
||||||
rd_size
|
|
||||||
* jtagmkI.c (jtagmkI_initialize): pointer signedness mixup
|
|
||||||
* jtagmkII.c (jtagmkII_print_parms1): propagate const'ness
|
|
||||||
of parameter
|
|
||||||
* usbasp.c (usbasp_transmit): pointer signedness mixup
|
|
||||||
* ser_avrdoper.c (usbGetReport): remove useless pointer deref
|
|
||||||
|
|
||||||
2008-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Ville Voipio:
|
|
||||||
patch #6501: New autotools support for avrdude
|
|
||||||
* Makefile.am: add @WINDOWS_DIRS@ to SUBDIR
|
|
||||||
* bootstrap: allow for autconf-2.61 and automake-1.10, too
|
|
||||||
* configure.ac: fix @WINDOWS_DIRS@ recursion, replace
|
|
||||||
AC_PROG_CC by AM_PROG_CC_C_O, for esoteric reasons
|
|
||||||
|
|
||||||
2008-06-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Janos Sallai <janos.sallai@vanderbilt.edu>:
|
|
||||||
patch #6074: added support for crossbow's MIB510 programmer
|
|
||||||
* avrdude.conf.in: Add entry for mib510.
|
|
||||||
* stk500.c: Add special hooks to handle the MIB510 programmer.
|
|
||||||
It mostly talks STK500v1 protocol but has a special hello and
|
|
||||||
goodbye sequence, and uses a fixed block size of 256 bytes.
|
|
||||||
* doc/avrdude.texi: Document support for mib510.
|
|
||||||
|
|
||||||
2008-06-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>:
|
|
||||||
* main.c: Realign verbose messages.
|
|
||||||
* avrpart.c: (Ditto.)
|
|
||||||
* avr910.c: Print the device code selected in verbose mode.
|
|
||||||
* butterfly.c: (Ditto.)
|
|
||||||
|
|
||||||
2008-06-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>:
|
|
||||||
Add check for buffermode feature, and use it if present. Can be
|
|
||||||
turned off using -x no_blockmode.
|
|
||||||
* avr910.c: Implement buffermode test and usage.
|
|
||||||
* avrdude.1: Document -x no_blockmode.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2008-03-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c: #undef interface for Win32
|
|
||||||
|
|
||||||
2008-03-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr910.c: Add support for the -x devcode option.
|
|
||||||
* avrdude.1: Document -x devcode for avr910.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2008-03-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Add initial support for the Atmel STK600, for
|
|
||||||
"classic" AVRs (AT90, ATtiny, ATmega) in both,
|
|
||||||
ISP and high-voltage programming modes.
|
|
||||||
* Makefile.am: Add -lm.
|
|
||||||
* avrdude.conf.in: Add stk600, stk600pp, and stk600hvsp.
|
|
||||||
* config_gram.y: Add support for the stk600* keywords.
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* pgm.h: Add the "chan" parameter to set_varef().
|
|
||||||
* stk500.c: (Ditto.)
|
|
||||||
* serial.h: Add USB endpoint support to struct filedescriptor.
|
|
||||||
* stk500v2.c: Implement the meat of the STK600 support.
|
|
||||||
* stk500v2.h: Add new prototypes for stk600*() programmers.
|
|
||||||
* stk500v2_private.h: Add new constants used in the STK600.
|
|
||||||
* term.c: Add AREF channel support.
|
|
||||||
* usb_libusb.c: Automatically determine the correct write
|
|
||||||
endpoint ID, the STK600 uses 0x83 while all other tools use
|
|
||||||
0x82. Propagate the EP to use through struct filedescriptor.
|
|
||||||
* usbdevs.h: Add the STK600 USB product ID.
|
|
||||||
* tools/get-stk600-cards.xsl: XSL transformation for
|
|
||||||
targetboards.xml to obtain the list of socket and routing
|
|
||||||
card IDs, to be used in stk500v2.c (for displaying the
|
|
||||||
names).
|
|
||||||
* tools/get-stk600-devices.xsl: XSL transformation for
|
|
||||||
targetboards.xml to obtain the table of socket/routing cards
|
|
||||||
and their respective AVR device support for doc/avrdude.texi.
|
|
||||||
* avrdude.1: Document all the STK600 stuff.
|
|
||||||
* doc/avrdude.texi: Ditto. Added a new chapter for
|
|
||||||
Programmer Specific Information.
|
|
||||||
|
|
||||||
2008-01-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk500v2_recv): Make length computation unsigned so
|
|
||||||
it cannot accidentally become negative.
|
|
||||||
|
|
411
ChangeLog-2009
|
@ -1,411 +0,0 @@
|
||||||
2009-11-09 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
* fileio.c: ihex2bin did not properly handle files > 64K bytes
|
|
||||||
* usb_libusb.c: re-enabled usb_reset for Macs (no reset causes lots of failures)
|
|
||||||
* avrdude.1: spacing issue for avr32 fixed.
|
|
||||||
|
|
||||||
2009-11-09 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Implemented reset= and speed= extended parameters.
|
|
||||||
* avrdude.1: Document the change.
|
|
||||||
|
|
||||||
2009-11-04 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* configure.ac, Makefile.am: Test if GCC accepts -Wno-pointer-sign
|
|
||||||
|
|
||||||
2009-11-04 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Implemented 'BinMode' support for
|
|
||||||
firmware 2.7 and higher.
|
|
||||||
* avrdude.1: Added info about BusPirate.
|
|
||||||
|
|
||||||
2009-11-03 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* arduino.c: Add on to bug #26703 / patch #6866 - clear DTR/RTS
|
|
||||||
when closing the port.
|
|
||||||
* Makefile.am: Silent warnings about signedness - they're useless
|
|
||||||
and annoying, especially for 'char' vars.
|
|
||||||
|
|
||||||
2009-10-22 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
* usb_libusb.c: disabled usb_reset for Macs (same as FreeBSD)
|
|
||||||
|
|
||||||
2009-10-12 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* main.c: Re-added default to serial port for BusPirate.
|
|
||||||
|
|
||||||
2009-10-12 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
* main.c: removed some avr32 code that was pushed into jtagmkII.c
|
|
||||||
* jtagmkII.c: consolodated the avr32 reset code and avr32_chipreset
|
|
||||||
* avrpart.h: modified AVRPART flags for avr32
|
|
||||||
* lexer.l: added is_avr32 flag - only way to get yacc code to set flag
|
|
||||||
* avrdude.conf.in: updated avr32 section to include "is_avr32" flag
|
|
||||||
|
|
||||||
2009-10-12 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
* config_gram.y: Restored inadvertantly removed buspirate entry
|
|
||||||
* lexer.l: Restored inadvertantly removed buspirate entry
|
|
||||||
|
|
||||||
2009-10-12 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Replace GNU-only %as with %s in sscanf call.
|
|
||||||
* ser_win32.c(ser_set_dtr_rts): Fixed typo in parameter name.
|
|
||||||
* NEWS: Announce BusPirate.
|
|
||||||
|
|
||||||
2009-10-11 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
Support for AVR32
|
|
||||||
|
|
||||||
* AUTHORS: added myself
|
|
||||||
* NEWS: announced AVR32 support
|
|
||||||
* main.c: AVR32 flag tests to avoid several code blocks
|
|
||||||
* fileio.c: mods to ihex read function to handle address offsets and
|
|
||||||
size of avr32
|
|
||||||
* jtagmkI.c: added cast to printf call to remove warning
|
|
||||||
* arduino.c: added header file to bring in prototype for usleep()
|
|
||||||
* config_gram.y: added defines for avr32, new jtag_mkii variant for avr32
|
|
||||||
* jtagmkII_private.h: new jtag_mkii message types defined (used by
|
|
||||||
avr32program)
|
|
||||||
* jtagmkII.h: extern jtagmkII_avr32_initpgm() addition
|
|
||||||
* jtagmkII.c: huge amount of code in support of avr32
|
|
||||||
* avrpart.h: additional flags to AVRPART for avr32
|
|
||||||
* usb_libusb.c: modified verbose test for USB read per-byte messages by
|
|
||||||
by one, so with verbose=3 you get just full messages, 4 gives you bytes
|
|
||||||
too
|
|
||||||
* lexer.l: additions for avr32
|
|
||||||
|
|
||||||
2009-10-10 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
Support for Arduino auto-reset:
|
|
||||||
* serial.h, ser_avrdoper.c, ser_posix.c, ser_win32.c: Added
|
|
||||||
serial_device.set_dtr_rts implementations.
|
|
||||||
* arduino.c, stk500.c, stk500.h: Call serial_set_dtr_rts()
|
|
||||||
to reset Arduino board before program upload.
|
|
||||||
Inspired by patch #6866, resolves bug #26703
|
|
||||||
|
|
||||||
2009-10-08 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Optimised buspirate_cmd() - reading 1kB EEPROM now
|
|
||||||
takes only 14 sec instead of almost 2 mins with the original
|
|
||||||
implementation.
|
|
||||||
|
|
||||||
2009-10-08 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c, buspirate.h: Support for the BusPirate programmer
|
|
||||||
* config_gram.y, avrdude.conf.in, main.c, lexer.l, Makefile.am:
|
|
||||||
Glue for BusPirate.
|
|
||||||
|
|
||||||
2009-08-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c (usbdev_close): Repair the logic around the
|
|
||||||
conditional compilation of usb_reset() introduced in r798.
|
|
||||||
|
|
||||||
2009-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: We are post-5.8 now.
|
|
||||||
|
|
||||||
2009-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Prepare for releasing version 5.8
|
|
||||||
|
|
||||||
2009-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Roger Wolff:
|
|
||||||
bug #26527: bug in unicode conversion
|
|
||||||
* ser_avrdoper.c (convertUniToAscii): when encountering a UTF-16
|
|
||||||
character that cannot be converted to ASCII, increment the UTF-16
|
|
||||||
pointer anyway when proceeding.
|
|
||||||
|
|
||||||
2009-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkI.c (jtagmkI_send): Replace %zd format by %u since not all
|
|
||||||
implementations do understand the C99 formatting options (sigh).
|
|
||||||
* jtagmkII.c (jtagmkII_send): (Ditto.)
|
|
||||||
* stk500v2.c (stk500v2_recv): (Ditto.)
|
|
||||||
|
|
||||||
2009-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #26002: HVPP of EEPROM with AVR Dragon and ATmega8 Fails
|
|
||||||
* avrdude.conf.in (ATmega8): add page size for EEPROM.
|
|
||||||
|
|
||||||
2009-07-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c: Fix a serious memory corruption problem resulting
|
|
||||||
out of the chaining of both, the stk500v2 and the jtagmkII
|
|
||||||
programmers for some programming hardware (JTAG ICE mkII and AVR
|
|
||||||
Dragon running in ISP, HVSP or PP mode), where both programmers
|
|
||||||
have to maintain their private programmer data.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Post-release (is pre-release...)
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Prepare for releasing version 5.7
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Add my name to the copyright output when being verbose.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Shaun Jackman <sjackman@gmail.com>
|
|
||||||
bug #21798: Fix both XSLT scripts
|
|
||||||
* tools/get-dw-params.xsl (format-hex): Add the parameter count.
|
|
||||||
* tools/get-hv-params.xsl (format_cstack): Ditto.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #21922: ATmega163 still not working in version 5.5
|
|
||||||
* avrdude.conf.in (atmega163): fill in stk500v2 parameters, correct
|
|
||||||
some flash programming parameters as well.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #22206: avrdude: ser_setspeed(): tcsetattr() failed
|
|
||||||
* ser_posix.c (ser_setspeed): Don't pass TCSAFLUSH to tcsetattr() as
|
|
||||||
it apparently fails to work on Solaris. After reading the
|
|
||||||
documentation again, it seems TCSAFLUSH and TCSANOW are indeed
|
|
||||||
mutually exclusive.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #22234: WINDOWS version: HOWTO: Specify Serial Ports Larger than COM9
|
|
||||||
* ser_win32.c (ser_open): prepend \\.\ to any COM port name, so it is
|
|
||||||
safe to be used for COM ports above 9.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #26408: Crash in stk500v2_open()
|
|
||||||
* stk500generic.c: Implement setup and teardown hooks, calling in turn
|
|
||||||
the respective hooks of the stk500v2 implementation.
|
|
||||||
|
|
||||||
2009-07-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #26130: Avrdude doesn't display it's version.
|
|
||||||
* main.c (usage): add a version number display to the default usage
|
|
||||||
message.
|
|
||||||
|
|
||||||
2009-07-01 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #26412: avrdude segfaults when called with a programmer that does not
|
|
||||||
support it
|
|
||||||
* main.c: do not call pgm->perform_osccal() unless it is != 0.
|
|
||||||
|
|
||||||
2009-06-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Zoltan Laday:
|
|
||||||
patch #6825: xmega problems with JTAGICEmkII
|
|
||||||
* jtagmkII.c: Many fixes for Xmega devices.
|
|
||||||
* jtagmkII_private.h: Add various new constants required for
|
|
||||||
Xmega devices.
|
|
||||||
* avrdude.conf.in: New devices: ATXMEGA64A1, ATXMEGA192A1,
|
|
||||||
ATXMEGA256A1, ATXMEGA64A3, ATXMEGA128A3, ATXMEGA192A3,
|
|
||||||
ATXMEGA256A3, ATXMEGA256A3B, ATXMEGA16A4, ATXMEGA32A4,
|
|
||||||
ATXMEGA64A4, ATXMEGA128A4
|
|
||||||
* avr.c (avr_read, avr_write): Add more names for (Xmega)
|
|
||||||
memory areas that require paged operation.
|
|
||||||
|
|
||||||
2009-06-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk600_xprog_write_byte): Handle writing fuse bytes.
|
|
||||||
|
|
||||||
2009-04-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Carl Hamilton:
|
|
||||||
* update.c (parse_op): correctly \0-terminate buf after filling
|
|
||||||
it, before it is potentially used as the source of a call to
|
|
||||||
strlen or strcpy.
|
|
||||||
|
|
||||||
2009-04-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* doc/avrdude.texi: Merge the -P 0xXXX option description from
|
|
||||||
avrdude.1.
|
|
||||||
|
|
||||||
2009-04-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: declare AM_PROG_CC_C_O to avoid the warning
|
|
||||||
"compiling `config_gram.c' with per-target flags
|
|
||||||
requires `AM_PROG_CC_C_O' in `configure.ac'"
|
|
||||||
|
|
||||||
2009-03-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #25971: "error writing to <stdout>" with multiple -U params.
|
|
||||||
* fileio.c: Do not close the input/output stream when working on an
|
|
||||||
stdio stream.
|
|
||||||
|
|
||||||
2009-02-28 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
Based on patch #6484 commited by Jurgis Brigmanis:
|
|
||||||
* usbasp.c: added software control for ISP speed
|
|
||||||
* usbasp.h: (Ditto.)
|
|
||||||
|
|
||||||
2009-02-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr910.c (avr910_read_byte_flash): Eliminate a static variable that
|
|
||||||
hasn't been in use for 5 years.
|
|
||||||
|
|
||||||
2009-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Post-release 5.6.
|
|
||||||
|
|
||||||
2009-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Prepare for releasing version 5.6.
|
|
||||||
|
|
||||||
2009-02-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Ed Okerson:
|
|
||||||
* jtagmkII.c (jtagmkII_read_byte): Fix signature reading of
|
|
||||||
Xmega.
|
|
||||||
|
|
||||||
2009-02-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Mikael Hermansson:
|
|
||||||
* avrdude.conf.in (ATxmega256A3): new device.
|
|
||||||
* stk500v2 (stk500v2_initialize): Enable the AVRISPmkII as a
|
|
||||||
PDI-capable device for ATxmega parts.
|
|
||||||
|
|
||||||
2009-02-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Lars Immisch:
|
|
||||||
patch #6750: Arduino support - new programmer-id
|
|
||||||
* arduino.c: New file, inherits stk500.c.
|
|
||||||
* arduino.h: New file.
|
|
||||||
* Makefile.am: Add arduino.c and arduino.h.
|
|
||||||
* config_gram.y: Add arduino keyword.
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.conf.in: (Ditto.)
|
|
||||||
* avrdude.1: Document the new programmer type.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2009-02-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c: Turn all non-const static data into instance data.
|
|
||||||
|
|
||||||
2009-02-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* Makefile.am: Move term.[ch] from the library into the CLI
|
|
||||||
application section, as it is not useful for anything else but
|
|
||||||
the CLI frontend.
|
|
||||||
|
|
||||||
2009-02-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega1284P): new device.
|
|
||||||
|
|
||||||
2009-02-23 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
More fixes for Solaris, including fixes for the Sunpro compiler:
|
|
||||||
* avr.h: Remove stray semicolon.
|
|
||||||
* configure.ac: Add check for predefined types uint_t and ulong_t.
|
|
||||||
* confwin.c: Include "avrdude.h" on top to avoid empty translation
|
|
||||||
unit warning.
|
|
||||||
* ppwin.c: (Ditto.)
|
|
||||||
* ser_win32.c: (Ditto.)
|
|
||||||
* serbb_win32.c: (Ditto.)
|
|
||||||
* jtagmkII.c (jtagmkII_recv): remove unreachable "return".
|
|
||||||
* stk500.c (stk500_initialize): (Ditto.)
|
|
||||||
* par.c: Test for both, __sun__ and __sun to see whether we are
|
|
||||||
being compiled on Solaris.
|
|
||||||
* ppi.c: (Ditto.)
|
|
||||||
* stk500v2.c: Implement the DEBUG and DEBUGRECV macros in a way
|
|
||||||
that is compatible with the ISO C99 standard.
|
|
||||||
* usbtiny.c: Only typedef uint_t and ulong_t if they have not
|
|
||||||
been found already by the autoconf checks.
|
|
||||||
|
|
||||||
2009-02-23 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #22204: Solaris10/11 Undefiniertes Symbol gethostbyname socket
|
|
||||||
connect
|
|
||||||
* configure.ac: Add checks for gethostent() and socket().
|
|
||||||
While being here, remove some old cruft left from ancient days.
|
|
||||||
|
|
||||||
2009-02-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* lexer.l: Bump the %p size so AT&T lex will continue to work.
|
|
||||||
|
|
||||||
2009-02-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
(Partially) submitted by John Voltz:
|
|
||||||
bug #20004: AVRDUDE update (-U) operations do not close files
|
|
||||||
* fileio.c (fmt_autodetect, fileio): fclose() files.
|
|
||||||
|
|
||||||
2009-02-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbtiny.c: Replace all but one (very unlikely to trigger) exit(1)
|
|
||||||
by return -1.
|
|
||||||
|
|
||||||
2009-02-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Dick Streefland:
|
|
||||||
patch #6749: make reading from the USBtinyISP programmer more robust
|
|
||||||
* usbtiny.c: Add code to retry failed communication attempts.
|
|
||||||
|
|
||||||
2009-02-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Nick Hibma:
|
|
||||||
bug #22271: usb_reset in usb_libusb.c not necessary in FreeBSD 6.x
|
|
||||||
* usb_libusb.c (usbdev_close): Do not call usb_reset() on FreeBSD.
|
|
||||||
It is not necessary there.
|
|
||||||
|
|
||||||
2009-02-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Andrew O. Shadoura:
|
|
||||||
bug #25156: add direct SPI transfer mode
|
|
||||||
* bitbang.c: Implement direct SPI transfers.
|
|
||||||
* bitbang.h: (Ditto.)
|
|
||||||
* par.c: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* term.c: Add the "spi" and "pgm" commands.
|
|
||||||
* avrdude.1: Document the changes.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2009-02-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Limor ("Lady Ada"):
|
|
||||||
bug #24749: add support for '328p
|
|
||||||
* avrdude.conf.in (ATmega328P): new device support.
|
|
||||||
|
|
||||||
2009-02-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by "Womo":
|
|
||||||
bug #25241: AT90USB162, AT90USB82 device support patch for avrdude-5.5
|
|
||||||
(also: bug #21745: AT90USBxx2 support)
|
|
||||||
* avrdude.conf.in (AT90USB162, AT90USB82): new device support.
|
|
||||||
|
|
||||||
2009-02-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Evangelos Arkalis:
|
|
||||||
patch #6069: Atmel AT89ISP Cable
|
|
||||||
* avrdude.conf.in (89isp): new programmer support.
|
|
||||||
|
|
||||||
2009-02-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Bob Paddock:
|
|
||||||
patch #6748: ATTiny88 Config
|
|
||||||
* avrdude.conf.in (ATtiny88): new device support.
|
|
||||||
|
|
||||||
2009-02-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Mark Litwack:
|
|
||||||
patch #6261: avrdude won't use dragon/debugwire to write a file
|
|
||||||
to eeprom
|
|
||||||
* jtagmkII.c (jtagmkII_paged_write): when in debugWire mode,
|
|
||||||
implement a paged write to EEPROM as a series of byte writes.
|
|
||||||
|
|
||||||
2009-02-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Janos Sallai:
|
|
||||||
patch #6542: paged_load fails on the MIB510 programming board
|
|
||||||
* stk500.c: Add a workaround for the different signon sequence on
|
|
||||||
MIB510 programmers.
|
|
||||||
|
|
||||||
2009-02-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Add the ATmega128RFA1.
|
|
||||||
* avrdude.1: document the addition of ATmega128RFA1.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
354
ChangeLog-2010
|
@ -1,354 +0,0 @@
|
||||||
2010-12-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega128RFA1): Bump two timing values in order to
|
|
||||||
improve ISP programming stability, in particular with the STK600.
|
|
||||||
|
|
||||||
2010-12-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk500v2_command): Detect warning status codes.
|
|
||||||
|
|
||||||
2010-10-22 Nils Springob <nils@nicai-systems.de>
|
|
||||||
|
|
||||||
* serial.h: serial_open() calls will now return -1 on error (no call to exit())
|
|
||||||
* buspirate.c: (Dito.)
|
|
||||||
* jtagmkII.c: (Dito.)
|
|
||||||
* butterfly.c: (Dito.)
|
|
||||||
* jtagmkI.c: (Dito.)
|
|
||||||
* arduino.c: (Dito.)
|
|
||||||
* avr910.c: (Dito.)
|
|
||||||
* stk500.c: (Dito.)
|
|
||||||
* ser_avrdoper.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* ser_posix.c: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
|
|
||||||
2010-07-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #30566: MinGW + Ubuntu 9.04
|
|
||||||
* stk500v2.c (stk500v2_open): use same condition to refer to the AVR
|
|
||||||
Doper support as used in the definition in ser_avrdoper.c.
|
|
||||||
(Thanks to Christian Starkjohann for the analysis of the problem.)
|
|
||||||
|
|
||||||
2010-07-19 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Added compatibility with BusPirate "NewUI" firmware 5.x
|
|
||||||
(contributed by Kari Knuuttila)
|
|
||||||
|
|
||||||
2010-07-12 Nils Springob <nils@nicai-systems.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (atmega88p): New device.
|
|
||||||
|
|
||||||
2010-06-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29913: 246 Byte Bug - AVRdude crashes
|
|
||||||
doc/avrdude.texi (Troubleshooting): Mention the libusb 0.1 API
|
|
||||||
wrapper issue that is present in some Linux versions.
|
|
||||||
|
|
||||||
2010-03-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29263: Can't build avrdude on windows using latest cygwin 1.7.1
|
|
||||||
* doc/avrdude.texi: Remove the recommendation for building
|
|
||||||
Win32 binaries under Cygwin; mention MinGW as an alternative
|
|
||||||
environment.
|
|
||||||
|
|
||||||
2010-03-08 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* ser_posix.c(ser_set_dtr_rts): Fixed DTR on/off to make
|
|
||||||
Arduino auto-reset work. (bug #29108, patch #7100)
|
|
||||||
|
|
||||||
2010-03-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* buspirate.c: Replace printf() by fprintf(stderr)
|
|
||||||
* safemode.c: (Dito.)
|
|
||||||
* usbtiny.c: (Dito.)
|
|
||||||
|
|
||||||
2010-01-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Cleanup Cygwin builds.
|
|
||||||
* windows/Makefile.am (loaddrv_LDFLAGS): remove, the -mno-cygwin
|
|
||||||
flag is supposed to be set in CFLAGS by ./configure
|
|
||||||
* configure.ac: add a check for the presence of usleep(), add a
|
|
||||||
check whether the linker accepts -static
|
|
||||||
* avrdude.h: protect prototype for usleep by !defined(HAVE_USLEEP)
|
|
||||||
* ppwin.c (usleep): protect by !defined(HAVE_USLEEP)
|
|
||||||
* main.c: silence "array subscript of type char" compiler warnings
|
|
||||||
by casting all arguments to tolower()/toupper() and isspace()/
|
|
||||||
isdigit()/ispunct() to "int"
|
|
||||||
* butterfly.c: (Dito.)
|
|
||||||
* avr910.c: (Dito.)
|
|
||||||
|
|
||||||
2010-01-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Bump for post-5.10.
|
|
||||||
|
|
||||||
2010-01-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Released version 5.10.
|
|
||||||
|
|
||||||
2010-01-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #28677: Cygwin's GCC no longer supports -mno-cygwin option
|
|
||||||
* configure.ac: For Win32 environments, add a check whether the
|
|
||||||
compiler understands the -mno-cygwin option. If not, don't use
|
|
||||||
it but suggest using a different compiler.
|
|
||||||
|
|
||||||
2010-01-18 David Hoerl <dhoerl@mac.com>
|
|
||||||
|
|
||||||
bug #28660: Problem with loading intel hex rom files that exceed
|
|
||||||
0x10000 bytes
|
|
||||||
* fileio.c: Fix two byte shifts.
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Michael biebl:
|
|
||||||
* configure.ac: Fix FreeBSD default serial port name.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: If entering JTAG mode fails with a bad JTAG ID
|
|
||||||
message, retry with external reset applied (in case the target
|
|
||||||
is in sleep mode or has asserted the JTD bit).
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Aurelien Jarno:
|
|
||||||
* configure.ac: Fix build for GNU/kFreeBSD.
|
|
||||||
* ppi.c: (Dito.)
|
|
||||||
* par.c: (Dito.)
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Bump version for post-5.8.
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Bump version for release 5.8.
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Soren Jorvang:
|
|
||||||
bug #28611: -i delay not being applied to all serial port
|
|
||||||
bit banging state transitions
|
|
||||||
* serbb_win32.c: Apply ispdelay everywhere.
|
|
||||||
* serbb_posix.c: (Dito.)
|
|
||||||
|
|
||||||
2010-01-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2_private.h: Implement TPI mode for AVRISPmkII/STK600
|
|
||||||
* config_gram.y: (Dito.)
|
|
||||||
* avrpart.h: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* main.c: (Dito.)
|
|
||||||
* lexer.l: (Dito.)
|
|
||||||
* avrdude.conf.in: Add ATtiny4/5/9/10
|
|
||||||
* avrdude.1: Document TPI and new device support.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2010-01-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by clint fisher:
|
|
||||||
patch #7038: Adding Atmega32U4 Device to avrdude.conf.in
|
|
||||||
* avrdude.conf.in (atmega32u4): New device.
|
|
||||||
* avrdude.1: Document the new device support.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2010-01-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Thomas Pircher:
|
|
||||||
patch #6927: Documentation patches
|
|
||||||
* doc/avrdude.texi: Fix various typos, and remove the last
|
|
||||||
remnants of obsoleted options -i/-o/-m/-f.
|
|
||||||
* avrdude.1: Merge typo fixes from avrdude.texi where
|
|
||||||
applicable.
|
|
||||||
|
|
||||||
2010-01-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.1: Update documentation to match the reality (device
|
|
||||||
support, memory areas).
|
|
||||||
* doc/avrdude.texi: Update documentation to match the
|
|
||||||
reality (device support, programmer support, memory areas).
|
|
||||||
Merge buspirate-specific comments from avrdude.1.
|
|
||||||
* jtagmkII.c: Add some firmware feature checks.
|
|
||||||
|
|
||||||
2010-01-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: Implement PDI mode support for the JTAG ICE mkII
|
|
||||||
and the AVR Dragon.
|
|
||||||
* jtagmkII.h: (Dito.)
|
|
||||||
* config_gram.y: (Dito.)
|
|
||||||
* jtagmkII_private.h: (Dito.)
|
|
||||||
* avrdude.conf.in: (Dito.)
|
|
||||||
* lexer.l: (Dito.)
|
|
||||||
|
|
||||||
2010-01-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c: Update STK600 routing and socket card data from XML
|
|
||||||
file.
|
|
||||||
|
|
||||||
2010-01-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c: Cleanup the open/close handling to avoid accessing
|
|
||||||
unallocated memory (in the atexit handler) in case of bailing out.
|
|
||||||
* main.c: (Ditto.)
|
|
||||||
|
|
||||||
2010-01-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: Stylistic changes: move #defines out into
|
|
||||||
jtagmkII_private.h, drop all #if 0 blocks, fold overly long lines,
|
|
||||||
move the *_initpgm() functions to the end of the file; while being
|
|
||||||
here, remove all trailing whitespace.
|
|
||||||
* jtagmkII_private.h: move AVR32 #defines here.
|
|
||||||
|
|
||||||
2010-01-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* bootstrap: autoconf 2.62 works well.
|
|
||||||
|
|
||||||
2010-01-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Various fixes for Xmega devices.
|
|
||||||
* avrdude.conf.in: Correctly declare EEPROM page sizes for
|
|
||||||
all Xmega devices (0x20 instead of 0x100).
|
|
||||||
* avr.c: If a memory region has a page size declared, try
|
|
||||||
using the paged IO routines regardless of the target memory
|
|
||||||
name. Xmega EEPROM requires to be written in paged mode.
|
|
||||||
Correctly use a long (rather than unsigned long) variable to
|
|
||||||
evaluate the success status of the paged mode write attempt.
|
|
||||||
* stk500v2.c: Don't apply TIF space offsets twice (bug #27995:
|
|
||||||
AVRDUDE 5.8svn fails to program and read XMEGA); use
|
|
||||||
stk500v2_loadaddr() prior to paged mode (EEPROM and flash) writes,
|
|
||||||
otherwise programming of flash areas will fail; while being there,
|
|
||||||
check the return value of stk500v2_loadaddr() everywhere; use the
|
|
||||||
correct write/erase mode bits (same as AVR Studio does).
|
|
||||||
|
|
||||||
2010-01-12 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: Initialise firmware version to v0.0
|
|
||||||
prior to parsing the buspirate banner.
|
|
||||||
|
|
||||||
2010-01-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Clean-up the Xmega erase functions.
|
|
||||||
* jtagmkII_private.h: Add CMND_XMEGA_ERASE as well as
|
|
||||||
the various XMEGA_ERASE_* definitions (from updated
|
|
||||||
appnote AVR067)
|
|
||||||
* jtagmkII.c (jtagmkII_chip_erase): Correctly implement Xmega chip
|
|
||||||
erase based on CMND_XMEGA_ERASE. After erasing an Xmega part, do
|
|
||||||
*not* reinitialize the world, as a subsequent programming
|
|
||||||
operation will fail (for unknown reasons). Actually, this was
|
|
||||||
really only required for ancient AVRs, but doesn't hurt on mega
|
|
||||||
and tiny devices.
|
|
||||||
* jtagmkII.c (jtagmkII_pre_write): Remove, this turned out
|
|
||||||
to be just a chip erase.
|
|
||||||
* jtagmkII.c (jtagmkII_program_disable): Don't try reading
|
|
||||||
"hfuse" for Xmega parts; they don't have it.
|
|
||||||
* main.c (main): Re-enable auto-erase. It's been done
|
|
||||||
before (as "jtagmkII_pre_write") in jtagmkII_paged_write()
|
|
||||||
anyway. Xmega boot and application flash areas should be
|
|
||||||
handled separately in the future, so auto_erase can only
|
|
||||||
affect the area just being programmed.
|
|
||||||
|
|
||||||
2010-01-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c (main): disable safemode for Xmega parts.
|
|
||||||
|
|
||||||
2010-01-12 Michal Ludvig <mludvig@logix.net.nz>
|
|
||||||
|
|
||||||
* buspirate.c: If the BusPirate doesn't respond
|
|
||||||
to a standard a reset command assume it was in binmode
|
|
||||||
and attempt to exit to text mode first.
|
|
||||||
|
|
||||||
2010-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* bitbang.c: Fix Win32 build error: move freq up to the file
|
|
||||||
level.
|
|
||||||
* buspirate.c: Fix Win32 build warning: include <malloc.h> to
|
|
||||||
to get a declaration for alloca().
|
|
||||||
|
|
||||||
2010-01-08 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
bug #28520: Programming with USBasp with low clock speed fails
|
|
||||||
* usbasp.c: Change blocksize depending on sck frequency to
|
|
||||||
avoid usb transmition timeouts.
|
|
||||||
|
|
||||||
2010-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #27505: serbb_posix does not cope with inverted pins
|
|
||||||
* serbb_posix (serbb_highpulsepin): apply PIN_MASK when
|
|
||||||
checking pin numbers.
|
|
||||||
* serbb_win32 (serbb_highpulsepin): (Dito.)
|
|
||||||
|
|
||||||
2010-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #28516: Linux/Dragon: Error message on exit
|
|
||||||
* stk500v2.c: Fix the "bad response to GO command:
|
|
||||||
RSP_ILLEGAL_EMULATOR_MODE" message. jtagmkII_close()
|
|
||||||
has been called with the wrong pgm->cookie. Wrap it
|
|
||||||
inside stk500v2_jtagmkII_close(), adjusting the cookie
|
|
||||||
data appropriately.
|
|
||||||
|
|
||||||
2010-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Doug:
|
|
||||||
patch #7010: Win32 enhanced bitbang_delay
|
|
||||||
* bitbang.c (bitbang_calibrate_delay, bitbang_delay): On Win32,
|
|
||||||
use the high-resolution performance counter rather than the
|
|
||||||
uneducated delay loop guess if it is available on the target
|
|
||||||
hardware.
|
|
||||||
|
|
||||||
2010-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Gerard:
|
|
||||||
patch #6828: Using arbitrary BAUD rates
|
|
||||||
* ser_posix.c (serial_baud_lookup): Allow non-standard baud
|
|
||||||
rates.
|
|
||||||
* ser_win32.c (serial_baud_lookup): (Dito.)
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Eric Trein:
|
|
||||||
bug #27596: AT90s2333 is not correctly supported in avrdude.conf
|
|
||||||
* avrdude.conf.in (at90s2333): add various STK500v2 parameters.
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Gyorgy Szekely:
|
|
||||||
bug #28458: Buffer line is incorrectly released for PP programmers
|
|
||||||
* par.c (par_close): use par_setmany() rather than par_setpin()
|
|
||||||
for PPI_AVR_BUFF.
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Lukasz Goralczyk:
|
|
||||||
bug #27507: SIGSEGV when using avrdragon (avrdude 5.8)
|
|
||||||
* stk500v2.c (stk500v2_dragon_isp_initpgm): Use
|
|
||||||
stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their
|
|
||||||
jtagII counterparts, to get the private data properly
|
|
||||||
initialized.
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* buspirate.c: Cosmetics: remove UTF-8 dashes, adjust for 8-column
|
|
||||||
hard tabs.
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* buspirate.c: add $ Id $ line.
|
|
||||||
* buspirate.h: add $ Id $ line.
|
|
||||||
|
|
||||||
2010-01-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Fix a few warnings that came up recently (some of them only triggered
|
|
||||||
by recent GCC versions).
|
|
||||||
* config_gram.y (parse_cmdbits): "brkt possibly used uninitialized"
|
|
||||||
(GCC errs here)
|
|
||||||
* jtagmkII.c (jtagmkII_reset32): "status possibly used uninitialized"
|
|
||||||
(I think GCC errs, too)
|
|
||||||
* buspirate.c: "pointers differ in signedness" (mismatch between
|
|
||||||
string processing and the use of "unsigned char" throughought the
|
|
||||||
AVRDUDE API)
|
|
||||||
|
|
||||||
2010-01-01 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c (jtagmkII_smc_init32): replace sleep() by usleep() for
|
|
||||||
win32 compatibility.
|
|
489
ChangeLog-2011
|
@ -1,489 +0,0 @@
|
||||||
2011-12-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Added is_at90s1200 option to part description
|
|
||||||
* doc/avrdude.texi: Added missing options to part definition
|
|
||||||
* config_gram.y: Fixed resetting of is_at90s1200 and is_avr32 flags
|
|
||||||
|
|
||||||
2011-12-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7693: Fix config file atmel URLs
|
|
||||||
* avrdude.conf.in: Updated URLs
|
|
||||||
* avrpart.h: Updated URLs
|
|
||||||
* doc/avrdude.texi: Updated URLs
|
|
||||||
|
|
||||||
2011-12-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of
|
|
||||||
non-standard baud rates (only baud rates up to B38400 are
|
|
||||||
standardized by the Single UNIX Specification).
|
|
||||||
|
|
||||||
2011-12-29 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #34302: Feature request : device configuration with parent classes
|
|
||||||
* config_gram.y: Added part parent rule and allow overwriting existing
|
|
||||||
data at several places
|
|
||||||
* avrdude.conf.in: Added description comment and m328/m328p as example
|
|
||||||
* avrpart.c: avr_dup_mem-functions now copy buf and tags memory block
|
|
||||||
only they are already allocated.
|
|
||||||
* lexer.l: Added parent as valid token
|
|
||||||
|
|
||||||
(not in original patch)
|
|
||||||
* avrpart.c: New function avr_dup_opcode. avr_dup_mem/avr_dup_part-
|
|
||||||
functions now duplicate the opcodes in their op-array to avoid memory leaks.
|
|
||||||
* doc/avrdude.texi: Added description of part parent feature
|
|
||||||
|
|
||||||
2011-12-29 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7687: Autogenerating programmers and parts lists for docs
|
|
||||||
(generating the parts lists, programmers lists follows later)
|
|
||||||
* doc/Makefile.am: Add rule how to create avrdude before generating parts list
|
|
||||||
|
|
||||||
2011-12-29 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7687: Autogenerating programmers and parts lists for docs
|
|
||||||
(generating the parts lists, programmers lists follows later)
|
|
||||||
* doc/avrdude.texi: Add include of generated table of parts
|
|
||||||
* doc/Makefile.am: Add generating of table of parts in parts.texi
|
|
||||||
* doc/parts_comments.txt: Adding file containing part commenz references
|
|
||||||
* avrdude.1: Remove table of parts and mention "-p ?" option
|
|
||||||
* avrpart.c: Use AVR_DESCLEN for strncasecmp at list sorting
|
|
||||||
|
|
||||||
2011-12-22 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* configure.ac: Add writing of definition of confsubst to config.status,
|
|
||||||
so it can run alone, not only called by configure.
|
|
||||||
|
|
||||||
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7680: Fixing timeout problem in ser_recv in ser_win32.c
|
|
||||||
* ser_win32.c: Return -1 at timeout in ser_recv().
|
|
||||||
|
|
||||||
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* config_gram.y: Fixed another memory leak, when define an operation
|
|
||||||
more than once
|
|
||||||
* avrdude.conf.in: Fixed double definition at ATmega6490
|
|
||||||
|
|
||||||
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* config_gram.y: Restructuring and compacting programmer definition
|
|
||||||
part of grammar (in preparation of patch #7688)
|
|
||||||
|
|
||||||
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Update documentation of programmer definition
|
|
||||||
* doc/avrdude.texi: Update documentation of programmer definition
|
|
||||||
and add list of implemented programmer types
|
|
||||||
|
|
||||||
2011-12-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7667: Minor memory handling fixes
|
|
||||||
* config_gram.y: Added several free_token() calls.
|
|
||||||
|
|
||||||
2011-12-16 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7671: Sorting programmers and parts lists for console output
|
|
||||||
* avrdude.conf.in: change part desc of several parts to common pattern
|
|
||||||
AT(mega|tiny|xmega)[0-9]+[A-Z]* (Upper case AT, lower case in middle)
|
|
||||||
* list.[ch]: added sorting function lsort()
|
|
||||||
* pgm.[ch]: added function sort_programmers()
|
|
||||||
* avrpart.[ch]: added function sort_avrparts()
|
|
||||||
* main.c: use sort functions in list_programmers() and list_parts()
|
|
||||||
* main.c: list functions show config file info only at verbose mode
|
|
||||||
|
|
||||||
2011-10-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Replace "cvs" in version number by "svn".
|
|
||||||
|
|
||||||
2011-10-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #34518: loading intel hex files > 64k using record-type 4
|
|
||||||
(Extended Linear Address Record)
|
|
||||||
fileio.c: Replace the change from r928 (handling of 0x8000000
|
|
||||||
offset in AVR32 files) by a completely different logic that no
|
|
||||||
longer breaks hex files for other devices starting with an
|
|
||||||
offset; also apply a similar change to S-record files, as well
|
|
||||||
as when writing files.
|
|
||||||
fileio.c: (Ditto.)
|
|
||||||
|
|
||||||
2011-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrftdi.c: Remove stray printf()s by fprintf(stderr)
|
|
||||||
* usbtiny.c: (Ditto.)
|
|
||||||
|
|
||||||
2011-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c: Restrict the cyclecounter readout to those cases where
|
|
||||||
it has been explicitly requested (by -y or -Y), rather than always
|
|
||||||
attempting to read the last EEPROM bytes.
|
|
||||||
|
|
||||||
2011-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk600_xprog_paged_load, stk600_xprog_paged_write):
|
|
||||||
Fix regression in the AVRISPmkII/STK600 TPI handling introduced
|
|
||||||
by the USBasp's TPI implementation which added a pagesize even for
|
|
||||||
the minor memory regions of TPI devices. Also fix wrong offset
|
|
||||||
introduced by the memory tagging patch.
|
|
||||||
|
|
||||||
2011-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avr.c (avr_read, avr_write): Don't bail out on TPI parts if
|
|
||||||
their programmer doesn't provide a (low-level) cmd_tpi method;
|
|
||||||
instead, fall back to the normal programmer methods which are
|
|
||||||
supposed to handle the situation.
|
|
||||||
This fixes a regression where the recent bitbang-TPI implementation
|
|
||||||
broke TPI handling of STK600/AVRISPmkII.
|
|
||||||
|
|
||||||
2011-09-14 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Mega-commit to bring in memory tagging.
|
|
||||||
Each memory image byte is now tagged as it's being read from a file.
|
|
||||||
Only bytes read from a file will be written or verified (modulo page
|
|
||||||
granularity requirements).
|
|
||||||
* avrpart.h: Add memory tags.
|
|
||||||
* avrpart.c: Allocate and initialize tag area.
|
|
||||||
* update.h: Drop unused parameter "verify" from do_op().
|
|
||||||
* pgm.h: Add parameter base_addr to the paged_load and paged_write
|
|
||||||
methods, respectively.
|
|
||||||
* avr.h: New parameter to avr_read: second AVRPART to verify against.
|
|
||||||
* fileio.c: Track all memory regions that have been read from an
|
|
||||||
input file by tagging them.
|
|
||||||
* update.c: Call avr_read() with the new parameter list.
|
|
||||||
* main.c: Call avr_initmem() to initialize the memory regions, rather
|
|
||||||
than trying to duplicate an unitialized part, and then let the
|
|
||||||
original part rot away.
|
|
||||||
* avr.c: Implement the heart of the new featureset. For paged memory
|
|
||||||
areas, when writing or verifying, call the paged_write and paged_load
|
|
||||||
methods, respectively, once per page instead of on the entire memory.
|
|
||||||
When writing, only write bytes or pages that have content read from a
|
|
||||||
file. Whe verifying, only read memory bytes or pages where the
|
|
||||||
verification data have been read from a file. Only verify those bytes
|
|
||||||
that have been read from a file.
|
|
||||||
* avrftdi.c: Implement the new API for paged_load and paged_write,
|
|
||||||
respectively.
|
|
||||||
* jtagmkII.c: (Ditto.)
|
|
||||||
* butterfly.c: (Ditto.)
|
|
||||||
* jtagmkI.c: (Ditto.)
|
|
||||||
* avr910.c: (Ditto.)
|
|
||||||
* stk500.c: (Ditto.)
|
|
||||||
* usbasp.c: (Ditto.)
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* usbtiny.c: (Ditto.)
|
|
||||||
|
|
||||||
2011-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk500v2_command): Treat warnings as errors rather than
|
|
||||||
success.
|
|
||||||
|
|
||||||
2011-08-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #34027: avrdude AT90S1200 Problem (part 3 - documentation)
|
|
||||||
* avrdude.1: Document the programmer type restrictions for AT90S1200
|
|
||||||
devices.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2011-08-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #34027: avrdude AT90S1200 Problem (part 2 - stk500v2 and relatives)
|
|
||||||
* stk500v2.c (stk500v2_initialize): For the AT90S1200, release
|
|
||||||
/RESET for a moment before reinitializing, as this is required by
|
|
||||||
its programming protocol.
|
|
||||||
|
|
||||||
2011-08-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: In AC_CHECK_LIB for libftdi, check for
|
|
||||||
ftdi_usb_get_strings() rathern than ftdi_init(), as this is a more
|
|
||||||
specific thing to search for in order to make sure getting a
|
|
||||||
recent enough libftdi.
|
|
||||||
|
|
||||||
2011-08-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #34027: avrdude AT90S1200 Problem (part 1 - bitbang
|
|
||||||
programmers)
|
|
||||||
* config_gram.y: Introduce new keyword "is_at90s1200".
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.conf.in: Applew new keyword to the AT90S1200 device.
|
|
||||||
* avrpart.h: Introduce new flag AVRPART_IS_AT90S1200, reflecting
|
|
||||||
the is_at90s1200 configuration keyword.
|
|
||||||
* bitbang.c (bitbang_initialize): Replace existing test for
|
|
||||||
AT90S1200 by AVRPART_IS_AT90S1200
|
|
||||||
* avr.c (avr_write_byte_default): Avoid the pre-write reading for
|
|
||||||
the AT90S1200, as this appears to sometimes corrupt the high byte
|
|
||||||
by pre-programming the low byte just written into it.
|
|
||||||
|
|
||||||
2011-08-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Bump version for post-5.11.
|
|
||||||
|
|
||||||
2011-08-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Bump version for releasing AVRDUDE 5.11.
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.1: Update the list of supported AVR devices.
|
|
||||||
* doc/avrdude.texi: (Ditto).
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: add -lusb as "other libraries" when checking
|
|
||||||
for libftdi.
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Juergen Weigert:
|
|
||||||
patch #7056: adding support for mikrokopter bootloader to butterfly
|
|
||||||
* butterfly.c: Add some specific logic to handle the
|
|
||||||
mikrokopter.de butterfly bootloader.
|
|
||||||
* butterfly.h: Add one related function declaration.
|
|
||||||
* config_gram.y: Add butterfly_mk keyword.
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.conf.in: Add entry for butterfly_mk.
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Stefan Tomanek:
|
|
||||||
patch #7542: add default_bitclock to configuration files
|
|
||||||
* config.c: Add the new keyword and its handling.
|
|
||||||
* config.h: (Ditto.)
|
|
||||||
* config_gram.y: (Ditto.)
|
|
||||||
* avrdude.conf.in: (Ditto.)
|
|
||||||
* main.c: (Ditto.)
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.1: Document the change.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Brett Hagman:
|
|
||||||
patch #7603: wiring - programmer type for Wiring boards
|
|
||||||
(based on STK500v2)
|
|
||||||
* wiring.c: New file.
|
|
||||||
* wiring.h: (Ditto.)
|
|
||||||
* Makefile.am: Add new files.
|
|
||||||
* stk500v2_private.h: Reorganize so some functions and struct
|
|
||||||
pdata are globally known.
|
|
||||||
* stk500v2.c: (Ditto.)
|
|
||||||
* stk500v2.h: (Ditto.)
|
|
||||||
* lexer.l: Add new programmer keywords.
|
|
||||||
* config_gram.y: (Ditto.)
|
|
||||||
* avrdude.conf.in: Add "wiring" programmer entry.
|
|
||||||
* avrdude.1: Document the new programmer.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
* AUTHORS: Add Brett Hagman.
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by an anonymous contributor on the mailinglist:
|
|
||||||
* avrdude.conf (jtagkey): Add a definition for the Amontec
|
|
||||||
JTAGKey
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Juergen Weigert:
|
|
||||||
bug #22720: avrdude-5.5 ignores buff settings in avrdude.conf
|
|
||||||
(Note that the actual bug the subject is about has been fixed
|
|
||||||
long ago.)
|
|
||||||
* update.c (do_op): fix a diagnostic message
|
|
||||||
* pgm.h: add exit_datahigh field
|
|
||||||
* par.c: set and act upon the exit_datahigh field
|
|
||||||
* avrdude.1: document the new -E options
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #33811: Parallel make fails
|
|
||||||
* Makefile.am (BUILT_SOURCES): Add this macro.
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #33114: Segfault after setting the DWEN fuse with Dragon
|
|
||||||
* jtagII.c (jtagmkII_getsync): Instead of exit()ing from
|
|
||||||
deep within the tree when detecting the "need debugWIRE"
|
|
||||||
situation, properly pass this up as a return code.
|
|
||||||
* jtagII_private.h (JTAGII_GETSYNC_FAIL_GRACEFUL): New constant.
|
|
||||||
* stk500v2.c (stk500v2_jtagmkII_open): Don't tell anything
|
|
||||||
anymore when receiving a JTAGII_GETSYNC_FAIL_GRACEFUL from
|
|
||||||
jtagmkII_getsync(); silently give up (all necessary has been
|
|
||||||
said already).
|
|
||||||
|
|
||||||
2011-08-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Reported by Jason Hecker:
|
|
||||||
* usbasp.c (libusb_to_errno): Conditionalize some error codes
|
|
||||||
that apparently are lacking on MinGW.
|
|
||||||
|
|
||||||
2011-08-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Fix warnings.
|
|
||||||
* ser_avrdoper.c: add <stdlib.h> so exit() is declared.
|
|
||||||
* usbtiny.c (usbtiny_open): provide an initializer to a
|
|
||||||
"may be used uninitialized" variable (since GCC could not
|
|
||||||
fully detect the logic behind).
|
|
||||||
|
|
||||||
2011-08-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Add a check for FreeBSD's libusb-1.0
|
|
||||||
compatible library that is found in libusb.a/.so on
|
|
||||||
FreeBSD 8+.
|
|
||||||
|
|
||||||
2011-08-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Doug Springer, based on work by
|
|
||||||
Wolfgang Moser, Ville Voipio, Hannes Weisbach
|
|
||||||
patch #7486: Patch to add FT2232C/D, FT2232H, FT4232H,
|
|
||||||
usbvid, usbpid, usbdev for USB support - Based on #7062
|
|
||||||
* avrftdi.c: New file.
|
|
||||||
* avrftdi.h: (Ditto.)
|
|
||||||
* configure.ac: Add check for libftdi.
|
|
||||||
* config_gram.y: Add AVRFTDI and per-programmer USB string
|
|
||||||
keywords.
|
|
||||||
* lexer.l: (Ditto.)
|
|
||||||
* avrdude.conf.in: Add avrftdi and 2232HIO programmers.
|
|
||||||
* pgm.h: Add USB parameters.
|
|
||||||
* Makefile.am: Add avrftdi.c and avrftdi.h.
|
|
||||||
* AUTHORS: Mention the new authors.
|
|
||||||
* avrdude.1: Document the changes.
|
|
||||||
* doc/avrdude.texi: (Ditto.)
|
|
||||||
|
|
||||||
2011-08-23 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29585: Fix license
|
|
||||||
* doc/avrdude.texi: Add FDL as an option to the licensing
|
|
||||||
statement, as the savannah administration would like it
|
|
||||||
that way.
|
|
||||||
|
|
||||||
2011-08-23 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Darell Tan:
|
|
||||||
patch #7244: TPI bitbang implementation
|
|
||||||
* bitbang.c: Add TPI bitbang stuff.
|
|
||||||
* bitbang.h: (Ditto.)
|
|
||||||
* avr.c: (Ditto.)
|
|
||||||
* avr.h: (Ditto.)
|
|
||||||
* pgm.c: (Ditto.)
|
|
||||||
* pgm.h: (Ditto.)
|
|
||||||
* serbb_posix.c: Wire bitbang_cmd_tpi into the struct pgm.
|
|
||||||
* serbb_win32.c: (Ditto.)
|
|
||||||
* par.c: (Ditto.)
|
|
||||||
* doc/avrdude.texi: Document the TPI bitbang support.
|
|
||||||
|
|
||||||
2011-08-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Grygoriy Fuchedzhy:
|
|
||||||
bug #31779: Add support for addressing usbtinyisp with -P option
|
|
||||||
* usbtiny.c (usbtiny_open): Add logic to distinguish multiple USBtinyISP
|
|
||||||
programmers by their bus:device tuple.
|
|
||||||
* doc/avrdude.texi: Document the new functionality.
|
|
||||||
* avrdude.1: (Ditto.)
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Timon Van Overveldt:
|
|
||||||
bug #30268: Debugwire broken in avrdude-5.10
|
|
||||||
* jtagmkII.c (jtagmkII_initialize): only try setting up a JTAG chain when
|
|
||||||
the programmer is using JTAG.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29636: AVRDude issues invalid CMD_CHECK_TARGET_CONNECTION
|
|
||||||
on the AVRISP-MKII
|
|
||||||
* stk500v2.c (stk500v2_program_enable): Rewrite the logic to
|
|
||||||
explain ISP activation failures.
|
|
||||||
* stk500v2_private.h: Fix the various STATUS_* constants;
|
|
||||||
AVR069 and AVR079 disagreed in their values, even though they
|
|
||||||
are apparently implementing the same logic behind.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29650: Programming timeouts in ATmega128RFA1 are too slow
|
|
||||||
* avrdude.conf.in (ATmega128RFA1): Bump write delay values for flash and
|
|
||||||
EEPROM to 50 ms.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega8515, ATmega8535, ATmega48, ATmega88, ATmega88P,
|
|
||||||
ATtiny88, ATmega168, ATmega168P, ATmega328P): Bump delay value for STK500v2
|
|
||||||
EEPROM write operation to 5, according to the respective XML files.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Darcy Houlahan:
|
|
||||||
bug #29694: error in avrdude.conf for attiny84 eeprom
|
|
||||||
* avrdude.conf.in (ATtiny84, ATtiny85): fix A7 bit in EEPROM write
|
|
||||||
command.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Durant Gilles:
|
|
||||||
* avrdude.conf.in (ATtiny4313): Fix flash addressing bits for manual ISP
|
|
||||||
algorithm.
|
|
||||||
|
|
||||||
2011-08-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Philip:
|
|
||||||
bug #31386: A "BUILD.svn" or similar "how to get started" doc would be helpful
|
|
||||||
* BUILD-FROM-SVN: New file.
|
|
||||||
|
|
||||||
2011-08-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Nic Jones:
|
|
||||||
bug #32539: [Documentation][Patch] Man page is misleading
|
|
||||||
re: Dragon & PDI
|
|
||||||
* doc/avrdude.texi: Update information about PDI connections
|
|
||||||
on AVR Dragon
|
|
||||||
|
|
||||||
2011-08-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbasp.c: Add <stdint.h> so this actually compiles
|
|
||||||
again.
|
|
||||||
|
|
||||||
2011-08-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by tixiv@gmx.net:
|
|
||||||
bug #33345: File auto detection as binary doesn't open
|
|
||||||
file in binary mode on Windows
|
|
||||||
* fileio.c: Move the decision about opening files in
|
|
||||||
binary mode until before the fopen() call.
|
|
||||||
|
|
||||||
2011-06-16 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Fix part id of ATtiny9.
|
|
||||||
|
|
||||||
2011-05-28 Thomas Fischl <tfischl@gmx.de>
|
|
||||||
|
|
||||||
Based on patch #7440 commited by Slawomir Fraś:
|
|
||||||
* usbasp.c: added TPI support for USBasp
|
|
||||||
* usbasp.h: (Ditto.)
|
|
||||||
|
|
||||||
2011-05-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Add support for ATmega168P.
|
|
||||||
|
|
||||||
2011-05-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Fix abbreviated name for ATmega324PA.
|
|
||||||
|
|
||||||
2011-05-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Lech Perczak:
|
|
||||||
bug #30946: Added support for ATmega8/16/32U2
|
|
||||||
* avrdude.conf.in: Add ATmega8/16/32U2 entries.
|
|
||||||
|
|
||||||
2011-05-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by David A Lyons:
|
|
||||||
patch #7393: Adding ATtiny4313 Device to avrdude.conf.in
|
|
||||||
* avrdude.conf.in: Add ATtiny4313 data.
|
|
||||||
|
|
||||||
2011-05-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c: Bump timeout values to allow for slow clock
|
|
||||||
speeds.
|
|
||||||
* jtagmkII.c: (Ditto.)
|
|
||||||
|
|
||||||
2011-03-04 Eric B. Weddington <eric.weddington@atmel.com>
|
|
||||||
|
|
||||||
Thanks to Vitaly Chernookiy for the patch.
|
|
||||||
* avrdude.conf.in: Add support for atmega324pa.
|
|
||||||
* ChangeLog-2010: New file, rotate ChangeLog for new year.
|
|
729
ChangeLog-2012
|
@ -1,729 +0,0 @@
|
||||||
2012-12-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbdefs.h (USBDEV_BULK_EP_WRITE_STK600)
|
|
||||||
(USBDEV_BULK_EP_READ_STK600): new define values
|
|
||||||
* stk500v2.c (stk600_open): use the STK600 EP values,
|
|
||||||
as they are different from AVRISPmkII
|
|
||||||
|
|
||||||
2012-12-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #37942: Latest SVN can't program in dragon_jtag mode
|
|
||||||
* jtagmkII.c (jtagmkII_initialize): For Xmega devices, and
|
|
||||||
firmware >= 7.x, don't trigger a RESET, in order to work around a
|
|
||||||
firmware bug that appears to be present in at least firmware 7.24
|
|
||||||
for the Dragon.
|
|
||||||
|
|
||||||
2012-12-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* config_gram.y: Implement the "ocdrev" keyword
|
|
||||||
* avrpart.c: (Dito)
|
|
||||||
* avrpart.h: (Dito)
|
|
||||||
* lexer.l: (Dito)
|
|
||||||
* avrdude.conf.in: Add "ocdrev" key/value pairs, based
|
|
||||||
on the AS6 XML file information.
|
|
||||||
* jtag3.c: Use the ocdrev in the parameter block.
|
|
||||||
|
|
||||||
2012-12-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: Make jtag3_command() public
|
|
||||||
* jtag3.h: (Dito.)
|
|
||||||
* jtag3_private.h: Add two new commands
|
|
||||||
* stk500v2.c: Implement the "MonCon disable" hack that
|
|
||||||
allows temporarily falling back to ISP when trying to
|
|
||||||
talk to a part that has debugWIRE enabled
|
|
||||||
|
|
||||||
2012-12-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* pickit2.c: reordered #includes for non-usb configuration
|
|
||||||
|
|
||||||
2012-12-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: Enable interactive adjustment of the various
|
|
||||||
clock frequencies (JTAG Xmega, JTAG megaAVR, PDI Xmega)
|
|
||||||
through the set_sck_period() callback.
|
|
||||||
|
|
||||||
2012-12-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: Remove unused code that was left over from
|
|
||||||
cloning the jtagmkII.c implementation
|
|
||||||
|
|
||||||
2012-12-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* pgm_type.c: Add "jtagice3_isp" programmer hook
|
|
||||||
* avrdude.conf.in: Add "jtag3isp" programmer
|
|
||||||
* jtag3.c: jtag3_setparm() is now public
|
|
||||||
* jtag3.h: (Dito)
|
|
||||||
* stk500v2_private.h: Command 0x1D is CMD_SPI_MULTI only
|
|
||||||
for STK500v2, AVRISPmkII, and JTAGICEmkII; for JTAGICE3,
|
|
||||||
it's CMD_SET_SCK now; also add CMD_GET_SCK
|
|
||||||
* avrpart.c (avr_get_output_index): New function
|
|
||||||
* avrpart.h: (Dito)
|
|
||||||
* stk500v2.c: Implement the pasthrough programmer glue logic
|
|
||||||
for JTAGICE3 in ISP mode
|
|
||||||
* stk500v2.h: (Dito)
|
|
||||||
* avrdude.1: Document the JTAGICE3 support.
|
|
||||||
|
|
||||||
2012-11-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the
|
|
||||||
m->offset from addr, JTAGICE3 doesn't need it anymore (similar
|
|
||||||
to JTAGICEmkII with 7+ firmware)
|
|
||||||
* jtag3.c (jtag3_read_byte): Allow for full-page reads of
|
|
||||||
EEPROM also for Xmega and debugWIRE, allow for signature
|
|
||||||
read in debugWIRE
|
|
||||||
|
|
||||||
2012-11-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3_private.h: Add two more error detail codes I stumbled
|
|
||||||
across during development
|
|
||||||
* jtag3.c: (Dito.)
|
|
||||||
* usb_libusb.c: Reduce timeouts from 100 to 10 s, still long
|
|
||||||
enough, but not getting cold feet when something goes wrong.
|
|
||||||
|
|
||||||
2012-11-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: Handle events returned by the ICE
|
|
||||||
* usbdevs.h: Add defines that mark an event in return
|
|
||||||
from usb_recv_frame().
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
|
|
||||||
2012-11-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4
|
|
||||||
devices, as they only have PDI.
|
|
||||||
* jtag3.c (jtag3_page_erase): Actually implement this.
|
|
||||||
|
|
||||||
2012-11-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #37265: wrong page sizes for XMega64xx in avrdude.conf
|
|
||||||
* avrdude.conf.in: Fix page sizes for all Xmega devices,
|
|
||||||
by cross-checking against Atmel Studio's device XML files
|
|
||||||
|
|
||||||
2012-11-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c: Fill in the missing pieces for Xmega support (both,
|
|
||||||
PDI and JTAG).
|
|
||||||
* jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather
|
|
||||||
than "fuse0" memory space to fill in the NVM offset from, as
|
|
||||||
there is no "fuse0" on some Xmega devices.
|
|
||||||
|
|
||||||
2012-11-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega256RFR2, ATmega128RFR2, ATmega64RFR2):
|
|
||||||
New devices
|
|
||||||
|
|
||||||
2012-11-28 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
First support for Atmel JTAGICE3. Guessed from USB sniffer
|
|
||||||
traces made by Knut Schwichtenberg, and by similarity to
|
|
||||||
JTAGICEmkII.
|
|
||||||
Still quite incomplete, just megaAVR/JTAG is done by now.
|
|
||||||
* jtag3.c: New file.
|
|
||||||
* jtag3.h: (Dito.)
|
|
||||||
* jtag3_private.h: (Dito.)
|
|
||||||
* pgm_type.c: Add new programmers
|
|
||||||
* avrdude.conf.in: (Dito.)
|
|
||||||
* usbdevs.h: Add new parameters
|
|
||||||
* Makefile.am: Add new files
|
|
||||||
* usb_libusb.c: Handle separate event endpoint, and larger
|
|
||||||
(USB 2.0) packet sizes
|
|
||||||
|
|
||||||
2012-11-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c: Change all the USB details (endpoint numbers,
|
|
||||||
max transfer size etc.) to a per-programmer adjustable value.
|
|
||||||
* serial.h: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* usbdevs.h: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
|
|
||||||
2012-11-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* buspirate.c: Replace outdated FSF postal address by a reference to
|
|
||||||
the GPL info on their website.
|
|
||||||
* jtagmkII.c: (Dito.)
|
|
||||||
* avrftdi.c: (Dito.)
|
|
||||||
* wiring.c: (Dito.)
|
|
||||||
* linux_ppdev.h: (Dito.)
|
|
||||||
* serbb.h: (Dito.)
|
|
||||||
* usbtiny.h: (Dito.)
|
|
||||||
* confwin.c: (Dito.)
|
|
||||||
* buspirate.h: (Dito.)
|
|
||||||
* avrftdi.h: (Dito.)
|
|
||||||
* wiring.h: (Dito.)
|
|
||||||
* jtagmkII.h: (Dito.)
|
|
||||||
* pickit2.c: (Dito.)
|
|
||||||
* config.c: (Dito.)
|
|
||||||
* term.c: (Dito.)
|
|
||||||
* confwin.h: (Dito.)
|
|
||||||
* avrdude.1: (Dito.)
|
|
||||||
* windows/Makefile.am: (Dito.)
|
|
||||||
* config.h: (Dito.)
|
|
||||||
* pickit2.h: (Dito.)
|
|
||||||
* term.h: (Dito.)
|
|
||||||
* tools/get-hv-params.xsl: (Dito.)
|
|
||||||
* tools/get-stk600-cards.xsl: (Dito.)
|
|
||||||
* tools/get-stk600-devices.xsl: (Dito.)
|
|
||||||
* tools/get-dw-params.xsl: (Dito.)
|
|
||||||
* butterfly.c: (Dito.)
|
|
||||||
* configure.ac: (Dito.)
|
|
||||||
* doc/Makefile.am: (Dito.)
|
|
||||||
* pgm_type.c: (Dito.)
|
|
||||||
* butterfly.h: (Dito.)
|
|
||||||
* jtagmkI.c: (Dito.)
|
|
||||||
* ft245r.c: (Dito.)
|
|
||||||
* COPYING: (Dito.)
|
|
||||||
* pgm_type.h: (Dito.)
|
|
||||||
* jtagmkI.h: (Dito.)
|
|
||||||
* pindefs.h: (Dito.)
|
|
||||||
* config_gram.y: (Dito.)
|
|
||||||
* arduino.c: (Dito.)
|
|
||||||
* arduino.h: (Dito.)
|
|
||||||
* ser_win32.c: (Dito.)
|
|
||||||
* serbb_win32.c: (Dito.)
|
|
||||||
* avr910.c: (Dito.)
|
|
||||||
* stk500.c: (Dito.)
|
|
||||||
* freebsd_ppi.h: (Dito.)
|
|
||||||
* avr910.h: (Dito.)
|
|
||||||
* solaris_ecpp.h: (Dito.)
|
|
||||||
* stk500.h: (Dito.)
|
|
||||||
* jtagmkII_private.h: (Dito.)
|
|
||||||
* avrdude.h: (Dito.)
|
|
||||||
* bitbang.c: (Dito.)
|
|
||||||
* bitbang.h: (Dito.)
|
|
||||||
* avrpart.c: (Dito.)
|
|
||||||
* safemode.c: (Dito.)
|
|
||||||
* stk500generic.c: (Dito.)
|
|
||||||
* serial.h: (Dito.)
|
|
||||||
* avrpart.h: (Dito.)
|
|
||||||
* jtagmkI_private.h: (Dito.)
|
|
||||||
* ppi.c: (Dito.)
|
|
||||||
* avr.c: (Dito.)
|
|
||||||
* safemode.h: (Dito.)
|
|
||||||
* stk500generic.h: (Dito.)
|
|
||||||
* ser_avrdoper.c: (Dito.)
|
|
||||||
* avr.h: (Dito.)
|
|
||||||
* ppi.h: (Dito.)
|
|
||||||
* usbasp.c: (Dito.)
|
|
||||||
* lists.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* my_ddk_hidsdi.h: (Dito.)
|
|
||||||
* tpi.h: (Dito.)
|
|
||||||
* usbasp.h: (Dito.)
|
|
||||||
* lists.h: (Dito.)
|
|
||||||
* stk500v2.h: (Dito.)
|
|
||||||
* ppiwin.c: (Dito.)
|
|
||||||
* fileio.c: (Dito.)
|
|
||||||
* ser_posix.c: (Dito.)
|
|
||||||
* fileio.h: (Dito.)
|
|
||||||
* serbb_posix.c: (Dito.)
|
|
||||||
* usbdevs.h: (Dito.)
|
|
||||||
* par.c: (Dito.)
|
|
||||||
* update.c: (Dito.)
|
|
||||||
* pgm.c: (Dito.)
|
|
||||||
* main.c: (Dito.)
|
|
||||||
* par.h: (Dito.)
|
|
||||||
* update.h: (Dito.)
|
|
||||||
* lexer.l: (Dito.)
|
|
||||||
* Makefile.am: (Dito.)
|
|
||||||
* pgm.h: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
* usbtiny.c: (Dito.)
|
|
||||||
|
|
||||||
2012-11-13 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc)
|
|
||||||
bug #37727 Add support for LM3S811 dev board as a programmer
|
|
||||||
* lexer.l,config_gram.y: accepting inverted pins at pin lists
|
|
||||||
syntax: ~num or ~(num,num,...)
|
|
||||||
* par.c: par_set_many_bits is now usable with inverted pins
|
|
||||||
* avrftdi.c: fixed wrong index in ftdi_pin_name
|
|
||||||
* avrdude.conf.in: added programmer lm3s811
|
|
||||||
|
|
||||||
2012-11-04 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers
|
|
||||||
except of default_bitclock which is the only real number.
|
|
||||||
No signs are allowed as negative values do not make sense for current
|
|
||||||
config values.
|
|
||||||
* buspirate.c: include own header file buspirate.h
|
|
||||||
* doc/.cvsignore: add programmers.texi to ignore list
|
|
||||||
|
|
||||||
2012-09-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* doc/Makefile.am: add EXTRA_DIST, replace $(srcdir) by
|
|
||||||
$(builddir) for generated files, so "make distcheck"
|
|
||||||
works again
|
|
||||||
|
|
||||||
2012-09-05 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* doc/Makefile.am: add $(srcdir) to name of generated files, so BSD make
|
|
||||||
find the files ( GNU make sees no difference if the
|
|
||||||
file is called version.texi or ./version.texi )
|
|
||||||
|
|
||||||
2012-08-15 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7184 Support for PICKit2 programmer
|
|
||||||
* Makefile.am: add pickit2 files
|
|
||||||
* pickit2.[ch]: new programmer implementation
|
|
||||||
* pgm_type.c: add pickit to list
|
|
||||||
* avrdude.1: documentation for pickit2
|
|
||||||
* doc/avrdude.texi: documentation for pickit2
|
|
||||||
* avrdude.conf.in: add pickit2 programmer entry
|
|
||||||
|
|
||||||
2012-08-15 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #30559 Ft232 bit-bang support, see comment #30
|
|
||||||
* ft245r.c: added semaphore workaround for MacOS X,
|
|
||||||
added pthread_testcancel in reader thread
|
|
||||||
|
|
||||||
* configure.ac: added check for TYPE_232H in libftdi (not in libftdi < 0.20)
|
|
||||||
* avrftdi.c: do not use TYPE_232H if not declared
|
|
||||||
|
|
||||||
2012-08-13 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi.c: fixes pin_limit for different FTDI devices (there was a mixup
|
|
||||||
between 2232C and 2232H)
|
|
||||||
|
|
||||||
2012-07-29 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi.c: bugfixes (synchronisation) and maintenance (paged programming,
|
|
||||||
nicer output, separation of parameter checking and actual code)
|
|
||||||
|
|
||||||
2012-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c (jtagmkII_memtype): return MTYPE_FLASH rather than
|
|
||||||
MTYPE_SPM for non-Xmega flash regions
|
|
||||||
|
|
||||||
2012-07-20 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrpart.c, avrpart.h: adds avr_pin_name()
|
|
||||||
|
|
||||||
2012-07-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: check for libelf.h also in libelf/
|
|
||||||
* fileio.c: include <libelf/libelf.h> if configure found this
|
|
||||||
to be the case
|
|
||||||
|
|
||||||
2012-06-13 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* configure.ac: Check for presence of <pthread.h>
|
|
||||||
* ft245r.c: Depend on HAVE_PTHREAD_H
|
|
||||||
* Makefile.am: Add -lpthread if needed.
|
|
||||||
|
|
||||||
2012-06-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write):
|
|
||||||
fix breakage introduced by the recent page handling reorg;
|
|
||||||
it used to cause an infinite loop
|
|
||||||
|
|
||||||
2012-05-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Xmega page erase implementation for XPROG (AVRISPmkII, STK600)
|
|
||||||
* stk500v2.c (stk600_xprog_page_erase): New function.
|
|
||||||
|
|
||||||
2012-05-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Xmega page erase implementation for JTAGICEmkII
|
|
||||||
* jtagmkII.c: Handle flash pages sizes > 256 bytes, implement
|
|
||||||
page_erase() method
|
|
||||||
* avrdude.conf.in: Change flash pagesize for all Xmega devices
|
|
||||||
to 512 bytes
|
|
||||||
* avr.c: Implement auto_erase, using page_erase if available
|
|
||||||
* avr.h: Remove unused parameters from avr_read(), replace
|
|
||||||
unused parameter in avr_write)() by auto_erase
|
|
||||||
* stk500v2.c: Handle flash page sizes > 256 bytes
|
|
||||||
* update.c (do_op): Handle new updateflags parameter
|
|
||||||
* main.c: Implement auto_erase as page_erase if possible
|
|
||||||
* update.h (enum updateflags): New enum
|
|
||||||
* pgm.h (struct programmer_t): Add page_erase method
|
|
||||||
|
|
||||||
2012-04-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c (jtagmkII_paged_load, jtagmkII_paged_write): fix bug
|
|
||||||
in memory type calculation for Xmega "boot" memory region.
|
|
||||||
|
|
||||||
2012-04-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* update.c (parse_op): do not assume default memtype here
|
|
||||||
* main.c: after locating the part information, determine default
|
|
||||||
memtype for all update options that didn't have a memtype
|
|
||||||
specified; this is "application" for Xmega parts, and "flash" for
|
|
||||||
everything else.
|
|
||||||
|
|
||||||
2012-04-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c: Rework the way ELF file sections are considered: while
|
|
||||||
scanning the program header table, the offsets from a program
|
|
||||||
header entry must never be used directly when checking the bounds
|
|
||||||
of the current AVR memory region. Instead, they must always be
|
|
||||||
checked based on the corresponding section's entry. That way,
|
|
||||||
Xmega devices now properly take into account whether the segment
|
|
||||||
fits into any of the application/apptable/boot memory region.
|
|
||||||
|
|
||||||
2012-04-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #30756: When setting SUT to 64ms on XMEGA, avrdude doesn't
|
|
||||||
read device signature
|
|
||||||
* main.c: When reading the signature yields 0x000000 or 0xffffff,
|
|
||||||
retry (up to twice) after some progressive delay.
|
|
||||||
|
|
||||||
2012-04-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATxmega16D4, ATxmega32D4, ATxmega64D4,
|
|
||||||
ATxmega128D4): New devices. As Xmega D doesn't feature a fuse0
|
|
||||||
memory cell, move that one out from the generic .xmega part into
|
|
||||||
the individual Xmega A parts.
|
|
||||||
|
|
||||||
2012-04-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #29019: pagel/bs2 warning when uploading using stk500 to xmega
|
|
||||||
* stk500.c (stk500_initialize): Insert dummy values for PAGEL and
|
|
||||||
BS2 if they are not present in the config file, in order to be able
|
|
||||||
to proceed with the stk500_set_extended_parms() anyway.
|
|
||||||
|
|
||||||
2012-04-19 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2_private.h (struct pdata): add boot_start
|
|
||||||
* stk500v2.c: For the "flash" pseudo-memory of Xmega devices,
|
|
||||||
distinguish addresses between "application" and "boot" area.
|
|
||||||
|
|
||||||
2012-04-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c (elf2b): When checking the bounds of the current
|
|
||||||
program header segment, subtract `low' from ph[n].p_paddr in order
|
|
||||||
to correct the magic section offsets for the AVR's non-flash
|
|
||||||
memory regions.
|
|
||||||
|
|
||||||
2012-04-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c (elf_get_scn): Rather than trying to just match whether
|
|
||||||
any given section maps straight to a program header segment, use a
|
|
||||||
more sophisticated decision that matches any section as long as it
|
|
||||||
fits into the segment. This is needed for situations where the
|
|
||||||
program header segment spans a larger area than the section data
|
|
||||||
provided. (This can e.g. happen in an ELF file that contains no
|
|
||||||
data at address 0, like a bootloader only.)
|
|
||||||
|
|
||||||
2012-04-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #28744: Can't load bootloader to xmega128a1 (part 2, fix for
|
|
||||||
firmware >= V7.x)
|
|
||||||
* jtagmkII.c: Add firmware-version dependent handling of Xmega parameters.
|
|
||||||
V7.x firmware expects the NVM offsets being specified through the Xmega
|
|
||||||
parameters command, but left out as part of the memory address itself.
|
|
||||||
* jtagmkII_private.h: Add CMND_SET_XMEGA_PARAMS, and struct xmega_device_desc.
|
|
||||||
* config_gram.y: Add mcu_base keyword.
|
|
||||||
* avrpart.h: (Dito.)
|
|
||||||
* lexer.l: (Dito.)
|
|
||||||
* avrdude.conf.in (.xmega): add mcu_base, and data memory segment.
|
|
||||||
|
|
||||||
2012-03-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #28744: Can't load bootloader to xmega128a1 (part 1, fix for
|
|
||||||
firmware < V7.x)
|
|
||||||
* jtagmkII.c: When going to write to the boot section of flash,
|
|
||||||
use MTYPE_BOOT_FLASH rather than MTYPE_FLASH
|
|
||||||
* jtagmkII_private.h: add MTYPE_BOOT_FLASH constant
|
|
||||||
|
|
||||||
2012-03-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII_private.h: Sort commands, response codes and events
|
|
||||||
into numerical order.
|
|
||||||
|
|
||||||
2012-03-29 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #30451: Accessing some Xmega memory sections gives not
|
|
||||||
supported error
|
|
||||||
* stk500v2.c: Handle all Xmega memory sections (except
|
|
||||||
"prodsig" which is not documented in AVR079)
|
|
||||||
* fileio.c: Treat the "boot", "application", and "apptable"
|
|
||||||
regions (which are actually subregions of "flash") all as
|
|
||||||
being flash, i.e. suppress trailing 0xFF bytes when reading
|
|
||||||
them
|
|
||||||
* avr.c: (Dito.)
|
|
||||||
|
|
||||||
2012-03-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkII.c (jtagmkII_close): The GO command before signing off
|
|
||||||
turned out to be not required for normal megaAVR devices, and to
|
|
||||||
cause the exact opposite (i.e. the target stopping) on Xmega
|
|
||||||
devices being programmed to JTAG. However, programming Xmega
|
|
||||||
devcies through PDI *does* need the GO command.
|
|
||||||
|
|
||||||
2012-03-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Print a configuration summary at the end of the
|
|
||||||
configure run
|
|
||||||
|
|
||||||
2012-02-11 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7718: Merge global data of avrftdi in a private data structure
|
|
||||||
* avrftdi.[ch]: moved global data into private data structure, moved
|
|
||||||
private defines from header file into source file
|
|
||||||
|
|
||||||
2012-02-06 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7720 Bug in EEPROM write
|
|
||||||
* avrftdi.c: fixed wrong buffer address initialization in paged_write
|
|
||||||
* fileio.c: added #include <stdint.h>
|
|
||||||
|
|
||||||
2012-02-05 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #30559 Ft232 bit-bang support
|
|
||||||
* ft245r.c: cancel reader thread before exiting program
|
|
||||||
|
|
||||||
2012-02-04 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7717 avrftdi_flash_write is broken
|
|
||||||
* avrftdi.c: fixed wrong buffer address initialization in paged_write
|
|
||||||
bug #35296 Extraneous newlines in output.
|
|
||||||
* main.c: fixed output of newlines at 100% progress
|
|
||||||
|
|
||||||
2012-02-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7715 FT4232H support
|
|
||||||
* avrdude.conf.in: added programmer 4232h
|
|
||||||
|
|
||||||
2012-02-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7687: Autogenerating programmers and parts lists for docs
|
|
||||||
(generating the programmers lists)
|
|
||||||
* doc/avrdude.texi: Add include of generated table of programmers
|
|
||||||
* doc/Makefile.am: Add generating of table of programmers in programmers.texi
|
|
||||||
|
|
||||||
2012-02-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #34768 Proposition: Change the name of the AVR32 devices
|
|
||||||
* avrdude.conf.in: renamed ucr2 to uc3a0512
|
|
||||||
* avrpart.c: added cast to avoid compiler warning
|
|
||||||
|
|
||||||
2012-02-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c (fileio_elf): Fix a copy'n-paste-o.
|
|
||||||
|
|
||||||
2012-02-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* par.c (par_desc): Move to end of file, outside the #if
|
|
||||||
HAVE_PARPORT
|
|
||||||
|
|
||||||
2012-02-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Implement ELF file reading (finally). Requires libelf(3) to be
|
|
||||||
present on the host system.
|
|
||||||
* configure.ac (HAVE_LIBELF): Add logic to detect presence of
|
|
||||||
libelf(3)
|
|
||||||
* Makefile.am (avrdude_LDADD): Add @LIBELF@
|
|
||||||
* fileio.h (FILEFMT): add FMT_ELF
|
|
||||||
* fileio.c: Implement ELF file reader.
|
|
||||||
* update.c (parse_op): add 'e' format specifier
|
|
||||||
* avrdude.1: Document the ELF file reading capability
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2012-02-01 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #30559 Ft232 bit-bang support
|
|
||||||
* ft245r.[ch]: new programmer type implementation
|
|
||||||
* configure.ac: add pthread as link library
|
|
||||||
* avrdude.conf.in: added some new programmers
|
|
||||||
* Makefile.am: added new source files to compile
|
|
||||||
* pindefs.h: change PIN_MASK, PIN_INVERSE to highest bit of unsigned int
|
|
||||||
* pgm.[ch]: added generic function to print pin assignments (taken from par.c)
|
|
||||||
* par.c: moved pin assigment print function to pgm.c
|
|
||||||
|
|
||||||
2012-02-01 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* lexer.l: Sort keyword tokens into alphabetic order.
|
|
||||||
|
|
||||||
2012-01-31 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* config_gram.y, lexer.l: removed unused ID/TKN_ID definitions
|
|
||||||
* config.[hc]: removed unused function id(), use value.type to select
|
|
||||||
values
|
|
||||||
|
|
||||||
2012-01-31 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7437 modifications to Bus Pirate module
|
|
||||||
patch #7686 Updating buspirate ascii mode to current firmware, use AUX
|
|
||||||
as clock generator, and setting of serial receive timeout
|
|
||||||
* buspirate.c: added paged_write, changed binary mode setup/detection,
|
|
||||||
added clock output on AUX pin
|
|
||||||
* avrdude.1: updated documentation
|
|
||||||
* doc/avrdude.texi: updated documentation
|
|
||||||
|
|
||||||
2012-01-31 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
Parser does not need to know all programmer types now, new programmers
|
|
||||||
will update only the table in pgm_type.c.
|
|
||||||
* config_gram.y, lexer.l: removed programmer type keywords,
|
|
||||||
use now locate_programmer_type() function
|
|
||||||
* pgm_type.[ch]: added new files for table of programmer types
|
|
||||||
* main.c: allow list of programmer types by -c ?type
|
|
||||||
* avrdude.conf.in: changed all type keywords to quoted strings
|
|
||||||
* doc/avrdude.texi: changed description of type definition, list
|
|
||||||
of valid types is now included from generated file
|
|
||||||
* doc/Makefile.am: generate list of programmer types for doc
|
|
||||||
* all programmers [hc]: add xxx_desc string for description of programmer
|
|
||||||
|
|
||||||
2012-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* configure.ac: fixed detection of yylex_destroy availability
|
|
||||||
by checking the version number of flex; bump required autoconf
|
|
||||||
version to 2.60 (for AC_PROG_SED)
|
|
||||||
|
|
||||||
2012-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* lexer.l: Replace the old, now-defunct #define YY_NO_UNPUT by
|
|
||||||
the new %option nounput. This gets rid of a compiler warning.
|
|
||||||
|
|
||||||
2012-01-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Add a connection_type attribute to each programmer, rather than
|
|
||||||
trying to hard-code the default port name in main.c.
|
|
||||||
* pgm.h: Add conntype to struct pgm.
|
|
||||||
* lexer.l: Extend grammar for connection_type.
|
|
||||||
* config_gram.y: (Dito.)
|
|
||||||
* config.h: Add DEFAULT_USB, for symmetry with default_parallel
|
|
||||||
and default_serial.
|
|
||||||
* main.c: Replace old default portname hack by avrdude.conf-based
|
|
||||||
knowledge.
|
|
||||||
* usbtiny.c: Drop an old hack that's no longer necessary.
|
|
||||||
* avrdude.conf.in: Add connection_type to each programmer
|
|
||||||
definition.
|
|
||||||
|
|
||||||
2012-01-27 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in: used parent parts for some other parts, added
|
|
||||||
abstract .xmega part as parent for xmegas
|
|
||||||
* main.c: hide parts starting with '.' from parts list
|
|
||||||
|
|
||||||
2012-01-22 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7688: Implement parent programmers feature
|
|
||||||
* avrdude.conf.in: updated documentation comment and some programmers
|
|
||||||
have now parents
|
|
||||||
* config_gram.y: initpgm will now called at first use of programmer
|
|
||||||
in main. parser sets only the function pointer in the pgm structure.
|
|
||||||
Pin and pin lists definitions can now be empty to remove the parents
|
|
||||||
setting.
|
|
||||||
* doc/avrdude.texi: updated documentation
|
|
||||||
* main.c: added call to pgm->initpgm after locate_programmer
|
|
||||||
* pgm.[hc]: added field initpgm in structure, added function pgm_dup
|
|
||||||
|
|
||||||
2012-01-21 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #21797: AT90PWM316: New part description
|
|
||||||
* avrdude.conf.in: added pwm316 with parent pwm3b but 16KB flash
|
|
||||||
|
|
||||||
2012-01-20 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: Check for presence of lusb_usb.h as an alternative
|
|
||||||
to usb.h; libusb-win32 switched to this name in version 1.2.5.0.
|
|
||||||
* avrftdi.c: Decide whether to include <usb.h>, or <lusb0_usb.h>.
|
|
||||||
* ser_avrdoper.c: (Dito.)
|
|
||||||
* usbasp.c: (Dito.)
|
|
||||||
* usb_libusb.c: (Dito.)
|
|
||||||
* usbtiny.c: (Dito.)
|
|
||||||
|
|
||||||
2012-01-19 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* avr.c: Unsigned variable was used for return code of paged_write/load
|
|
||||||
functions. So a negative return code led never to a fallback to byte
|
|
||||||
functions.
|
|
||||||
|
|
||||||
2012-01-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #34302: Feature request : device configuration with parent classes
|
|
||||||
* config_gram.y: if memory section is overwritten old entry is removed
|
|
||||||
|
|
||||||
(not in original patch)
|
|
||||||
* config_gram.y: if programmer or part is defined twice, a warning is
|
|
||||||
output and the first instance is removed
|
|
||||||
|
|
||||||
General cleanup and free functions, so valgrind does not report any lost
|
|
||||||
blocks at program end.
|
|
||||||
* avrpart.[hc]: added avr_free_(opcode|mem|part) functions
|
|
||||||
* pgm.[hc]: added pgm_free function
|
|
||||||
* update.[hc]: added free_update functions
|
|
||||||
* config.[hc]: added cleanup_config function, use yylex_destroy to reset
|
|
||||||
the lexer after usage. (So it can be reused.)
|
|
||||||
* main.c: add cleanup_main function which is called by atexit() (This
|
|
||||||
frees all lists so that at program exit only really lost memory is
|
|
||||||
reported by valgrind.)
|
|
||||||
* usbasp.c: added libusb_free_device_list() and libusb_exit() calls to
|
|
||||||
avoid lost memory
|
|
||||||
* buspirate.c: moved memory allocation from initpgm to setup and added
|
|
||||||
free in teardown
|
|
||||||
* configure.ac: add definition of HAVE_YYLEX_DESTROY if $LEX is flex.
|
|
||||||
* Makefile.am: added . in front of SUBDIRS to build avrdude before trying
|
|
||||||
to use it for creating the part list for the docs.
|
|
||||||
|
|
||||||
2012-01-17 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* usbasp.c: USB vid/pid/vendor/product from config file are used, for
|
|
||||||
id "usbasp" nibobee and old usbasp are tried as they were currently
|
|
||||||
implemented within usbasp
|
|
||||||
* avrdude.conf.in: added usb params to "usbasp", added new entry "nibobee"
|
|
||||||
with params which were hardcoded in usbasp.c, and added an entry
|
|
||||||
"usbasb-clone" which only checks vid/pid.
|
|
||||||
|
|
||||||
2012-01-10 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #35261 avrftdi uses wrong interface in avrftdi_paged_(write|load)
|
|
||||||
* avrftdi.c: Fixed interface and implementation of avrftdi_paged_(write|load)
|
|
||||||
patch #7672 adding support for O-Link (FTDI based JTAG) as programmer
|
|
||||||
* avrdude.conf.in: added o-link entry
|
|
||||||
|
|
||||||
2012-01-10 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7699 Read additional config files
|
|
||||||
* main.c: Added reading of additional config files
|
|
||||||
* avrdude.1: updated man page
|
|
||||||
* doc/avrdude.texi: updated documentation
|
|
||||||
|
|
||||||
2012-01-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Bob Frazier:
|
|
||||||
bug #35208: avrdude 5.11 on freebsd 8.2-STABLE does not reset
|
|
||||||
Arduino Uno properly
|
|
||||||
* arduino.c (arduino_open): Bump the timeout between pulling
|
|
||||||
the DTR and RTS lines low and high.
|
|
||||||
|
|
||||||
2012-01-08 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
Fixed following findings reported by cppcheck
|
|
||||||
* avr910.c:625 (error) Possible null pointer dereference: cmd - otherwise it is redundant to check if cmd is null at line 624
|
|
||||||
* avr910.c:626 (error) Possible null pointer dereference: cmd - otherwise it is redundant to check if cmd is null at line 624
|
|
||||||
* avr910.c:168 (information) The scope of the variable 'devtype_1st' can be reduced
|
|
||||||
* avr910.c:169 (information) The scope of the variable 'dev_supported' can be reduced
|
|
||||||
* avrftdi.c:647 (error) Using sizeof for array given as function argument returns the size of pointer.
|
|
||||||
* stk500v2.c:3347 (error) Memory leak: b
|
|
||||||
* stk500v2.c:3452 (error) Memory leak: b
|
|
||||||
* usbasp.c:554 (error) Using sizeof for array given as function argument returns the size of pointer.
|
|
||||||
* usbasp.c:485 (information) The scope of the variable 'dly' can be reduced
|
|
||||||
|
|
||||||
2012-01-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Reported by Jason Kotzin:
|
|
||||||
* usbasp.c (usbasp_spi_paged_load, usbasp_spi_paged_write):
|
|
||||||
Fix buffer address calculation.
|
|
||||||
|
|
||||||
2012-01-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7629 add support for atmega48p
|
|
||||||
* avrdude.conf.in: Added m48p with parent m48 + different signature
|
|
||||||
|
|
||||||
* avrdude.conf.in: made part parents (m88p = m88 + different signature,
|
|
||||||
m168p = m168 + different signature)
|
|
||||||
|
|
||||||
2012-01-02 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #21663 AT90PWM efuse incorrect
|
|
||||||
bug #30438 efuse bits written as 0 on at90pwmxx parts
|
|
||||||
* avrdude.conf.in: (pwm2, pwm2b, pwm3, pwm3b) <efuse.write>: Write
|
|
||||||
eight bits
|
|
||||||
|
|
||||||
* avrdude.conf.in: made part parents (pwm3 = pwm2, pwm3b = pwm2b,
|
|
||||||
pwm2b = pwm2 + different signature)
|
|
||||||
|
|
||||||
* ChangeLog-2011: New file, rotate ChangeLog for new year.
|
|
618
ChangeLog-2013
|
@ -1,618 +0,0 @@
|
||||||
2013-12-15 Nils Springob <nils@nicai-systems.de>
|
|
||||||
|
|
||||||
* pgm.c/pgm.h: fixed syntax error in const pointer to const
|
|
||||||
|
|
||||||
2013-12-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: bump version to 6.1-svn-20131205
|
|
||||||
|
|
||||||
2013-12-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #40817: Elf file support (possibly) not working on 6.0.1 windows build
|
|
||||||
* fileio.c (fileio): open file in binary mode also for FMT_ELF
|
|
||||||
|
|
||||||
2013-12-04 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
Rework of bitbanging functions setpin, getpin, highpulsepin to make simplier use
|
|
||||||
of new pindefs data in pgm structure
|
|
||||||
* linuxgpio.c, bitbang.c, buspirate.c, par.c, pgm.h, term.c, serbb_*.c: changed
|
|
||||||
interface of setpin, getpin, highpulsepin to take pin function as parameter
|
|
||||||
(not the real number, which can be found by pgm->pinno[function])
|
|
||||||
|
|
||||||
2013-11-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #40748 linuxgpio doesn't work on Raspberry PI rev. 2.
|
|
||||||
* linuxgpio.c: fixed check for unused pins to ignore the inverse flag
|
|
||||||
* pindefs.c: fixed fill_old_pinlist to not create an empty mask with inverse flag set
|
|
||||||
|
|
||||||
2013-10-18 Nils Springob <nils@nicai-systems.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (atmega1284): ATmega1284 variant added (same as ATmega1284p but with different signature)
|
|
||||||
|
|
||||||
2013-09-25 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
First part of patch #7720:
|
|
||||||
* avrdude.conf.in: Add UM232H and C232H programmers
|
|
||||||
|
|
||||||
2013-09-22 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Daniel Rozsnyo:
|
|
||||||
bug #40085: Typo fix in fuses report (for 6.1-svn-20130917)
|
|
||||||
* main.c: Fix a typo.
|
|
||||||
|
|
||||||
2013-09-19 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
task #12798: Please cleanup #ifdef notyet entries in avrftdi.c
|
|
||||||
* avrftdi.c: ditto.
|
|
||||||
avrftdi.c: Remove DRYRUN-option.
|
|
||||||
|
|
||||||
2013-09-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #40055: AVRDUDE segfaults when writing eeprom
|
|
||||||
* main.c: Always clear the UF_AUTO_ERASE flag if either a
|
|
||||||
non-Xmega device was found, or the programmer does not offer a
|
|
||||||
page_erase method.
|
|
||||||
|
|
||||||
2013-09-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version to post-6.0.
|
|
||||||
|
|
||||||
2013-09-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version to 6.0.
|
|
||||||
|
|
||||||
2013-09-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c (jtag3_initialize): Fix a buffer overflow by limiting
|
|
||||||
the flash page cache size to at most "readsize". For Xmegas with
|
|
||||||
a page size of 512 bytes, the maximum USB packet size was
|
|
||||||
overflowed, and subsequently, a memmove copied beyond the end of
|
|
||||||
the allocated buffer.
|
|
||||||
* jtag3.c (jtag3_read_byte): Add the correct offset also for the
|
|
||||||
various flash regions, so reading the apptable or boot regions
|
|
||||||
yields the correct data.
|
|
||||||
|
|
||||||
2013-09-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Joakim Lubeck:
|
|
||||||
bug #40040: Support for ATtiny20 and ATtiny40
|
|
||||||
* avrdude.conf.in: Restructure the reduced-core tiny devices
|
|
||||||
to use a common entry .reduced_core_tiny; add ATtiny20 and
|
|
||||||
ATtiny40
|
|
||||||
|
|
||||||
2013-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Joakim Lubeck:
|
|
||||||
bug #40033: Support for the XMegaE5 family
|
|
||||||
* avrdude.conf.in (ATxmega8E5, ATxmega16E5, ATxmega32E5): New
|
|
||||||
entries.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* stk500v2.c (stk500v2_set_sck_period): Revamp this to match the
|
|
||||||
description/pseudo-code in appnote AVR068.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Stephen Roe:
|
|
||||||
patch #7710: usb_libusb: Check VID/PID before opening device
|
|
||||||
* usb_libusb.c (usbdev_open): Swap the sequence of verifying the
|
|
||||||
VID:PID, and opening the device.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
patch #8176: butterfly.c (AVR109 protocol implementation) clean-up and bug-fixing
|
|
||||||
* butterfly.c (butterfly_page_erase): Add dummy function to avoid
|
|
||||||
segfault when writing to EEPROM.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #35474 Feature request: print fuse values in safemode output
|
|
||||||
* config_gram.y: New configuration token "default_safemode".
|
|
||||||
* lexer.l: (Dito.)
|
|
||||||
* avrdude.conf.in: (Dito.)
|
|
||||||
* config.h: Add variable default_safemode.
|
|
||||||
* config.c: (Dito.)
|
|
||||||
* main.c: Handle default_safemode, including -u option.
|
|
||||||
* avrdude.1: Document all this.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by HubertB:
|
|
||||||
patch #7657 Add ATmega406 support for avrdude using DRAGON + JTAG
|
|
||||||
* avrdude.conf.in (ATmega406): New entry.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Marc de Hoop:
|
|
||||||
patch #7606 ATtiny43u support
|
|
||||||
* avrdude.conf.in (ATtiny43U): New entry.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
patch #5708 avrdude should make 10 synchronization attempts instead of just one
|
|
||||||
* stk500.c (stk500_getsync): Loop 10 times trying to get in
|
|
||||||
sync with the programmer.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Contributed by Ricardo Martins:
|
|
||||||
bug #36384 ATxmega32A4 usersig size
|
|
||||||
* avrdude.conf.in: Revamp all the ATxmega* entries. Add new
|
|
||||||
entries for ATxmega128A1U, ATxmega128A3U, ATxmega128A4U,
|
|
||||||
ATxmega128B1, ATxmega128B3, ATxmega128C3, ATxmega128D3,
|
|
||||||
ATxmega16A4U, ATxmega16C4, ATxmega192A3U, ATxmega192C3,
|
|
||||||
ATxmega192D3, ATxmega256A3BU, ATxmega256A3U, ATxmega256C3,
|
|
||||||
ATxmega256D3, ATxmega32A4U, ATxmega32C4, ATxmega384C3,
|
|
||||||
ATxmega384D3, ATxmega64A1U, ATxmega64A3U, ATxmega64A4U,
|
|
||||||
ATxmega64B1, ATxmega64B3, ATxmega64C3, ATxmega64D3
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #35456 The progress bar for STK500V2 programmer is "wrong".
|
|
||||||
* avr.c (avr_read, avr_write): Change the progress reporting for
|
|
||||||
paged read/write from per-address to per-considered-page. This
|
|
||||||
ought to give a realistic estimation about the time still to be
|
|
||||||
spent.
|
|
||||||
|
|
||||||
2013-09-13 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #34277: avrdude reads wrong byte order if using avr911 (aka butterfly)
|
|
||||||
* butterfly.c (butterfly_read_byte_flash): Swap bytes received.
|
|
||||||
|
|
||||||
2013-09-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #37768 Poll usbtiny 100 times at init time to handle low-clock devices
|
|
||||||
* doc/avrdude.texi: Add a FAQ entry about how to connect to a
|
|
||||||
target where the firmware has reduced the internal clock speed.
|
|
||||||
|
|
||||||
2013-09-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #28344 chip_erase_delay too short for ATmega324P, 644, 644P, and 1284P
|
|
||||||
* avrdude.conf: Bump the chip_erase_delay for all ATmega*4 devices
|
|
||||||
to 55 ms. While the datasheet still claims 9 ms, all the XML files
|
|
||||||
tell either 45 or 55 ms, depending on STK600 or not.
|
|
||||||
|
|
||||||
2013-09-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c (fileio): Don't exit(1) if something goes wrong; return
|
|
||||||
-1 instead. Don't refer to obsolete option -f to specify the file
|
|
||||||
format.
|
|
||||||
|
|
||||||
2013-09-10 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Matthias Trute:
|
|
||||||
bug #36901 flashing Atmega32U4 EEPROM produces garbage on chip
|
|
||||||
* avrdude.conf.in (ATmega32U4): Fix EEPROM pagesize to 4, the
|
|
||||||
datasheet is wrong here.
|
|
||||||
|
|
||||||
2013-09-09 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac: check for ar and ranlib in the target tool
|
|
||||||
namespace, rather than on the host.
|
|
||||||
|
|
||||||
2013-09-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Fix byte-wise EEPROM and flash writes on Xmega
|
|
||||||
* jtagmkII_private.h (MTYPE_EEPROM_XMEGA): New memory type.
|
|
||||||
* jtagmkII.c (jtagmkII_write_byte): For Xmega EEPROM, use
|
|
||||||
memory type MTYPE_EEPROM_XMEGA; for flash writes, always
|
|
||||||
write 2 bytes starting on an even address.
|
|
||||||
|
|
||||||
2013-09-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* term.c: Implement the "verbose" terminal mode command.
|
|
||||||
* avrdude.1: Document this.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2013-09-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtag3.c (jtag3_write_byte): Do not attempt to start the paged
|
|
||||||
algorithm for EEPROM when being connected through debugWIRE.
|
|
||||||
|
|
||||||
2013-09-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Extend the single-byte algorithm to all devices, both flash and
|
|
||||||
EEPROM. (Flash cells must have been erased before though.)
|
|
||||||
* jtag3.c (jtag3_initialize): OCDEN no longer needs to be
|
|
||||||
considered; a session with "programming" purpose is sufficient
|
|
||||||
* jtag3.c (jtag3_write_byte): Use the paged algorithm for all
|
|
||||||
flash and EEPROM areas, not just Xmega.
|
|
||||||
|
|
||||||
2013-09-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Fix single-byte EEPROM updates on Xmega:
|
|
||||||
* jtag3_private.h (MTYPE_EEPROM_XMEGA): New define.
|
|
||||||
* jtag3.c (jtag3_write_byte): When updating flash or
|
|
||||||
EEPROM on Xmega devices, resort to jtag3_paged_write()
|
|
||||||
after filling and modifying the page cache.
|
|
||||||
* jtag3.c (jtag3_paged_write): use MTYPE_EEPROM_XMEGA
|
|
||||||
where appropriate.
|
|
||||||
* jtag3.c (jtag3_initialize): Open with debugging intent
|
|
||||||
for Xmega devices, so single-byte EEPROM updates will
|
|
||||||
work.
|
|
||||||
|
|
||||||
2013-09-04 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Matthias Neeracher:
|
|
||||||
bug #38732: Support for ATtiny1634
|
|
||||||
* avrdude.conf.in (ATtiny1634): New entry.
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Brane Ždralo:
|
|
||||||
patch #7769: Write flash fails for AVR910 programmers
|
|
||||||
* avr910.c (avr910_paged_write): Fix flash addresses in
|
|
||||||
'A' command.
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Fred (magister):
|
|
||||||
bug #38951: AVR109 use byte offset instead of word offset
|
|
||||||
patch #8045: AVR109 butterfly failing
|
|
||||||
* butterfly.c (butterfly_paged_load, butterfly_paged_write):
|
|
||||||
fix calculation of 'A' address when operating on flash memory.
|
|
||||||
It must be given in terms of 16-bit words rather than bytes.
|
|
||||||
|
|
||||||
2013-09-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* avrftdi.c, avrftdi_private.h: added tx buffer size, and use
|
|
||||||
smaller block sizes as larger sometimes hang
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.h: Remove the erase cycle counter (options -y / -Y).
|
|
||||||
* avr.c: (Dito.)
|
|
||||||
* main.c: (Dito.)
|
|
||||||
* avrdude.1: Undocument -y / -Y.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #39691 Buffer overrun when reading EEPROM byte with JTAGICE3
|
|
||||||
* jtag3.c (jtag3_initialize): initialize the eeprom_pagesize
|
|
||||||
private attribute so the page cache will actually be usable
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #38580 Current svn head, xmega and fuses, all fuses tied to fuse0
|
|
||||||
* jtag3.c (jtag3_read_byte, jtag3_write_byte): Correctly apply the
|
|
||||||
relevant part of mem->offset as the address to operate on.
|
|
||||||
|
|
||||||
2013-09-03 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c: Fix "unused variable" warnings.
|
|
||||||
* avr.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* stk500.c: (Dito.)
|
|
||||||
* jtagmkII.c: (Dito.)
|
|
||||||
* term.c: (Dito.)
|
|
||||||
* ser_posix.c: (Dito.)
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Travis Griggs:
|
|
||||||
bug #38307: Can't write usersig of an xmega256a3
|
|
||||||
* stk500v2.c (stk600_xprog_page_erase): allow erasing the usersig space.
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Robert Niemi:
|
|
||||||
bug #35800: Compilation error on certain systems if parport is disabled
|
|
||||||
* linux_ppdev.h: Conditionalize inclusion of <linux/parport.h> and
|
|
||||||
<linux/ppdev.h> on HAVE_PARPORT
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
|
|
||||||
* pickit.c (usb_open_device): Use %p rather than %X to print "handle"
|
|
||||||
which is a pointer
|
|
||||||
* jtag3.c (jtag3_initialize): Initialize "flashsize" to be sure it
|
|
||||||
proceeds with a valid value.
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4
|
|
||||||
* buspirate.c: Turn the "cmd" argument of the various methods into
|
|
||||||
a "const unsigned char *"; while doing this, declare all arrays being
|
|
||||||
passed as arguments to be pointers rather than arrays, as the latter
|
|
||||||
obfuscates the way arrays are being passed to a callee in C.
|
|
||||||
* avrftdi.c: (Dito.)
|
|
||||||
* pickit2.c: (Dito.)
|
|
||||||
* ft245r.c: (Dito.)
|
|
||||||
* avr910.c: (Dito.)
|
|
||||||
* stk500.c: (Dito.)
|
|
||||||
* bitbang.c: (Dito.)
|
|
||||||
* bitbang.h: (Dito.)
|
|
||||||
* avrftdi_tpi.c: (Dito.)
|
|
||||||
* avrftdi_tpi.h: (Dito.)
|
|
||||||
* usbasp.c: (Dito.)
|
|
||||||
* stk500v2.c: (Dito.)
|
|
||||||
* pgm.h: (Dito.)
|
|
||||||
* usbtiny.c: (Dito.)
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #38023: avrdude doesn't return an error code when attempting
|
|
||||||
to upload an invalid Intel HEX file
|
|
||||||
* fileio.c (ihex2b): Turn the "No end of file record found" warning
|
|
||||||
into an error if no valid record was found at all.
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by Claus-Justus Heine:
|
|
||||||
bug #38713: Compilation of the documentation breaks with texinfo-5
|
|
||||||
* doc/avrdude.texi: Turn @itemx into @item, add @headitem to STK600
|
|
||||||
Routing/Socket card table
|
|
||||||
|
|
||||||
2013-09-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbasp.c: Add trace output for -vvv to non-TPI functions, too.
|
|
||||||
|
|
||||||
2013-09-01 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbasp.c (usbasp_tpi_paged_load): Calculate correct
|
|
||||||
buffer address.
|
|
||||||
* usbasp.c (usbasp_tpi_paged_write): Calculate correct
|
|
||||||
buffer address; don't issue a SECTION_ERASE command for
|
|
||||||
each page (a CHIP_ERASE has been done before anyway);
|
|
||||||
remove the code that attempted to handle partial page
|
|
||||||
writes, as all writes are now done with a full page.
|
|
||||||
|
|
||||||
2013-09-01 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbasp.c: Add more trace output, by now only for the TPI
|
|
||||||
functions.
|
|
||||||
|
|
||||||
2013-08-31 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usbasp.c (usbasp_transmit): Add -vvvv trace output.
|
|
||||||
|
|
||||||
2013-08-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #39893: Verification failure with AVRISPmkII and Xmega
|
|
||||||
* stk500v2.c (stk600_xprog_page_erase): Fix argument that is
|
|
||||||
passed to stk600_xprog_memtype()
|
|
||||||
|
|
||||||
2013-07-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* fileio.c (elf2b): replace elf_getshstrndx() by
|
|
||||||
elf_getshdrstrndx() as the former one is deprecated
|
|
||||||
|
|
||||||
2013-06-19 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
use bitbanging on ftdi mpsse when wrong pins are used
|
|
||||||
* avrftdi.c, avrftdi_private.h: added additional pin check
|
|
||||||
and bitbanging fallback
|
|
||||||
* pindefs.[ch]: added a flag to enable/disable output
|
|
||||||
* ft245r.c: changes because of added flag above
|
|
||||||
|
|
||||||
2013-05-17 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
Submitted by "Malte" and John McCorquodale:
|
|
||||||
patch #7876 JTAGICE mkII fails to connect to attiny if debugwire
|
|
||||||
is enabled AND target has a very slow clock
|
|
||||||
* jtagmkII.c (jtagmkII_getsync): When leaving debugWIRE mode
|
|
||||||
temporarily, immediately retry with ISP, rather than leaving.
|
|
||||||
* stk500v2 (stk500v2_program_enable): Implemented similar logic
|
|
||||||
for the JTAGICE3.
|
|
||||||
|
|
||||||
2013-05-16 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* configure.ac: reactivate check for TYPE_232H, which does not
|
|
||||||
exist in libftdi < 0.20
|
|
||||||
* avrftdi*.*: changed include check for libftdi/libusb, deactivate
|
|
||||||
232H if not available
|
|
||||||
* ft245r.c: changed include check for libftdi/libusb
|
|
||||||
|
|
||||||
2013-05-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* main.c (main): Add option -l logfile.
|
|
||||||
* avrdude.1: Document -l option.
|
|
||||||
* doc/avrdude.texi: (Dito.)
|
|
||||||
|
|
||||||
2013-05-15 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* configure.ac: if both found libftdi and libftdi1 use only libftdi1
|
|
||||||
* avrdude.conf.in: fixed buff pins of avrftdi programmers (low
|
|
||||||
active buffer need now inverted numbers)
|
|
||||||
* avrftdi*.*: accept also old libftdi (0.20 still works with it),
|
|
||||||
added powerup to initialize
|
|
||||||
* ft245r.c: accept libftdi1, code cleanup and make it more similar
|
|
||||||
to avrfdti (os they might be merged someday)
|
|
||||||
|
|
||||||
2013-05-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac (AC_INIT): Bump version to 6.0rc1.
|
|
||||||
|
|
||||||
2013-05-07 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi_private.h: Change size of pin_checklist to N_PINS (from N_PINS-1)
|
|
||||||
* avrftdi.c: Adapt code to new size of pin_checklist. Remove pins_check()
|
|
||||||
from set_pin().
|
|
||||||
Add pgm->power[up|down] functions as well as fill pgm->enable|disable with
|
|
||||||
proper content as suggested by Rene Liebscher.
|
|
||||||
|
|
||||||
2013-05-05 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* pindefs.h: use unsigned int if stdint.h is not available and UINT_MAX is 0xffffffff
|
|
||||||
otherwise use unsinged long
|
|
||||||
* ft245r.c: added support for more pin functions led, vcc, buff
|
|
||||||
|
|
||||||
2013-05-06 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi_tpi.c: instead of private set_pin() function pointer use the one
|
|
||||||
declared in struct PROGRAMMER.
|
|
||||||
* avrftdi_private.h: remove set_pin function pointer. Add pin_checklist_t
|
|
||||||
member to check pgm->setpin calls during runtime.
|
|
||||||
* avrftdi.c: remove set_pin function pointer init, add pgm->setpin init.
|
|
||||||
Convert avrftdi to new 0-based pindefs infrastructure.
|
|
||||||
* avrdude.conf.in: Change all avrftdi-based programmers' pin definitions to
|
|
||||||
0-based.
|
|
||||||
|
|
||||||
2013-05-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* pindefs.h: Include "ac_cfg.h" before testing for HAVE_* macros.
|
|
||||||
|
|
||||||
2013-05-05 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
* main.c: revert to rev 1159 (doing pgm_display after pgm_open)
|
|
||||||
* avrpart.[ch]: moved avr_pin_name to pindefs.[ch]
|
|
||||||
* pgm.c: moved pins_to_str to pindefs.[ch], added initialization of
|
|
||||||
new pin definitions in pgm_new()
|
|
||||||
* pindefs.[ch]: added moved functions from other files, added a lot of
|
|
||||||
documentation, reformatted files using astyle to have consistent spacing,
|
|
||||||
added a new generic check function for pins
|
|
||||||
* ft245r.c: used new generic pin check function
|
|
||||||
|
|
||||||
2013-05-03 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
Create new pin definition data structures to support 0-based pin numbers,
|
|
||||||
and mixed inverse/non-inverse pin lists.
|
|
||||||
* avrftdi.c,buspirate.c,linuxgpio.c,par.c,serbb_*.c: added function call
|
|
||||||
to fill old pinno entries from new pin definitions.
|
|
||||||
* pindefs.[hc]: added data struct and helper functions for new pin definitions
|
|
||||||
* avrdude.conf.in: pins in entries using ftdi_syncbb are now 0-based
|
|
||||||
* config_gram.y: allow combinations of inverted and non-inverted pins in pin lists
|
|
||||||
* ft245r.c: reworked to work directly with the new pin definitions,
|
|
||||||
pins are now 0-based, inverse pins are supported, buff is supported
|
|
||||||
* pgm.[ch]: added new pin definitions field to programmer structure,
|
|
||||||
adapted pin display functions
|
|
||||||
|
|
||||||
2013-05-03 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi_private.h: Remove update forward declaration from avrftdi_print to
|
|
||||||
avrftdi_log.
|
|
||||||
* avrftdi_tpi.c: Do all I/O in terms of pgm->cmd_tpi()-calls instead of
|
|
||||||
avrftdi_tpi_[read,write]_byte().
|
|
||||||
Remove unnecessary set_pin call to set MOSI high, speeds up I/O.
|
|
||||||
Removes SKEY array, moves it to tpi.h.
|
|
||||||
Integrate new avr_tpi_[program_enable,chip_erase]() and functions into
|
|
||||||
avrftdi_tpi.
|
|
||||||
* avrftdi_tpi.h: Remove avrftdi_tpi_[program_enable,chip_erase] forward
|
|
||||||
declarations.
|
|
||||||
* avr.c: Adds avr_tpi_chip_erase() generic TPI chip erase function.
|
|
||||||
Adds avr_tpi_program_enable() - generic TPI external programming enable
|
|
||||||
function. Sets guard time, reads identification register, sends SKEY command
|
|
||||||
and key, checks NVMEN bit. The required guard time has to be passed as
|
|
||||||
parameter.
|
|
||||||
* tpi.h: Adds SKEY array including CMD_SKEY in "correct" order.
|
|
||||||
|
|
||||||
2013-05-02 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdi_private.h: Add libusb-1.0 include to fix include order in windows.
|
|
||||||
* NEWS: Add notice avrftdi supporting TPI
|
|
||||||
* avr.c: Fix avr_tpi_poll_nvmbsy() - poll read data instead of return code
|
|
||||||
* avrftdi_private.h, avrftdi.c: move logging #defines to from avrftdi.c to
|
|
||||||
avrftdi_private.h, so that they are available for avrftdi_tpi, too.
|
|
||||||
|
|
||||||
2013-04-30 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* tpi.h: Add definition for TPI Identification Code
|
|
||||||
* avrftdi_tpi.c: Add TPI-support for FTDI-based programmers
|
|
||||||
* avrftdi_private.h: Add common include file for FTDI-based programmers
|
|
||||||
|
|
||||||
2013-04-28 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* avrftdic: Rework of textual output. Messages are divided by severity and
|
|
||||||
printed accordingly to the verbosity, as specified by the user. The provided
|
|
||||||
severity level are (ERROR, WARN, INFO, DEBUG, TRACE). Where "ERROR" messages
|
|
||||||
are always printed. Shortcut-macros including function, from which the
|
|
||||||
output was generated, and line number were also added.
|
|
||||||
Some log messages were updated and other code warnings removed.
|
|
||||||
|
|
||||||
2013-04-27 Hannes Weisbach <hannes_weisbach@gmx.net>
|
|
||||||
|
|
||||||
* configure.ac: Add libftdi1 library check, remove TYPE_232H DECL check
|
|
||||||
* Makefile.am: Add @LIBFTDI1@ to avrdude_LDADD
|
|
||||||
* avrftdi.c: Update from libftdi0 to libftdi1. Use libftdi1's function to
|
|
||||||
find a device by vid/pid/serial instead of doing it ourself and add/update
|
|
||||||
error messages. avrftdi_print is changed so that a message is printed when
|
|
||||||
the verbosity level is greater or equal the message level, to have always-on
|
|
||||||
messages.
|
|
||||||
Fix a bug where the RX fifo of the FTDI chip is full, resulting in STALL/NAK
|
|
||||||
of the ongoing OUT request and subsequently timeout, because an IN request
|
|
||||||
cannot be issued due to the synchronous part of libftdi. This should fix
|
|
||||||
#38831 and #38659.
|
|
||||||
|
|
||||||
2013-04-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* configure.ac(AC_CONFIG_HEADERS): Replace the old AM_CONFIG_HEADER
|
|
||||||
by this; automake 1.13+ barfs.
|
|
||||||
|
|
||||||
2013-03-12 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* avrdude.conf.in (ATmega2564RFR2, ATmega1284RFR2, ATmega644RFR2):
|
|
||||||
New devices
|
|
||||||
|
|
||||||
2013-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7724 Add TPI support for Bus Pirate using bitbang mode
|
|
||||||
* buspirate.[ch]: added support for BusPirate Bitbanging
|
|
||||||
* pgm_type.c: added entry for buspirate_bb
|
|
||||||
* avrdude.conf.in: added entry for buspirate_bb
|
|
||||||
|
|
||||||
2013-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7936 Patch to support BusPirate AVR Extended Commands mode
|
|
||||||
* buspirate.c: added support for BusPirate AVR Extended Commands mode
|
|
||||||
* avrdude.1: added doc for nopagedread parameter
|
|
||||||
* doc/avrdude.texi: added doc for nopagedread parameter
|
|
||||||
|
|
||||||
2013-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7723 Bus Pirate “raw-wire” mode which can run down to 5 kHz
|
|
||||||
* buspirate.c: added raw wire mode
|
|
||||||
* avrdude.1: added doc for rawfreq parameter
|
|
||||||
* doc/avrdude.texi: added doc for rawfreq parameter
|
|
||||||
|
|
||||||
2013-01-30 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
bug #37977 Support for Openmoko Debug Board
|
|
||||||
* avrdude.conf.in: added openmoko entry
|
|
||||||
|
|
||||||
2013-01-29 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7932 Read USBtiny VID and PID from avrdude.conf if provided.
|
|
||||||
* avrdude.conf.in: added usbpid, usbvid to usbtiny
|
|
||||||
* usbtiny.[ch]: use usbpid, usbpid if provided in config file
|
|
||||||
|
|
||||||
2013-01-26 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
bug #38172: avrftdi: Incorrect information in avrdude.conf
|
|
||||||
* avrdude.conf.in (avrftdi): fix comments about ACBUS vs. ADBUS;
|
|
||||||
add a comment that the MPSSE signals are fixed by the FTDI
|
|
||||||
hardware and cannot be changed
|
|
||||||
|
|
||||||
2013-01-09 Rene Liebscher <R.Liebscher@gmx.de>
|
|
||||||
|
|
||||||
patch #7165 Add support for bitbanging GPIO lines using the Linux sysf GPIO interface
|
|
||||||
* doc/avrdude.texi,avrdude.1: added doc for linuxgpio
|
|
||||||
* avrdude.conf.in: added template for linuxgpio programmer
|
|
||||||
* config_gram.y: pin numbers restricted to [PIN_MIN, PIN_MAX]
|
|
||||||
* pindefs.h: added PIN_MIN, PIN_MAX, removed unused LED_ON/OFF
|
|
||||||
* configure.ac: configure option enable-linuxgpio, print of enabled options
|
|
||||||
* linuxgpio.[ch]: new source for linuxgpio programmer
|
|
||||||
* Makefile.am: added linuxgpio to sources list
|
|
||||||
* pgm_type.c: added linuxgpio to programmer types list
|
|
||||||
|
|
||||||
2013-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* jtagmkI.c (jtagmkI_prmsg): replace a putchar() by putc(...stderr)
|
|
||||||
* jtagmkII.c (jtagmkII_prmsg): (Dito.)
|
|
||||||
* jtag3.c (jtag3_prevent, jtag3_prmsg): (Dito.)
|
|
||||||
|
|
||||||
2013-01-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* usb_libusb.c (usbdev_open): Downgrade the max transfer size for
|
|
||||||
the main data endpoints when being forced so by the USB; this can
|
|
||||||
happen when attaching the JTAGICE3 to a USB 1.1 connection
|
|
||||||
* jtag3.c (jtag3_initialize): When detecting a downgraded max
|
|
||||||
transfer size on the JTAGICE3 (presumably, due to being connected
|
|
||||||
to USB 1.1 only), bail out as its firmware cannot properly handle
|
|
||||||
this (by now)
|
|
||||||
|
|
||||||
2013-01-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
|
||||||
|
|
||||||
* ChangeLog: annual ChangeLog rotation time
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Installation Instructions
|
||||||
|
*************************
|
||||||
|
|
||||||
|
See README.md.
|
741
NEWS
|
@ -2,17 +2,744 @@ $Id$
|
||||||
|
|
||||||
Approximate change log for AVRDUDE by version.
|
Approximate change log for AVRDUDE by version.
|
||||||
|
|
||||||
(For more detailed changes, see the ChangeLog file.)
|
(For detailed changes, see the version control system logs.)
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
Current:
|
Changes since version 7.1:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
* New devices supported: none
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
|
||||||
|
* Issues fixed:
|
||||||
|
|
||||||
|
* Pull requests:
|
||||||
|
|
||||||
|
* Internals:
|
||||||
|
|
||||||
|
|
||||||
|
Changes in version 7.1:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
- Provide a new programmer -c urclock for bootloader urprotocol
|
||||||
|
+ Urclock fully supports vector bootloaders at no extra code size
|
||||||
|
+ Uprotocol
|
||||||
|
https://github.com/stefanrueger/urboot/blob/main/urprotocol.md
|
||||||
|
allows programming much shorter bootloaders with more features:
|
||||||
|
* Exports a pgm_write_page(sram, progmem) function that the
|
||||||
|
application can call at FLASHEND-4+1 to use flash as storage
|
||||||
|
* Supports EEPROM reads/writes
|
||||||
|
* Protects itself from overwriting
|
||||||
|
* Vector bootloaders: can protect the reset vector
|
||||||
|
* Offers Chip Erase function (quicker than uploading 0xff's)
|
||||||
|
+ Urclock when compiled with libreadline supports bootloaders in
|
||||||
|
terminal mode (preventing them from WDT timeout)
|
||||||
|
+ The -c urclock programmer provides a metadata interface that
|
||||||
|
allows unused flash to be used as storage
|
||||||
|
+ avrdude -c urclock is backward compatible with avrdude -c arduino
|
||||||
|
|
||||||
|
- Add TPI support for Microchip tools #1205
|
||||||
|
|
||||||
|
- Add C-strings, C characters and double to terminal write
|
||||||
|
|
||||||
|
- Provide write flash in the terminal (using a cache)
|
||||||
|
|
||||||
|
- Provide page erase in the terminal as pgerase
|
||||||
|
|
||||||
|
- Add support for NetBSD and OpenBSD to build.sh
|
||||||
|
|
||||||
|
* New devices supported: none
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
|
||||||
|
- urclock = Urclock programmer for bootloaders using urprotocol
|
||||||
|
- xplainedmini_tpi = Atmel AVR XplainedMini in TPI mode
|
||||||
|
- xplainedpro_pdi = Atmel AVR XplainedPro in PDI mode
|
||||||
|
- atmelice_tpi = Atmel-ICE (ARM/AVR) in TPI mode
|
||||||
|
- powerdebugger_tpi = Atmel PowerDebugger (ARM/AVR) in TPI mode
|
||||||
|
- pickit4 = MPLAB(R) PICkit 4 in JTAG mode
|
||||||
|
- pickit4_tpi = MPLAB(R) PICkit 4 in TPI mode
|
||||||
|
- snap = MPLAB(R) SNAP in JTAG mode
|
||||||
|
- snap_tpi = MPLAB(R) SNAP in TPI mode
|
||||||
|
- arduino_gemma = Arduino Gemma bootloader disguised as USBtiny
|
||||||
|
- adafruit_gemma = Adafruit Trinket Gemma bootloader disguised as USBtiny
|
||||||
|
- digilent-hs2 = Digilient JTAG HS2 (MPSSE)
|
||||||
|
- tigard = Tigard interface board
|
||||||
|
|
||||||
|
* Issues fixed:
|
||||||
|
|
||||||
|
- Fix micronucleus bootloader to check for unresponsive USB
|
||||||
|
devices #945
|
||||||
|
- Fix src/CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR #972
|
||||||
|
- [bug #43898] atmega644p remains stopped after JTAG
|
||||||
|
transaction #366
|
||||||
|
- Wrong timings for ATmega328PB and other parts in avrdude.conf
|
||||||
|
#976
|
||||||
|
- FT232R based programmer ATmega2560 Flash Reading Problem #995
|
||||||
|
also #474
|
||||||
|
- Enable avrdude to send full input file incl trailing 0xff
|
||||||
|
#936
|
||||||
|
- Portname default for linuxspi programmer not recognized #926
|
||||||
|
- JTAG1 unable to write fuse and lock bits #443
|
||||||
|
- Unknown option '-s' on command line (legacy) #1032
|
||||||
|
- STK500/arduino/xbee programmers fail EEPROM r/w for some
|
||||||
|
parts #967 also #421
|
||||||
|
- Design issue: jtag2updi is hardcoded to fail for parts with
|
||||||
|
has_pdi = yes #1037
|
||||||
|
- Option parse error: after -U flash:w:program_to_upload.hex,
|
||||||
|
subsequent -V ignored #441
|
||||||
|
- Automatic verification is designed to fail for stdin #1044
|
||||||
|
- Display correct number of bytes when input file has holes
|
||||||
|
#1005
|
||||||
|
- Cmake installs avrdude.1 in the wrong place on Linux #1064
|
||||||
|
- avr910 -qq prompt too verbose #1081
|
||||||
|
- avrftdi.c: paged write can fail at addr 0 #1073
|
||||||
|
- Permission denied accessing /sys/class/gpio/gpioX/direction
|
||||||
|
would leave pin exported #472 also #372
|
||||||
|
- Raspberry Pi sysfs bug workaround for linuxgpio driver #386
|
||||||
|
- Fix CMake avrdude.conf dependency to avrdude.conf.in #1035
|
||||||
|
- CMake infrastructure does not handle documentation #947
|
||||||
|
- New feature: ability to reset FLIPv2 targets #733
|
||||||
|
- Fix Extended address not sent with avr109/butterfly #360
|
||||||
|
and #454
|
||||||
|
- Enable AVR JTAG ICE mkI program EEPROM in terminal mode
|
||||||
|
#1054
|
||||||
|
- Make flash writes work in terminal mode #1020
|
||||||
|
- Add support for XMEGA specific AVR109 protocol extensions
|
||||||
|
used by XBoot #200
|
||||||
|
- jtag2updi can not write EEPROM in terminal mode #1116
|
||||||
|
- Make UPDI programmers less verbose during initialization
|
||||||
|
#1084
|
||||||
|
- Quell mode isn't handled systematically #1114
|
||||||
|
- Mixing the progress bar with warning messages #1136
|
||||||
|
- Inconsistent terminal output re stdout and stderr #1130
|
||||||
|
- Supress the warning for Microchip SNAP #1135
|
||||||
|
- ATtiny85 communication problem with default bitclock #1133
|
||||||
|
- [Regression] Optiboot for "modern AVRs" no longer works #1120
|
||||||
|
- Cannot access EEPROM on some bootloader/part combos #970
|
||||||
|
- -U writes sometimes more bytes to flash/memory than input
|
||||||
|
file has #1050
|
||||||
|
- debugWire using dragon_dw and jtag2dw not working #1168
|
||||||
|
- && echo OK does not work after -c urclock #1192
|
||||||
|
- Serial drain timeout needs calibrating for -c urclock #1193
|
||||||
|
- avrdude -U file.elf misses second and following suitable
|
||||||
|
sections in elf segements #1204
|
||||||
|
- Avrdude on macOS has problems with libedit #1173
|
||||||
|
- urclock support for optiboot_x and optiboot_dx #1200
|
||||||
|
- Terminal does not continue read/dump correctly #1201
|
||||||
|
- JTAG3 programmer info not available in ISP mode #1212
|
||||||
|
- Extra avrdude> prompt with -qqt in terminal mode #1214
|
||||||
|
- PICkit4 and SNAP serial numbers not read by Avrdude #1038
|
||||||
|
- Optiboot EEPROM support cannot be detected by avrdude #1224
|
||||||
|
- megaAVR JTAG programming doesn't work for SNAP and PICkit4
|
||||||
|
#1052
|
||||||
|
- urclock/FTDI communication issues #1245
|
||||||
|
- stk500v2.c dumps core on open #1254
|
||||||
|
- linuxgpio cannot use pin 0 #1228
|
||||||
|
- Remove non-working butterfly page erase function
|
||||||
|
- linuxgpio and linuxspi: input files with unset bytes don't program
|
||||||
|
correctly #1263 #455
|
||||||
|
|
||||||
|
* Pull requests:
|
||||||
|
|
||||||
|
- Fix .Dd macro in manpage #949
|
||||||
|
- fix M1 homebrew path #950
|
||||||
|
- CMake Enhancements #962
|
||||||
|
- Reduce programmer desc string length in avrdude.conf
|
||||||
|
to < 80 characters #1000
|
||||||
|
- Dragon JTAG fix #979
|
||||||
|
- adding support for all Linux baud rates v.2 #993
|
||||||
|
- Replace internal knowledge in jtag3.c by a public API #996
|
||||||
|
- JTAG3 UPDI EEPROM fix #1013
|
||||||
|
- Treat x bits in .conf SPI commands as 0 #943
|
||||||
|
- Fix avrftdi support for ATmega2560 et al #998
|
||||||
|
- Fix avrdude.conf timings for ATmega328PB and other parts #1001
|
||||||
|
- Fix PICKit2 ATmega2560 flash paged flash read #1023
|
||||||
|
- Fix ft245r paged read for ATmega2560 et al #1018
|
||||||
|
- Add option -A that supresses trailing 0xff optimisation
|
||||||
|
and automatically do so for -c arduino #936
|
||||||
|
- Fix linuxspi default port #933
|
||||||
|
- Add support for high-voltage UPDI im jtag3.c #1015
|
||||||
|
- Fix terminal write edge cases; add one read mode; add quell
|
||||||
|
command #1025
|
||||||
|
- Fix usbtiny read for parts with more than 64 kB flash #1029
|
||||||
|
- CMakeLists.txt: fix build without C++ #1016
|
||||||
|
- Provide file format I: Intel HEX with comments that ignores
|
||||||
|
checksum errors #1030
|
||||||
|
- Enable writing fuse and lock bits for AVR-JTAGICE #1031
|
||||||
|
- Ignore -s flag as safemode is no longer supported #1033
|
||||||
|
- Developer options to describe parts and
|
||||||
|
extend avrdude.conf syntax #1040
|
||||||
|
- Deprecate original STK500 v1 protocol in favour of optiboot
|
||||||
|
and Arduino as ISP #1046
|
||||||
|
- Add jtagmkii_updi programmer option #1048
|
||||||
|
- Enable stdin verification, display correct number of bytes
|
||||||
|
written/verified, check -U memory names against spelling
|
||||||
|
errors and exit but skip -U memory updates with known
|
||||||
|
memories that the part lacks #1053
|
||||||
|
- Handle invalid -U file format specifiers for input #1042
|
||||||
|
- Implement a dry run for -U updates before opening the
|
||||||
|
programmer #1056
|
||||||
|
- Implement -c <wildcard>/dev_options for printing avrdude.conf
|
||||||
|
show comments with -p*/s or -c*/s; Reduce -p */r raw output;
|
||||||
|
specifying the full memory name now always works; stop
|
||||||
|
listing programmers where id starts with dot #1059
|
||||||
|
- Fix logfile short option in man-page; fix install dir for man
|
||||||
|
page #1063
|
||||||
|
- Use const for programmer functions where useful; add second
|
||||||
|
argument for programmer enable interface function
|
||||||
|
void (*enable)(PROGRAMMER *pgm, const AVRPART *p) #1078
|
||||||
|
- Make avr910 programmer initialize() less verbose #1083
|
||||||
|
- Fix flash paged write for avrftdi.c #1074
|
||||||
|
- Fix 4 parts wrt to their interfaces in avrdude.conf; rewrite
|
||||||
|
avrdude.conf.in file from avrdude -c* -p* output; reformat
|
||||||
|
conditional programmers in avrdude.conf.in using -c*; fix
|
||||||
|
reset=dedicated|io; entries #1086
|
||||||
|
- Add prog_modes, a bitwise or of prgramming modes, to part and
|
||||||
|
programmer definitions; add to part definition
|
||||||
|
+ mcuid, a unique id in 0..2039 for 8-bit AVR
|
||||||
|
+ n_interrupts, the number of interrupts
|
||||||
|
+ n_page_erase, if set, the # of pages erased for NVM erase
|
||||||
|
implement a simple calculator in config_gram.y for numeric
|
||||||
|
values; set part prog_modes, mcuid, n_interrupts and
|
||||||
|
n_page_erase in avrdude.conf.in; add external intelligence
|
||||||
|
about AVRs avrintel.[ch] to the project and warn during
|
||||||
|
parsing if mcuid is incompatible with it #1091
|
||||||
|
- Fix permission denied error in linuxgpio programmer #917
|
||||||
|
- Add a programmer arduino_gemma for the Arduino Gemma
|
||||||
|
bootloader and another one, adafruit_gemma, for the Adafruit
|
||||||
|
Trinket Gemma bootloader in avrdude.conf; #1093
|
||||||
|
- Add digilent-hs2 programmer in avrdude.conf #1094
|
||||||
|
- Fix dependency chain between avrdude.conf.in and
|
||||||
|
avrdude.conf #1095
|
||||||
|
- Build docs with CMake #1096
|
||||||
|
- New feature so user can print all compatible parts for a
|
||||||
|
programmer using -p\? -c programmer and vice versa #1099
|
||||||
|
- Add extended parameter disable_no_cs for linuxspi programmer
|
||||||
|
#1100
|
||||||
|
- Fix avr109 extended address #1101
|
||||||
|
- Add support for Flip 2 reset on exit #1102
|
||||||
|
- Support for Power Debugger analog readings in terminal mode
|
||||||
|
#1105
|
||||||
|
- Provide cached byte-wise read/write API #1106
|
||||||
|
- AVR109: support for prodsig read and usersig read/write #1108
|
||||||
|
- Add missing AVR variants the original JTAG ICE supports #1109
|
||||||
|
- Improve help message in terminal and provide new command
|
||||||
|
pgerase #1113
|
||||||
|
- Fix pointer truncation for Windows x64 #1119
|
||||||
|
- Fix jtag3_page_erase for targets with UPDI #1112
|
||||||
|
- Fix writing of last word on DWORD TPI parts #1115
|
||||||
|
- Use byte-wise read/write when page size is 1 in terminal
|
||||||
|
cache #1121
|
||||||
|
- Suppress Teensy USB communication error message on reboot #1122
|
||||||
|
- Fix UPDI erase when target is locked #1125
|
||||||
|
- Review and overhaul AVRDUDE's messaging system #1126
|
||||||
|
- Look for ~/.config/avrdude/avrdude.rc then ~/.avrduderc #1131
|
||||||
|
- Revamp terminal output (progress bar, callback and
|
||||||
|
stdout/stderr) #1132
|
||||||
|
- Detect PICkit4 and SNAP in PIC mode #1138
|
||||||
|
- Mention -B in the error message #1139
|
||||||
|
- Support optiboot, optiboot_dx and optiboot_x bootloaders for
|
||||||
|
-c arduino #1140
|
||||||
|
- Always use paged access for programmers that serve
|
||||||
|
bootloaders #1141
|
||||||
|
- Add libreadline-dev for Linux github action build #1146
|
||||||
|
- Implementation of SerialUPDI page erase operation #1151
|
||||||
|
- Fix Type 2 HV UPDI #1164
|
||||||
|
- Rewrite authors/copyrights #1182
|
||||||
|
- Add fallback for EM_AVR #1181
|
||||||
|
- Add a workaround for issue 1173 #1185
|
||||||
|
- Add xplainedpro_pdi programmer #1147
|
||||||
|
- Provide Urclock programmer #1171
|
||||||
|
- Fix JTAGICE mkII (not initializing after chip erase) #1172
|
||||||
|
- Ensure default_programmer from config files is used #1174
|
||||||
|
- Make terminal write's automatic number width less surprising
|
||||||
|
#1175
|
||||||
|
- Print HAVE_LIBREADLINE status when making the project #1184
|
||||||
|
- Pad pages with input file contents before avr_write() #1188
|
||||||
|
- Deprecate mosi/miso in favour of sdo/sdi #1189
|
||||||
|
- Provide bootloader-hash tool #1190
|
||||||
|
- Fix JTAGICE mkII parameters for parts with bootloaders #1191
|
||||||
|
- Fix shell exit value when chip erase is delayed #1194
|
||||||
|
- Support autobaud for urclock programmer #1198
|
||||||
|
- Fix userrow size and page_size for ATtiny3216/7 #1199
|
||||||
|
- Added TPI support for Microchip tools #1205
|
||||||
|
- Fix reading of .elf files #1206
|
||||||
|
- Use libedit only in interactive mode #1207
|
||||||
|
- Add urclock support for bootloaders in low flash #1208
|
||||||
|
- Terminal read improvements #1209
|
||||||
|
- Print meaningful error when a too slow ISP clock is detected #1216
|
||||||
|
- Check alternative USB PID for PICkit4/SNAP in PIC mode #1219
|
||||||
|
- Remove extraneous avrdude> prompt at end of terminal session #1220
|
||||||
|
- Read programmer serial number from libusb or hidusb #1223
|
||||||
|
- Hint at -xeepromrw option in EEPROM error messages #1226
|
||||||
|
- Add JTAG support for PICkit4 and Snap. #1233
|
||||||
|
- Mention developer options in documentation and Usage() #1234
|
||||||
|
- Print expected signature on signature mismatch #1237
|
||||||
|
- To work around Issue #1107 #1240
|
||||||
|
- Update build.sh for NetBSD #1241
|
||||||
|
- Add FT2232H support for Windows, Tigard programmer #1242
|
||||||
|
- Modify recv timeouts to accommodate urclock sync with ftdi
|
||||||
|
#1246
|
||||||
|
- CMake updates #1243
|
||||||
|
- Silence conf path detection debug output #1247
|
||||||
|
- Make WIN32 ser_recv() fail on time-out #1248
|
||||||
|
- Guard urclock_getsync() against initial spurious input #1251
|
||||||
|
- Change definition of NO_PIN to 1+PIN_MAX #1231
|
||||||
|
- Fix partial matches for locate_mem() and do_cmd() #1256
|
||||||
|
- Add abbreviated q command in terminal
|
||||||
|
- Move static usbsn into serdev struct and remove serno #1258
|
||||||
|
- Clean up avrdude.conf.in fixing a couple of bugs #1260
|
||||||
|
- Add readline library replacement for MSVC #1264
|
||||||
|
- Ensure full words are loaded for ISP programming #1265
|
||||||
|
- Silence page erase in cache code #1266
|
||||||
|
- Update to latest MSVC fork of hidapi to include bug fixes
|
||||||
|
#1269
|
||||||
|
|
||||||
|
* Internals:
|
||||||
|
|
||||||
|
- Implement -c <wildcard>/dev_opts and -p <wildcard>/dev_opts
|
||||||
|
for printing avrdude.conf programmer and part entries
|
||||||
|
|
||||||
|
- Added shorter alternative ISP commands for avrdude.conf
|
||||||
|
|
||||||
|
- Reformatted avrdude.conf to canonical form
|
||||||
|
|
||||||
|
- Reviewed API for prgrammer functions: use const for
|
||||||
|
programmer functions where useful; add second argument for
|
||||||
|
void (*enable)(PROGRAMMER *pgm, const AVRPART *p) #1078
|
||||||
|
|
||||||
|
- Reviewed messaging system making warnings and errors explicit
|
||||||
|
and treat them systematically
|
||||||
|
|
||||||
|
|
||||||
|
Changes in version 7.0:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
- Completely revamped Windows support, including MSVC
|
||||||
|
- Started to add CMake (by now, parallel with autoconf/automake)
|
||||||
|
- New-architecture devices (AVR8X mega and tiny) can access all
|
||||||
|
fuses, and memory display shows meaningful alias names
|
||||||
|
- The "safemode" feature has been removed. The major class of
|
||||||
|
programmers it has been designed for (lowlevel bitbang
|
||||||
|
programmers on parallel or serial ports) virtually doesn't exist
|
||||||
|
anymore, and the fuse combination that was covered by it do not
|
||||||
|
match the fuses of modern AVR devices anyway.
|
||||||
|
- avrdude.conf is now being looked up in the location of the
|
||||||
|
executable file first, before considering the configured default
|
||||||
|
location; this eases a "portable use" where the entire suite is
|
||||||
|
not installed into its configured default location. (Basically
|
||||||
|
only relevant for unixoid systems; on Windows, this search order
|
||||||
|
has been used for many years already.)
|
||||||
|
|
||||||
|
* New devices supported:
|
||||||
|
|
||||||
|
- ATtiny828, ATtiny87, ATtiny167, ATtiny48, ATtiny102, ATtiny104
|
||||||
|
- LGT8F88P, LGT8F168P, LGT8F328P (fixed names of these parts)
|
||||||
|
- ATmeg164A, ATmega169A, ATmega169P, ATmega169PA, ATmega329A,
|
||||||
|
ATmega329PA, ATmega3290, ATmega3290A, ATmega3290PA, ATmega649A,
|
||||||
|
ATmega649P, ATmega6490A, ATmega6490P, ATmega165, ATmega165A,
|
||||||
|
ATmega165P, ATmega165PA, ATmega325A, ATmega325P, ATmega325PA,
|
||||||
|
ATmega645A, ATmega645P, ATmega3250A, ATmega3250P, ATmega3250PA,
|
||||||
|
ATmega6450A, ATmega6450P
|
||||||
|
- ATmega48A/48PA/88A/88PA/168A/168PA, ATmega164A/644A/644PA,
|
||||||
|
ATmega16A/32A/64A/128A, ATtiny13A, ATtiny24A/44A/84A,
|
||||||
|
ATtiny261A/461A/861A, ATtiny828R, ATtiny2313A, ATtiny1634R
|
||||||
|
- ATtiny3224, ATtiny3226 and ATtiny3227
|
||||||
|
- AVR16DD14/20/28/32, AVR32DD14/20/28/32 and AVR64DD14/20/28/32
|
||||||
|
- AVR8EA28/32, AVR16EA28/32/48, AVR32EA28/32/48 and AVR64EA28/32/64
|
||||||
|
- ATmega16U4
|
||||||
|
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
|
||||||
|
- SerialUPDI (UPDI devices connected to serial port with few
|
||||||
|
passive parts)
|
||||||
|
- PicKit4 / SNAP (now also in ISP and PDI mode)
|
||||||
|
- Teensy bootloader (PR #802)
|
||||||
|
- Micronucleus bootloader (PR #786)
|
||||||
|
- ft232h (generic variant, PR #842)
|
||||||
|
- Kristech KT-LINK FT2232H interface with IO switching and voltage
|
||||||
|
buffers (PR #930)
|
||||||
|
|
||||||
|
* Issues fixed:
|
||||||
|
|
||||||
|
- Curiosity Nano and terminal mode #790 (only the actual bugs
|
||||||
|
reported)
|
||||||
|
- CMake doesn't correctly handle conditionals in avrdude.conf.in
|
||||||
|
#776
|
||||||
|
- CMake doesn't detect FreeBSD's libusb-1.0 (compatibility) #775
|
||||||
|
- CMake doesn't correctly handle conditionals in avrdude.conf.in
|
||||||
|
#776
|
||||||
|
- CMake: Recognize more than just bison #785
|
||||||
|
- [bug #26007] ATTiny167 not supported #150
|
||||||
|
- [bug #47375] ATtiny102/104 descriptions missing in configuration
|
||||||
|
file #409
|
||||||
|
- No error message when connecting to a not-connected AVRISP mkII
|
||||||
|
programmer #813
|
||||||
|
- [bug #53180] missing programmer or bad -P option argument
|
||||||
|
doesn't result in error message #471
|
||||||
|
- ATmega328P reported as lgt8fx328p #812
|
||||||
|
- [bug #48004] Dead link for linuxgpio in avrdude description #419
|
||||||
|
- Segmentation fault when writing ATtiny104 fuse #823
|
||||||
|
- USBasp returns ERANGE for unknown error #848
|
||||||
|
- Compiler warnings #856
|
||||||
|
- Can't get serialupdi to work #874
|
||||||
|
- Rework HID support for Windows #881
|
||||||
|
- List of signing keys? #884
|
||||||
|
- Pickit4 UPDI is writing at offset 0x4000 into flash instead of 0x0000. #892
|
||||||
|
- SerialUPDI programmer can't write to usersig/userrow in terminal mode #889
|
||||||
|
- Signature read command for ATmega165* was wrong (no-id)
|
||||||
|
- Cannot use non-standard baud rates for uploading on MacOS #771
|
||||||
|
- Wrong values in avrdude.conf #897
|
||||||
|
- AVR-Eclipse plugin broken by missing -u commandline option #890
|
||||||
|
- Timeout passed to hid_read_timeout() is too short for instances
|
||||||
|
where the EDBG AVRISP 'Enter Programming Mode' command fails #900
|
||||||
|
- Terminal write mode doesn't support string input (yet) #913
|
||||||
|
- Terminal mode: memory fill with strings may cause Avrdude to crash. #922
|
||||||
|
- Some parts have wrong or missing ISP commands #915
|
||||||
|
- Incorrect -b conversion for linuxspi programmer #927
|
||||||
|
- ATtiny43U calibration memory size #921
|
||||||
|
|
||||||
|
* Pull requests:
|
||||||
|
|
||||||
|
- GitHub Migration #765
|
||||||
|
- Update toplevel files. #767
|
||||||
|
- GitHub Migration part 2 #768
|
||||||
|
- Remove 'windows' folder with giveio.sys driver #769
|
||||||
|
- SerialUPDI implementation - release candidate 1 #772
|
||||||
|
- Fix typos #777
|
||||||
|
- Fix memory leaks #779
|
||||||
|
- As promised, documentation for SerialUPDI programmer #782
|
||||||
|
- Improve CMake project #783
|
||||||
|
- Fix avr_read() for page reads #784
|
||||||
|
- Serialupdi manpage #787
|
||||||
|
- Add PicKit4 and SNAP programmers #791
|
||||||
|
- Use yacc/byacc as an alternative to bison, closes #785 #793
|
||||||
|
- Derive program version string from last commit #794
|
||||||
|
- Find 'avrdude.conf' based on absolute path to executable #780
|
||||||
|
- buspirate: fix -Wtautological-constant-out-of-range-compare #796
|
||||||
|
- avrftdi: don't use the deprecated ftdi_usb_purge_buffers routine #792
|
||||||
|
- Ignore ctags index file #804
|
||||||
|
- term: fix memleakOnRealloc #806
|
||||||
|
- Add missing ATtiny targets to avrdude.conf #803
|
||||||
|
- Add support for Teensy bootloader #802
|
||||||
|
- Conffile clean up #801
|
||||||
|
- Fix typos all over the code #807
|
||||||
|
- Add MSVC builds and better WinUSB/FTDI support #798
|
||||||
|
- buspirate: fix invalidScanfArgType_int warning #808
|
||||||
|
- Ignore ac_cfg.h.in~ #810
|
||||||
|
- Notify open failure #814
|
||||||
|
- Print expected part #817
|
||||||
|
- pindefs: conform to the function declaration #818
|
||||||
|
- Add support for Micronucleus bootloader #786
|
||||||
|
- Remove ac_cfg.h from libavrdude.h #820
|
||||||
|
- CMake: enable dynamic-link library for libavrdude #826
|
||||||
|
- Fix for TPI fuse write (issue #823) #828
|
||||||
|
- Add missing ATmega__5 and ATmega__9 targets to avrdude.conf #809
|
||||||
|
- Add missing ATmega and ATtiny targets #832
|
||||||
|
- Added missing RTS/DTR management feature to serialupdi
|
||||||
|
programmer #811
|
||||||
|
- Add missing tinyAVR-2, AVR DD and AVR EA targets #836
|
||||||
|
- Add a new programmer ft232h #842
|
||||||
|
- Reduce verbosity when setting fuses and uploading programs #845
|
||||||
|
- jtagmkii: Reduce the number of sync attempts to 10 + print
|
||||||
|
number of attempts #844
|
||||||
|
- CMake: add initial support for installing lib and include files #829
|
||||||
|
- Add SPI support to USBtiny #816
|
||||||
|
- Add more memory sections to read from #815
|
||||||
|
- Add a build script for Unix-like systems #849
|
||||||
|
- Fix receive buffer implementation in ftdi_syncbb programmer #843
|
||||||
|
- CMake: split configuration in two files #852
|
||||||
|
- Set number of connection retry attempts for Arduino/STK500
|
||||||
|
programmer #854
|
||||||
|
- Fix libusb-1.0 error strings #850
|
||||||
|
- Assign proper type to msg[] in errstr() #857
|
||||||
|
- Fix Arduino retry attempts #855
|
||||||
|
- CMake: use CMAKE_CURRENT_BINARY_DIR to locate avrdude.conf #858
|
||||||
|
- Remove the "safemode" feature. #859
|
||||||
|
- Add support for reading from more memory sections #863
|
||||||
|
- Alias keyword #868
|
||||||
|
- Add fuse name aliases to avrdude.conf + tweak update.c #869
|
||||||
|
- Print JTAG3 clocks after configuration + string formatting #853
|
||||||
|
- Tweak programmer info formatting strings #872
|
||||||
|
- Remove libhid support in ser_avrdoper.c in favor of libhidapi #882
|
||||||
|
- Reduce jtag3 output verbosity #877
|
||||||
|
- Fix Curiosity Nano target voltage #878
|
||||||
|
- Smallest possible fix for PL2303HX #885
|
||||||
|
- Add missing USBtiny derived programmers #873
|
||||||
|
- Cleanup of POSIX serial init code #886
|
||||||
|
- Avrdude terminal write improvements #880
|
||||||
|
- Add userrow and usersig aliases #888
|
||||||
|
- For UPDI devices do not add offset when accessing flash. #895
|
||||||
|
- Support both userrow and usersig names #893
|
||||||
|
- Fix ugly terminal write bug #896
|
||||||
|
- Improve terminal read functionality #894
|
||||||
|
- Macos nonstandard baudrates #898
|
||||||
|
- Fix errors in Avrdude.conf #899
|
||||||
|
- Minor terminal write improvements #902
|
||||||
|
- Term docs #903
|
||||||
|
- Add progressbar for read and write command #912
|
||||||
|
- Add MacOS serial/parallel port note #908
|
||||||
|
- Add ATmega16U4 to avrdude.conf #910
|
||||||
|
- Mask out unused ATmega32U4 efuse bits #909
|
||||||
|
- Increased timeout passed to hid_read_timeout() #901
|
||||||
|
- Add terminal write string functionality #914
|
||||||
|
- Update documentation link to new URL #929
|
||||||
|
- Fix terminal write buffer overflow issue #924
|
||||||
|
- Fix linuxspi baud to clock period calculation #931
|
||||||
|
- Added KT-LINK FT2232H interface with IO switching and voltage buffers. #930
|
||||||
|
|
||||||
|
* Internals:
|
||||||
|
|
||||||
|
- Development moved to Github
|
||||||
|
- Addition of "alias" keyword to avrdude.conf.in syntax; used
|
||||||
|
for fuse name aliases right now
|
||||||
|
|
||||||
|
|
||||||
|
Version 6.4:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
- libhidapi support (part of patch #8717)
|
||||||
|
- use libhidapi as (optional) transport for CMSIS-DAP compliant
|
||||||
|
debuggers (JTAGICE3 with firmware 3+, AtmelICE, EDBG, mEDBG)
|
||||||
|
- UPDI support added (AVR8X family)
|
||||||
|
- TPI support for USBtinyISP
|
||||||
|
- TPI support for ft245r
|
||||||
|
- TPI support for linuxgpio
|
||||||
|
- AVR Doper uses libhidapi rather than raw libusb (patch #9033)
|
||||||
|
- -P net:host:port can use IPv6 now (Posix systems only)
|
||||||
|
- New configure option: -disable-libusb_1_0
|
||||||
|
- extended UPDI device context (> 64 Ki flash)
|
||||||
|
- major overhaul of ft245r driver (patch #9327/#9328)
|
||||||
|
- some improvements in linuxspi driver
|
||||||
|
- Use -B <bitclock> rather than -b <baudrate> for linuxspi driver
|
||||||
|
- unused lock byte bits are not masked on read anymore
|
||||||
|
- parport support disabled by default; configure with
|
||||||
|
--enable-parport to explicitly enable it
|
||||||
|
|
||||||
|
* New devices supported:
|
||||||
|
|
||||||
|
- ATmega328PB
|
||||||
|
- AVR8X family, ATtiny1617, ATtiny817, ATtiny202, ATtiny204,
|
||||||
|
ATtiny402, ATtiny404, ATtiny406, ATtiny804, ATtiny806,
|
||||||
|
ATtiny807, ATtiny1604, ATtiny1606, ATtiny1607, ATtiny212,
|
||||||
|
ATtiny214, ATtiny412, ATTiny414, ATtiny416, ATtiny417,
|
||||||
|
ATtiny814, ATtiny816, ATtiny1614, ATtiny1616, ATtiny3214,
|
||||||
|
ATtiny3216, ATtiny3217, ATmega3208, ATmega3209, ATmega4808,
|
||||||
|
ATmega4809
|
||||||
|
- ATtiny841, ATtiny441
|
||||||
|
- ATmega64M1
|
||||||
|
- ATmega324A
|
||||||
|
- ATmega808, ATmega809, ATmega1608, ATmega1609, AVR DA, AVR DB
|
||||||
|
- LGT8FX88P, LGT8FX168P, LGT8FX328P
|
||||||
|
- ATmega324PB
|
||||||
|
- ATmega8A
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
|
||||||
|
- ehajo-isp (commercial version of USBtiny)
|
||||||
|
- XplainedPro in UPDI mode
|
||||||
|
- XplainedMini in UPDI mode
|
||||||
|
- JTAGICE3 in UPDI mode
|
||||||
|
- Atmel Powerdebugger in all modes (JTAG, PDI, UPDI, debugWIRE, ISP)
|
||||||
|
- linuxspi (direct SPI bus e.g. on Raspberry Pi devices)
|
||||||
|
- PICkit4, Snap, PKoB
|
||||||
|
- iseavrprog
|
||||||
|
- XBeeBoot
|
||||||
|
|
||||||
|
* Bugfixes:
|
||||||
|
bug #47550: Linux GPIO broken
|
||||||
|
bug #47718: "lfuse reads as" not displayed in verbose mode - SOLUTION
|
||||||
|
bug #48084: Avoid compiled-in timestamp for reproducible release builds
|
||||||
|
bug #47376: ATtiny841 description missing in configuration file
|
||||||
|
bug #49455: support for tiny441
|
||||||
|
bug #57428: document when 'arduino' or 'wiring' should be used, and -D requirement of latter
|
||||||
|
bug #58095: error setting efuse on atmega328pb variant
|
||||||
|
bug #51409: Can't program EFUSE on ATmega32M1
|
||||||
|
bug #60753: Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur
|
||||||
|
bug #59525: Bogus error message because Copy/Paste typo in stk500.c
|
||||||
|
bug #58078: [PATCH] buspirate: remove compound literals (fixes GCC>=9)
|
||||||
|
bug #57453: [PATCH] fix reference to nonexistant -m option by changing to -U
|
||||||
|
bug #59227: Add new part. How does one get a part added to the CONF file?
|
||||||
|
bug #55009: no efuses for m164a/pa
|
||||||
|
bug #55734: USBtiny programming of ATmega328p broken by Patch #9278
|
||||||
|
bug #58495: Add atmega324pb support to avrdude.conf.in
|
||||||
|
bug #60863: avrftdi programming error probably caused by multiple, consecutive empty pages
|
||||||
|
bug #50517: Reading fails if "immediate mode" for output file format is selected - fileio: invalid operation=1
|
||||||
|
bug #50630: Erase Cycle Counter options ( -y -Y n ) should be removed from usage Message
|
||||||
|
bug #48767: ser_drain() for TCP on Windows doesn't work
|
||||||
|
bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error
|
||||||
|
bug #58440: linuxgpio PIN limit too low
|
||||||
|
bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close()
|
||||||
|
bug #58994: VPP PWM still enabled at the end of programming process
|
||||||
|
bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
|
||||||
|
bug #60575: Permission denied on macOS Big Sur
|
||||||
|
|
||||||
|
* Patches:
|
||||||
|
patch #9482: Add support for UPDI and AVR8X
|
||||||
|
patch #9508: Add PowerDebugger and XPlained Mini in UPDI mode
|
||||||
|
patch #9507: Fix UPDI chip erase
|
||||||
|
patch #9506: Script to create device configuration stub from Atmel
|
||||||
|
ATDF files
|
||||||
|
patch #9423: Support ATtiny841 and ATtiny441
|
||||||
|
patch #9530: Update URL to Ladyada's USBtinyISP page.
|
||||||
|
patch #9317: Support atmega64m1 as part
|
||||||
|
patch #9222: Enable silent build
|
||||||
|
patch #8924: Enable TPI for usbtiny
|
||||||
|
patch #9033: avrdoper backend uses libhidapi instead of libusb
|
||||||
|
patch #8580: FT245r support to select device by serial number
|
||||||
|
patch #8910: ATxmega32c4 and ATxmega16c4 have wrong signatures
|
||||||
|
patch #8219: Fix boot_start for xmega devices on jtagmkII
|
||||||
|
patch #9185: Add extended_param to usbasp.c - erasing
|
||||||
|
patch #8311: Add IPv6 support to the -Pnet:host:port option
|
||||||
|
patch #9542: Correct "usersig" on avr8x devices
|
||||||
|
patch #8128: Added new option to configure.ac script
|
||||||
|
patch #8444: Proposal for modifications in -B and -U command options managment (partially)
|
||||||
|
patch #9735: spelling error fix: psuedo -> pseudo
|
||||||
|
patch #9893: [PATCH] Reader reads ftdi handle after main thread close it
|
||||||
|
patch #9819: Address several leaks in SVN rev 1429
|
||||||
|
patch #9820: Fix some out-of-bounds/uninitialized issues
|
||||||
|
patch #9818: correct typos in SVN rev 1429
|
||||||
|
patch #9732: usbtiny_paged_load overflows buffer e.g. when reading EEPROM
|
||||||
|
patch #9966: Add JTAGICE3 in UPDI mode
|
||||||
|
patch #9963: UsbAsp 3 MHz patch for UsbAsp-flash firmware
|
||||||
|
patch #9816: Implement new programmer type: linuxspi
|
||||||
|
patch #9811: ATmega328pb has efuse bit 3
|
||||||
|
patch #9744: Patch for ATMega324A support
|
||||||
|
patch #10000: Add support for extended UPDI device context
|
||||||
|
patch #9697: Add iseavrprog support
|
||||||
|
patch #10017: uspasp / tpi: Automatically clear configuration byte (fuse) before writing it
|
||||||
|
patch #8957: Allow reading prodsig memory from stk500v2 on xmega devices
|
||||||
|
patch #9110: Let reserved fuse bits to be read as *don't care*
|
||||||
|
patch #9253: Fix for giving terminal_mode commands more than 20 arguments
|
||||||
|
patch #9320: fix TPI RESET in bitbang.c
|
||||||
|
patch #9079: Fix ftdi_syncbb teardown (supersedes #9893, superseded by #9328)
|
||||||
|
patch #9122: Fixed MISO sampling in ftdi_syncbb
|
||||||
|
patch #9123: ftdi_syncbb: use FT245R_CYCLES in ft245r_set_bitclock()
|
||||||
|
patch #8719: Support Over-the-Air bootloading with XBeeBoot
|
||||||
|
patch #9757: Fix ATtiny817 Xplained Mini programmer
|
||||||
|
patch #9327: ft245r.c: add TPI support (patches 1-4)
|
||||||
|
patch #9328: ft245r.c: add TPI support (patches 5-7)
|
||||||
|
patch #10027: linuxspi: Add reset pulse, according to AVR programming algorithm
|
||||||
|
patch #10028: linuxspi: close() only when necessary
|
||||||
|
patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
|
||||||
|
patch #10030: linuxspi: Support inverted GPIO pin
|
||||||
|
patch #10031: linuxspi: Support GPIO uAPI v2
|
||||||
|
(no-id): Improve documentation of linuxspi driver, provide portname default
|
||||||
|
(no-id): Use -B <bitclock> rather than -b <baudrate> for linuxspi driver
|
||||||
|
patch #9304: [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality
|
||||||
|
patch #8996: Remove lock byte read mask (bug#21954, bug#46759)
|
||||||
|
patch #8923: Enable TPI for linuxgpio
|
||||||
|
patch #10153: linuxspi: Support "-E reset" and "-E noreset"
|
||||||
|
|
||||||
|
* Internals:
|
||||||
|
- New avrdude.conf keyword "family_id", used to verify SIB attributes
|
||||||
|
on AVR8X architecture if device is locked.
|
||||||
|
|
||||||
|
|
||||||
|
Version 6.3:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
- Backout of
|
||||||
|
patch #8380: adds 500k 1M 2M baud to ser_posix.c
|
||||||
|
It broke the functionality in too many situations
|
||||||
|
(bug #46610/46483)
|
||||||
|
|
||||||
|
* New devices supported:
|
||||||
|
|
||||||
|
- ATmega48PB, ATmega88PB, ATmega168PB
|
||||||
|
- ATtiny28 (HVPP-only device)
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
|
||||||
|
- Atmel mEDBG: xplainedmini, xplainedmini_dw
|
||||||
|
|
||||||
|
* Bugfixes
|
||||||
|
|
||||||
|
- bug #46610: Floating point exception (core dumped) arch linux rpi2
|
||||||
|
- bug #46483: version 6.2. ser_open(): can't set attributes for device
|
||||||
|
- patch #8435: Implementing mEDBG CMSIS-DAP protocol
|
||||||
|
- patch #8735: ATtiny28 support in avrdude.conf
|
||||||
|
- patch #8896: Silence cppcheck warnings in 6.2 code
|
||||||
|
- patch #8895: Spelling in 6.2 code
|
||||||
|
|
||||||
|
|
||||||
|
Version 6.2:
|
||||||
|
|
||||||
|
* Major changes compared to the previous version:
|
||||||
|
|
||||||
|
- The stk500v2 implementation now uses its own higher-level
|
||||||
|
command implementation for byte-wide access, rather than the
|
||||||
|
historic SPI_MULTI command where all the low-level ISP
|
||||||
|
implementation had to be assembled manually inside AVRDUDE. In
|
||||||
|
addition to the traditional STK500, this implementation is also
|
||||||
|
used by all the more modern Atmel tools (AVRISPmkII, JTAGICEmkII
|
||||||
|
in ISP mode, STK600 in ISP mode).
|
||||||
|
|
||||||
|
- The -B option can be suffixed with "Hz", "kHz", or "MHz", in
|
||||||
|
order to specify a bitclock frequency rather than period.
|
||||||
|
|
||||||
|
- Print part id after signature (patch #8440 )
|
||||||
|
|
||||||
|
- buspirate: Also support "cpufreq" extended parameter
|
||||||
|
in binary mode (patch #8504 )
|
||||||
|
|
||||||
|
- The "-P net:" syntax (forwarding of serial data over TCP) is now
|
||||||
|
also implemented for Win32 systems.
|
||||||
|
|
||||||
|
- Allow for arbitrary serial baudrates under Linux (OSX and *BSD
|
||||||
|
could already handle it).
|
||||||
|
|
||||||
|
|
||||||
|
* New devices supported:
|
||||||
|
- AT90PWM216 (bug #42310: New part description for AT90PWM216)
|
||||||
|
- ATmega32M1 (patch #7694 Add support for the atmega32m1)
|
||||||
|
|
||||||
|
* New programmers supported:
|
||||||
|
- ftdi_syncbb
|
||||||
|
+ uncompatino, ttl232r (FTDI TTL232R-5V with ICSP adapter)
|
||||||
|
(patch #8529 2 more ftdi_syncbb devices)
|
||||||
|
|
||||||
|
* Bugfixes
|
||||||
|
- bug #45727: Wrong atmega8u2 flash parameters
|
||||||
|
- bug #46020: Add TIAO TUMPA to the conf file.
|
||||||
|
- bug #46021: Please add read in the memory lock section of ATtiny85
|
||||||
|
- bug #42337 avrdude.conf updates for UM232H/CM232H
|
||||||
|
- bug #42056: double free or corruption triggered at exit
|
||||||
|
- bug #42158: Linux GPIO - Source Typo
|
||||||
|
- bug #42516 spelling-error-in-binary
|
||||||
|
- patch #8419 fix ftdi_syncbb hang with libftdi 1
|
||||||
|
- bug #43002 usbasp debug output typo
|
||||||
|
- patch #8511 Fix reset on FT245R
|
||||||
|
- bug #40142 Floating point exception on Ubuntu 10.04
|
||||||
|
- bug #22248: Read efuse error (partial fix)
|
||||||
|
- bug #42267: jtag3isp fails to read lock and fuse bytes directly
|
||||||
|
after changing lock byte
|
||||||
|
- bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of
|
||||||
|
flash page
|
||||||
|
- bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom
|
||||||
|
- bug #43137: Writing and reading incorrect pages when using jtagicemkI
|
||||||
|
- bug #40870: config nitpick: ATtiny25/45/85 have 1 calibration byte not 2
|
||||||
|
- bug #42908: no external reset at JTAGICE3
|
||||||
|
- patch #8437: [PATCH] Serial-over-ethernet for Win32
|
||||||
|
- bug #44717: avrdude creates empty flash dump
|
||||||
|
|
||||||
|
* Internals:
|
||||||
|
- Removing exit calls from config parser
|
||||||
|
- bug #42662 clang warnings under FreeBSD 10.x
|
||||||
|
|
||||||
|
Version 6.1:
|
||||||
|
|
||||||
* Major changes compared to the previous version:
|
* Major changes compared to the previous version:
|
||||||
- Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
|
- Atmel EDBG protocol support added (JTAGICE3, XplainedPro, Atmel-ICE)
|
||||||
|
|
||||||
* New devices supported:
|
|
||||||
- ...
|
|
||||||
|
|
||||||
* New programmers supported:
|
* New programmers supported:
|
||||||
- Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices),
|
- Atmel DFU, using FLIP protocol version 1 (AT90USB and ATmega*U* devices),
|
||||||
or version 2 (Xmega devices)
|
or version 2 (Xmega devices)
|
||||||
|
@ -32,7 +759,7 @@ Current:
|
||||||
- patch #XXXX: xxx
|
- patch #XXXX: xxx
|
||||||
|
|
||||||
* Internals:
|
* Internals:
|
||||||
- ...
|
- (Some) programmers can take a list of USB PIDs now.
|
||||||
|
|
||||||
|
|
||||||
Version 6.0:
|
Version 6.0:
|
||||||
|
@ -512,7 +1239,7 @@ Version 4.3.0:
|
||||||
* Added "Troubleshooting"-Appendix to the manual.
|
* Added "Troubleshooting"-Appendix to the manual.
|
||||||
|
|
||||||
* Add ATmega8515 support.
|
* Add ATmega8515 support.
|
||||||
Contributed by: Matthias Weißer <matthias@matwei.de>
|
Contributed by: Matthias Weißer <matthias@matwei.de>
|
||||||
|
|
||||||
* Add ATmega64 support.
|
* Add ATmega64 support.
|
||||||
Contributed by: Erik Christiansen <erik@dd.nec.com.au>
|
Contributed by: Erik Christiansen <erik@dd.nec.com.au>
|
||||||
|
|
46
README
|
@ -1,46 +0,0 @@
|
||||||
See the documentation file for the details.
|
|
||||||
|
|
||||||
The latest version of AVRDUDE is always available here:
|
|
||||||
|
|
||||||
http://savannah.nongnu.org/projects/avrdude
|
|
||||||
|
|
||||||
|
|
||||||
Important environment variables for ./configure:
|
|
||||||
================================================
|
|
||||||
|
|
||||||
CPPFLAGS: C preprocessor flags (*not* "C++")
|
|
||||||
|
|
||||||
This is the place to put additional (non-standard) -I options into.
|
|
||||||
For example, if your Windows system has LibUSB-Win32 installed into
|
|
||||||
\\WINDOWS\ProgramFiles\LibUSB-Win32, use
|
|
||||||
|
|
||||||
CPPFLAGS=-I/WINDOWS/ProgramFiles/LibUSB-Win32/include
|
|
||||||
|
|
||||||
to tell configure where to search for the header files. (The use of
|
|
||||||
forward slashes rather than backslashes can often simplify things.
|
|
||||||
Note that the Windows system services internally treat both the same.
|
|
||||||
It's only cmd.exe which requires backslashes as the directory
|
|
||||||
separator.)
|
|
||||||
|
|
||||||
LDFLAGS: Linker options
|
|
||||||
|
|
||||||
This is the place to make additional library locations known to the
|
|
||||||
linker. To continue the above example, use
|
|
||||||
|
|
||||||
LDFLAGS=-L/WINDOWS/ProgramFiles/LibUSB-Win32/lib/gcc
|
|
||||||
|
|
||||||
to make the linker search for "libusb.a" in that directory.
|
|
||||||
|
|
||||||
|
|
||||||
Linux users: make sure the header files are installed
|
|
||||||
=====================================================
|
|
||||||
|
|
||||||
While many Linux distributions install the libraries needed by AVRDUDE
|
|
||||||
(libusb, libelf) by default, they leave out the corresponding header
|
|
||||||
files. Consequently, the configure script won't find them, so these
|
|
||||||
libraries could not be used.
|
|
||||||
|
|
||||||
Usually, the packages with the header files (and static libraries) are
|
|
||||||
derived from the regular package name by appending "-devel". Thus,
|
|
||||||
make sure you have "libusb-devel" and "libelf-devel" installed before
|
|
||||||
running the configure script. (Same goes for libftdi.)
|
|
|
@ -0,0 +1,64 @@
|
||||||
|
# AVRDUDE
|
||||||
|
|
||||||
|
[![Build Status](https://github.com/avrdudes/avrdude/actions/workflows/build.yml/badge.svg)](https://github.com/avrdudes/avrdude/actions/workflows/build.yml)
|
||||||
|
|
||||||
|
AVRDUDE - AVR Downloader Uploader - is a program for downloading and uploading
|
||||||
|
the on-chip memories of Microchip’s [AVR microcontrollers](https://en.wikipedia.org/wiki/AVR_microcontrollers).
|
||||||
|
It can program the Flash and EEPROM, and where supported by the programming
|
||||||
|
protocol, it can program fuse and lock bits.
|
||||||
|
AVRDUDE also supplies a direct instruction mode allowing one to issue any
|
||||||
|
programming instruction to the AVR chip regardless of whether AVRDUDE
|
||||||
|
implements that specific feature of a particular chip.
|
||||||
|
|
||||||
|
AVRDUDE was originally written in 2003 by Brian S. Dean. Since 2006, AVRDUDE has been maintained by Jörg Wunsch,
|
||||||
|
with the help of [various contributors](./AUTHORS).
|
||||||
|
|
||||||
|
The latest version of AVRDUDE is always available here:\
|
||||||
|
<https://github.com/avrdudes/avrdude>
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
Documentation for current and previous releases is [on Github Pages](https://avrdudes.github.io/avrdude/).
|
||||||
|
|
||||||
|
## Getting AVRDUDE for Windows
|
||||||
|
|
||||||
|
To get AVRDUDE for Windows, install the latest version from the [Releases](http://download.savannah.gnu.org/releases/avrdude/) page.
|
||||||
|
|
||||||
|
Alternatively, you may [build AVRDUDE](https://github.com/avrdudes/avrdude/wiki) yourself from source.
|
||||||
|
|
||||||
|
## Getting AVRDUDE for Linux
|
||||||
|
|
||||||
|
To install AVRDUDE for Linux, install the package `avrdude` by running the following commands:
|
||||||
|
|
||||||
|
```console
|
||||||
|
sudo apt-get install avrdude
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, you may [build AVRDUDE](https://github.com/avrdudes/avrdude/wiki) yourself from source.
|
||||||
|
|
||||||
|
## Getting AVRDUDE for MacOS
|
||||||
|
|
||||||
|
On MacOS, AVRDUDE can be installed through Mac Ports.
|
||||||
|
|
||||||
|
Alternatively, you may [build AVRDUDE](https://github.com/avrdudes/avrdude/wiki) yourself from source.
|
||||||
|
|
||||||
|
## Using AVRDUDE
|
||||||
|
|
||||||
|
AVRDUDE is a command-line application. Run the command `avrdude` without any arguments for a list of options.
|
||||||
|
|
||||||
|
A typical command to program your HEX file into your AVR microcontroller looks like this:
|
||||||
|
|
||||||
|
```console
|
||||||
|
avrdude -c <programmer> -p <part> -U flash:w:<file>:i
|
||||||
|
```
|
||||||
|
|
||||||
|
For instance, to program an **Arduino Uno** connected to the serial port **COM1** with a HEX file called `blink.hex`,
|
||||||
|
you would run the following command:
|
||||||
|
|
||||||
|
```console
|
||||||
|
avrdude -c arduino -P COM1 -b 115200 -p atmega328p -D -U flash:w:objs/blink.hex:i
|
||||||
|
```
|
||||||
|
|
||||||
|
There are many different programmers and options that may be required for the programming to succeed.
|
||||||
|
|
||||||
|
For more information, refer to the [AVRDUDE documentation](https://avrdudes.github.io/avrdude/).
|
|
@ -0,0 +1,224 @@
|
||||||
|
# AVRDUDE for Windows
|
||||||
|
|
||||||
|
[![Build Status](https://github.com/mariusgreuel/avrdude/actions/workflows/build.yml/badge.svg?branch=windows)](https://github.com/mariusgreuel/avrdude/actions/workflows/build.yml)
|
||||||
|
|
||||||
|
This is a fork of AVRDUDE from <https://github.com/avrdudes/avrdude>.
|
||||||
|
|
||||||
|
The purpose of this fork is to add better support for Windows to bring it on par with the Linux version of AVRDUDE.
|
||||||
|
|
||||||
|
Noteable changes include:
|
||||||
|
|
||||||
|
- [Support Atmel AVR programmers out of the box](#support-atmel-avr-programmers-out-of-the-box)
|
||||||
|
- [Support Micronucleus bootloader](#support-micronucleus-bootloader)
|
||||||
|
- [Support Teensy HalfKay bootloader](#support-teensy-halfkay-bootloader)
|
||||||
|
- [Support COM port discovery via USB VID/PID](#support-com-port-discovery-via-usb-vidpid)
|
||||||
|
- [Support Arduino Leonardo bootloader auto-reset](#support-arduino-leonardo-bootloader-auto-reset)
|
||||||
|
- [Support WinUSB devices via custom libusb](#support-winusb-devices-via-custom-libusb)
|
||||||
|
- [Support FTDI devices via custom libftdi](#support-ftdi-devices-via-custom-libftdi)
|
||||||
|
- [Support HID devices via libhidapi](#support-hid-devices-via-libhidapi)
|
||||||
|
- [Support Visual Studio](#support-visual-studio)
|
||||||
|
- [Miscellaneous bug-fixes and patches](#miscellaneous-bug-fixes-and-patches)
|
||||||
|
|
||||||
|
The original AVRDUDE project homepage can be found here <https://github.com/avrdudes/avrdude>.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
Documentation for current and previous releases is [on Github Pages](https://avrdudes.github.io/avrdude/).
|
||||||
|
|
||||||
|
## Download
|
||||||
|
|
||||||
|
To get the latest version of **AVRDUDE for Windows**, go to the [releases folder](https://github.com/mariusgreuel/avrdude/releases):
|
||||||
|
|
||||||
|
<https://github.com/mariusgreuel/avrdude/releases>
|
||||||
|
|
||||||
|
## Feature Details
|
||||||
|
|
||||||
|
### Support Atmel AVR programmers out of the box
|
||||||
|
|
||||||
|
This build contains support for Atmel AVR programmers, such as
|
||||||
|
|
||||||
|
- [Atmel-ICE](https://www.microchip.com/DevelopmentTools/ProductDetails/ATATMEL-ICE) (Part Number: ATATMEL-ICE)
|
||||||
|
- [Atmel AVRISP mkII](https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATAVRISP2) (Part Number: ATAVRISP2)
|
||||||
|
|
||||||
|
This build does not rely on **libusb** drivers. Instead the default Atmel drivers can be used, allowing you to use AVRDUDE and Atmel Studio 7 side-by-side, without switching drivers.
|
||||||
|
|
||||||
|
If you previously changed the driver of your programmer to libusb, you should use **Windows Device Manager** to uninstall the device, and then reinstall using the default Windows drivers.
|
||||||
|
|
||||||
|
### Support Micronucleus bootloader
|
||||||
|
|
||||||
|
This build adds support for the [Micronucleus bootloader](https://github.com/micronucleus/micronucleus), so you do no longer need a separate command-line utility when working with devices that use the Micronucleus bootloader.
|
||||||
|
|
||||||
|
The Micronucleus bootloader is typically used on small ATtiny boards, such as **Digispark** (ATtiny85), **Digispark Pro** (ATtiny167), and the respective clones.
|
||||||
|
By default, it uses the USB VID/PID **16D0:0753** (MCS Digistump).
|
||||||
|
|
||||||
|
Since this bootloader is optimized for size, it implements writing to flash memory only.
|
||||||
|
As it does not support reading, you need to use the **-V** option to prevent AVRDUDE from verifing the flash memory. To have AVRDUDE wait for the device to be connected, use the extended option '-x wait'.
|
||||||
|
|
||||||
|
#### Example: Flashing a Micronucleus bootloader device
|
||||||
|
|
||||||
|
```console
|
||||||
|
avrdude -c micronucleus -p t85 -x wait -V -U flash:w:main.hex:i
|
||||||
|
```
|
||||||
|
|
||||||
|
### Support Teensy HalfKay bootloader
|
||||||
|
|
||||||
|
This build adds support for the [Teensy HalfKay bootloader](https://www.pjrc.com/teensy/halfkay_protocol.html), so you do no longer need a the Teensy Loader tool when working with Teensy devices.
|
||||||
|
|
||||||
|
Since this bootloader is optimized for size, it implements writing to flash memory only.
|
||||||
|
As it does not support reading, you need to use the **-V** option to prevent AVRDUDE from verifing the flash memory. To have AVRDUDE wait for the device to be connected, use the extended option '-x wait'.
|
||||||
|
|
||||||
|
Supported devices are:
|
||||||
|
|
||||||
|
- Teensy 1.0 (AT90USB162)
|
||||||
|
- Teensy 2.0 (ATmega32U4)
|
||||||
|
- Teensy++ 1.0 (AT90USB646)
|
||||||
|
- Teensy++ 2.0 (AT90USB1286)
|
||||||
|
|
||||||
|
#### Example: Flashing a Teensy 2.0 device
|
||||||
|
|
||||||
|
```console
|
||||||
|
avrdude -c teensy -p m32u4 -x wait -V -U flash:w:main.hex:i
|
||||||
|
```
|
||||||
|
|
||||||
|
### Support COM port discovery via USB VID/PID
|
||||||
|
|
||||||
|
Most Arduino boards use a USB-based virtual COM port, which is connected to some sort of bootloader. Since COM port numbers (COM1, COM2, ...) are determined by Windows, you first need to use Windows device manager to figure out the COM port before you can use AVRDUDE to flash the board. Alternatively, you may use Windows device manager to assign a COM port of your choice to the USB device. Additionally, the COM port of your Arduino board may change over time, for instance if you plug the device in a different USB port.
|
||||||
|
|
||||||
|
To simplify the discovery of your Arduino board, I provided the possibility to specify the USB vendor and product ID instead of the COM port.
|
||||||
|
|
||||||
|
For instance, to connect to an Arduino Leonardo, use the following command:
|
||||||
|
|
||||||
|
```console
|
||||||
|
avrdude -c avr109 -P usb:2341:0036 -p m32u4
|
||||||
|
```
|
||||||
|
|
||||||
|
Since the USB vendor and device ID **2341:0036** is the identical for all Leonardo boards, the command above will work regardless of which COM port was actually assigned to your board.
|
||||||
|
|
||||||
|
Note that can cannot use this method if you have more than one device of the same type (i.e. that share the same USB VID/PID) plugged into your computer. Also, some devices ship various versions of firmwares using different VID/PID.
|
||||||
|
|
||||||
|
To figure out the USB VID and PID, you may use **Windows devices manager** (see the **Hardware IDs** of the **Details tab** of the USB device), or look it up in the official list of Arduino devices:
|
||||||
|
<https://github.com/arduino/ArduinoCore-avr/blob/master/boards.txt>
|
||||||
|
|
||||||
|
USB VID/PID pairs for some popular boards and the respective commands are:
|
||||||
|
|
||||||
|
- Arduino Uno Rev 3: **2A03:0043** -> `avrdude -c arduino -P usb:2A03:0043 -p m328p`
|
||||||
|
- Arduino Micro: **2341:0037** -> `avrdude -c avr109 -P usb:2341:0037 -p m32u4`
|
||||||
|
- Arduino Leonardo: **2341:0036** -> `avrdude -c avr109 -P usb:2341:0036 -p m32u4`
|
||||||
|
- Sparkfun Pro Micro (5V): **1B4F:9205** -> `avrdude -c avr109 -P usb:1B4F:9205 -p m32u4`
|
||||||
|
- Sparkfun Pro Micro (3.3V): **1B4F:9203** -> `avrdude -c avr109 -P usb:1B4F:9203 -p m32u4`
|
||||||
|
- Adafruit Circuit Playground: **239A:0011** -> `avrdude -c avr109 -P usb:239A:0011 -p m32u4`
|
||||||
|
|
||||||
|
### Support Arduino Leonardo bootloader auto-reset
|
||||||
|
|
||||||
|
Before any Arduino board may be flashed via the bootloader, you need to kick it into bootloader mode first. This can done manually by pressing the reset button, or automatically via an special auto-reset mechanism: For boards with a USB to serial converter chip (such as Arduino Uno or Nano), the tool needs to pull the DTR signal to low, which will briefly pull the RESET pin of the microcontroller to low. For boards with a direct USB connection (such as Arduino Leonardo or Micro), the sketch typically implements a serial port via a USB composite device with a virtual COM port. To perform the auto-reset, the sketch implements a hack that resets the device into bootloader mode when the COM port is opened with a baudrate of 1200bps. To make matters even more complicated, the bootloader COM port has a different USB VID:PID pair than the sketch COM port, which causes the COM port to change while performing the reset.
|
||||||
|
|
||||||
|
To simplify the process of auto-resetting the board, this version will auto-reset the device when AVRDUDE detects that the device is running in sketch mode. Note that the sketch is required to implement a USB composite device with a virtual COM port with a matching USB VID:PID, which is implemented in the Arduino core software.
|
||||||
|
|
||||||
|
### Support WinUSB devices via custom libusb
|
||||||
|
|
||||||
|
Since AVRDUDE originated from Unix, the USB support in AVRDUDE is built upon the Unix-based USB library [libusb](https://sourceforge.net/projects/libusb/). In order to support Windows, libusb has been ported to Windows [libusb-win32](https://sourceforge.net/projects/libusb-win32/).
|
||||||
|
|
||||||
|
The downside of using libusb-win32 is that it requires the user to manually install a kernel-mode driver (libusb0.sys or libusbk.sys) instead of the manufacturer supplied Windows driver. There are several hacks to accomplish this, such as the [Zadig driver installation utility](https://zadig.akeo.ie/), which installs a self-signed root certificate in the Windows driver store due to the lack of proper driver installation packages.
|
||||||
|
|
||||||
|
This build contains a custom library called **libwinusb**, which implements a sub-set of the libusb-win32 API. The libwinusb implementation supports both the **winusb.sys** driver, and the **libusb0.sys** driver as well. This patch has a number of advantages, such as
|
||||||
|
|
||||||
|
- Many USB devices that ship with WinUSB drivers, such as Atmel programmer, will run out of the box.
|
||||||
|
- Works with both WinUSB and libusb: You can use either Windows built-in WinUSB driver to access your USB devices, or keep using the libusb drivers if you have them installed already.
|
||||||
|
- No static dependency to libusb0.dll: You cannot run the original version AVRDUDE, unless you previously installed libusb. On systems where libusb is not installed, this build eliminates the error "The code execution cannot proceed because libusb0.dll was not found. Reinstalling the program may fix this problem".
|
||||||
|
|
||||||
|
#### Microsoft OS descriptors and firmware examples
|
||||||
|
|
||||||
|
Windows provides a mechanism to automatically load the built-in WinUSB driver without providing a driver installation package (INF file). The automatic WinUSB driver installation is triggered via a special [Microsoft OS descriptor](https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/microsoft-defined-usb-descriptors) that must be present in the firmware of the USB device.
|
||||||
|
|
||||||
|
To demonstrate how this works, I added Microsoft OS descriptors to the following projects:
|
||||||
|
|
||||||
|
- **USBasp** - USB programmer for Atmel AVR controllers: <https://github.com/mariusgreuel/USBasp>
|
||||||
|
|
||||||
|
- **FabISP** a.k.a **USBtinyISP** - A fab-able in-system programmer: <https://github.com/mariusgreuel/FabISP>
|
||||||
|
|
||||||
|
- **Micronucleus** - ATtiny USB bootloader with a strong emphasis on bootloader compactness: <https://github.com/mariusgreuel/micronucleus>
|
||||||
|
|
||||||
|
### Support FTDI devices via custom libftdi
|
||||||
|
|
||||||
|
In order to support FTDI devices, AVRDUDE uses the Unix-based library [libftdi1](https://www.intra2net.com/en/developer/libftdi/). Similar to libusb, the libftdi1 library does not play nice on Windows: On Windows, FTDI devices load the manufacturer supplied driver via plug-and-play. The FTDI drivers implement an API via the FTDI D2XX DLLs. However, libftdi1 cannot use the D2XX interface, so it will not work with the plug-and-play drivers.
|
||||||
|
|
||||||
|
This build contains a patches library of **libftdi**. The patches load the D2XX DLLs to support FTDI devices, so FTDI devices will just work.
|
||||||
|
|
||||||
|
### Support HID devices via libhidapi
|
||||||
|
|
||||||
|
This build include the WIN32 version of libhidapi, and some patches, to allow HID devices to work out of the box.
|
||||||
|
|
||||||
|
### Support Visual Studio
|
||||||
|
|
||||||
|
This build adds support for **Microsoft Visual Studio**. Building AVRDUDE with Microsoft Visual C/C++ will give you the best user and debugging experience while working on Windows.
|
||||||
|
|
||||||
|
### Miscellaneous bug-fixes and patches
|
||||||
|
|
||||||
|
- This build fixes [bug #54159: Buffer overflow in usbtiny.c](http://savannah.nongnu.org/bugs/?54159), which causes AVRDUDE to crash when using the USBtiny programmer.
|
||||||
|
|
||||||
|
- Support new microcontroller: ATtiny167
|
||||||
|
|
||||||
|
## Releases
|
||||||
|
|
||||||
|
You can find the latest releases of **AVRDUDE for Windows** here:
|
||||||
|
|
||||||
|
<https://github.com/mariusgreuel/avrdude/releases>
|
||||||
|
|
||||||
|
## Users manual
|
||||||
|
|
||||||
|
You can find the original users manual (does not contain AVRDUDE for Windows extras) of AVRDUDE here:
|
||||||
|
|
||||||
|
<https://www.nongnu.org/avrdude/user-manual/avrdude.html>
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
The build instructions have been moved here:\
|
||||||
|
<https://github.com/avrdudes/avrdude/wiki>
|
||||||
|
|
||||||
|
### Building AVRDUDE for Windows using MSVC
|
||||||
|
|
||||||
|
#### Windows Prerequisites
|
||||||
|
|
||||||
|
In order to build AVRDUDE on Windows, you need:
|
||||||
|
|
||||||
|
- Flex and Bison installed, for instance via [Chocolatey](https://chocolatey.org/)
|
||||||
|
- Microsoft Visual Studio 2019 with **Desktop development with C++** and **CMake** enabled
|
||||||
|
|
||||||
|
#### Windows Build Instructions
|
||||||
|
|
||||||
|
To build AVRDUDE on Windows, do the following:
|
||||||
|
|
||||||
|
- `git clone --branch windows https://github.com/mariusgreuel/avrdude`
|
||||||
|
- Open the folder **avrdude** using the menu item **File->Open->Folder**
|
||||||
|
- Build the project using the menu item **Build->Build All**
|
||||||
|
|
||||||
|
### Linux udev rules
|
||||||
|
|
||||||
|
If you intent to use either the Micronucleus or Teensy bootloader, you should edit the udev rules so that you can run AVRDUDE without root.
|
||||||
|
|
||||||
|
For instance, if you are on Ubuntu and you installed the avrdude package, you would edit `/lib/udev/rules.d/60-avrdude.rules` and add the following rules:
|
||||||
|
|
||||||
|
```console
|
||||||
|
# Micronucleus Bootloader
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="16d0", ATTR{idProduct}=="0753", TAG+="uaccess"
|
||||||
|
# Teensy Bootloader
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="0478", TAG+="uaccess"
|
||||||
|
```
|
||||||
|
|
||||||
|
## Troubleshooting Tips & Tricks
|
||||||
|
|
||||||
|
### Atmel DFU Device driver broken
|
||||||
|
|
||||||
|
The current version of the Atmel DFU drivers that are distributed via the Windows Update are goofed up (@Atmel: It might have something to do with the fact that you commented out the CopyFiles sections!).
|
||||||
|
Symptoms are:
|
||||||
|
|
||||||
|
- You cannot use AVRDUDE to connect to an Atmel DFU device, and you get the error message "No matching USB device found".
|
||||||
|
- When installing the drivers via Windows Update, you get the error message "Windows encountered a problem installing the drivers for your device" and "A service installation section in this INF is invalid."
|
||||||
|
- In Windows Device Manager, the Atmel DFU device shows up as an unknown device.
|
||||||
|
|
||||||
|
You should use an older driver package that does not contain this bug.
|
||||||
|
|
||||||
|
### Outdated libusb0 driver
|
||||||
|
|
||||||
|
The most current version of libusb0.sys is 1.2.6.0, signed on 12/17/2012 by Travis Lee Robinson. If you are using an older version (check with Windows Device Manager), you may not be able to connect to your USB devices using the libusb0 driver.
|
||||||
|
|
|
@ -0,0 +1,116 @@
|
||||||
|
var BrowserDetect = {
|
||||||
|
init: function () {
|
||||||
|
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
|
||||||
|
this.version = this.searchVersion(navigator.userAgent)
|
||||||
|
|| this.searchVersion(navigator.appVersion)
|
||||||
|
|| "an unknown version";
|
||||||
|
this.OS = this.searchString(this.dataOS) || "an unknown OS";
|
||||||
|
},
|
||||||
|
searchString: function (data) {
|
||||||
|
for (var i=0;i<data.length;i++) {
|
||||||
|
var dataString = data[i].string;
|
||||||
|
var dataProp = data[i].prop;
|
||||||
|
this.versionSearchString = data[i].versionSearch || data[i].identity;
|
||||||
|
if (dataString) {
|
||||||
|
if (dataString.indexOf(data[i].subString) != -1)
|
||||||
|
return data[i].identity;
|
||||||
|
}
|
||||||
|
else if (dataProp)
|
||||||
|
return data[i].identity;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
searchVersion: function (dataString) {
|
||||||
|
var index = dataString.indexOf(this.versionSearchString);
|
||||||
|
if (index == -1) return;
|
||||||
|
return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
|
||||||
|
},
|
||||||
|
dataBrowser: [
|
||||||
|
{
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "Chrome",
|
||||||
|
identity: "Chrome"
|
||||||
|
},
|
||||||
|
{ string: navigator.userAgent,
|
||||||
|
subString: "OmniWeb",
|
||||||
|
versionSearch: "OmniWeb/",
|
||||||
|
identity: "OmniWeb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.vendor,
|
||||||
|
subString: "Apple",
|
||||||
|
identity: "Safari",
|
||||||
|
versionSearch: "Version"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
prop: window.opera,
|
||||||
|
identity: "Opera"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.vendor,
|
||||||
|
subString: "iCab",
|
||||||
|
identity: "iCab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.vendor,
|
||||||
|
subString: "KDE",
|
||||||
|
identity: "Konqueror"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "Firefox",
|
||||||
|
identity: "Firefox"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.vendor,
|
||||||
|
subString: "Camino",
|
||||||
|
identity: "Camino"
|
||||||
|
},
|
||||||
|
{ // for newer Netscapes (6+)
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "Netscape",
|
||||||
|
identity: "Netscape"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "MSIE",
|
||||||
|
identity: "Explorer",
|
||||||
|
versionSearch: "MSIE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "Gecko",
|
||||||
|
identity: "Mozilla",
|
||||||
|
versionSearch: "rv"
|
||||||
|
},
|
||||||
|
{ // for older Netscapes (4-)
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "Mozilla",
|
||||||
|
identity: "Netscape",
|
||||||
|
versionSearch: "Mozilla"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
dataOS : [
|
||||||
|
{
|
||||||
|
string: navigator.platform,
|
||||||
|
subString: "Win",
|
||||||
|
identity: "Windows"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.platform,
|
||||||
|
subString: "Mac",
|
||||||
|
identity: "Mac"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.userAgent,
|
||||||
|
subString: "iPhone",
|
||||||
|
identity: "iPhone/iPod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
string: navigator.platform,
|
||||||
|
subString: "Linux",
|
||||||
|
identity: "Linux"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
};
|
||||||
|
BrowserDetect.init();
|
|
@ -0,0 +1,227 @@
|
||||||
|
|
||||||
|
/* RESETS */
|
||||||
|
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||||
|
small, strike, strong, sub, tt, var,b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { /* */
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
outline: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
vertical-align: baseline;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
body { font: 12px Verdana, Geneva, sans-serif; }
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: DroidSansMono;
|
||||||
|
src: url("../fonts/DroidSansMono.eot") /* EOT file for IE */
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: DroidSansMono;
|
||||||
|
src: url("../fonts/DroidSansMono.ttf") /* TTF file for CSS3 browsers */
|
||||||
|
}
|
||||||
|
|
||||||
|
p, ul, ol, li { font: 10pt Verdana, Geneva, sans-serif; }
|
||||||
|
h1 { font: bold 15pt IntervalLight, sans-serif; }
|
||||||
|
h2 { font: bold 14pt IntervalLight, sans-serif; }
|
||||||
|
|
||||||
|
h1, h2, h3 { color: #444;}
|
||||||
|
h4, h5, h6 { color: #444;}
|
||||||
|
h3, h4, h5, h6 {padding:10px 0px 2px 4px;}
|
||||||
|
|
||||||
|
.book h1, .chapter h2, .section h2 {
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 18px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
border-bottom: 1px #CCC solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 11px;
|
||||||
|
line-height: 15px;
|
||||||
|
color: #444;
|
||||||
|
/*width: 100%; Removing width so it's not fixed or floated */
|
||||||
|
padding: 0px 10px 10px 5px; /* changed padding-right from 5 to 10 and padding-left from 10px to 5px */
|
||||||
|
*padding: 5px 5px 10px 0px; /* IE7 hack */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page layout */
|
||||||
|
div#content
|
||||||
|
{
|
||||||
|
padding: 1em 2em 1em 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navfooter
|
||||||
|
{
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navfooter table td
|
||||||
|
{
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mediaobject img
|
||||||
|
{
|
||||||
|
margin: 0.5em 0.5em 0.5em 0.5em;
|
||||||
|
vertical-align: middle;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mediaobject img[align="left"]
|
||||||
|
{
|
||||||
|
margin-right: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.informalfigure { margin: 6px; }
|
||||||
|
|
||||||
|
/* "Layout" tables should not have borders */
|
||||||
|
#content table, #content table td { border: none; }
|
||||||
|
|
||||||
|
/* Generic tables */
|
||||||
|
#content .table table th, #content .informaltable table th { background-color: #585858 }
|
||||||
|
#content .table table, #content .informaltable table
|
||||||
|
{
|
||||||
|
border-collapse:collapse;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .table tr:nth-child(odd), #content .informaltable tr:nth-child(odd)
|
||||||
|
{
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
}
|
||||||
|
#content .table tr:nth-child(even), #content .informaltable tr:nth-child(even)
|
||||||
|
{
|
||||||
|
background-color: #d9d9d9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .table table td, #content .informaltable table td,
|
||||||
|
#content .table table th, #content .informaltable table th
|
||||||
|
{
|
||||||
|
border: 1px solid #A7A9AB;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content .footnotes tr td
|
||||||
|
{
|
||||||
|
background-color:white;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Admonitions */
|
||||||
|
div.note, div.caution, div.important, div.tip, div.warning
|
||||||
|
{
|
||||||
|
border: solid 1px #AAA;
|
||||||
|
background: #ededed;
|
||||||
|
padding: 0.5em 1em 0.5em 1em;
|
||||||
|
margin: 1em 0em 1em 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.note *, div.caution *, div.important *, div.tip *, div.warning * {
|
||||||
|
background: inherit !important;
|
||||||
|
color: inherit !important;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Program listing */
|
||||||
|
.programlisting
|
||||||
|
{
|
||||||
|
/*width: auto;*/
|
||||||
|
border: solid 1px #AAA;
|
||||||
|
background: #ededed;
|
||||||
|
padding: 1em;
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
overflow:hidden;
|
||||||
|
font-family: DroidSansMono, Consolas
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Lists */
|
||||||
|
ul
|
||||||
|
{
|
||||||
|
list-style: square outside;
|
||||||
|
margin: 0 0 0 1em;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
}
|
||||||
|
ul.square
|
||||||
|
{
|
||||||
|
list-style: square outside;
|
||||||
|
margin: 0 0 0 1em;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
}
|
||||||
|
ul.circle, ul[type=disk]
|
||||||
|
{
|
||||||
|
list-style: disc outside;
|
||||||
|
margin: 0 0 0 1em;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
}
|
||||||
|
ol
|
||||||
|
{
|
||||||
|
list-style-type: decimal;
|
||||||
|
list-style: decimal;
|
||||||
|
margin: 0 0 0 2.8em;
|
||||||
|
padding: 0 0 1em 0;
|
||||||
|
}
|
||||||
|
li
|
||||||
|
{
|
||||||
|
padding-bottom: .3em;
|
||||||
|
/*list-style: square;*/
|
||||||
|
}
|
||||||
|
li p
|
||||||
|
{
|
||||||
|
margin: 0 0 .25em 0;
|
||||||
|
padding: 0 0 0 0;
|
||||||
|
}
|
||||||
|
ul ul.circle
|
||||||
|
{
|
||||||
|
margin-top: .3em;
|
||||||
|
}
|
||||||
|
ul ul.square
|
||||||
|
{
|
||||||
|
margin-top: .3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul, ol { margin-left: 3em; }
|
||||||
|
/*
|
||||||
|
dl dt { padding: 0px 10px 0px 5px;}
|
||||||
|
*/
|
||||||
|
div.orderedlist-collapsed
|
||||||
|
{
|
||||||
|
margin: 1em 0 0 1em;
|
||||||
|
padding: 0 0 1em 0;
|
||||||
|
font-size:smaller;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.orderedlist-collapsed span.listitem
|
||||||
|
{
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.variablelist dt
|
||||||
|
{
|
||||||
|
font-weight: bold;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
dl.toc
|
||||||
|
{
|
||||||
|
margin-left: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.guibutton, .guimenu, .guimenuitem, .guisubmenu
|
||||||
|
{
|
||||||
|
font-family: Arial, Verdana, Geneva, sans-serif;
|
||||||
|
color: black;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.disclaimer
|
||||||
|
{
|
||||||
|
font-size: 6pt;
|
||||||
|
}
|
|
@ -0,0 +1,154 @@
|
||||||
|
/*
|
||||||
|
Variable Grid System (Fluid Version).
|
||||||
|
Learn more ~ http://www.spry-soft.com/grids/
|
||||||
|
Based on 960 Grid System - http://960.gs/ & 960 Fluid - http://www.designinfluences.com/
|
||||||
|
|
||||||
|
Licensed under GPL and MIT.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Containers
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
.container_3 {
|
||||||
|
width: 92%;
|
||||||
|
margin-left: 4%;
|
||||||
|
margin-right: 4%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grid >> Global
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
.grid_1,
|
||||||
|
.grid_2,
|
||||||
|
.grid_3 {
|
||||||
|
display:inline;
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
margin-left: 1%;
|
||||||
|
margin-right: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grid >> Children (Alpha ~ First, Omega ~ Last)
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
.alpha {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.omega {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grid >> 3 Columns
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
.container_3 .grid_1 {
|
||||||
|
width:31.333%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .grid_2 {
|
||||||
|
width:64.667%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .grid_3 {
|
||||||
|
width:98.0%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Prefix Extra Space >> 3 Columns
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
.container_3 .prefix_1 {
|
||||||
|
padding-left:33.333%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .prefix_2 {
|
||||||
|
padding-left:66.667%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Suffix Extra Space >> 3 Columns
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
.container_3 .suffix_1 {
|
||||||
|
padding-right:33.333%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .suffix_2 {
|
||||||
|
padding-right:66.667%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Push Space >> 3 Columns
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
.container_3 .push_1 {
|
||||||
|
left:33.333%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .push_2 {
|
||||||
|
left:66.667%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Pull Space >> 3 Columns
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
.container_3 .pull_1 {
|
||||||
|
left:-33.333%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container_3 .pull_2 {
|
||||||
|
left:-66.667%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Clear Floated Elements
|
||||||
|
----------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/* http://sonspring.com/journal/clearing-floats */
|
||||||
|
|
||||||
|
.clear {
|
||||||
|
clear: both;
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
|
||||||
|
|
||||||
|
.clearfix:after {
|
||||||
|
clear: both;
|
||||||
|
content: ' ';
|
||||||
|
display: block;
|
||||||
|
font-size: 0;
|
||||||
|
line-height: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clearfix {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html .clearfix {
|
||||||
|
height: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clearfix {
|
||||||
|
display: block;
|
||||||
|
}
|
|
@ -0,0 +1,59 @@
|
||||||
|
body {
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: Verdana, Geneva, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
padding: 31px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.group
|
||||||
|
{
|
||||||
|
/*background-color: pink;*/
|
||||||
|
width:966px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.group_header {
|
||||||
|
color: #0066CB;
|
||||||
|
font: bold 14pt IntervalLight, sans-serif;
|
||||||
|
text-decoration: none;
|
||||||
|
padding: 8px;
|
||||||
|
background-color: #EEEEEE;
|
||||||
|
margin-top: 24px;
|
||||||
|
/*margin-bottom: 8px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.products
|
||||||
|
{
|
||||||
|
float:left;
|
||||||
|
/*background:#FFF8F8;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.product {
|
||||||
|
/*background: url("../images/panelbg.png") 0 0 no-repeat;*/
|
||||||
|
width: 300px;
|
||||||
|
height: 130px;
|
||||||
|
/*margin-left: 20px;*/
|
||||||
|
padding: 10px;
|
||||||
|
border: 1px solid #EEEEEE;
|
||||||
|
display:block;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.product span {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #0066CB;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
clear:both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.product img
|
||||||
|
{
|
||||||
|
margin-right:12px;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,493 @@
|
||||||
|
tr th .added { color: #E6E6FA; }
|
||||||
|
tr th .changed {color: #99ff99; }
|
||||||
|
div.added tr, div.added { background-color: #E6E6FA; }
|
||||||
|
div.deleted tr, div.deleted { text-decoration: line-through;
|
||||||
|
background-color: #FF7F7F; }
|
||||||
|
div.changed tr, div.changed { background-color: #99ff99; }
|
||||||
|
div.off { }
|
||||||
|
|
||||||
|
span.added { background-color: #E6E6FA; }
|
||||||
|
span.deleted { text-decoration: line-through;
|
||||||
|
background-color: #FF7F7F; }
|
||||||
|
span.changed { background-color: #99ff99; }
|
||||||
|
span.off { }
|
||||||
|
|
||||||
|
|
||||||
|
body { font: 12px Verdana, Geneva, sans-serif; }
|
||||||
|
p, ul, ol, li { font: 10pt Verdana, Geneva, sans-serif; }
|
||||||
|
h1 { font: 15pt Arial, Helvetica, geneva;
|
||||||
|
color: black!important;
|
||||||
|
}
|
||||||
|
h2 { font: normal 12pt Arial, Helvetica, geneva; }
|
||||||
|
|
||||||
|
#header {
|
||||||
|
background: white;
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
height: 99px;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: auto;
|
||||||
|
left: 0;
|
||||||
|
border-bottom: 1px solid #bbc4c5;
|
||||||
|
z-index: 2000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header h1 {
|
||||||
|
margin-left: 310px;
|
||||||
|
position: fixed;
|
||||||
|
top: 20px;
|
||||||
|
left: -15px;
|
||||||
|
color: #404040 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#header h1 {
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
p.breadcrumbs {
|
||||||
|
margin-top: 30px;
|
||||||
|
margin-left: 310px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header img {
|
||||||
|
float: left;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header p.breadcrumbs a {
|
||||||
|
color: #bbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
#leftnavigation {
|
||||||
|
overflow: auto;
|
||||||
|
position: fixed;
|
||||||
|
height: auto;
|
||||||
|
top:100px;
|
||||||
|
/*right:10px;*/
|
||||||
|
/*left:10px;*/
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width:inherit;
|
||||||
|
z-index: 1500;
|
||||||
|
border-right:2px solid #bbc4c5;
|
||||||
|
padding:1px;
|
||||||
|
background-color: #ededed!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#treeDiv {
|
||||||
|
overflow: auto;
|
||||||
|
/* position: fixed;*/
|
||||||
|
height: auto;
|
||||||
|
top: 136px;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
/* width: 18%;*/
|
||||||
|
z-index: 1500;
|
||||||
|
/* border-right:2px solid #CCCCCC;
|
||||||
|
background-color: #f0f0f0!important;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/*#searchDiv {
|
||||||
|
overflow: auto;
|
||||||
|
position: fixed;
|
||||||
|
height: auto;
|
||||||
|
top: 138px;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 243px;
|
||||||
|
z-index: 1500;
|
||||||
|
border-right:2px solid #CCCCCC;
|
||||||
|
background-color: #f0f0f0!important;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
#content {
|
||||||
|
position: relative;
|
||||||
|
top: 90px; /*left: 240px;*/
|
||||||
|
right: auto; bottom: 20px;
|
||||||
|
/*margin: 0px 0px 0px 280px;*/
|
||||||
|
width: auto;
|
||||||
|
height: inherit;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 30px;
|
||||||
|
border-left: 1px solid #cccccc;
|
||||||
|
overflow :scroll;
|
||||||
|
overflow-x:auto;
|
||||||
|
z-index: 1000;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#navheader {
|
||||||
|
position: fixed;
|
||||||
|
background: #DCDCDC;
|
||||||
|
padding-left: 10px;
|
||||||
|
right: 0px;
|
||||||
|
top: 10px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content h1, #content h2 {
|
||||||
|
color: #404040 !important;
|
||||||
|
font-size: 170%;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.navfooter { bottom: 2%; }
|
||||||
|
.highlight { background-color: #c5d3c3; }
|
||||||
|
.highlightButton{ font-size: 0; }
|
||||||
|
|
||||||
|
/* Show Hide TOC tree */
|
||||||
|
.pointLeft {
|
||||||
|
padding-right: 15px;
|
||||||
|
display: block;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.pointRight {
|
||||||
|
padding-right: 15px;
|
||||||
|
display: block;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Search results Styling */
|
||||||
|
.searchExpression {
|
||||||
|
color: #0050A0;
|
||||||
|
background-color: #EBEFF8;
|
||||||
|
font-size: 12pt;
|
||||||
|
}
|
||||||
|
.searchresult li a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0050A0;
|
||||||
|
}
|
||||||
|
.searchresult li { color: #0050A0; }
|
||||||
|
.shortdesclink { color: gray; font-size: 9pt; }
|
||||||
|
.searchText { float:left;width:150px; }
|
||||||
|
.searchButton {
|
||||||
|
padding: 2px 12px 2px 12px;
|
||||||
|
background-color:#bbb;
|
||||||
|
border:#bbb solid 1pt;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 10pt
|
||||||
|
}
|
||||||
|
.searchButton:hover{
|
||||||
|
background-color: #cccccc;
|
||||||
|
}
|
||||||
|
.searchFieldSet {}
|
||||||
|
|
||||||
|
.title, div.toc>p{ font-weight: bold; }
|
||||||
|
|
||||||
|
p.breadcrumbs {
|
||||||
|
display: inline;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 33px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.breadcrumbs a {
|
||||||
|
padding-right: 12px;
|
||||||
|
margin-right: 5px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #575757;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.breadcrumbs a:first-child {background: url(../images/breadcrumb-arrow-white.png) no-repeat right center;}
|
||||||
|
|
||||||
|
p.breadcrumbs a:hover {text-decoration: underline;}
|
||||||
|
|
||||||
|
#star ul.star {
|
||||||
|
LIST-STYLE: none;
|
||||||
|
MARGIN: 0;
|
||||||
|
PADDING: 0;
|
||||||
|
WIDTH: 85px;
|
||||||
|
/* was 100 */
|
||||||
|
HEIGHT: 20px;
|
||||||
|
LEFT: 1px;
|
||||||
|
TOP: -5px;
|
||||||
|
POSITION: relative;
|
||||||
|
FLOAT: right;
|
||||||
|
BACKGROUND: url('../images/starsSmall.png') repeat-x 0 -25px;
|
||||||
|
}
|
||||||
|
#star li {
|
||||||
|
PADDING: 0;
|
||||||
|
MARGIN: 0;
|
||||||
|
FLOAT: right;
|
||||||
|
DISPLAY: block;
|
||||||
|
WIDTH: 85px;
|
||||||
|
/* was 100 */
|
||||||
|
HEIGHT: 20px;
|
||||||
|
TEXT-DECORATION: none;
|
||||||
|
text-indent: -9000px;
|
||||||
|
Z-INDEX: 20;
|
||||||
|
POSITION: absolute;
|
||||||
|
PADDING: 0;
|
||||||
|
}
|
||||||
|
#star li.curr {
|
||||||
|
BACKGROUND: url('../images/starsSmall.png') left 25px;
|
||||||
|
FONT-SIZE: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.navLinks {margin-right: 20px;}
|
||||||
|
|
||||||
|
table.navLinks td a {
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: black;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.navLinkPrevious {
|
||||||
|
padding-left: 12px;
|
||||||
|
background: url(../images/previous-arrow.png) no-repeat left center;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.navLinkNext {
|
||||||
|
padding-right: 12px;
|
||||||
|
background: url(../images/next-arrow.png) no-repeat right center;
|
||||||
|
}
|
||||||
|
|
||||||
|
a#showHideButton {
|
||||||
|
padding-left: 20px;
|
||||||
|
background: url(../images/sidebar.png) no-repeat left center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.filetree li span a { color: #777; }
|
||||||
|
|
||||||
|
#treediv { -webkit-box-shadow: #CCC 0px 1px 2px 0px inset; }
|
||||||
|
|
||||||
|
.legal, .legal *{
|
||||||
|
color: #555;
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.internal { color : #0000CC;}
|
||||||
|
|
||||||
|
.writeronly {color : red;}
|
||||||
|
|
||||||
|
.remark, .remark .added, .remark .changed, .remark .deleted{ background: yellow;}
|
||||||
|
|
||||||
|
tr th, tr th .internal, tr th .added, tr th .changed {
|
||||||
|
background: #00589E;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.statustext{
|
||||||
|
position:fixed;
|
||||||
|
top:105px;
|
||||||
|
width: 0%;
|
||||||
|
height: 0%;
|
||||||
|
opacity: .3;
|
||||||
|
-webkit-transform: rotate(90deg);
|
||||||
|
-moz-transform: rotate(90deg);
|
||||||
|
-o-transform: rotate(90deg);
|
||||||
|
white-space: nowrap;
|
||||||
|
color: red;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 2em;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#toolbar {
|
||||||
|
width: 100%;
|
||||||
|
height: 33px;
|
||||||
|
position: fixed;
|
||||||
|
top: 93px;
|
||||||
|
z-index: 99;
|
||||||
|
left: 280px;
|
||||||
|
color: #333;
|
||||||
|
line-height: 28px;
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#toolbar-left {
|
||||||
|
position: relative;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body p.breadcrumbs {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*body #content {
|
||||||
|
position: static;
|
||||||
|
margin-top: 126px;
|
||||||
|
top: 0px;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
body.sidebar #toolbar{left: 0px;}
|
||||||
|
|
||||||
|
body.sidebar #toolbar-left{left: 0px;}
|
||||||
|
|
||||||
|
div#toolbar-left img {vertical-align: text-top;}
|
||||||
|
|
||||||
|
div.note *, div.caution *, div.important *, div.tip *, div.warning * {
|
||||||
|
background: inherit !important;
|
||||||
|
color: inherit !important;
|
||||||
|
border: inherit /*!important*/;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content table thead, #content table th, #content table th p{
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content table caption{font-weight: bold;}
|
||||||
|
|
||||||
|
#content table td, #content table {border: 1px solid black;}
|
||||||
|
|
||||||
|
#content table td, #content table th { padding: 5px;}
|
||||||
|
|
||||||
|
#content table {margin-bottom: 20px;}
|
||||||
|
|
||||||
|
*[align = 'center']{ text-align: center;}
|
||||||
|
|
||||||
|
#content .qandaset>table, #content .qandaset>table td, #content .calloutlist table, #content .calloutlist table td, #content .navfooter table, #content .navfooter table td {
|
||||||
|
border: 0px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar
|
||||||
|
{
|
||||||
|
position: fixed;
|
||||||
|
margin: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: auto;
|
||||||
|
top: 99px;
|
||||||
|
bottom: 0px;
|
||||||
|
height: 543px;
|
||||||
|
z-index: 0;
|
||||||
|
display: block;
|
||||||
|
visibility: visible;
|
||||||
|
width: 280px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
body * {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content, #content * {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar, .navfooter {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders dt {
|
||||||
|
padding-bottom: 4px;
|
||||||
|
border-bottom: 2px solid #cccccc;
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
background: url(../images/plus.png) 0px 7px no-repeat;
|
||||||
|
/*background: pink;*/
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders dt h2 {
|
||||||
|
font: bold 14pt IntervalLight, sans-serif;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #0066CB;
|
||||||
|
/*background-position: -16px 0;*/
|
||||||
|
padding-left: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders dt.plus {
|
||||||
|
background: url(../images/plus.png) 0px 7px no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders dt.minus {
|
||||||
|
background: url(../images/minus.png) 0px 7px no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#expanders dd {
|
||||||
|
display: none;
|
||||||
|
margin-bottom: 3em;
|
||||||
|
/*background: yellow;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders .hitarea {
|
||||||
|
background: url(../images/ui-icons_217bc0_256x240.png) 0 -208px no-repeat;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
float: left;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
/* fix for IE6 */
|
||||||
|
/** html .hitarea {
|
||||||
|
display: inline;
|
||||||
|
float:none;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#expanders .prod
|
||||||
|
{
|
||||||
|
width: 300px;
|
||||||
|
border: #DDD solid 1px;
|
||||||
|
float: left;
|
||||||
|
margin: 1px;
|
||||||
|
height: 160px;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders .prodimg
|
||||||
|
{
|
||||||
|
/*border: #DDD solid 1px;*/
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prodimg img {
|
||||||
|
display: block;
|
||||||
|
margin-left: 3px;
|
||||||
|
margin-top: auto;
|
||||||
|
margin-bottom: auto;
|
||||||
|
width: 100px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders .prodtext
|
||||||
|
{
|
||||||
|
/*background: #F8F8F8;*/
|
||||||
|
width: 165px;
|
||||||
|
float: left;
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders .prod p {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#expanders li {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.external {
|
||||||
|
background: url("../images/external_link.gif") no-repeat scroll right top transparent;
|
||||||
|
padding: 0 13px 0 0;
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
body {
|
||||||
|
color : #000000 !important;
|
||||||
|
background : #ffffff !important;
|
||||||
|
font-family : "Times New Roman", Times, serif !important;
|
||||||
|
font-size : 12pt !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar, #sidebar-resizer, #header-resizer, #header { display: none !important;}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
position: absolute !important;
|
||||||
|
margin: 0px !important;
|
||||||
|
left: 0px !important;
|
||||||
|
right: auto !important;
|
||||||
|
top: 0px !important;
|
||||||
|
height: auto !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
overflow-x: visible !important;
|
||||||
|
border-left: 0px solid #000000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui-layout-container {
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mediaobject {
|
||||||
|
text-align: left !important;
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,font,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,main,mark,menu,meter,nav,object,ol,output,p,pre,progress,q,rp,rt,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video,xmp{border:0;margin:0;padding:0;font-size:100%}html,body{height:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}b,strong{font-weight:bold}img{color:transparent;font-size:0;vertical-align:middle;-ms-interpolation-mode:bicubic}ol,ul{list-style:none}li{display:list-item}table{border-collapse:collapse;border-spacing:0}th,td,caption{font-weight:normal;vertical-align:top;text-align:left}q{quotes:none}q:before,q:after{content:'';content:none}sub,sup,small{font-size:75%}sub,sup{line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}svg{overflow:hidden}
|
|
@ -0,0 +1 @@
|
||||||
|
body{font:13px/1.5 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif}pre,code{font-family:'DejaVu Sans Mono',Menlo,Consolas,monospace}hr{border:0 solid #ccc;border-top-width:1px;clear:both;height:0}h1{font-size:25px}h2{font-size:23px}h3{font-size:21px}h4{font-size:19px}h5{font-size:17px}h6{font-size:15px}ol{list-style:decimal}ul{list-style:disc}li{margin-left:30px}p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset,figure{margin-bottom:20px}
|
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 703 B |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 798 B |
After Width: | Height: | Size: 98 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 156 B |
After Width: | Height: | Size: 199 B |
After Width: | Height: | Size: 164 B |
After Width: | Height: | Size: 198 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
|
@ -0,0 +1,93 @@
|
||||||
|
/**
|
||||||
|
* Cookie plugin
|
||||||
|
*
|
||||||
|
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
|
||||||
|
* Dual licensed under the MIT and GPL licenses:
|
||||||
|
* http://www.opensource.org/licenses/mit-license.php
|
||||||
|
* http://www.gnu.org/licenses/gpl.html
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a cookie with the given name and value and other optional parameters.
|
||||||
|
*
|
||||||
|
* @example $.cookie('the_cookie', 'the_value');
|
||||||
|
* @desc Set the value of a cookie.
|
||||||
|
* @example $.cookie('the_cookie', 'the_value', {expires: 7, path: '/', domain: 'jquery.com', secure: true});
|
||||||
|
* @desc Create a cookie with all available options.
|
||||||
|
* @example $.cookie('the_cookie', 'the_value');
|
||||||
|
* @desc Create a session cookie.
|
||||||
|
* @example $.cookie('the_cookie', null);
|
||||||
|
* @desc Delete a cookie by passing null as value.
|
||||||
|
*
|
||||||
|
* @param String name The name of the cookie.
|
||||||
|
* @param String value The value of the cookie.
|
||||||
|
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
|
||||||
|
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
|
||||||
|
* If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
|
||||||
|
* If set to null or omitted, the cookie will be a session cookie and will not be retained
|
||||||
|
* when the the browser exits.
|
||||||
|
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
|
||||||
|
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
|
||||||
|
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
|
||||||
|
* require a secure protocol (like HTTPS).
|
||||||
|
* @type undefined
|
||||||
|
*
|
||||||
|
* @name $.cookie
|
||||||
|
* @cat Plugins/Cookie
|
||||||
|
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the value of a cookie with the given name.
|
||||||
|
*
|
||||||
|
* @example $.cookie('the_cookie');
|
||||||
|
* @desc Get the value of a cookie.
|
||||||
|
*
|
||||||
|
* @param String name The name of the cookie.
|
||||||
|
* @return The value of the cookie.
|
||||||
|
* @type String
|
||||||
|
*
|
||||||
|
* @name $.cookie
|
||||||
|
* @cat Plugins/Cookie
|
||||||
|
* @author Klaus Hartl/klaus.hartl@stilbuero.de
|
||||||
|
*/
|
||||||
|
jQuery.cookie = function(name, value, options) {
|
||||||
|
if (typeof value != 'undefined') { // name and value given, set cookie
|
||||||
|
options = options || {};
|
||||||
|
if (value === null) {
|
||||||
|
value = '';
|
||||||
|
options.expires = -1;
|
||||||
|
}
|
||||||
|
var expires = '';
|
||||||
|
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
||||||
|
var date;
|
||||||
|
if (typeof options.expires == 'number') {
|
||||||
|
date = new Date();
|
||||||
|
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
|
||||||
|
} else {
|
||||||
|
date = options.expires;
|
||||||
|
}
|
||||||
|
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
|
||||||
|
}
|
||||||
|
var path = options.path ? '; path=' + options.path : '';
|
||||||
|
var domain = options.domain ? '; domain=' + options.domain : '';
|
||||||
|
var secure = options.secure ? '; secure' : '';
|
||||||
|
document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
|
||||||
|
|
||||||
|
} else { // only name given, get cookie
|
||||||
|
var cookieValue = null;
|
||||||
|
if (document.cookie && document.cookie != '') {
|
||||||
|
var cookies = document.cookie.split(';');
|
||||||
|
for (var i = 0; i < cookies.length; i++) {
|
||||||
|
var cookie = jQuery.trim(cookies[i]);
|
||||||
|
// Does this cookie string begin with the name we want?
|
||||||
|
if (cookie.substring(0, name.length + 1) == (name + '=')) {
|
||||||
|
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return cookieValue;
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,418 @@
|
||||||
|
/*!
|
||||||
|
* jQuery UI 1.8.18
|
||||||
|
*
|
||||||
|
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||||
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* http://docs.jquery.com/UI
|
||||||
|
*/
|
||||||
|
(function(b,a){function c(c,a){var e=c.nodeName.toLowerCase();if("area"===e){var e=c.parentNode,f=e.name;if(!c.href||!f||"map"!==e.nodeName.toLowerCase())return!1;e=b("img[usemap=#"+f+"]")[0];return!!e&&d(e)}return(/input|select|textarea|button|object/.test(e)?!c.disabled:"a"==e?c.href||a:a)&&d(c)}function d(c){return!b(c).parents().andSelf().filter(function(){return"hidden"===b.curCSS(this,"visibility")||b.expr.filters.hidden(this)}).length}b.ui=b.ui||{};b.ui.version||(b.extend(b.ui,{version:"1.8.14",
|
||||||
|
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),b.fn.extend({_focus:b.fn.focus,focus:function(c,a){return"number"===typeof c?this.each(function(){var d=this;setTimeout(function(){b(d).focus();
|
||||||
|
a&&a.call(d)},c)}):this._focus.apply(this,arguments)},scrollParent:function(){var c;c=b.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(b.curCSS(this,"position",1))&&/(auto|scroll)/.test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(b.curCSS(this,"overflow",1)+b.curCSS(this,
|
||||||
|
"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!c.length?b(document):c},zIndex:function(c){if(c!==a)return this.css("zIndex",c);if(this.length)for(var c=b(this[0]),d;c.length&&c[0]!==document;){d=c.css("position");if("absolute"===d||"relative"===d||"fixed"===d)if(d=parseInt(c.css("zIndex"),10),!isNaN(d)&&0!==d)return d;c=c.parent()}return 0},disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",
|
||||||
|
function(b){b.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),b.each(["Width","Height"],function(c,d){function e(c,a,d,g){b.each(f,function(){a-=parseFloat(b.curCSS(c,"padding"+this,!0))||0;d&&(a-=parseFloat(b.curCSS(c,"border"+this+"Width",!0))||0);g&&(a-=parseFloat(b.curCSS(c,"margin"+this,!0))||0)});return a}var f="Width"===d?["Left","Right"]:["Top","Bottom"],i=d.toLowerCase(),j={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,
|
||||||
|
outerHeight:b.fn.outerHeight};b.fn["inner"+d]=function(f){return f===a?j["inner"+d].call(this):this.each(function(){b(this).css(i,e(this,f)+"px")})};b.fn["outer"+d]=function(f,c){return"number"!==typeof f?j["outer"+d].call(this,f):this.each(function(){b(this).css(i,e(this,f,!0,c)+"px")})}}),b.extend(b.expr[":"],{data:function(c,a,d){return!!b.data(c,d[3])},focusable:function(a){return c(a,!isNaN(b.attr(a,"tabindex")))},tabbable:function(a){var d=b.attr(a,"tabindex"),e=isNaN(d);return(e||0<=d)&&c(a,
|
||||||
|
!e)}}),b(function(){var c=document.body,a=c.appendChild(a=document.createElement("div"));b.extend(a.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});b.support.minHeight=100===a.offsetHeight;b.support.selectstart="onselectstart"in a;c.removeChild(a).style.display="none"}),b.extend(b.ui,{plugin:{add:function(c,a,d){var c=b.ui[c].prototype,f;for(f in d)c.plugins[f]=c.plugins[f]||[],c.plugins[f].push([a,d[f]])},call:function(b,c,a){if((c=b.plugins[c])&&b.element[0].parentNode)for(var f=
|
||||||
|
0;f<c.length;f++)b.options[c[f][0]]&&c[f][1].apply(b.element,a)}},contains:function(b,c){return document.compareDocumentPosition?b.compareDocumentPosition(c)&16:b!==c&&b.contains(c)},hasScroll:function(c,a){if("hidden"===b(c).css("overflow"))return!1;var d=a&&"left"===a?"scrollLeft":"scrollTop",f=!1;if(0<c[d])return!0;c[d]=1;f=0<c[d];c[d]=0;return f},isOverAxis:function(b,c,a){return b>c&&b<c+a},isOver:function(c,a,d,f,i,j){return b.ui.isOverAxis(c,d,i)&&b.ui.isOverAxis(a,f,j)}}))})(jQuery);
|
||||||
|
(function(b,a){if(b.cleanData){var c=b.cleanData;b.cleanData=function(a){for(var d=0,e;null!=(e=a[d]);d++)b(e).triggerHandler("remove");c(a)}}else{var d=b.fn.remove;b.fn.remove=function(c,a){return this.each(function(){a||(!c||b.filter(c,[this]).length)&&b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return d.call(b(this),c,a)})}}b.widget=function(c,a,d){var f=c.split(".")[0],i,c=c.split(".")[1];i=f+"-"+c;d||(d=a,a=b.Widget);b.expr[":"][i]=function(f){return!!b.data(f,
|
||||||
|
c)};b[f]=b[f]||{};b[f][c]=function(b,f){arguments.length&&this._createWidget(b,f)};a=new a;a.options=b.extend(!0,{},a.options);b[f][c].prototype=b.extend(!0,a,{namespace:f,widgetName:c,widgetEventPrefix:b[f][c].prototype.widgetEventPrefix||c,widgetBaseClass:i},d);b.widget.bridge(c,b[f][c])};b.widget.bridge=function(c,d){b.fn[c]=function(e){var f="string"===typeof e,i=Array.prototype.slice.call(arguments,1),j=this,e=!f&&i.length?b.extend.apply(null,[!0,e].concat(i)):e;if(f&&"_"===e.charAt(0))return j;
|
||||||
|
f?this.each(function(){var f=b.data(this,c),d=f&&b.isFunction(f[e])?f[e].apply(f,i):f;if(d!==f&&d!==a)return j=d,!1}):this.each(function(){var f=b.data(this,c);f?f.option(e||{})._init():b.data(this,c,new d(e,this))});return j}};b.Widget=function(b,c){arguments.length&&this._createWidget(b,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(c,a){b.data(a,this.widgetName,this);this.element=b(a);this.options=b.extend(!0,{},this.options,this._getCreateOptions(),
|
||||||
|
c);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},
|
||||||
|
option:function(c,d){var e=c;if(0===arguments.length)return b.extend({},this.options);if("string"===typeof c){if(d===a)return this.options[c];e={};e[c]=d}this._setOptions(e);return this},_setOptions:function(c){var a=this;b.each(c,function(b,f){a._setOption(b,f)});return this},_setOption:function(b,c){this.options[b]=c;"disabled"===b&&this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},enable:function(){return this._setOption("disabled",
|
||||||
|
!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(c,a,d){var f=this.options[c],a=b.Event(a);a.type=(c===this.widgetEventPrefix?c:this.widgetEventPrefix+c).toLowerCase();d=d||{};if(a.originalEvent)for(var c=b.event.props.length,i;c;)i=b.event.props[--c],a[i]=a.originalEvent[i];this.element.trigger(a,d);return!(b.isFunction(f)&&!1===f.call(this.element[0],a,d)||a.isDefaultPrevented())}}})(jQuery);
|
||||||
|
(function(b){var a=!1;b(document).mousedown(function(){a=!1});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var c=this;this.element.bind("mousedown."+this.widgetName,function(b){return c._mouseDown(b)}).bind("click."+this.widgetName,function(a){if(!0===b.data(a.target,c.widgetName+".preventClickEvent"))return b.removeData(a.target,c.widgetName+".preventClickEvent"),a.stopImmediatePropagation(),!1});this.started=!1},_mouseDestroy:function(){this.element.unbind("."+
|
||||||
|
this.widgetName)},_mouseDown:function(c){if(!a){this._mouseStarted&&this._mouseUp(c);this._mouseDownEvent=c;var d=this,g=1==c.which,h="string"==typeof this.options.cancel?b(c.target).closest(this.options.cancel).length:!1;if(!g||h||!this._mouseCapture(c))return!0;this.mouseDelayMet=!this.options.delay;this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&(this._mouseStarted=!1!==this._mouseStart(c),
|
||||||
|
!this._mouseStarted))return c.preventDefault(),!0;!0===b.data(c.target,this.widgetName+".preventClickEvent")&&b.removeData(c.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(b){return d._mouseMove(b)};this._mouseUpDelegate=function(b){return d._mouseUp(b)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);c.preventDefault();return a=!0}},_mouseMove:function(c){if(b.browser.msie&&!(9<=document.documentMode)&&
|
||||||
|
!c.button)return this._mouseUp(c);if(this._mouseStarted)return this._mouseDrag(c),c.preventDefault();this._mouseDistanceMet(c)&&this._mouseDelayMet(c)&&((this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,c))?this._mouseDrag(c):this._mouseUp(c));return!this._mouseStarted},_mouseUp:function(c){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);this._mouseStarted&&(this._mouseStarted=!1,c.target==this._mouseDownEvent.target&&
|
||||||
|
b.data(c.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(c));return!1},_mouseDistanceMet:function(b){return Math.max(Math.abs(this._mouseDownEvent.pageX-b.pageX),Math.abs(this._mouseDownEvent.pageY-b.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);
|
||||||
|
(function(b){b.ui=b.ui||{};var a=/left|center|right/,c=/top|center|bottom/,d=b.fn.position,g=b.fn.offset;b.fn.position=function(g){if(!g||!g.of)return d.apply(this,arguments);var g=b.extend({},g),e=b(g.of),f=e[0],i=(g.collision||"flip").split(" "),j=g.offset?g.offset.split(" "):[0,0],k,l,m;9===f.nodeType?(k=e.width(),l=e.height(),m={top:0,left:0}):f.setTimeout?(k=e.width(),l=e.height(),m={top:e.scrollTop(),left:e.scrollLeft()}):f.preventDefault?(g.at="left top",k=l=0,m={top:g.of.pageY,left:g.of.pageX}):
|
||||||
|
(k=e.outerWidth(),l=e.outerHeight(),m=e.offset());b.each(["my","at"],function(){var b=(g[this]||"").split(" ");b.length===1&&(b=a.test(b[0])?b.concat(["center"]):c.test(b[0])?["center"].concat(b):["center","center"]);b[0]=a.test(b[0])?b[0]:"center";b[1]=c.test(b[1])?b[1]:"center";g[this]=b});1===i.length&&(i[1]=i[0]);j[0]=parseInt(j[0],10)||0;1===j.length&&(j[1]=j[0]);j[1]=parseInt(j[1],10)||0;"right"===g.at[0]?m.left+=k:"center"===g.at[0]&&(m.left+=k/2);"bottom"===g.at[1]?m.top+=l:"center"===g.at[1]&&
|
||||||
|
(m.top+=l/2);m.left+=j[0];m.top+=j[1];return this.each(function(){var f=b(this),c=f.outerWidth(),a=f.outerHeight(),d=parseInt(b.curCSS(this,"marginLeft",true))||0,e=parseInt(b.curCSS(this,"marginTop",true))||0,r=c+d+(parseInt(b.curCSS(this,"marginRight",true))||0),u=a+e+(parseInt(b.curCSS(this,"marginBottom",true))||0),s=b.extend({},m),v;if(g.my[0]==="right")s.left=s.left-c;else if(g.my[0]==="center")s.left=s.left-c/2;if(g.my[1]==="bottom")s.top=s.top-a;else if(g.my[1]==="center")s.top=s.top-a/2;
|
||||||
|
s.left=Math.round(s.left);s.top=Math.round(s.top);v={left:s.left-d,top:s.top-e};b.each(["left","top"],function(f,d){if(b.ui.position[i[f]])b.ui.position[i[f]][d](s,{targetWidth:k,targetHeight:l,elemWidth:c,elemHeight:a,collisionPosition:v,collisionWidth:r,collisionHeight:u,offset:j,my:g.my,at:g.at})});b.fn.bgiframe&&f.bgiframe();f.offset(b.extend(s,{using:g.using}))})};b.ui.position={fit:{left:function(c,a){var f=b(window),f=a.collisionPosition.left+a.collisionWidth-f.width()-f.scrollLeft();c.left=
|
||||||
|
0<f?c.left-f:Math.max(c.left-a.collisionPosition.left,c.left)},top:function(c,a){var f=b(window),f=a.collisionPosition.top+a.collisionHeight-f.height()-f.scrollTop();c.top=0<f?c.top-f:Math.max(c.top-a.collisionPosition.top,c.top)}},flip:{left:function(c,a){if("center"!==a.at[0]){var f=b(window),f=a.collisionPosition.left+a.collisionWidth-f.width()-f.scrollLeft(),d="left"===a.my[0]?-a.elemWidth:"right"===a.my[0]?a.elemWidth:0,g="left"===a.at[0]?a.targetWidth:-a.targetWidth,k=-2*a.offset[0];c.left+=
|
||||||
|
0>a.collisionPosition.left?d+g+k:0<f?d+g+k:0}},top:function(c,a){if("center"!==a.at[1]){var f=b(window),f=a.collisionPosition.top+a.collisionHeight-f.height()-f.scrollTop(),d="top"===a.my[1]?-a.elemHeight:"bottom"===a.my[1]?a.elemHeight:0,g="top"===a.at[1]?a.targetHeight:-a.targetHeight,k=-2*a.offset[1];c.top+=0>a.collisionPosition.top?d+g+k:0<f?d+g+k:0}}}};b.offset.setOffset||(b.offset.setOffset=function(c,a){/static/.test(b.curCSS(c,"position"))&&(c.style.position="relative");var f=b(c),d=f.offset(),
|
||||||
|
g=parseInt(b.curCSS(c,"top",!0),10)||0,k=parseInt(b.curCSS(c,"left",!0),10)||0,d={top:a.top-d.top+g,left:a.left-d.left+k};"using"in a?a.using.call(c,d):f.css(d)},b.fn.offset=function(c){var a=this[0];return!a||!a.ownerDocument?null:c?this.each(function(){b.offset.setOffset(this,c)}):g.call(this)})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.draggable",b.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"==this.options.helper&&!/^(?:r|a|f)/.test(this.element.css("position"))&&
|
||||||
|
(this.element[0].style.position="relative");this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable"))return this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this},_mouseCapture:function(a){var c=this.options;if(this.helper||c.disabled||b(a.target).is(".ui-resizable-handle"))return!1;
|
||||||
|
this.handle=this._getHandle(a);if(!this.handle)return!1;b(!0===c.iframeFix?"iframe":c.iframeFix).each(function(){b('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(b(this).offset()).appendTo("body")});return!0},_mouseStart:function(a){var c=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();b.ui.ddmanager&&(b.ui.ddmanager.current=this);
|
||||||
|
this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};b.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=
|
||||||
|
a.pageY;c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt);c.containment&&this._setContainment();if(!1===this._trigger("start",a))return this._clear(),!1;this._cacheHelperProportions();b.ui.ddmanager&&!c.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,!0);b.ui.ddmanager&&b.ui.ddmanager.dragStart(this,a);return!0},_mouseDrag:function(a,c){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");
|
||||||
|
if(!c){var d=this._uiHash();if(!1===this._trigger("drag",a,d))return this._mouseUp({}),!1;this.position=d.position}if(!this.options.axis||"y"!=this.options.axis)this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||"x"!=this.options.axis)this.helper[0].style.top=this.position.top+"px";b.ui.ddmanager&&b.ui.ddmanager.drag(this,a);return!1},_mouseStop:function(a){var c=!1;b.ui.ddmanager&&!this.options.dropBehaviour&&(c=b.ui.ddmanager.drop(this,a));this.dropped&&(c=this.dropped,this.dropped=
|
||||||
|
!1);if((!this.element[0]||!this.element[0].parentNode)&&"original"==this.options.helper)return!1;if("invalid"==this.options.revert&&!c||"valid"==this.options.revert&&c||!0===this.options.revert||b.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var d=this;b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){d._trigger("stop",a)!==false&&d._clear()})}else!1!==this._trigger("stop",a)&&this._clear();return!1},_mouseUp:function(a){!0===
|
||||||
|
this.options.iframeFix&&b("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});b.ui.ddmanager&&b.ui.ddmanager.dragStop(this,a);return b.ui.mouse.prototype._mouseUp.call(this,a)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var c=!this.options.handle||!b(this.options.handle,this.element).length?!0:!1;b(this.options.handle,this.element).find("*").andSelf().each(function(){this==a.target&&(c=
|
||||||
|
!0)});return c},_createHelper:function(a){var c=this.options,a=b.isFunction(c.helper)?b(c.helper.apply(this.element[0],[a])):"clone"==c.helper?this.element.clone().removeAttr("id"):this.element;a.parents("body").length||a.appendTo("parent"==c.appendTo?this.element[0].parentNode:c.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){"string"==typeof a&&(a=a.split(" "));b.isArray(a)&&(a={left:+a[0],top:+a[1]||
|
||||||
|
0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=this.helperProportions.width-a.right+this.margins.left);"top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();"absolute"==this.cssPosition&&(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],
|
||||||
|
this.offsetParent[0]))&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&b.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var b=this.element.position();return{top:b.top-
|
||||||
|
(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),
|
||||||
|
height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;"parent"==a.containment&&(a.containment=this.helper[0].parentNode);if("document"==a.containment||"window"==a.containment)this.containment=["document"==a.containment?0:b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==a.containment?0:b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==a.containment?0:b(window).scrollLeft())+b("document"==a.containment?document:
|
||||||
|
window).width()-this.helperProportions.width-this.margins.left,("document"==a.containment?0:b(window).scrollTop())+(b("document"==a.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var a=b(a.containment),c=a[0];if(c){a.offset();var d="hidden"!=b(c).css("overflow");this.containment=[(parseInt(b(c).css("borderLeftWidth"),10)||0)+(parseInt(b(c).css("paddingLeft"),
|
||||||
|
10)||0),(parseInt(b(c).css("borderTopWidth"),10)||0)+(parseInt(b(c).css("paddingTop"),10)||0),(d?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(b(c).css("borderLeftWidth"),10)||0)-(parseInt(b(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(b(c).css("borderTopWidth"),10)||0)-(parseInt(b(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];
|
||||||
|
this.relative_container=a}}else a.containment.constructor==Array&&(this.containment=a.containment)},_convertPositionTo:function(a,c){c||(c=this.position);var d="absolute"==a?1:-1,g="absolute"==this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=/(html|body)/i.test(g[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?
|
||||||
|
0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():h?0:g.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():h?0:g.scrollLeft())*d)}},_generatePosition:function(a){var c=this.options,d="absolute"==this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,
|
||||||
|
g=/(html|body)/i.test(d[0].tagName),h=a.pageX,e=a.pageY;if(this.originalPosition){var f;this.containment&&(this.relative_container?(f=this.relative_container.offset(),f=[this.containment[0]+f.left,this.containment[1]+f.top,this.containment[2]+f.left,this.containment[3]+f.top]):f=this.containment,a.pageX-this.offset.click.left<f[0]&&(h=f[0]+this.offset.click.left),a.pageY-this.offset.click.top<f[1]&&(e=f[1]+this.offset.click.top),a.pageX-this.offset.click.left>f[2]&&(h=f[2]+this.offset.click.left),
|
||||||
|
a.pageY-this.offset.click.top>f[3]&&(e=f[3]+this.offset.click.top));c.grid&&(e=c.grid[1]?this.originalPageY+Math.round((e-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY,e=f?!(e-this.offset.click.top<f[1]||e-this.offset.click.top>f[3])?e:!(e-this.offset.click.top<f[1])?e-c.grid[1]:e+c.grid[1]:e,h=c.grid[0]?this.originalPageX+Math.round((h-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX,h=f?!(h-this.offset.click.left<f[0]||h-this.offset.click.left>f[2])?h:!(h-this.offset.click.left<
|
||||||
|
f[0])?h-c.grid[0]:h+c.grid[0]:h)}return{top:e-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():g?0:d.scrollTop()),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(b.browser.safari&&526>b.browser.version&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():g?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");
|
||||||
|
this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=!1},_trigger:function(a,c,d){d=d||this._uiHash();b.ui.plugin.call(this,a,[c,d]);"drag"==a&&(this.positionAbs=this._convertPositionTo("absolute"));return b.Widget.prototype._trigger.call(this,a,c,d)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});b.extend(b.ui.draggable,{version:"1.8.14"});
|
||||||
|
b.ui.plugin.add("draggable","connectToSortable",{start:function(a,c){var d=b(this).data("draggable"),g=d.options,h=b.extend({},c,{item:d.element});d.sortables=[];b(g.connectToSortable).each(function(){var c=b.data(this,"sortable");c&&!c.options.disabled&&(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger("activate",a,h))})},stop:function(a,c){var d=b(this).data("draggable"),g=b.extend({},c,{item:d.element});b.each(d.sortables,function(){this.instance.isOver?
|
||||||
|
(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(a),this.instance.options.helper=this.instance.options._helper,"original"==d.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",a,g))})},drag:function(a,c){var d=b(this).data("draggable"),g=this;b.each(d.sortables,function(){this.instance.positionAbs=
|
||||||
|
d.positionAbs;this.instance.helperProportions=d.helperProportions;this.instance.offset.click=d.offset.click;this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=b(g).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},a.target=this.instance.currentItem[0],this.instance._mouseCapture(a,
|
||||||
|
!0),this.instance._mouseStart(a,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger("toSortable",a),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&&this.instance._mouseDrag(a)):this.instance.isOver&&
|
||||||
|
(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",a,this.instance._uiHash(this.instance)),this.instance._mouseStop(a,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),d._trigger("fromSortable",a),d.dropped=!1)})}});b.ui.plugin.add("draggable","cursor",{start:function(){var a=b("body"),c=b(this).data("draggable").options;
|
||||||
|
a.css("cursor")&&(c._cursor=a.css("cursor"));a.css("cursor",c.cursor)},stop:function(){var a=b(this).data("draggable").options;a._cursor&&b("body").css("cursor",a._cursor)}});b.ui.plugin.add("draggable","opacity",{start:function(a,c){var d=b(c.helper),g=b(this).data("draggable").options;d.css("opacity")&&(g._opacity=d.css("opacity"));d.css("opacity",g.opacity)},stop:function(a,c){var d=b(this).data("draggable").options;d._opacity&&b(c.helper).css("opacity",d._opacity)}});b.ui.plugin.add("draggable",
|
||||||
|
"scroll",{start:function(){var a=b(this).data("draggable");a.scrollParent[0]!=document&&"HTML"!=a.scrollParent[0].tagName&&(a.overflowOffset=a.scrollParent.offset())},drag:function(a){var c=b(this).data("draggable"),d=c.options,g=!1;if(c.scrollParent[0]!=document&&"HTML"!=c.scrollParent[0].tagName){if(!d.axis||"x"!=d.axis)c.overflowOffset.top+c.scrollParent[0].offsetHeight-a.pageY<d.scrollSensitivity?c.scrollParent[0].scrollTop=g=c.scrollParent[0].scrollTop+d.scrollSpeed:a.pageY-c.overflowOffset.top<
|
||||||
|
d.scrollSensitivity&&(c.scrollParent[0].scrollTop=g=c.scrollParent[0].scrollTop-d.scrollSpeed);if(!d.axis||"y"!=d.axis)c.overflowOffset.left+c.scrollParent[0].offsetWidth-a.pageX<d.scrollSensitivity?c.scrollParent[0].scrollLeft=g=c.scrollParent[0].scrollLeft+d.scrollSpeed:a.pageX-c.overflowOffset.left<d.scrollSensitivity&&(c.scrollParent[0].scrollLeft=g=c.scrollParent[0].scrollLeft-d.scrollSpeed)}else{if(!d.axis||"x"!=d.axis)a.pageY-b(document).scrollTop()<d.scrollSensitivity?g=b(document).scrollTop(b(document).scrollTop()-
|
||||||
|
d.scrollSpeed):b(window).height()-(a.pageY-b(document).scrollTop())<d.scrollSensitivity&&(g=b(document).scrollTop(b(document).scrollTop()+d.scrollSpeed));if(!d.axis||"y"!=d.axis)a.pageX-b(document).scrollLeft()<d.scrollSensitivity?g=b(document).scrollLeft(b(document).scrollLeft()-d.scrollSpeed):b(window).width()-(a.pageX-b(document).scrollLeft())<d.scrollSensitivity&&(g=b(document).scrollLeft(b(document).scrollLeft()+d.scrollSpeed))}!1!==g&&(b.ui.ddmanager&&!d.dropBehaviour)&&b.ui.ddmanager.prepareOffsets(c,
|
||||||
|
a)}});b.ui.plugin.add("draggable","snap",{start:function(){var a=b(this).data("draggable"),c=a.options;a.snapElements=[];b(c.snap.constructor!=String?c.snap.items||":data(draggable)":c.snap).each(function(){var c=b(this),g=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:g.top,left:g.left})})},drag:function(a,c){for(var d=b(this).data("draggable"),g=d.options,h=g.snapTolerance,e=c.offset.left,f=e+d.helperProportions.width,i=c.offset.top,
|
||||||
|
j=i+d.helperProportions.height,k=d.snapElements.length-1;0<=k;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,p=d.snapElements[k].top,n=p+d.snapElements[k].height;if(l-h<e&&e<m+h&&p-h<i&&i<n+h||l-h<e&&e<m+h&&p-h<j&&j<n+h||l-h<f&&f<m+h&&p-h<i&&i<n+h||l-h<f&&f<m+h&&p-h<j&&j<n+h){if("inner"!=g.snapMode){var q=Math.abs(p-j)<=h,o=Math.abs(n-i)<=h,w=Math.abs(l-f)<=h,r=Math.abs(m-e)<=h;q&&(c.position.top=d._convertPositionTo("relative",{top:p-d.helperProportions.height,left:0}).top-d.margins.top);
|
||||||
|
o&&(c.position.top=d._convertPositionTo("relative",{top:n,left:0}).top-d.margins.top);w&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l-d.helperProportions.width}).left-d.margins.left);r&&(c.position.left=d._convertPositionTo("relative",{top:0,left:m}).left-d.margins.left)}var u=q||o||w||r;if("outer"!=g.snapMode&&(q=Math.abs(p-i)<=h,o=Math.abs(n-j)<=h,w=Math.abs(l-e)<=h,r=Math.abs(m-f)<=h,q&&(c.position.top=d._convertPositionTo("relative",{top:p,left:0}).top-d.margins.top),o&&(c.position.top=
|
||||||
|
d._convertPositionTo("relative",{top:n-d.helperProportions.height,left:0}).top-d.margins.top),w&&(c.position.left=d._convertPositionTo("relative",{top:0,left:l}).left-d.margins.left),r))c.position.left=d._convertPositionTo("relative",{top:0,left:m-d.helperProportions.width}).left-d.margins.left;!d.snapElements[k].snapping&&(q||o||w||r||u)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[k].item}));d.snapElements[k].snapping=q||o||w||r||u}else d.snapElements[k].snapping&&
|
||||||
|
d.options.snap.release&&d.options.snap.release.call(d.element,a,b.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1}}});b.ui.plugin.add("draggable","stack",{start:function(){var a=b(this).data("draggable").options,a=b.makeArray(b(a.stack)).sort(function(c,a){return(parseInt(b(c).css("zIndex"),10)||0)-(parseInt(b(a).css("zIndex"),10)||0)});if(a.length){var c=parseInt(a[0].style.zIndex)||0;b(a).each(function(b){this.style.zIndex=c+b});this[0].style.zIndex=c+a.length}}});
|
||||||
|
b.ui.plugin.add("draggable","zIndex",{start:function(a,c){var d=b(c.helper),g=b(this).data("draggable").options;d.css("zIndex")&&(g._zIndex=d.css("zIndex"));d.css("zIndex",g.zIndex)},stop:function(a,c){var d=b(this).data("draggable").options;d._zIndex&&b(c.helper).css("zIndex",d._zIndex)}})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,c=a.accept;this.isover=0;this.isout=1;this.accept=b.isFunction(c)?c:function(b){return b.is(c)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};b.ui.ddmanager.droppables[a.scope]=b.ui.ddmanager.droppables[a.scope]||[];b.ui.ddmanager.droppables[a.scope].push(this);
|
||||||
|
a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=b.ui.ddmanager.droppables[this.options.scope],c=0;c<a.length;c++)a[c]==this&&a.splice(c,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,c){"accept"==a&&(this.accept=b.isFunction(c)?c:function(b){return b.is(c)});b.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var c=b.ui.ddmanager.current;this.options.activeClass&&
|
||||||
|
this.element.addClass(this.options.activeClass);c&&this._trigger("activate",a,this.ui(c))},_deactivate:function(a){var c=b.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);c&&this._trigger("deactivate",a,this.ui(c))},_over:function(a){var c=b.ui.ddmanager.current;if(c&&(c.currentItem||c.element)[0]!=this.element[0])if(this.accept.call(this.element[0],c.currentItem||c.element))this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",
|
||||||
|
a,this.ui(c))},_out:function(a){var c=b.ui.ddmanager.current;if(c&&(c.currentItem||c.element)[0]!=this.element[0])if(this.accept.call(this.element[0],c.currentItem||c.element))this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",a,this.ui(c))},_drop:function(a,c){var d=c||b.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return!1;var g=!1;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var c=b.data(this,
|
||||||
|
"droppable");if(c.options.greedy&&!c.options.disabled&&c.options.scope==d.options.scope&&c.accept.call(c.element[0],d.currentItem||d.element)&&b.ui.intersect(d,b.extend(c,{offset:c.element.offset()}),c.options.tolerance))return g=!0,!1});return g?!1:this.accept.call(this.element[0],d.currentItem||d.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",a,this.ui(d)),this.element):
|
||||||
|
!1},ui:function(b){return{draggable:b.currentItem||b.element,helper:b.helper,position:b.position,offset:b.positionAbs}}});b.extend(b.ui.droppable,{version:"1.8.14"});b.ui.intersect=function(a,c,d){if(!c.offset)return!1;var g=(a.positionAbs||a.position.absolute).left,h=g+a.helperProportions.width,e=(a.positionAbs||a.position.absolute).top,f=e+a.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;switch(d){case "fit":return i<=g&&h<=j&&k<=e&&f<=l;
|
||||||
|
case "intersect":return i<g+a.helperProportions.width/2&&h-a.helperProportions.width/2<j&&k<e+a.helperProportions.height/2&&f-a.helperProportions.height/2<l;case "pointer":return b.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,k,i,c.proportions.height,c.proportions.width);case "touch":return(e>=k&&e<=l||f>=k&&f<=l||e<k&&f>l)&&(g>=i&&g<=j||h>=i&&h<=j||g<i&&h>j);default:return!1}};
|
||||||
|
b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,c){var d=b.ui.ddmanager.droppables[a.options.scope]||[],g=c?c.type:null,h=(a.currentItem||a.element).find(":data(droppable)").andSelf(),e=0;a:for(;e<d.length;e++)if(!(d[e].options.disabled||a&&!d[e].accept.call(d[e].element[0],a.currentItem||a.element))){for(var f=0;f<h.length;f++)if(h[f]==d[e].element[0]){d[e].proportions.height=0;continue a}d[e].visible="none"!=d[e].element.css("display");d[e].visible&&("mousedown"==
|
||||||
|
g&&d[e]._activate.call(d[e],c),d[e].offset=d[e].element.offset(),d[e].proportions={width:d[e].element[0].offsetWidth,height:d[e].element[0].offsetHeight})}},drop:function(a,c){var d=!1;b.each(b.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options&&(!this.options.disabled&&(this.visible&&b.ui.intersect(a,this,this.options.tolerance))&&(d=d||this._drop.call(this,c)),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||a.element)))this.isout=1,this.isover=
|
||||||
|
0,this._deactivate.call(this,c)});return d},dragStart:function(a,c){a.element.parentsUntil("body").bind("scroll.droppable",function(){a.options.refreshPositions||b.ui.ddmanager.prepareOffsets(a,c)})},drag:function(a,c){a.options.refreshPositions&&b.ui.ddmanager.prepareOffsets(a,c);b.each(b.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var d=b.ui.intersect(a,this,this.options.tolerance);if(d=!d&&1==this.isover?"isout":d&&0==this.isover?
|
||||||
|
"isover":null){var g;if(this.options.greedy){var h=this.element.parents(":data(droppable):eq(0)");h.length&&(g=b.data(h[0],"droppable"),g.greedyChild="isover"==d?1:0)}g&&"isover"==d&&(g.isover=0,g.isout=1,g._out.call(g,c));this[d]=1;this["isout"==d?"isover":"isout"]=0;this["isover"==d?"_over":"_out"].call(this,c);g&&"isout"==d&&(g.isout=0,g.isover=1,g._over.call(g,c))}}})},dragStop:function(a,c){a.element.parentsUntil("body").unbind("scroll.droppable");a.options.refreshPositions||b.ui.ddmanager.prepareOffsets(a,
|
||||||
|
c)}}})(jQuery);
|
||||||
|
(function(b){b.widget("ui.resizable",b.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var c=this,a=this.options;this.element.addClass("ui-resizable");b.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],
|
||||||
|
_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(/relative/.test(this.element.css("position"))&&b.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"}),this.element.wrap(b('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),
|
||||||
|
this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize",
|
||||||
|
"none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize());this.handles=a.handles||(!b(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){"all"==
|
||||||
|
this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var h=this.handles.split(",");this.handles={};for(var e=0;e<h.length;e++){var f=b.trim(h[e]),i=b('<div class="ui-resizable-handle ui-resizable-'+f+'"></div>');/sw|se|ne|nw/.test(f)&&i.css({zIndex:++a.zIndex});"se"==f&&i.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(i)}}this._renderAxis=function(f){var f=f||this.element,c;for(c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=
|
||||||
|
b(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var a=b(this.handles[c],this.element),d=0,d=/sw|ne|nw|se|n|s/.test(c)?a.outerHeight():a.outerWidth(),a=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");f.css(a,d);this._proportionallyResize()}b(this.handles[c])}};this._renderAxis(this.element);this._handles=b(".ui-resizable-handle",this.element).disableSelection();
|
||||||
|
this._handles.mouseover(function(){if(!c.resizing){if(this.className)var b=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);c.axis=b&&b[1]?b[1]:"se"}});a.autoHide&&(this._handles.hide(),b(this.element).addClass("ui-resizable-autohide").hover(function(){if(!a.disabled){b(this).removeClass("ui-resizable-autohide");c._handles.show()}},function(){if(!a.disabled&&!c.resizing){b(this).addClass("ui-resizable-autohide");c._handles.hide()}}));this._mouseInit()},destroy:function(){this._mouseDestroy();
|
||||||
|
var c=function(c){b(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){c(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);c(this.originalElement);return this},_mouseCapture:function(c){var a=
|
||||||
|
!1,h;for(h in this.handles)b(this.handles[h])[0]==c.target&&(a=!0);return!this.options.disabled&&a},_mouseStart:function(c){var g=this.options,h=this.element.position(),e=this.element;this.resizing=!0;this.documentScroll={top:b(document).scrollTop(),left:b(document).scrollLeft()};(e.is(".ui-draggable")||/absolute/.test(e.css("position")))&&e.css({position:"absolute",top:h.top,left:h.left});b.browser.opera&&/relative/.test(e.css("position"))&&e.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();
|
||||||
|
var h=a(this.helper.css("left")),f=a(this.helper.css("top"));g.containment&&(h+=b(g.containment).scrollLeft()||0,f+=b(g.containment).scrollTop()||0);this.offset=this.helper.offset();this.position={left:h,top:f};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:h,top:f};this.sizeDiff={width:e.outerWidth()-
|
||||||
|
e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:c.pageX,top:c.pageY};this.aspectRatio="number"==typeof g.aspectRatio?g.aspectRatio:this.originalSize.width/this.originalSize.height||1;g=b(".ui-resizable-"+this.axis).css("cursor");b("body").css("cursor","auto"==g?this.axis+"-resize":g);e.addClass("ui-resizable-resizing");this._propagate("start",c);return!0},_mouseDrag:function(b){var c=this.helper,a=this.originalMousePosition,e=this._change[this.axis];if(!e)return!1;a=
|
||||||
|
e.apply(this,[b,b.pageX-a.left||0,b.pageY-a.top||0]);this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)a=this._updateRatio(a,b);a=this._respectSize(a,b);this._propagate("resize",b);c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(a);this._trigger("resize",b,this.ui());return!1},_mouseStop:function(c){this.resizing=
|
||||||
|
!1;var a=this.options;if(this._helper){var h=this._proportionallyResizeElements,e=h.length&&/textarea/i.test(h[0].nodeName),h=e&&b.ui.hasScroll(h[0],"left")?0:this.sizeDiff.height,e=e?0:this.sizeDiff.width,e={width:this.helper.width()-e,height:this.helper.height()-h},h=parseInt(this.element.css("left"),10)+(this.position.left-this.originalPosition.left)||null,f=parseInt(this.element.css("top"),10)+(this.position.top-this.originalPosition.top)||null;a.animate||this.element.css(b.extend(e,{top:f,left:h}));
|
||||||
|
this.helper.height(this.size.height);this.helper.width(this.size.width);this._helper&&!a.animate&&this._proportionallyResize()}b("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",c);this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(b){var a=this.options,h,e,f,a={minWidth:c(a.minWidth)?a.minWidth:0,maxWidth:c(a.maxWidth)?a.maxWidth:Infinity,minHeight:c(a.minHeight)?a.minHeight:0,maxHeight:c(a.maxHeight)?a.maxHeight:Infinity};
|
||||||
|
if(this._aspectRatio||b)if(b=a.minHeight*this.aspectRatio,e=a.minWidth/this.aspectRatio,h=a.maxHeight*this.aspectRatio,f=a.maxWidth/this.aspectRatio,b>a.minWidth&&(a.minWidth=b),e>a.minHeight&&(a.minHeight=e),h<a.maxWidth&&(a.maxWidth=h),f<a.maxHeight)a.maxHeight=f;this._vBoundaries=a},_updateCache:function(b){this.offset=this.helper.offset();c(b.left)&&(this.position.left=b.left);c(b.top)&&(this.position.top=b.top);c(b.height)&&(this.size.height=b.height);c(b.width)&&(this.size.width=b.width)},_updateRatio:function(b){var a=
|
||||||
|
this.position,h=this.size,e=this.axis;c(b.height)?b.width=b.height*this.aspectRatio:c(b.width)&&(b.height=b.width/this.aspectRatio);"sw"==e&&(b.left=a.left+(h.width-b.width),b.top=null);"nw"==e&&(b.top=a.top+(h.height-b.height),b.left=a.left+(h.width-b.width));return b},_respectSize:function(b){var a=this._vBoundaries,h=this.axis,e=c(b.width)&&a.maxWidth&&a.maxWidth<b.width,f=c(b.height)&&a.maxHeight&&a.maxHeight<b.height,i=c(b.width)&&a.minWidth&&a.minWidth>b.width,j=c(b.height)&&a.minHeight&&a.minHeight>
|
||||||
|
b.height;i&&(b.width=a.minWidth);j&&(b.height=a.minHeight);e&&(b.width=a.maxWidth);f&&(b.height=a.maxHeight);var k=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,m=/sw|nw|w/.test(h),h=/nw|ne|n/.test(h);i&&m&&(b.left=k-a.minWidth);e&&m&&(b.left=k-a.maxWidth);j&&h&&(b.top=l-a.minHeight);f&&h&&(b.top=l-a.maxHeight);(a=!b.width&&!b.height)&&!b.left&&b.top?b.top=null:a&&(!b.top&&b.left)&&(b.left=null);return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var c=
|
||||||
|
this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var h=this._proportionallyResizeElements[a];if(!this.borderDif){var e=[h.css("borderTopWidth"),h.css("borderRightWidth"),h.css("borderBottomWidth"),h.css("borderLeftWidth")],f=[h.css("paddingTop"),h.css("paddingRight"),h.css("paddingBottom"),h.css("paddingLeft")];this.borderDif=b.map(e,function(b,c){var a=parseInt(b,10)||0,d=parseInt(f[c],10)||0;return a+d})}if(!b.browser.msie||!b(c).is(":hidden")&&!b(c).parents(":hidden").length)h.css({height:c.height()-
|
||||||
|
this.borderDif[0]-this.borderDif[2]||0,width:c.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var c=this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||b('<div style="overflow:hidden;"></div>');var a=b.browser.msie&&7>b.browser.version,h=a?1:0,a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-h+"px",top:this.elementOffset.top-
|
||||||
|
h+"px",zIndex:++c.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,c){return{width:this.originalSize.width+c}},w:function(b,c){return{left:this.originalPosition.left+c,width:this.originalSize.width-c}},n:function(b,c,a){return{top:this.originalPosition.top+a,height:this.originalSize.height-a}},s:function(b,c,a){return{height:this.originalSize.height+a}},se:function(c,a,h){return b.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,
|
||||||
|
[c,a,h]))},sw:function(c,a,h){return b.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[c,a,h]))},ne:function(c,a,h){return b.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[c,a,h]))},nw:function(c,a,h){return b.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[c,a,h]))}},_propagate:function(c,a){b.ui.plugin.call(this,c,[a,this.ui()]);"resize"!=c&&this._trigger(c,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,
|
||||||
|
element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});b.extend(b.ui.resizable,{version:"1.8.14"});b.ui.plugin.add("resizable","alsoResize",{start:function(){var c=b(this).data("resizable").options,a=function(c){b(c).each(function(){var c=b(this);c.data("resizable-alsoresize",{width:parseInt(c.width(),10),height:parseInt(c.height(),10),left:parseInt(c.css("left"),10),top:parseInt(c.css("top"),10),position:c.css("position")})})};
|
||||||
|
"object"==typeof c.alsoResize&&!c.alsoResize.parentNode?c.alsoResize.length?(c.alsoResize=c.alsoResize[0],a(c.alsoResize)):b.each(c.alsoResize,function(b){a(b)}):a(c.alsoResize)},resize:function(c,a){var h=b(this).data("resizable"),e=h.options,f=h.originalSize,i=h.originalPosition,j={height:h.size.height-f.height||0,width:h.size.width-f.width||0,top:h.position.top-i.top||0,left:h.position.left-i.left||0},k=function(c,f){b(c).each(function(){var c=b(this),d=b(this).data("resizable-alsoresize"),i={},
|
||||||
|
e=f&&f.length?f:c.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];b.each(e,function(b,c){var a=(d[c]||0)+(j[c]||0);a&&0<=a&&(i[c]=a||null)});b.browser.opera&&/relative/.test(c.css("position"))&&(h._revertToRelativePosition=!0,c.css({position:"absolute",top:"auto",left:"auto"}));c.css(i)})};"object"==typeof e.alsoResize&&!e.alsoResize.nodeType?b.each(e.alsoResize,function(b,c){k(b,c)}):k(e.alsoResize)},stop:function(){var c=b(this).data("resizable"),a=c.options,
|
||||||
|
h=function(c){b(c).each(function(){var c=b(this);c.css({position:c.data("resizable-alsoresize").position})})};c._revertToRelativePosition&&(c._revertToRelativePosition=!1,"object"==typeof a.alsoResize&&!a.alsoResize.nodeType?b.each(a.alsoResize,function(b){h(b)}):h(a.alsoResize));b(this).removeData("resizable-alsoresize")}});b.ui.plugin.add("resizable","animate",{stop:function(c){var a=b(this).data("resizable"),h=a.options,e=a._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),
|
||||||
|
i=f&&b.ui.hasScroll(e[0],"left")?0:a.sizeDiff.height,f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-i},i=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null,j=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(b.extend(f,j&&i?{top:j,left:i}:{}),{duration:h.animateDuration,easing:h.animateEasing,step:function(){var f={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),
|
||||||
|
top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};e&&e.length&&b(e[0]).css({width:f.width,height:f.height});a._updateCache(f);a._propagate("resize",c)}})}});b.ui.plugin.add("resizable","containment",{start:function(){var c=b(this).data("resizable"),g=c.element,h=c.options.containment;if(g=h instanceof b?h.get(0):/parent/.test(h)?g.parent().get(0):h)if(c.containerElement=b(g),/document/.test(h)||h==document)c.containerOffset={left:0,top:0},c.containerPosition={left:0,top:0},
|
||||||
|
c.parentData={element:b(document),left:0,top:0,width:b(document).width(),height:b(document).height()||document.body.parentNode.scrollHeight};else{var e=b(g),f=[];b(["Top","Right","Left","Bottom"]).each(function(b,c){f[b]=a(e.css("padding"+c))});c.containerOffset=e.offset();c.containerPosition=e.position();c.containerSize={height:e.innerHeight()-f[3],width:e.innerWidth()-f[1]};var h=c.containerOffset,i=c.containerSize.height,j=c.containerSize.width,j=b.ui.hasScroll(g,"left")?g.scrollWidth:j,i=b.ui.hasScroll(g)?
|
||||||
|
g.scrollHeight:i;c.parentData={element:g,left:h.left,top:h.top,width:j,height:i}}},resize:function(c){var a=b(this).data("resizable"),h=a.options,e=a.containerOffset,f=a.position,c=a._aspectRatio||c.shiftKey,i={top:0,left:0},j=a.containerElement;j[0]!=document&&/static/.test(j.css("position"))&&(i=e);if(f.left<(a._helper?e.left:0))a.size.width+=a._helper?a.position.left-e.left:a.position.left-i.left,c&&(a.size.height=a.size.width/h.aspectRatio),a.position.left=h.helper?e.left:0;if(f.top<(a._helper?
|
||||||
|
e.top:0))a.size.height+=a._helper?a.position.top-e.top:a.position.top,c&&(a.size.width=a.size.height*h.aspectRatio),a.position.top=a._helper?e.top:0;a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;h=Math.abs(a.offset.left-i.left+a.sizeDiff.width);e=Math.abs((a._helper?a.offset.top-i.top:a.offset.top-e.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);i=/relative|absolute/.test(a.containerElement.css("position"));f&&i&&(h-=a.parentData.left);
|
||||||
|
h+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-h,c&&(a.size.height=a.size.width/a.aspectRatio));e+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-e,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var a=b(this).data("resizable"),c=a.options,h=a.containerOffset,e=a.containerPosition,f=a.containerElement,i=b(a.helper),j=i.offset(),k=i.outerWidth()-a.sizeDiff.width,i=i.outerHeight()-a.sizeDiff.height;a._helper&&(!c.animate&&/relative/.test(f.css("position")))&&
|
||||||
|
b(this).css({left:j.left-e.left-h.left,width:k,height:i});a._helper&&(!c.animate&&/static/.test(f.css("position")))&&b(this).css({left:j.left-e.left-h.left,width:k,height:i})}});b.ui.plugin.add("resizable","ghost",{start:function(){var a=b(this).data("resizable"),c=a.options,h=a.size;a.ghost=a.originalElement.clone();a.ghost.css({opacity:0.25,display:"block",position:"relative",height:h.height,width:h.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof c.ghost?c.ghost:
|
||||||
|
"");a.ghost.appendTo(a.helper)},resize:function(){var a=b(this).data("resizable");a.ghost&&a.ghost.css({position:"relative",height:a.size.height,width:a.size.width})},stop:function(){var a=b(this).data("resizable");a.ghost&&a.helper&&a.helper.get(0).removeChild(a.ghost.get(0))}});b.ui.plugin.add("resizable","grid",{resize:function(){var a=b(this).data("resizable"),c=a.options,h=a.size,e=a.originalSize,f=a.originalPosition,i=a.axis;c.grid="number"==typeof c.grid?[c.grid,c.grid]:c.grid;var j=Math.round((h.width-
|
||||||
|
e.width)/(c.grid[0]||1))*(c.grid[0]||1),c=Math.round((h.height-e.height)/(c.grid[1]||1))*(c.grid[1]||1);/^(se|s|e)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c):/^(ne)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c,a.position.top=f.top-c):(/^(sw)$/.test(i)?(a.size.width=e.width+j,a.size.height=e.height+c):(a.size.width=e.width+j,a.size.height=e.height+c,a.position.top=f.top-c),a.position.left=f.left-j)}});var a=function(b){return parseInt(b,10)||0},c=function(b){return!isNaN(parseInt(b,
|
||||||
|
10))}})(jQuery);
|
||||||
|
(function(b){b.widget("ui.selectable",b.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var a=this;this.element.addClass("ui-selectable");this.dragged=!1;var c;this.refresh=function(){c=b(a.options.filter,a.element[0]);c.each(function(){var a=b(this),c=a.offset();b.data(this,"selectable-item",{element:this,$element:a,left:c.left,top:c.top,right:c.left+a.outerWidth(),bottom:c.top+a.outerHeight(),startselected:!1,selected:a.hasClass("ui-selected"),selecting:a.hasClass("ui-selecting"),
|
||||||
|
unselecting:a.hasClass("ui-unselecting")})})};this.refresh();this.selectees=c.addClass("ui-selectee");this._mouseInit();this.helper=b("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(a){var c=this;this.opos=[a.pageX,a.pageY];if(!this.options.disabled){var d=
|
||||||
|
this.options;this.selectees=b(d.filter,this.element[0]);this._trigger("start",a);b(d.appendTo).append(this.helper);this.helper.css({left:a.clientX,top:a.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var d=b.data(this,"selectable-item");d.startselected=!0;a.metaKey||(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",a,{unselecting:d.element}))});b(a.target).parents().andSelf().each(function(){var d=
|
||||||
|
b.data(this,"selectable-item");if(d){var h=!a.metaKey||!d.$element.hasClass("ui-selected");d.$element.removeClass(h?"ui-unselecting":"ui-selected").addClass(h?"ui-selecting":"ui-unselecting");d.unselecting=!h;d.selecting=h;(d.selected=h)?c._trigger("selecting",a,{selecting:d.element}):c._trigger("unselecting",a,{unselecting:d.element});return!1}})}},_mouseDrag:function(a){var c=this;this.dragged=!0;if(!this.options.disabled){var d=this.options,g=this.opos[0],h=this.opos[1],e=a.pageX,f=a.pageY;if(g>
|
||||||
|
e)var i=e,e=g,g=i;h>f&&(i=f,f=h,h=i);this.helper.css({left:g,top:h,width:e-g,height:f-h});this.selectees.each(function(){var i=b.data(this,"selectable-item");if(i&&i.element!=c.element[0]){var k=false;d.tolerance=="touch"?k=!(i.left>e||i.right<g||i.top>f||i.bottom<h):d.tolerance=="fit"&&(k=i.left>g&&i.right<e&&i.top>h&&i.bottom<f);if(k){if(i.selected){i.$element.removeClass("ui-selected");i.selected=false}if(i.unselecting){i.$element.removeClass("ui-unselecting");i.unselecting=false}if(!i.selecting){i.$element.addClass("ui-selecting");
|
||||||
|
i.selecting=true;c._trigger("selecting",a,{selecting:i.element})}}else{if(i.selecting)if(a.metaKey&&i.startselected){i.$element.removeClass("ui-selecting");i.selecting=false;i.$element.addClass("ui-selected");i.selected=true}else{i.$element.removeClass("ui-selecting");i.selecting=false;if(i.startselected){i.$element.addClass("ui-unselecting");i.unselecting=true}c._trigger("unselecting",a,{unselecting:i.element})}if(i.selected&&!a.metaKey&&!i.startselected){i.$element.removeClass("ui-selected");i.selected=
|
||||||
|
false;i.$element.addClass("ui-unselecting");i.unselecting=true;c._trigger("unselecting",a,{unselecting:i.element})}}}});return!1}},_mouseStop:function(a){var c=this;this.dragged=!1;b(".ui-unselecting",this.element[0]).each(function(){var d=b.data(this,"selectable-item");d.$element.removeClass("ui-unselecting");d.unselecting=!1;d.startselected=!1;c._trigger("unselected",a,{unselected:d.element})});b(".ui-selecting",this.element[0]).each(function(){var d=b.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");
|
||||||
|
d.selecting=!1;d.selected=!0;d.startselected=!0;c._trigger("selected",a,{selected:d.element})});this._trigger("stop",a);this.helper.remove();return!1}});b.extend(b.ui.selectable,{version:"1.8.14"})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.sortable",b.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){var b=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();
|
||||||
|
this.floating=this.items.length?"x"===b.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var b=this.items.length-1;0<=b;b--)this.items[b].item.removeData("sortable-item");return this},_setOption:function(a,c){"disabled"===a?(this.options[a]=
|
||||||
|
c,this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")):b.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,c){if(this.reverting||this.options.disabled||"static"==this.options.type)return!1;this._refreshItems(a);var d=null,g=this;b(a.target).parents().each(function(){if(b.data(this,"sortable-item")==g)return d=b(this),!1});b.data(a.target,"sortable-item")==g&&(d=b(a.target));if(!d)return!1;if(this.options.handle&&!c){var h=!1;b(this.options.handle,d).find("*").andSelf().each(function(){this==
|
||||||
|
a.target&&(h=!0)});if(!h)return!1}this.currentItem=d;this._removeCurrentsFromItems();return!0},_mouseStart:function(a,c,d){c=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=
|
||||||
|
this.helper.css("position");b.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();
|
||||||
|
c.containment&&this._setContainment();c.cursor&&(b("body").css("cursor")&&(this._storedCursor=b("body").css("cursor")),b("body").css("cursor",c.cursor));c.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",c.opacity));c.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",c.zIndex));this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset());
|
||||||
|
this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(d=this.containers.length-1;0<=d;d--)this.containers[d]._trigger("activate",a,this._uiHash(this));b.ui.ddmanager&&(b.ui.ddmanager.current=this);b.ui.ddmanager&&!c.dropBehaviour&&b.ui.ddmanager.prepareOffsets(this,a);this.dragging=!0;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return!0},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");
|
||||||
|
this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:a.pageY-this.overflowOffset.top<c.scrollSensitivity&&(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+
|
||||||
|
this.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)?this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft+c.scrollSpeed:a.pageX-this.overflowOffset.left<c.scrollSensitivity&&(this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft-c.scrollSpeed):(a.pageY-b(document).scrollTop()<c.scrollSensitivity?d=b(document).scrollTop(b(document).scrollTop()-c.scrollSpeed):b(window).height()-(a.pageY-b(document).scrollTop())<c.scrollSensitivity&&(d=b(document).scrollTop(b(document).scrollTop()+
|
||||||
|
c.scrollSpeed)),a.pageX-b(document).scrollLeft()<c.scrollSensitivity?d=b(document).scrollLeft(b(document).scrollLeft()-c.scrollSpeed):b(window).width()-(a.pageX-b(document).scrollLeft())<c.scrollSensitivity&&(d=b(document).scrollLeft(b(document).scrollLeft()+c.scrollSpeed)));!1!==d&&(b.ui.ddmanager&&!c.dropBehaviour)&&b.ui.ddmanager.prepareOffsets(this,a)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||"y"!=this.options.axis)this.helper[0].style.left=this.position.left+
|
||||||
|
"px";if(!this.options.axis||"x"!=this.options.axis)this.helper[0].style.top=this.position.top+"px";for(c=this.items.length-1;0<=c;c--){var d=this.items[c],g=d.item[0],h=this._intersectsWithPointer(d);if(h&&g!=this.currentItem[0]&&this.placeholder[1==h?"next":"prev"]()[0]!=g&&!b.ui.contains(this.placeholder[0],g)&&("semi-dynamic"==this.options.type?!b.ui.contains(this.element[0],g):1)){this.direction=1==h?"down":"up";if("pointer"==this.options.tolerance||this._intersectsWithSides(d))this._rearrange(a,
|
||||||
|
d);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);b.ui.ddmanager&&b.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(a,c){if(a){b.ui.ddmanager&&!this.options.dropBehaviour&&b.ui.ddmanager.drop(this,a);if(this.options.revert){var d=this,g=d.placeholder.offset();d.reverting=!0;b(this.helper).animate({left:g.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?
|
||||||
|
0:this.offsetParent[0].scrollLeft),top:g.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(a)})}else this._clear(a,c);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null});"original"==this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var a=this.containers.length-1;0<=a;a--)this.containers[a]._trigger("deactivate",
|
||||||
|
null,this._uiHash(this)),this.containers[a].containerCache.over&&(this.containers[a]._trigger("out",null,this._uiHash(this)),this.containers[a].containerCache.over=0)}this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!=this.options.helper&&(this.helper&&this.helper[0].parentNode)&&this.helper.remove(),b.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?b(this.domPosition.prev).after(this.currentItem):
|
||||||
|
b(this.domPosition.parent).prepend(this.currentItem));return this},serialize:function(a){var c=this._getItemsAsjQuery(a&&a.connected),d=[],a=a||{};b(c).each(function(){var c=(b(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);c&&d.push((a.key||c[1]+"[]")+"="+(a.key&&a.expression?c[1]:c[2]))});!d.length&&a.key&&d.push(a.key+"=");return d.join("&")},toArray:function(a){var c=this._getItemsAsjQuery(a&&a.connected),d=[],a=a||{};c.each(function(){d.push(b(a.item||this).attr(a.attribute||
|
||||||
|
"id")||"")});return d},_intersectsWith:function(b){var c=this.positionAbs.left,d=c+this.helperProportions.width,g=this.positionAbs.top,h=g+this.helperProportions.height,e=b.left,f=e+b.width,i=b.top,j=i+b.height,k=this.offset.click.top,l=this.offset.click.left;return"pointer"==this.options.tolerance||this.options.forcePointerForContainers||"pointer"!=this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>b[this.floating?"width":"height"]?g+k>i&&g+k<j&&c+l>e&&c+l<f:e<c+this.helperProportions.width/
|
||||||
|
2&&d-this.helperProportions.width/2<f&&i<g+this.helperProportions.height/2&&h-this.helperProportions.height/2<j},_intersectsWithPointer:function(a){var c=b.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height),a=b.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width),c=c&&a,a=this._getDragVerticalDirection(),d=this._getDragHorizontalDirection();return!c?!1:this.floating?d&&"right"==d||"down"==a?2:1:a&&("down"==a?2:1)},_intersectsWithSides:function(a){var c=
|
||||||
|
b.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height),a=b.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width),d=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();return this.floating&&g?"right"==g&&a||"left"==g&&!a:d&&("down"==d&&c||"up"==d&&!c)},_getDragVerticalDirection:function(){var b=this.positionAbs.top-this.lastPositionAbs.top;return 0!=b&&(0<b?"down":"up")},_getDragHorizontalDirection:function(){var b=this.positionAbs.left-
|
||||||
|
this.lastPositionAbs.left;return 0!=b&&(0<b?"right":"left")},refresh:function(b){this._refreshItems(b);this.refreshPositions();return this},_connectWith:function(){var b=this.options;return b.connectWith.constructor==String?[b.connectWith]:b.connectWith},_getItemsAsjQuery:function(a){var c=[],d=[],g=this._connectWith();if(g&&a)for(a=g.length-1;0<=a;a--)for(var h=b(g[a]),e=h.length-1;0<=e;e--){var f=b.data(h[e],"sortable");f&&(f!=this&&!f.options.disabled)&&d.push([b.isFunction(f.options.items)?f.options.items.call(f.element):
|
||||||
|
b(f.options.items,f.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),f])}d.push([b.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):b(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=d.length-1;0<=a;a--)d[a][0].each(function(){c.push(this)});return b(c)},_removeCurrentsFromItems:function(){for(var b=this.currentItem.find(":data(sortable-item)"),c=0;c<this.items.length;c++)for(var d=
|
||||||
|
0;d<b.length;d++)b[d]==this.items[c].item[0]&&this.items.splice(c,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var c=this.items,d=[[b.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):b(this.options.items,this.element),this]],g=this._connectWith();if(g)for(var h=g.length-1;0<=h;h--)for(var e=b(g[h]),f=e.length-1;0<=f;f--){var i=b.data(e[f],"sortable");i&&(i!=this&&!i.options.disabled)&&(d.push([b.isFunction(i.options.items)?i.options.items.call(i.element[0],
|
||||||
|
a,{item:this.currentItem}):b(i.options.items,i.element),i]),this.containers.push(i))}for(h=d.length-1;0<=h;h--){a=d[h][1];g=d[h][0];f=0;for(e=g.length;f<e;f++)i=b(g[f]),i.data("sortable-item",a),c.push({item:i,instance:a,width:0,height:0,left:0,top:0})}},refreshPositions:function(a){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var c=this.items.length-1;0<=c;c--){var d=this.items[c];if(!(d.instance!=this.currentContainer&&this.currentContainer&&d.item[0]!=this.currentItem[0])){var g=
|
||||||
|
this.options.toleranceElement?b(this.options.toleranceElement,d.item):d.item;a||(d.width=g.outerWidth(),d.height=g.outerHeight());g=g.offset();d.left=g.left;d.top=g.top}}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(c=this.containers.length-1;0<=c;c--)g=this.containers[c].element.offset(),this.containers[c].containerCache.left=g.left,this.containers[c].containerCache.top=g.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),
|
||||||
|
this.containers[c].containerCache.height=this.containers[c].element.outerHeight();return this},_createPlaceholder:function(a){var c=a||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var g=d.placeholder;d.placeholder={element:function(){var a=b(document.createElement(c.currentItem[0].nodeName)).addClass(g||c.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];g||(a.style.visibility="hidden");return a},update:function(b,a){if(!g||d.forcePlaceholderSize)a.height()||
|
||||||
|
a.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),a.width()||a.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10))}}}c.placeholder=b(d.placeholder.element.call(c.element,c.currentItem));c.currentItem.after(c.placeholder);d.placeholder.update(c,c.placeholder)},_contactContainers:function(a){for(var c=null,d=null,g=this.containers.length-
|
||||||
|
1;0<=g;g--)if(!b.ui.contains(this.currentItem[0],this.containers[g].element[0]))if(this._intersectsWith(this.containers[g].containerCache)){if(!c||!b.ui.contains(this.containers[g].element[0],c.element[0]))c=this.containers[g],d=g}else this.containers[g].containerCache.over&&(this.containers[g]._trigger("out",a,this._uiHash(this)),this.containers[g].containerCache.over=0);if(c)if(1===this.containers.length)this.containers[d]._trigger("over",a,this._uiHash(this)),this.containers[d].containerCache.over=
|
||||||
|
1;else if(this.currentContainer!=this.containers[d]){for(var c=1E4,g=null,h=this.positionAbs[this.containers[d].floating?"left":"top"],e=this.items.length-1;0<=e;e--)if(b.ui.contains(this.containers[d].element[0],this.items[e].item[0])){var f=this.items[e][this.containers[d].floating?"left":"top"];Math.abs(f-h)<c&&(c=Math.abs(f-h),g=this.items[e])}if(g||this.options.dropOnEmpty)this.currentContainer=this.containers[d],g?this._rearrange(a,g,null,!0):this._rearrange(a,null,this.containers[d].element,
|
||||||
|
!0),this._trigger("change",a,this._uiHash()),this.containers[d]._trigger("change",a,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",a,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(a){var c=this.options,a=b.isFunction(c.helper)?b(c.helper.apply(this.element[0],[a,this.currentItem])):"clone"==c.helper?this.currentItem.clone():this.currentItem;a.parents("body").length||b("parent"!=c.appendTo?
|
||||||
|
c.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);a[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")});(""==a[0].style.width||c.forceHelperSize)&&a.width(this.currentItem.width());(""==a[0].style.height||c.forceHelperSize)&&a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){"string"==
|
||||||
|
typeof a&&(a=a.split(" "));b.isArray(a)&&(a={left:+a[0],top:+a[1]||0});"left"in a&&(this.offset.click.left=a.left+this.margins.left);"right"in a&&(this.offset.click.left=this.helperProportions.width-a.right+this.margins.left);"top"in a&&(this.offset.click.top=a.top+this.margins.top);"bottom"in a&&(this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();"absolute"==this.cssPosition&&
|
||||||
|
(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))&&(a.left+=this.scrollParent.scrollLeft(),a.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&b.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==
|
||||||
|
this.cssPosition){var b=this.currentItem.position();return{top:b.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:b.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},
|
||||||
|
_setContainment:function(){var a=this.options;"parent"==a.containment&&(a.containment=this.helper[0].parentNode);if("document"==a.containment||"window"==a.containment)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,b("document"==a.containment?document:window).width()-this.helperProportions.width-this.margins.left,(b("document"==a.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-
|
||||||
|
this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var c=b(a.containment)[0],a=b(a.containment).offset(),d="hidden"!=b(c).css("overflow");this.containment=[a.left+(parseInt(b(c).css("borderLeftWidth"),10)||0)+(parseInt(b(c).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(b(c).css("borderTopWidth"),10)||0)+(parseInt(b(c).css("paddingTop"),10)||0)-this.margins.top,a.left+(d?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(b(c).css("borderLeftWidth"),10)||
|
||||||
|
0)-(parseInt(b(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(d?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(b(c).css("borderTopWidth"),10)||0)-(parseInt(b(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,c){c||(c=this.position);var d="absolute"==a?1:-1,g="absolute"==this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:
|
||||||
|
this.scrollParent,h=/(html|body)/i.test(g[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(b.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():h?0:g.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(b.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():h?0:g.scrollLeft())*d)}},_generatePosition:function(a){var c=this.options,d="absolute"==
|
||||||
|
this.cssPosition&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(d[0].tagName);"relative"==this.cssPosition&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var h=a.pageX,e=a.pageY;if(this.originalPosition&&(this.containment&&(a.pageX-this.offset.click.left<this.containment[0]&&(h=this.containment[0]+this.offset.click.left),
|
||||||
|
a.pageY-this.offset.click.top<this.containment[1]&&(e=this.containment[1]+this.offset.click.top),a.pageX-this.offset.click.left>this.containment[2]&&(h=this.containment[2]+this.offset.click.left),a.pageY-this.offset.click.top>this.containment[3]&&(e=this.containment[3]+this.offset.click.top)),c.grid))e=this.originalPageY+Math.round((e-this.originalPageY)/c.grid[1])*c.grid[1],e=this.containment?!(e-this.offset.click.top<this.containment[1]||e-this.offset.click.top>this.containment[3])?e:!(e-this.offset.click.top<
|
||||||
|
this.containment[1])?e-c.grid[1]:e+c.grid[1]:e,h=this.originalPageX+Math.round((h-this.originalPageX)/c.grid[0])*c.grid[0],h=this.containment?!(h-this.offset.click.left<this.containment[0]||h-this.offset.click.left>this.containment[2])?h:!(h-this.offset.click.left<this.containment[0])?h-c.grid[0]:h+c.grid[0]:h;return{top:e-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(b.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():g?
|
||||||
|
0:d.scrollTop()),left:h-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(b.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():g?0:d.scrollLeft())}},_rearrange:function(b,c,d,g){d?d[0].appendChild(this.placeholder[0]):c.item[0].parentNode.insertBefore(this.placeholder[0],"down"==this.direction?c.item[0]:c.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var h=this,e=this.counter;window.setTimeout(function(){e==
|
||||||
|
h.counter&&h.refreshPositions(!g)},0)},_clear:function(a,c){this.reverting=!1;var d=[];!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var g in this._storedCSS)if("auto"==this._storedCSS[g]||"static"==this._storedCSS[g])this._storedCSS[g]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();this.fromOutside&&!c&&d.push(function(b){this._trigger("receive",
|
||||||
|
b,this._uiHash(this.fromOutside))});(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!c&&d.push(function(b){this._trigger("update",b,this._uiHash())});if(!b.ui.contains(this.element[0],this.currentItem[0])){c||d.push(function(b){this._trigger("remove",b,this._uiHash())});for(g=this.containers.length-1;0<=g;g--)b.ui.contains(this.containers[g].element[0],this.currentItem[0])&&!c&&(d.push(function(b){return function(a){b._trigger("receive",
|
||||||
|
a,this._uiHash(this))}}.call(this,this.containers[g])),d.push(function(b){return function(a){b._trigger("update",a,this._uiHash(this))}}.call(this,this.containers[g])))}for(g=this.containers.length-1;0<=g;g--)c||d.push(function(b){return function(a){b._trigger("deactivate",a,this._uiHash(this))}}.call(this,this.containers[g])),this.containers[g].containerCache.over&&(d.push(function(b){return function(a){b._trigger("out",a,this._uiHash(this))}}.call(this,this.containers[g])),this.containers[g].containerCache.over=
|
||||||
|
0);this._storedCursor&&b("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);this._storedZIndex&&this.helper.css("zIndex","auto"==this._storedZIndex?"":this._storedZIndex);this.dragging=!1;if(this.cancelHelperRemoval){if(!c){this._trigger("beforeStop",a,this._uiHash());for(g=0;g<d.length;g++)d[g].call(this,a);this._trigger("stop",a,this._uiHash())}return!1}c||this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
|
||||||
|
this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!c){for(g=0;g<d.length;g++)d[g].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=!1;return!0},_trigger:function(){!1===b.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(a){var c=a||this;return{helper:c.helper,placeholder:c.placeholder||b([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:a?a.element:null}}});b.extend(b.ui.sortable,
|
||||||
|
{version:"1.8.14"})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:!0,clearStyle:!1,collapsible:!1,event:"click",fillSpace:!1,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,c=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");a.headers=
|
||||||
|
a.element.find(c.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){c.disabled||b(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){c.disabled||b(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){c.disabled||b(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){c.disabled||b(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
|
||||||
|
if(c.navigation){var d=a.element.find("a").filter(c.navigationFilter).eq(0);if(d.length){var g=d.closest(".ui-accordion-header");a.active=g.length?g:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||c.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
|
||||||
|
function(b){return a._keydown(b)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);b.browser.safari||a.headers.find("a").attr("tabIndex",-1);c.event&&a.headers.bind(c.event.split(" ").join(".accordion ")+".accordion",function(b){a._clickHandler.call(a,b,this);b.preventDefault()})},_createIcons:function(){var a=
|
||||||
|
this.options;a.icons&&(b("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers),this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected),this.element.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
|
||||||
|
this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var c=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");(a.autoHeight||a.fillHeight)&&c.css("height","");return b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);"active"==a&&this.activate(c);"icons"==a&&(this._destroyIcons(),
|
||||||
|
c&&this._createIcons());if("disabled"==a)this.headers.add(this.headers.next())[c?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!this.options.disabled&&!a.altKey&&!a.ctrlKey){var c=b.ui.keyCode,d=this.headers.length,g=this.headers.index(a.target),h=!1;switch(a.keyCode){case c.RIGHT:case c.DOWN:h=this.headers[(g+1)%d];break;case c.LEFT:case c.UP:h=this.headers[(g-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:a.target},a.target),a.preventDefault()}return h?
|
||||||
|
(b(a.target).attr("tabIndex",-1),b(h).attr("tabIndex",0),h.focus(),!1):!0}},resize:function(){var a=this.options,c;if(a.fillSpace){if(b.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}c=this.element.parent().height();b.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){c-=b(this).outerHeight(!0)});this.headers.next().each(function(){b(this).height(Math.max(0,c-b(this).innerHeight()+b(this).height()))}).css("overflow",
|
||||||
|
"auto")}else a.autoHeight&&(c=0,this.headers.next().each(function(){c=Math.max(c,b(this).height("").height())}).height(c));return this},activate:function(b){this.options.active=b;b=this._findActive(b)[0];this._clickHandler({target:b},b);return this},_findActive:function(a){return a?"number"===typeof a?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):!1===a?b([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,c){var d=this.options;if(!d.disabled)if(a.target){var g=b(a.currentTarget||
|
||||||
|
c),h=g[0]===this.active[0];d.active=d.collapsible&&h?!1:this.headers.index(g);if(!(this.running||!d.collapsible&&h)){var e=this.active,f=g.next(),i=this.active.next(),j={options:d,newHeader:h&&d.collapsible?b([]):g,oldHeader:this.active,newContent:h&&d.collapsible?b([]):f,oldContent:i},k=this.headers.index(this.active[0])>this.headers.index(g[0]);this.active=h?b([]):g;this._toggle(f,i,j,h,k);e.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);
|
||||||
|
h||(g.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected),g.next().addClass("ui-accordion-content-active"))}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var i=this.active.next(),
|
||||||
|
j={options:d,newHeader:b([]),oldHeader:d.active,newContent:b([]),oldContent:i},f=this.active=b([]);this._toggle(f,i,j)}},_toggle:function(a,c,d,g,h){var e=this,f=e.options;e.toShow=a;e.toHide=c;e.data=d;var i=function(){if(e)return e._completed.apply(e,arguments)};e._trigger("changestart",null,e.data);e.running=0===c.size()?a.size():c.size();if(f.animated){d={};d=f.collapsible&&g?{toShow:b([]),toHide:c,complete:i,down:h,autoHeight:f.autoHeight||f.fillSpace}:{toShow:a,toHide:c,complete:i,down:h,autoHeight:f.autoHeight||
|
||||||
|
f.fillSpace};f.proxied||(f.proxied=f.animated);f.proxiedDuration||(f.proxiedDuration=f.duration);f.animated=b.isFunction(f.proxied)?f.proxied(d):f.proxied;f.duration=b.isFunction(f.proxiedDuration)?f.proxiedDuration(d):f.proxiedDuration;var g=b.ui.accordion.animations,j=f.duration,k=f.animated;k&&(!g[k]&&!b.easing[k])&&(k="slide");g[k]||(g[k]=function(b){this.slide(b,{easing:k,duration:j||700})});g[k](d)}else f.collapsible&&g?a.toggle():(c.hide(),a.show()),i(!0);c.prev().attr({"aria-expanded":"false",
|
||||||
|
"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(b){this.running=b?0:--this.running;this.running||(this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""}),this.toHide.removeClass("ui-accordion-content-active"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger("change",null,this.data))}});b.extend(b.ui.accordion,{version:"1.8.14",
|
||||||
|
animations:{slide:function(a,c){a=b.extend({easing:"swing",duration:300},a,c);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),g=0,h={},e={},f,i=a.toShow;f=i[0].style.width;i.width(parseInt(i.parent().width(),10)-parseInt(i.css("paddingLeft"),10)-parseInt(i.css("paddingRight"),10)-(parseInt(i.css("borderLeftWidth"),10)||0)-(parseInt(i.css("borderRightWidth"),10)||0));b.each(["height","paddingTop","paddingBottom"],function(c,f){e[f]="hide";var i=(""+b.css(a.toShow[0],f)).match(/^([\d+-.]+)(.*)$/);
|
||||||
|
h[f]={value:i[1],unit:i[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(e,{step:function(b,c){"height"==c.prop&&(g=0===c.end-c.start?0:(c.now-c.start)/(c.end-c.start));a.toShow[0].style[c.prop]=g*h[c.prop].value+h[c.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:f,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
|
||||||
|
paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(b){this.slide(b,{easing:b.down?"easeOutBounce":"swing",duration:b.down?1E3:200})}}})})(jQuery);
|
||||||
|
(function(b){var a=0;b.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var c=this,a=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(a){if(!c.options.disabled&&!c.element.attr("readonly")){g=!1;var d=
|
||||||
|
b.ui.keyCode;switch(a.keyCode){case d.PAGE_UP:c._move("previousPage",a);break;case d.PAGE_DOWN:c._move("nextPage",a);break;case d.UP:c._move("previous",a);a.preventDefault();break;case d.DOWN:c._move("next",a);a.preventDefault();break;case d.ENTER:case d.NUMPAD_ENTER:c.menu.active&&(g=!0,a.preventDefault());case d.TAB:if(!c.menu.active)break;c.menu.select(a);break;case d.ESCAPE:c.element.val(c.term);c.close(a);break;default:clearTimeout(c.searching),c.searching=setTimeout(function(){c.term!=c.element.val()&&
|
||||||
|
(c.selectedItem=null,c.search(null,a))},c.options.delay)}}}).bind("keypress.autocomplete",function(b){g&&(g=!1,b.preventDefault())}).bind("focus.autocomplete",function(){c.options.disabled||(c.selectedItem=null,c.previous=c.element.val())}).bind("blur.autocomplete",function(b){c.options.disabled||(clearTimeout(c.searching),c.closing=setTimeout(function(){c.close(b);c._change(b)},150))});this._initSource();this.response=function(){return c._response.apply(c,arguments)};this.menu=b("<ul></ul>").addClass("ui-autocomplete").appendTo(b(this.options.appendTo||
|
||||||
|
"body",a)[0]).mousedown(function(a){var d=c.menu.element[0];b(a.target).closest(".ui-menu-item").length||setTimeout(function(){b(document).one("mousedown",function(a){a.target!==c.element[0]&&(a.target!==d&&!b.ui.contains(d,a.target))&&c.close()})},1);setTimeout(function(){clearTimeout(c.closing)},13)}).menu({focus:function(b,a){var f=a.item.data("item.autocomplete");!1!==c._trigger("focus",b,{item:f})&&/^key/.test(b.originalEvent.type)&&c.element.val(f.value)},selected:function(b,e){var f=e.item.data("item.autocomplete"),
|
||||||
|
i=c.previous;c.element[0]!==a.activeElement&&(c.element.focus(),c.previous=i,setTimeout(function(){c.previous=i;c.selectedItem=f},1));!1!==c._trigger("select",b,{item:f})&&c.element.val(f.value);c.term=c.element.val();c.close(b);c.selectedItem=f},blur:function(){c.menu.element.is(":visible")&&c.element.val()!==c.term&&c.element.val(c.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");b.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
|
||||||
|
this.menu.element.remove();b.Widget.prototype.destroy.call(this)},_setOption:function(a,d){b.Widget.prototype._setOption.apply(this,arguments);"source"===a&&this._initSource();"appendTo"===a&&this.menu.element.appendTo(b(d||"body",this.element[0].ownerDocument)[0]);"disabled"===a&&(d&&this.xhr)&&this.xhr.abort()},_initSource:function(){var c=this,d,g;b.isArray(this.options.source)?(d=this.options.source,this.source=function(a,c){c(b.ui.autocomplete.filter(d,a.term))}):"string"===typeof this.options.source?
|
||||||
|
(g=this.options.source,this.source=function(d,e){c.xhr&&c.xhr.abort();c.xhr=b.ajax({url:g,data:d,dataType:"json",autocompleteRequest:++a,success:function(b){this.autocompleteRequest===a&&e(b)},error:function(){this.autocompleteRequest===a&&e([])}})}):this.source=this.options.source},search:function(b,a){b=null!=b?b:this.element.val();this.term=this.element.val();if(b.length<this.options.minLength)return this.close(a);clearTimeout(this.closing);if(!1!==this._trigger("search",a))return this._search(b)},
|
||||||
|
_search:function(b){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:b},this.response)},_response:function(b){!this.options.disabled&&b&&b.length?(b=this._normalize(b),this._suggest(b),this._trigger("open")):this.close();this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(b){clearTimeout(this.closing);this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger("close",b))},_change:function(b){this.previous!==
|
||||||
|
this.element.val()&&this._trigger("change",b,{item:this.selectedItem})},_normalize:function(a){return a.length&&a[0].label&&a[0].value?a:b.map(a,function(a){return"string"===typeof a?{label:a,value:a}:b.extend({label:a.label||a.value,value:a.value||a.label},a)})},_suggest:function(a){var d=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(d,a);this.menu.deactivate();this.menu.refresh();d.show();this._resizeMenu();d.position(b.extend({of:this.element},this.options.position));
|
||||||
|
this.options.autoFocus&&this.menu.next(new b.Event("mouseover"))},_resizeMenu:function(){var b=this.menu.element;b.outerWidth(Math.max(b.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,d){var g=this;b.each(d,function(b,d){g._renderItem(a,d)})},_renderItem:function(a,d){return b("<li></li>").data("item.autocomplete",d).append(b("<a></a>").text(d.label)).appendTo(a)},_move:function(b,a){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(b)||this.menu.last()&&
|
||||||
|
/^next/.test(b))this.element.val(this.term),this.menu.deactivate();else this.menu[b](a);else this.search(null,a)},widget:function(){return this.menu.element}});b.extend(b.ui.autocomplete,{escapeRegex:function(b){return b.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,d){var g=RegExp(b.ui.autocomplete.escapeRegex(d),"i");return b.grep(a,function(b){return g.test(b.label||b.value||b)})}})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(c){b(c.target).closest(".ui-menu-item a").length&&(c.preventDefault(),a.select(c))});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
|
||||||
|
-1).mouseenter(function(c){a.activate(c,b(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(b,c){this.deactivate();if(this.hasScroll()){var d=c.offset().top-this.element.offset().top,g=this.element.scrollTop(),h=this.element.height();0>d?this.element.scrollTop(g+d):d>=h&&this.element.scrollTop(g+d-h+c.height())}this.active=c.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",b,{item:c})},deactivate:function(){this.active&&
|
||||||
|
(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function(b){this.move("next",".ui-menu-item:first",b)},previous:function(b){this.move("prev",".ui-menu-item:last",b)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(b,c,d){this.active?(b=this.active[b+"All"](".ui-menu-item").eq(0),b.length?this.activate(d,
|
||||||
|
b):this.activate(d,this.element.children(c))):this.activate(d,this.element.children(c))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(".ui-menu-item:first"));else{var c=this.active.offset().top,d=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var a=b(this).offset().top-c-d+b(this).height();return 10>a&&-10<a});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(a,g)}else this.activate(a,
|
||||||
|
this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(a){if(this.hasScroll())if(!this.active||this.first())this.activate(a,this.element.children(".ui-menu-item:last"));else{var c=this.active.offset().top,d=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var a=b(this).offset().top-c+d-b(this).height();return 10>a&&-10<a});result.length||(result=this.element.children(".ui-menu-item:first"));this.activate(a,
|
||||||
|
result)}else this.activate(a,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element[b.fn.prop?"prop":"attr"]("scrollHeight")},select:function(b){this._trigger("selected",b,{item:this.active})}})})(jQuery);
|
||||||
|
(function(b){var a,c,d,g,h=function(){var a=b(this).find(":ui-button");setTimeout(function(){a.button("refresh")},1)},e=function(a){var c=a.name,d=a.form,h=b([]);c&&(h=d?b(d).find("[name='"+c+"']"):b("[name='"+c+"']",a.ownerDocument).filter(function(){return!this.form}));return h};b.widget("ui.button",{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",h);"boolean"!==typeof this.options.disabled&&
|
||||||
|
(this.options.disabled=this.element.attr("disabled"));this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var f=this,i=this.options,j="checkbox"===this.type||"radio"===this.type,k="ui-state-hover"+(!j?" ui-state-active":"");null===i.label&&(i.label=this.buttonElement.html());this.element.is(":disabled")&&(i.disabled=!0);this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!i.disabled){b(this).addClass("ui-state-hover");
|
||||||
|
this===a&&b(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){i.disabled||b(this).removeClass(k)}).bind("click.button",function(b){if(i.disabled){b.preventDefault();b.stopImmediatePropagation()}});this.element.bind("focus.button",function(){f.buttonElement.addClass("ui-state-focus")}).bind("blur.button",function(){f.buttonElement.removeClass("ui-state-focus")});j&&(this.element.bind("change.button",function(){g||f.refresh()}),this.buttonElement.bind("mousedown.button",function(b){if(!i.disabled){g=
|
||||||
|
false;c=b.pageX;d=b.pageY}}).bind("mouseup.button",function(b){if(!i.disabled&&(c!==b.pageX||d!==b.pageY))g=true}));"checkbox"===this.type?this.buttonElement.bind("click.button",function(){if(i.disabled||g)return false;b(this).toggleClass("ui-state-active");f.buttonElement.attr("aria-pressed",f.element[0].checked)}):"radio"===this.type?this.buttonElement.bind("click.button",function(){if(i.disabled||g)return false;b(this).addClass("ui-state-active");f.buttonElement.attr("aria-pressed",true);var a=
|
||||||
|
f.element[0];e(a).not(a).map(function(){return b(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)}):(this.buttonElement.bind("mousedown.button",function(){if(i.disabled)return false;b(this).addClass("ui-state-active");a=this;b(document).one("mouseup",function(){a=null})}).bind("mouseup.button",function(){if(i.disabled)return false;b(this).removeClass("ui-state-active")}).bind("keydown.button",function(a){if(i.disabled)return false;(a.keyCode==b.ui.keyCode.SPACE||
|
||||||
|
a.keyCode==b.ui.keyCode.ENTER)&&b(this).addClass("ui-state-active")}).bind("keyup.button",function(){b(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(a){a.keyCode===b.ui.keyCode.SPACE&&b(this).click()}));this._setOption("disabled",i.disabled);this._resetButton()},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if("checkbox"===this.type||
|
||||||
|
"radio"===this.type){var b=this.element.parents().filter(":last"),a="label[for="+this.element.attr("id")+"]";this.buttonElement=b.find(a);this.buttonElement.length||(b=b.length?b.siblings():this.element.siblings(),this.buttonElement=b.filter(a),this.buttonElement.length||(this.buttonElement=b.find(a)));this.element.addClass("ui-helper-hidden-accessible");(b=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",b)}else this.buttonElement=
|
||||||
|
this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||
|
||||||
|
this.buttonElement.removeAttr("title");b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);"disabled"===a?c?this.element.attr("disabled",!0):this.element.removeAttr("disabled"):this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);"radio"===this.type?e(this.element[0]).each(function(){b(this).is(":checked")?b(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
|
||||||
|
!0):b(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",!1)}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",!0):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",!1))},_resetButton:function(){if("input"===this.type)this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
|
||||||
|
c=b("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),d=this.options.icons,h=d.primary&&d.secondary,e=[];d.primary||d.secondary?(this.options.text&&e.push("ui-button-text-icon"+(h?"s":d.primary?"-primary":"-secondary")),d.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>"),d.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>"),this.options.text||(e.push(h?"ui-button-icons-only":
|
||||||
|
"ui-button-icon-only"),this.hasTitle||a.attr("title",c))):e.push("ui-button-text-only");a.addClass(e.join(" "))}}});b.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(a,c){"disabled"===a&&this.buttons.button("option",a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a="ltr"===this.element.css("direction");
|
||||||
|
this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(a?"ui-corner-left":"ui-corner-right").end().filter(":last").addClass(a?"ui-corner-right":"ui-corner-left").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");
|
||||||
|
b.Widget.prototype.destroy.call(this)}})})(jQuery);
|
||||||
|
(function(b,a){var c={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},d={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},g=b.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};b.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(a){var c=
|
||||||
|
b(this).css(a).offset().top;0>c&&b(this).css("top",a.top-c)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");"string"!==typeof this.originalTitle&&(this.originalTitle="");this.options.title=this.options.title||this.originalTitle;var a=this,c=a.options,f=c.title||" ",i=b.ui.dialog.getTitleId(a.element),d=(a.uiDialog=b("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+
|
||||||
|
c.dialogClass).css({zIndex:c.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(f){if(c.closeOnEscape&&f.keyCode&&f.keyCode===b.ui.keyCode.ESCAPE){a.close(f);f.preventDefault()}}).attr({role:"dialog","aria-labelledby":i}).mousedown(function(b){a.moveToTop(false,b)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(d);var g=(a.uiDialogTitlebar=b("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(d),
|
||||||
|
l=b('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){l.addClass("ui-state-hover")},function(){l.removeClass("ui-state-hover")}).focus(function(){l.addClass("ui-state-focus")}).blur(function(){l.removeClass("ui-state-focus")}).click(function(b){a.close(b);return false}).appendTo(g);(a.uiDialogTitlebarCloseText=b("<span></span>")).addClass("ui-icon ui-icon-closethick").text(c.closeText).appendTo(l);b("<span></span>").addClass("ui-dialog-title").attr("id",
|
||||||
|
i).html(f).prependTo(g);b.isFunction(c.beforeclose)&&!b.isFunction(c.beforeClose)&&(c.beforeClose=c.beforeclose);g.find("*").add(g).disableSelection();c.draggable&&b.fn.draggable&&a._makeDraggable();c.resizable&&b.fn.resizable&&a._makeResizable();a._createButtons(c.buttons);a._isOpen=!1;b.fn.bgiframe&&d.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){this.overlay&&this.overlay.destroy();this.uiDialog.hide();this.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");
|
||||||
|
this.uiDialog.remove();this.originalTitle&&this.element.attr("title",this.originalTitle);return this},widget:function(){return this.uiDialog},close:function(a){var c=this,f,d;if(!1!==c._trigger("beforeClose",a))return c.overlay&&c.overlay.destroy(),c.uiDialog.unbind("keypress.ui-dialog"),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger("close",a)}):(c.uiDialog.hide(),c._trigger("close",a)),b.ui.dialog.overlay.resize(),c.options.modal&&(f=0,b(".ui-dialog").each(function(){if(this!==
|
||||||
|
c.uiDialog[0]){d=b(this).css("z-index");isNaN(d)||(f=Math.max(f,d))}}),b.ui.dialog.maxZ=f),c},isOpen:function(){return this._isOpen},moveToTop:function(a,c){var f=this.options;if(f.modal&&!a||!f.stack&&!f.modal)return this._trigger("focus",c);f.zIndex>b.ui.dialog.maxZ&&(b.ui.dialog.maxZ=f.zIndex);this.overlay&&(b.ui.dialog.maxZ+=1,this.overlay.$el.css("z-index",b.ui.dialog.overlay.maxZ=b.ui.dialog.maxZ));f={scrollTop:this.element.attr("scrollTop"),scrollLeft:this.element.attr("scrollLeft")};b.ui.dialog.maxZ+=
|
||||||
|
1;this.uiDialog.css("z-index",b.ui.dialog.maxZ);this.element.attr(f);this._trigger("focus",c);return this},open:function(){if(!this._isOpen){var a=this.options,c=this.uiDialog;this.overlay=a.modal?new b.ui.dialog.overlay(this):null;this._size();this._position(a.position);c.show(a.show);this.moveToTop(!0);a.modal&&c.bind("keypress.ui-dialog",function(a){if(a.keyCode===b.ui.keyCode.TAB){var c=b(":tabbable",this),d=c.filter(":first"),c=c.filter(":last");if(a.target===c[0]&&!a.shiftKey)return d.focus(1),
|
||||||
|
!1;if(a.target===d[0]&&a.shiftKey)return c.focus(1),!1}});b(this.element.find(":tabbable").get().concat(c.find(".ui-dialog-buttonpane :tabbable").get().concat(c.get()))).eq(0).focus();this._isOpen=!0;this._trigger("open");return this}},_createButtons:function(a){var c=this,f=!1,d=b("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),j=b("<div></div>").addClass("ui-dialog-buttonset").appendTo(d);c.uiDialog.find(".ui-dialog-buttonpane").remove();"object"===typeof a&&
|
||||||
|
null!==a&&b.each(a,function(){return!(f=!0)});f&&(b.each(a,function(a,f){var f=b.isFunction(f)?{click:f,text:a}:f,d=b('<button type="button"></button>').click(function(){f.click.apply(c.element[0],arguments)}).appendTo(j);b.each(f,function(b,a){if("click"!==b)if(b in g)d[b](a);else d.attr(b,a)});b.fn.button&&d.button()}),d.appendTo(c.uiDialog))},_makeDraggable:function(){function a(b){return{position:b.position,offset:b.offset}}var c=this,f=c.options,d=b(document),g;c.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",
|
||||||
|
handle:".ui-dialog-titlebar",containment:"document",start:function(d,i){g="auto"===f.height?"auto":b(this).height();b(this).height(b(this).height()).addClass("ui-dialog-dragging");c._trigger("dragStart",d,a(i))},drag:function(b,f){c._trigger("drag",b,a(f))},stop:function(k,l){f.position=[l.position.left-d.scrollLeft(),l.position.top-d.scrollTop()];b(this).removeClass("ui-dialog-dragging").height(g);c._trigger("dragStop",k,a(l));b.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function d(b){return{originalPosition:b.originalPosition,
|
||||||
|
originalSize:b.originalSize,position:b.position,size:b.size}}var c=c===a?this.options.resizable:c,f=this,i=f.options,g=f.uiDialog.css("position"),c="string"===typeof c?c:"n,e,s,w,se,sw,ne,nw";f.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:f.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:f._minHeight(),handles:c,start:function(a,c){b(this).addClass("ui-dialog-resizing");f._trigger("resizeStart",a,d(c))},resize:function(b,a){f._trigger("resize",
|
||||||
|
b,d(a))},stop:function(a,c){b(this).removeClass("ui-dialog-resizing");i.height=b(this).height();i.width=b(this).width();f._trigger("resizeStop",a,d(c));b.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var b=this.options;return"auto"===b.height?b.minHeight:Math.min(b.minHeight,b.height)},_position:function(a){var c=[],f=[0,0],d;if(a){if("string"===typeof a||"object"===typeof a&&"0"in a)c=a.split?a.split(" "):
|
||||||
|
[a[0],a[1]],1===c.length&&(c[1]=c[0]),b.each(["left","top"],function(b,a){+c[b]===c[b]&&(f[b]=c[b],c[b]=a)}),a={my:c.join(" "),at:c.join(" "),offset:f.join(" ")};a=b.extend({},b.ui.dialog.prototype.options.position,a)}else a=b.ui.dialog.prototype.options.position;(d=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(b.extend({of:window},a));d||this.uiDialog.hide()},_setOptions:function(a){var g=this,f={},i=!1;b.each(a,function(b,a){g._setOption(b,a);b in
|
||||||
|
c&&(i=!0);b in d&&(f[b]=a)});i&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",f)},_setOption:function(a,c){var f=this.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":this._createButtons(c);break;case "closeText":this.uiDialogTitlebarCloseText.text(""+c);break;case "dialogClass":f.removeClass(this.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+c);break;case "disabled":c?f.addClass("ui-dialog-disabled"):
|
||||||
|
f.removeClass("ui-dialog-disabled");break;case "draggable":var d=f.is(":data(draggable)");d&&!c&&f.draggable("destroy");!d&&c&&this._makeDraggable();break;case "position":this._position(c);break;case "resizable":(d=f.is(":data(resizable)"))&&!c&&f.resizable("destroy");d&&"string"===typeof c&&f.resizable("option","handles",c);!d&&!1!==c&&this._makeResizable(c);break;case "title":b(".ui-dialog-title",this.uiDialogTitlebar).html(""+(c||" "))}b.Widget.prototype._setOption.apply(this,arguments)},
|
||||||
|
_size:function(){var a=this.options,c,f,d=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});a.minWidth>a.width&&(a.width=a.minWidth);c=this.uiDialog.css({height:"auto",width:a.width}).height();f=Math.max(0,a.minHeight-c);"auto"===a.height?b.support.minHeight?this.element.css({minHeight:f,height:"auto"}):(this.uiDialog.show(),a=this.element.css("height","auto").height(),d||this.uiDialog.hide(),this.element.height(Math.max(a,f))):this.element.height(Math.max(a.height-
|
||||||
|
c,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});b.extend(b.ui.dialog,{version:"1.8.14",uuid:0,maxZ:0,getTitleId:function(b){b=b.attr("id");b||(b=this.uuid+=1);return"ui-dialog-title-"+b},overlay:function(a){this.$el=b.ui.dialog.overlay.create(a)}});b.extend(b.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:b.map("focus mousedown mouseup keydown keypress click".split(" "),function(b){return b+".dialog-overlay"}).join(" "),
|
||||||
|
create:function(a){0===this.instances.length&&(setTimeout(function(){b.ui.dialog.overlay.instances.length&&b(document).bind(b.ui.dialog.overlay.events,function(a){if(b(a.target).zIndex()<b.ui.dialog.overlay.maxZ)return!1})},1),b(document).bind("keydown.dialog-overlay",function(c){a.options.closeOnEscape&&(c.keyCode&&c.keyCode===b.ui.keyCode.ESCAPE)&&(a.close(c),c.preventDefault())}),b(window).bind("resize.dialog-overlay",b.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||b("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
|
||||||
|
height:this.height()});b.fn.bgiframe&&c.bgiframe();this.instances.push(c);return c},destroy:function(a){var c=b.inArray(a,this.instances);-1!=c&&this.oldInstances.push(this.instances.splice(c,1)[0]);0===this.instances.length&&b([document,window]).unbind(".dialog-overlay");a.remove();var f=0;b.each(this.instances,function(){f=Math.max(f,this.css("z-index"))});this.maxZ=f},height:function(){var a,c;return b.browser.msie&&7>b.browser.version?(a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),
|
||||||
|
c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),a<c?b(window).height()+"px":a+"px"):b(document).height()+"px"},width:function(){var a,c;return b.browser.msie?(a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),a<c?b(window).width()+"px":a+"px"):b(document).width()+"px"},resize:function(){var a=b([]);b.each(b.ui.dialog.overlay.instances,function(){a=a.add(this)});a.css({width:0,
|
||||||
|
height:0}).css({width:b.ui.dialog.overlay.width(),height:b.ui.dialog.overlay.height()})}});b.extend(b.ui.dialog.overlay.prototype,{destroy:function(){b.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
|
||||||
|
(function(b){b.widget("ui.slider",b.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var a=this,c=this.options,d=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),g=c.values&&c.values.length||1,h=[];this._mouseSliding=this._keySliding=!1;this._animateOff=!0;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+
|
||||||
|
this.orientation+" ui-widget ui-widget-content ui-corner-all"+(c.disabled?" ui-slider-disabled ui-disabled":""));this.range=b([]);if(c.range){if(!0===c.range&&(c.values||(c.values=[this._valueMin(),this._valueMin()]),c.values.length&&2!==c.values.length))c.values=[c.values[0],c.values[0]];this.range=b("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===c.range||"max"===c.range?" ui-slider-range-"+c.range:""))}for(var e=d.length;e<g;e+=1)h.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");
|
||||||
|
this.handles=d.add(b(h.join("")).appendTo(a.element));this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(b){b.preventDefault()}).hover(function(){c.disabled||b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")}).focus(function(){c.disabled?b(this).blur():(b(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),b(this).addClass("ui-state-focus"))}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(a){b(this).data("index.ui-slider-handle",
|
||||||
|
a)});this.handles.keydown(function(c){var d=!0,g=b(this).data("index.ui-slider-handle"),e,h,m;if(!a.options.disabled){switch(c.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(d=!1,!a._keySliding&&(a._keySliding=!0,b(this).addClass("ui-state-active"),e=a._start(c,g),!1===e))return}m=a.options.step;e=a.options.values&&a.options.values.length?h=a.values(g):
|
||||||
|
h=a.value();switch(c.keyCode){case b.ui.keyCode.HOME:h=a._valueMin();break;case b.ui.keyCode.END:h=a._valueMax();break;case b.ui.keyCode.PAGE_UP:h=a._trimAlignValue(e+(a._valueMax()-a._valueMin())/5);break;case b.ui.keyCode.PAGE_DOWN:h=a._trimAlignValue(e-(a._valueMax()-a._valueMin())/5);break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(e===a._valueMax())return;h=a._trimAlignValue(e+m);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(e===a._valueMin())return;h=a._trimAlignValue(e-m)}a._slide(c,
|
||||||
|
g,h);return d}}).keyup(function(c){var d=b(this).data("index.ui-slider-handle");a._keySliding&&(a._keySliding=!1,a._stop(c,d),a._change(c,d),b(this).removeClass("ui-state-active"))});this._refreshValue();this._animateOff=!1},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(a){var c=
|
||||||
|
this.options,d,g,h,e,f;if(c.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();d=this._normValueFromMouse({x:a.pageX,y:a.pageY});g=this._valueMax()-this._valueMin()+1;e=this;this.handles.each(function(a){var c=Math.abs(d-e.values(a));g>c&&(g=c,h=b(this),f=a)});!0===c.range&&this.values(1)===c.min&&(f+=1,h=b(this.handles[f]));if(!1===this._start(a,f))return!1;this._mouseSliding=!0;e._handleIndex=f;h.addClass("ui-state-active").focus();
|
||||||
|
c=h.offset();this._clickOffset=!b(a.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:a.pageX-c.left-h.width()/2,top:a.pageY-c.top-h.height()/2-(parseInt(h.css("borderTopWidth"),10)||0)-(parseInt(h.css("borderBottomWidth"),10)||0)+(parseInt(h.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(a,f,d);return this._animateOff=!0},_mouseStart:function(){return!0},_mouseDrag:function(b){var c=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,
|
||||||
|
this._handleIndex,c);return!1},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=!1;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(b){var c;"horizontal"===this.orientation?(c=this.elementSize.width,b=b.x-this.elementOffset.left-(this._clickOffset?
|
||||||
|
this._clickOffset.left:0)):(c=this.elementSize.height,b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0));c=b/c;1<c&&(c=1);0>c&&(c=0);"vertical"===this.orientation&&(c=1-c);b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+c*b)},_start:function(b,c){var d={handle:this.handles[c],value:this.value()};this.options.values&&this.options.values.length&&(d.value=this.values(c),d.values=this.values());return this._trigger("start",b,d)},_slide:function(b,
|
||||||
|
c,d){var g;if(this.options.values&&this.options.values.length){g=this.values(c?0:1);if(2===this.options.values.length&&!0===this.options.range&&(0===c&&d>g||1===c&&d<g))d=g;d!==this.values(c)&&(g=this.values(),g[c]=d,b=this._trigger("slide",b,{handle:this.handles[c],value:d,values:g}),this.values(c?0:1),!1!==b&&this.values(c,d,!0))}else d!==this.value()&&(b=this._trigger("slide",b,{handle:this.handles[c],value:d}),!1!==b&&this.value(d))},_stop:function(b,c){var d={handle:this.handles[c],value:this.value()};
|
||||||
|
this.options.values&&this.options.values.length&&(d.value=this.values(c),d.values=this.values());this._trigger("stop",b,d)},_change:function(b,c){if(!this._keySliding&&!this._mouseSliding){var d={handle:this.handles[c],value:this.value()};this.options.values&&this.options.values.length&&(d.value=this.values(c),d.values=this.values());this._trigger("change",b,d)}},value:function(b){if(arguments.length)this.options.value=this._trimAlignValue(b),this._refreshValue(),this._change(null,0);else return this._value()},
|
||||||
|
values:function(a,c){var d,g,h;if(1<arguments.length)this.options.values[a]=this._trimAlignValue(c),this._refreshValue(),this._change(null,a);else if(arguments.length)if(b.isArray(arguments[0])){d=this.options.values;g=arguments[0];for(h=0;h<d.length;h+=1)d[h]=this._trimAlignValue(g[h]),this._change(null,h);this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(a):this.value();else return this._values()},_setOption:function(a,c){var d,g=0;b.isArray(this.options.values)&&
|
||||||
|
(g=this.options.values.length);b.Widget.prototype._setOption.apply(this,arguments);switch(a){case "disabled":c?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.attr("disabled","disabled"),this.element.addClass("ui-disabled")):(this.handles.removeAttr("disabled"),this.element.removeClass("ui-disabled"));break;case "orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);
|
||||||
|
this._refreshValue();break;case "value":this._animateOff=!0;this._refreshValue();this._change(null,0);this._animateOff=!1;break;case "values":this._animateOff=!0;this._refreshValue();for(d=0;d<g;d+=1)this._change(null,d);this._animateOff=!1}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var c,d;if(arguments.length)return c=this.options.values[b],c=this._trimAlignValue(c);c=this.options.values.slice();for(d=0;d<c.length;d+=1)c[d]=this._trimAlignValue(c[d]);
|
||||||
|
return c},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var c=0<this.options.step?this.options.step:1,d=(b-this._valueMin())%c;alignValue=b-d;2*Math.abs(d)>=c&&(alignValue+=0<d?c:-c);return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var a=this.options.range,c=this.options,d=this,g=!this._animateOff?c.animate:!1,h,e=
|
||||||
|
{},f,i,j,k;if(this.options.values&&this.options.values.length)this.handles.each(function(a){h=100*((d.values(a)-d._valueMin())/(d._valueMax()-d._valueMin()));e["horizontal"===d.orientation?"left":"bottom"]=h+"%";b(this).stop(1,1)[g?"animate":"css"](e,c.animate);if(!0===d.options.range)if("horizontal"===d.orientation){if(0===a)d.range.stop(1,1)[g?"animate":"css"]({left:h+"%"},c.animate);if(1===a)d.range[g?"animate":"css"]({width:h-f+"%"},{queue:!1,duration:c.animate})}else{if(0===a)d.range.stop(1,
|
||||||
|
1)[g?"animate":"css"]({bottom:h+"%"},c.animate);if(1===a)d.range[g?"animate":"css"]({height:h-f+"%"},{queue:!1,duration:c.animate})}f=h});else{i=this.value();j=this._valueMin();k=this._valueMax();h=k!==j?100*((i-j)/(k-j)):0;e["horizontal"===d.orientation?"left":"bottom"]=h+"%";this.handle.stop(1,1)[g?"animate":"css"](e,c.animate);if("min"===a&&"horizontal"===this.orientation)this.range.stop(1,1)[g?"animate":"css"]({width:h+"%"},c.animate);if("max"===a&&"horizontal"===this.orientation)this.range[g?
|
||||||
|
"animate":"css"]({width:100-h+"%"},{queue:!1,duration:c.animate});if("min"===a&&"vertical"===this.orientation)this.range.stop(1,1)[g?"animate":"css"]({height:h+"%"},c.animate);if("max"===a&&"vertical"===this.orientation)this.range[g?"animate":"css"]({height:100-h+"%"},{queue:!1,duration:c.animate})}}});b.extend(b.ui.slider,{version:"1.8.14"})})(jQuery);
|
||||||
|
(function(b,a){var c=0,d=0;b.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(!0)},_setOption:function(b,a){"selected"==b?this.options.collapsible&&a==this.options.selected||this.select(a):
|
||||||
|
(this.options[b]=a,this._tabify())},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+ ++c},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var a=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++d);return b.cookie.apply(null,[a].concat(b.makeArray(arguments)))},_ui:function(b,a){return{tab:b,panel:a,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var a=
|
||||||
|
b(this);a.html(a.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function d(a,c){a.css("display","");!b.support.opacity&&c.opacity&&a[0].style.removeAttribute("filter")}var e=this,f=this.options,i=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=b(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return b("a",this)[0]});this.panels=b([]);this.anchors.each(function(a,c){var d=b(c).attr("href"),g=d.split("#")[0],h;if(g&&(g===location.toString().split("#")[0]||
|
||||||
|
(h=b("base")[0])&&g===h.href))d=c.hash,c.href=d;i.test(d)?e.panels=e.panels.add(e.element.find(e._sanitizeSelector(d))):d&&"#"!==d?(b.data(c,"href.tabs",d),b.data(c,"load.tabs",d.replace(/#.*$/,"")),d=e._tabId(c),c.href="#"+d,g=e.element.find("#"+d),g.length||(g=b(f.panelTemplate).attr("id",d).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(e.panels[a-1]||e.list),g.data("destroy.tabs",!0)),e.panels=e.panels.add(g)):f.disabled.push(a)});c?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),
|
||||||
|
this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),f.selected===a?(location.hash&&this.anchors.each(function(b,a){if(a.hash==location.hash)return f.selected=b,!1}),"number"!==typeof f.selected&&f.cookie&&(f.selected=parseInt(e._cookie(),10)),"number"!==typeof f.selected&&this.lis.filter(".ui-tabs-selected").length&&(f.selected=
|
||||||
|
this.lis.index(this.lis.filter(".ui-tabs-selected"))),f.selected=f.selected||(this.lis.length?0:-1)):null===f.selected&&(f.selected=-1),f.selected=0<=f.selected&&this.anchors[f.selected]||0>f.selected?f.selected:0,f.disabled=b.unique(f.disabled.concat(b.map(this.lis.filter(".ui-state-disabled"),function(b){return e.lis.index(b)}))).sort(),-1!=b.inArray(f.selected,f.disabled)&&f.disabled.splice(b.inArray(f.selected,f.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),
|
||||||
|
0<=f.selected&&this.anchors.length&&(e.element.find(e._sanitizeSelector(e.anchors[f.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(f.selected).addClass("ui-tabs-selected ui-state-active"),e.element.queue("tabs",function(){e._trigger("show",null,e._ui(e.anchors[f.selected],e.element.find(e._sanitizeSelector(e.anchors[f.selected].hash))[0]))}),this.load(f.selected)),b(window).bind("unload",function(){e.lis.add(e.anchors).unbind(".tabs");e.lis=e.anchors=e.panels=null})):f.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));
|
||||||
|
this.element[f.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");f.cookie&&this._cookie(f.selected,f.cookie);for(var c=0,j;j=this.lis[c];c++)b(j)[-1!=b.inArray(c,f.disabled)&&!b(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");!1===f.cache&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if("mouseover"!==f.event){var k=function(b,a){a.is(":not(.ui-state-disabled)")&&a.addClass("ui-state-"+b)};this.lis.bind("mouseover.tabs",
|
||||||
|
function(){k("hover",b(this))});this.lis.bind("mouseout.tabs",function(){b(this).removeClass("ui-state-hover")});this.anchors.bind("focus.tabs",function(){k("focus",b(this).closest("li"))});this.anchors.bind("blur.tabs",function(){b(this).closest("li").removeClass("ui-state-focus")})}var l,m;f.fx&&(b.isArray(f.fx)?(l=f.fx[0],m=f.fx[1]):l=m=f.fx);var p=m?function(a,c){b(a).closest("li").addClass("ui-tabs-selected ui-state-active");c.hide().removeClass("ui-tabs-hide").animate(m,m.duration||"normal",
|
||||||
|
function(){d(c,m);e._trigger("show",null,e._ui(a,c[0]))})}:function(a,c){b(a).closest("li").addClass("ui-tabs-selected ui-state-active");c.removeClass("ui-tabs-hide");e._trigger("show",null,e._ui(a,c[0]))},n=l?function(b,a){a.animate(l,l.duration||"normal",function(){e.lis.removeClass("ui-tabs-selected ui-state-active");a.addClass("ui-tabs-hide");d(a,l);e.element.dequeue("tabs")})}:function(b,a){e.lis.removeClass("ui-tabs-selected ui-state-active");a.addClass("ui-tabs-hide");e.element.dequeue("tabs")};
|
||||||
|
this.anchors.bind(f.event+".tabs",function(){var a=this,c=b(a).closest("li"),d=e.panels.filter(":not(.ui-tabs-hide)"),i=e.element.find(e._sanitizeSelector(a.hash));if(c.hasClass("ui-tabs-selected")&&!f.collapsible||c.hasClass("ui-state-disabled")||c.hasClass("ui-state-processing")||e.panels.filter(":animated").length||e._trigger("select",null,e._ui(this,i[0]))===false){this.blur();return false}f.selected=e.anchors.index(this);e.abort();if(f.collapsible){if(c.hasClass("ui-tabs-selected")){f.selected=
|
||||||
|
-1;f.cookie&&e._cookie(f.selected,f.cookie);e.element.queue("tabs",function(){n(a,d)}).dequeue("tabs");this.blur();return false}if(!d.length){f.cookie&&e._cookie(f.selected,f.cookie);e.element.queue("tabs",function(){p(a,i)});e.load(e.anchors.index(this));this.blur();return false}}f.cookie&&e._cookie(f.selected,f.cookie);if(i.length){d.length&&e.element.queue("tabs",function(){n(a,d)});e.element.queue("tabs",function(){p(a,i)});e.load(e.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";
|
||||||
|
b.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){"string"==typeof b&&(b=this.anchors.index(this.anchors.filter("[href$="+b+"]")));return b},destroy:function(){var a=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var a=
|
||||||
|
b.data(this,"href.tabs");a&&(this.href=a);var c=b(this).unbind(".tabs");b.each(["href","load","cache"],function(b,a){c.removeData(a+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){b.data(this,"destroy.tabs")?b(this).remove():b(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});a.cookie&&this._cookie(null,a.cookie);return this},add:function(c,
|
||||||
|
d,e){e===a&&(e=this.anchors.length);var f=this,i=this.options,d=b(i.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,d)),c=!c.indexOf("#")?c.replace("#",""):this._tabId(b("a",d)[0]);d.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0);var j=f.element.find("#"+c);j.length||(j=b(i.panelTemplate).attr("id",c).data("destroy.tabs",!0));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");e>=this.lis.length?(d.appendTo(this.list),j.appendTo(this.list[0].parentNode)):
|
||||||
|
(d.insertBefore(this.lis[e]),j.insertBefore(this.panels[e]));i.disabled=b.map(i.disabled,function(b){return b>=e?++b:b});this._tabify();1==this.anchors.length&&(i.selected=0,d.addClass("ui-tabs-selected ui-state-active"),j.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0));this._trigger("add",null,this._ui(this.anchors[e],this.panels[e]));return this},remove:function(a){var a=this._getIndex(a),c=this.options,d=this.lis.eq(a).remove(),
|
||||||
|
f=this.panels.eq(a).remove();d.hasClass("ui-tabs-selected")&&1<this.anchors.length&&this.select(a+(a+1<this.anchors.length?1:-1));c.disabled=b.map(b.grep(c.disabled,function(b){return b!=a}),function(b){return b>=a?--b:b});this._tabify();this._trigger("remove",null,this._ui(d.find("a")[0],f[0]));return this},enable:function(a){var a=this._getIndex(a),c=this.options;if(-1!=b.inArray(a,c.disabled))return this.lis.eq(a).removeClass("ui-state-disabled"),c.disabled=b.grep(c.disabled,function(b){return b!=
|
||||||
|
a}),this._trigger("enable",null,this._ui(this.anchors[a],this.panels[a])),this},disable:function(b){var b=this._getIndex(b),a=this.options;b!=a.selected&&(this.lis.eq(b).addClass("ui-state-disabled"),a.disabled.push(b),a.disabled.sort(),this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b])));return this},select:function(b){b=this._getIndex(b);if(-1==b)if(this.options.collapsible&&-1!=this.options.selected)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+
|
||||||
|
".tabs");return this},load:function(a){var a=this._getIndex(a),c=this,d=this.options,f=this.anchors.eq(a)[0],i=b.data(f,"load.tabs");this.abort();if(!i||0!==this.element.queue("tabs").length&&b.data(f,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(a).addClass("ui-state-processing");if(d.spinner){var j=b("span",f);j.data("label.tabs",j.html()).html(d.spinner)}this.xhr=b.ajax(b.extend({},d.ajaxOptions,{url:i,success:function(i,j){c.element.find(c._sanitizeSelector(f.hash)).html(i);c._cleanup();
|
||||||
|
d.cache&&b.data(f,"cache.tabs",!0);c._trigger("load",null,c._ui(c.anchors[a],c.panels[a]));try{d.ajaxOptions.success(i,j)}catch(m){}},error:function(b,i){c._cleanup();c._trigger("load",null,c._ui(c.anchors[a],c.panels[a]));try{d.ajaxOptions.error(b,i,a,f)}catch(m){}}}));c.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(!1,!0);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));this.xhr&&(this.xhr.abort(),delete this.xhr);this._cleanup();
|
||||||
|
return this},url:function(b,a){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",a);return this},length:function(){return this.anchors.length}});b.extend(b.ui.tabs,{version:"1.8.14"});b.extend(b.ui.tabs.prototype,{rotation:null,rotate:function(b,a){var c=this,f=this.options,d=c._rotate||(c._rotate=function(a){clearTimeout(c.rotation);c.rotation=setTimeout(function(){var b=f.selected;c.select(++b<c.anchors.length?b:0)},b);a&&a.stopPropagation()}),j=c._unrotate||(c._unrotate=!a?function(b){b.clientX&&
|
||||||
|
c.rotate(null)}:function(){t=f.selected;d()});b?(this.element.bind("tabsshow",d),this.anchors.bind(f.event+".tabs",j),d()):(clearTimeout(c.rotation),this.element.unbind("tabsshow",d),this.anchors.unbind(f.event+".tabs",j),delete this._rotate,delete this._unrotate);return this}})})(jQuery);
|
||||||
|
(function(b,a){function c(){this.debug=!1;this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._inDialog=this._datepickerShowing=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
|
||||||
|
"ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:"January February March April May June July August September October November December".split(" "),monthNamesShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),dayNames:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),dayNamesShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),dayNamesMin:"Su Mo Tu We Th Fr Sa".split(" "),
|
||||||
|
weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,
|
||||||
|
beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1};b.extend(this._defaults,this.regional[""]);this.dpDiv=d(b('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}function d(a){return a.bind("mouseout",function(a){a=b(a.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");
|
||||||
|
a.length&&a.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(c){c=b(c.target).closest("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a");if(!b.datepicker._isDisabledDatepicker(e.inline?a.parent()[0]:e.input[0])&&c.length)c.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),c.addClass("ui-state-hover"),c.hasClass("ui-datepicker-prev")&&c.addClass("ui-datepicker-prev-hover"),c.hasClass("ui-datepicker-next")&&
|
||||||
|
c.addClass("ui-datepicker-next-hover")})}function g(c,d){b.extend(c,d);for(var e in d)if(null==d[e]||d[e]==a)c[e]=d[e];return c}b.extend(b.ui,{datepicker:{version:"1.8.14"}});var h=(new Date).getTime(),e;b.extend(c.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(b){g(this._defaults,b||{});return this},_attachDatepicker:function(a,c){var d=null,e;for(e in this._defaults){var g=
|
||||||
|
a.getAttribute("date:"+e);if(g){d=d||{};try{d[e]=eval(g)}catch(m){d[e]=g}}}e=a.nodeName.toLowerCase();g="div"==e||"span"==e;a.id||(this.uuid+=1,a.id="dp"+this.uuid);var h=this._newInst(b(a),g);h.settings=b.extend({},c||{},d||{});"input"==e?this._connectDatepicker(a,h):g&&this._inlineDatepicker(a,h)},_newInst:function(a,c){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:c,dpDiv:!c?this.dpDiv:d(b('<div class="'+
|
||||||
|
this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))}},_connectDatepicker:function(a,c){var d=b(a);c.append=b([]);c.trigger=b([]);d.hasClass(this.markerClassName)||(this._attachments(d,c),d.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(b,a,f){c.settings[a]=f}).bind("getData.datepicker",function(b,a){return this._get(c,a)}),this._autoSize(c),b.data(a,"datepicker",
|
||||||
|
c))},_attachments:function(a,c){var d=this._get(c,"appendText"),e=this._get(c,"isRTL");c.append&&c.append.remove();d&&(c.append=b('<span class="'+this._appendClass+'">'+d+"</span>"),a[e?"before":"after"](c.append));a.unbind("focus",this._showDatepicker);c.trigger&&c.trigger.remove();d=this._get(c,"showOn");("focus"==d||"both"==d)&&a.focus(this._showDatepicker);if("button"==d||"both"==d){var d=this._get(c,"buttonText"),g=this._get(c,"buttonImage");c.trigger=b(this._get(c,"buttonImageOnly")?b("<img/>").addClass(this._triggerClass).attr({src:g,
|
||||||
|
alt:d,title:d}):b('<button type="button"></button>').addClass(this._triggerClass).html(""==g?d:b("<img/>").attr({src:g,alt:d,title:d})));a[e?"before":"after"](c.trigger);c.trigger.click(function(){b.datepicker._datepickerShowing&&b.datepicker._lastInput==a[0]?b.datepicker._hideDatepicker():b.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(b){if(this._get(b,"autoSize")&&!b.inline){var a=new Date(2009,11,20),c=this._get(b,"dateFormat");if(c.match(/[DM]/)){var d=function(b){for(var a=
|
||||||
|
0,c=0,f=0;f<b.length;f++)b[f].length>a&&(a=b[f].length,c=f);return c};a.setMonth(d(this._get(b,c.match(/MM/)?"monthNames":"monthNamesShort")));a.setDate(d(this._get(b,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())}b.input.attr("size",this._formatDate(b,a).length)}},_inlineDatepicker:function(a,c){var d=b(a);d.hasClass(this.markerClassName)||(d.addClass(this.markerClassName).append(c.dpDiv).bind("setData.datepicker",function(b,a,f){c.settings[a]=f}).bind("getData.datepicker",function(b,
|
||||||
|
a){return this._get(c,a)}),b.data(a,"datepicker",c),this._setDate(c,this._getDefaultDate(c),!0),this._updateDatepicker(c),this._updateAlternate(c),c.dpDiv.show())},_dialogDatepicker:function(a,c,d,e,h){a=this._dialogInst;a||(this.uuid+=1,this._dialogInput=b('<input type="text" id="dp'+this.uuid+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>'),this._dialogInput.keydown(this._doKeyDown),b("body").append(this._dialogInput),a=this._dialogInst=this._newInst(this._dialogInput,!1),
|
||||||
|
a.settings={},b.data(this._dialogInput[0],"datepicker",a));g(a.settings,e||{});c=c&&c.constructor==Date?this._formatDate(a,c):c;this._dialogInput.val(c);this._pos=h?h.length?h:[h.pageX,h.pageY]:null;this._pos||(this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)]);this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+
|
||||||
|
"px");a.settings.onSelect=d;this._inDialog=!0;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);b.blockUI&&b.blockUI(this.dpDiv);b.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();b.removeData(a,"datepicker");"input"==e?(d.append.remove(),d.trigger.remove(),c.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",
|
||||||
|
this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"==e||"span"==e)&&c.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e)a.disabled=!1,d.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""});else if("div"==e||"span"==e)c=c.children("."+this._inlineClass),c.children().removeClass("ui-state-disabled"),
|
||||||
|
c.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled");this._disabledInputs=b.map(this._disabledInputs,function(b){return b==a?null:b})}},_disableDatepicker:function(a){var c=b(a),d=b.data(a,"datepicker");if(c.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if("input"==e)a.disabled=!0,d.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"});else if("div"==e||"span"==e)c=c.children("."+this._inlineClass),
|
||||||
|
c.children().addClass("ui-state-disabled"),c.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled");this._disabledInputs=b.map(this._disabledInputs,function(b){return b==a?null:b});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(b){if(!b)return!1;for(var a=0;a<this._disabledInputs.length;a++)if(this._disabledInputs[a]==b)return!0;return!1},_getInst:function(a){try{return b.data(a,"datepicker")}catch(c){throw"Missing instance data for this datepicker";
|
||||||
|
}},_optionDatepicker:function(c,d,e){var h=this._getInst(c);if(2==arguments.length&&"string"==typeof d)return"defaults"==d?b.extend({},b.datepicker._defaults):h?"all"==d?b.extend({},h.settings):this._get(h,d):null;var l=d||{};"string"==typeof d&&(l={},l[d]=e);if(h){this._curInst==h&&this._hideDatepicker();var m=this._getDateDatepicker(c,!0),p=this._getMinMaxDate(h,"min"),n=this._getMinMaxDate(h,"max");g(h.settings,l);null!==p&&(l.dateFormat!==a&&l.minDate===a)&&(h.settings.minDate=this._formatDate(h,
|
||||||
|
p));null!==n&&(l.dateFormat!==a&&l.maxDate===a)&&(h.settings.maxDate=this._formatDate(h,n));this._attachments(b(c),h);this._autoSize(h);this._setDate(h,m);this._updateAlternate(h);this._updateDatepicker(h)}},_changeDatepicker:function(b,a,c){this._optionDatepicker(b,a,c)},_refreshDatepicker:function(b){(b=this._getInst(b))&&this._updateDatepicker(b)},_setDateDatepicker:function(b,a){var c=this._getInst(b);c&&(this._setDate(c,a),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:function(b,
|
||||||
|
a){var c=this._getInst(b);c&&!c.inline&&this._setDateFromField(c,a);return c?this._getDate(c):null},_doKeyDown:function(a){var c=b.datepicker._getInst(a.target),d=!0,e=c.dpDiv.is(".ui-datepicker-rtl");c._keyEvent=!0;if(b.datepicker._datepickerShowing)switch(a.keyCode){case 9:b.datepicker._hideDatepicker();d=!1;break;case 13:return d=b("td."+b.datepicker._dayOverClass+":not(."+b.datepicker._currentClass+")",c.dpDiv),d[0]?b.datepicker._selectDay(a.target,c.selectedMonth,c.selectedYear,d[0]):b.datepicker._hideDatepicker(),
|
||||||
|
!1;case 27:b.datepicker._hideDatepicker();break;case 33:b.datepicker._adjustDate(a.target,a.ctrlKey?-b.datepicker._get(c,"stepBigMonths"):-b.datepicker._get(c,"stepMonths"),"M");break;case 34:b.datepicker._adjustDate(a.target,a.ctrlKey?+b.datepicker._get(c,"stepBigMonths"):+b.datepicker._get(c,"stepMonths"),"M");break;case 35:(a.ctrlKey||a.metaKey)&&b.datepicker._clearDate(a.target);d=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&b.datepicker._gotoToday(a.target);d=a.ctrlKey||a.metaKey;
|
||||||
|
break;case 37:if(a.ctrlKey||a.metaKey)b.datepicker._adjustDate(a.target,e?1:-1,"D");d=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&b.datepicker._adjustDate(a.target,a.ctrlKey?-b.datepicker._get(c,"stepBigMonths"):-b.datepicker._get(c,"stepMonths"),"M");break;case 38:(a.ctrlKey||a.metaKey)&&b.datepicker._adjustDate(a.target,-7,"D");d=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)b.datepicker._adjustDate(a.target,e?-1:1,"D");d=a.ctrlKey||a.metaKey;a.originalEvent.altKey&&b.datepicker._adjustDate(a.target,
|
||||||
|
a.ctrlKey?+b.datepicker._get(c,"stepBigMonths"):+b.datepicker._get(c,"stepMonths"),"M");break;case 40:(a.ctrlKey||a.metaKey)&&b.datepicker._adjustDate(a.target,7,"D");d=a.ctrlKey||a.metaKey;break;default:d=!1}else 36==a.keyCode&&a.ctrlKey?b.datepicker._showDatepicker(this):d=!1;d&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(c){var d=b.datepicker._getInst(c.target);if(b.datepicker._get(d,"constrainInput")){var d=b.datepicker._possibleChars(b.datepicker._get(d,"dateFormat")),e=String.fromCharCode(c.charCode==
|
||||||
|
a?c.keyCode:c.charCode);return c.ctrlKey||c.metaKey||" ">e||!d||-1<d.indexOf(e)}},_doKeyUp:function(a){a=b.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(b.datepicker.parseDate(b.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,b.datepicker._getFormatConfig(a)))b.datepicker._setDateFromField(a),b.datepicker._updateAlternate(a),b.datepicker._updateDatepicker(a)}catch(c){b.datepicker.log(c)}return!0},_showDatepicker:function(a){a=a.target||a;"input"!=a.nodeName.toLowerCase()&&
|
||||||
|
(a=b("input",a.parentNode)[0]);if(!(b.datepicker._isDisabledDatepicker(a)||b.datepicker._lastInput==a)){var c=b.datepicker._getInst(a);b.datepicker._curInst&&b.datepicker._curInst!=c&&(b.datepicker._datepickerShowing&&b.datepicker._triggerOnClose(b.datepicker._curInst),b.datepicker._curInst.dpDiv.stop(!0,!0));var d=b.datepicker._get(c,"beforeShow");g(c.settings,d?d.apply(a,[a,c]):{});c.lastVal=null;b.datepicker._lastInput=a;b.datepicker._setDateFromField(c);b.datepicker._inDialog&&(a.value="");b.datepicker._pos||
|
||||||
|
(b.datepicker._pos=b.datepicker._findPos(a),b.datepicker._pos[1]+=a.offsetHeight);var e=!1;b(a).parents().each(function(){e=e|b(this).css("position")=="fixed";return!e});e&&b.browser.opera&&(b.datepicker._pos[0]-=document.documentElement.scrollLeft,b.datepicker._pos[1]-=document.documentElement.scrollTop);d={left:b.datepicker._pos[0],top:b.datepicker._pos[1]};b.datepicker._pos=null;c.dpDiv.empty();c.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});b.datepicker._updateDatepicker(c);d=
|
||||||
|
b.datepicker._checkOffset(c,d,e);c.dpDiv.css({position:b.datepicker._inDialog&&b.blockUI?"static":e?"fixed":"absolute",display:"none",left:d.left+"px",top:d.top+"px"});if(!c.inline){var d=b.datepicker._get(c,"showAnim"),h=b.datepicker._get(c,"duration"),m=function(){var a=c.dpDiv.find("iframe.ui-datepicker-cover");if(a.length){var f=b.datepicker._getBorders(c.dpDiv);a.css({left:-f[0],top:-f[1],width:c.dpDiv.outerWidth(),height:c.dpDiv.outerHeight()})}};c.dpDiv.zIndex(b(a).zIndex()+1);b.datepicker._datepickerShowing=
|
||||||
|
!0;if(b.effects&&b.effects[d])c.dpDiv.show(d,b.datepicker._get(c,"showOptions"),h,m);else c.dpDiv[d||"show"](d?h:null,m);(!d||!h)&&m();c.input.is(":visible")&&!c.input.is(":disabled")&&c.input.focus();b.datepicker._curInst=c}}},_updateDatepicker:function(a){this.maxRows=4;var c=b.datepicker._getBorders(a.dpDiv);e=a;a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find("iframe.ui-datepicker-cover");d.length&&d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});
|
||||||
|
a.dpDiv.find("."+this._dayOverClass+" a").mouseover();c=this._getNumberOfMonths(a);d=c[1];a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");1<d&&a.dpDiv.addClass("ui-datepicker-multi-"+d).css("width",17*d+"em");a.dpDiv[(1!=c[0]||1!=c[1]?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==b.datepicker._curInst&&(b.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&
|
||||||
|
!a.input.is(":disabled")&&a.input[0]!=document.activeElement)&&a.input.focus();if(a.yearshtml){var g=a.yearshtml;setTimeout(function(){g===a.yearshtml&&a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);g=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,c,d){var e=a.dpDiv.outerWidth(),g=a.dpDiv.outerHeight(),
|
||||||
|
h=a.input?a.input.outerWidth():0,p=a.input?a.input.outerHeight():0,n=document.documentElement.clientWidth+b(document).scrollLeft(),q=document.documentElement.clientHeight+b(document).scrollTop();c.left-=this._get(a,"isRTL")?e-h:0;c.left-=d&&c.left==a.input.offset().left?b(document).scrollLeft():0;c.top-=d&&c.top==a.input.offset().top+p?b(document).scrollTop():0;c.left-=Math.min(c.left,c.left+e>n&&n>e?Math.abs(c.left+e-n):0);c.top-=Math.min(c.top,c.top+g>q&&q>g?Math.abs(g+p):0);return c},_findPos:function(a){for(var c=
|
||||||
|
this._get(this._getInst(a),"isRTL");a&&("hidden"==a.type||1!=a.nodeType||b.expr.filters.hidden(a));)a=a[c?"previousSibling":"nextSibling"];a=b(a).offset();return[a.left,a.top]},_triggerOnClose:function(a){var b=this._get(a,"onClose");b&&b.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a])},_hideDatepicker:function(a){var c=this._curInst;if(c&&!(a&&c!=b.data(a,"datepicker"))&&this._datepickerShowing){var a=this._get(c,"showAnim"),d=this._get(c,"duration"),e=function(){b.datepicker._tidyDialog(c);
|
||||||
|
this._curInst=null};if(b.effects&&b.effects[a])c.dpDiv.hide(a,b.datepicker._get(c,"showOptions"),d,e);else c.dpDiv["slideDown"==a?"slideUp":"fadeIn"==a?"fadeOut":"hide"](a?d:null,e);a||e();b.datepicker._triggerOnClose(c);this._datepickerShowing=!1;this._lastInput=null;this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),b.blockUI&&(b.unblockUI(),b("body").append(this.dpDiv)));this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},
|
||||||
|
_checkExternalClick:function(a){b.datepicker._curInst&&(a=b(a.target),a[0].id!=b.datepicker._mainDivId&&(0==a.parents("#"+b.datepicker._mainDivId).length&&!a.hasClass(b.datepicker.markerClassName)&&!a.hasClass(b.datepicker._triggerClass)&&b.datepicker._datepickerShowing&&(!b.datepicker._inDialog||!b.blockUI))&&b.datepicker._hideDatepicker())},_adjustDate:function(a,c,d){var a=b(a),e=this._getInst(a[0]);this._isDisabledDatepicker(a[0])||(this._adjustInstDate(e,c+("M"==d?this._get(e,"showCurrentAtPos"):
|
||||||
|
0),d),this._updateDatepicker(e))},_gotoToday:function(a){var a=b(a),c=this._getInst(a[0]);if(this._get(c,"gotoCurrent")&&c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate();c.drawMonth=c.selectedMonth=d.getMonth();c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c);this._adjustDate(a)},_selectMonthYear:function(a,c,d){var a=b(a),e=this._getInst(a[0]);e._selectingMonthYear=
|
||||||
|
!1;e["selected"+("M"==d?"Month":"Year")]=e["draw"+("M"==d?"Month":"Year")]=parseInt(c.options[c.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var c=this._getInst(b(a)[0]);c.input&&c._selectingMonthYear&&setTimeout(function(){c.input.focus()},0);c._selectingMonthYear=!c._selectingMonthYear},_selectDay:function(a,c,d,e){var g=b(a);!b(e).hasClass(this._unselectableClass)&&!this._isDisabledDatepicker(g[0])&&(g=this._getInst(g[0]),g.selectedDay=g.currentDay=
|
||||||
|
b("a",e).html(),g.selectedMonth=g.currentMonth=c,g.selectedYear=g.currentYear=d,this._selectDate(a,this._formatDate(g,g.currentDay,g.currentMonth,g.currentYear)))},_clearDate:function(a){a=b(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,c){var d=this._getInst(b(a)[0]),c=null!=c?c:this._formatDate(d);d.input&&d.input.val(c);this._updateAlternate(d);var e=this._get(d,"onSelect");e?e.apply(d.input?d.input[0]:null,[c,d]):d.input&&d.input.trigger("change");d.inline?this._updateDatepicker(d):
|
||||||
|
(this._hideDatepicker(),this._lastInput=d.input[0],"object"!=typeof d.input[0]&&d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var c=this._get(a,"altField");if(c){var d=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),g=this.formatDate(d,e,this._getFormatConfig(a));b(c).each(function(){b(this).val(g)})}},noWeekends:function(a){a=a.getDay();return[0<a&&6>a,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=
|
||||||
|
a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,c,d){if(null==a||null==c)throw"Invalid arguments";c="object"==typeof c?c.toString():c+"";if(""==c)return null;for(var e=(d?d.shortYearCutoff:null)||this._defaults.shortYearCutoff,e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),g=(d?d.dayNamesShort:null)||this._defaults.dayNamesShort,h=(d?d.dayNames:null)||this._defaults.dayNames,p=(d?d.monthNamesShort:null)||this._defaults.monthNamesShort,
|
||||||
|
n=(d?d.monthNames:null)||this._defaults.monthNames,q=d=-1,o=-1,w=-1,r=!1,u=function(b){(b=E+1<a.length&&a.charAt(E+1)==b)&&E++;return b},s=function(a){var b=u(a),a=RegExp("^\\d{1,"+("@"==a?14:"!"==a?20:"y"==a&&b?4:"o"==a?3:2)+"}"),a=c.substring(B).match(a);if(!a)throw"Missing number at position "+B;B+=a[0].length;return parseInt(a[0],10)},v=function(a,d,f){var a=b.map(u(a)?f:d,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length-b[1].length)}),e=-1;b.each(a,function(a,b){var d=b[1];
|
||||||
|
if(c.substr(B,d.length).toLowerCase()==d.toLowerCase())return e=b[0],B+=d.length,!1});if(-1!=e)return e+1;throw"Unknown name at position "+B;},z=function(){if(c.charAt(B)!=a.charAt(E))throw"Unexpected literal at position "+B;B++},B=0,E=0;E<a.length;E++)if(r)"'"==a.charAt(E)&&!u("'")?r=!1:z();else switch(a.charAt(E)){case "d":o=s("d");break;case "D":v("D",g,h);break;case "o":w=s("o");break;case "m":q=s("m");break;case "M":q=v("M",p,n);break;case "y":d=s("y");break;case "@":var C=new Date(s("@")),d=
|
||||||
|
C.getFullYear(),q=C.getMonth()+1,o=C.getDate();break;case "!":C=new Date((s("!")-this._ticksTo1970)/1E4);d=C.getFullYear();q=C.getMonth()+1;o=C.getDate();break;case "'":u("'")?z():r=!0;break;default:z()}if(B<c.length)throw"Extra/unparsed characters found in date: "+c.substring(B);-1==d?d=(new Date).getFullYear():100>d&&(d+=(new Date).getFullYear()-(new Date).getFullYear()%100+(d<=e?0:-100));if(-1<w){q=1;o=w;do{e=this._getDaysInMonth(d,q-1);if(o<=e)break;q++;o-=e}while(1)}C=this._daylightSavingAdjust(new Date(d,
|
||||||
|
q-1,o));if(C.getFullYear()!=d||C.getMonth()+1!=q||C.getDate()!=o)throw"Invalid date";return C},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864E9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(a,b,c){if(!b)return"";var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:
|
||||||
|
null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,c=(c?c.monthNames:null)||this._defaults.monthNames,h=function(b){(b=r+1<a.length&&a.charAt(r+1)==b)&&r++;return b},n=function(a,b,c){b=""+b;if(h(a))for(;b.length<c;)b="0"+b;return b},q=function(a,b,c,d){return h(a)?d[b]:c[b]},o="",w=!1;if(b)for(var r=0;r<a.length;r++)if(w)"'"==a.charAt(r)&&!h("'")?w=!1:o+=a.charAt(r);else switch(a.charAt(r)){case "d":o+=n("d",b.getDate(),2);break;case "D":o+=q("D",b.getDay(),
|
||||||
|
d,e);break;case "o":o+=n("o",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5),3);break;case "m":o+=n("m",b.getMonth()+1,2);break;case "M":o+=q("M",b.getMonth(),g,c);break;case "y":o+=h("y")?b.getFullYear():(10>b.getYear()%100?"0":"")+b.getYear()%100;break;case "@":o+=b.getTime();break;case "!":o+=1E4*b.getTime()+this._ticksTo1970;break;case "'":h("'")?o+="'":w=!0;break;default:o+=a.charAt(r)}return o},_possibleChars:function(a){for(var b=
|
||||||
|
"",c=!1,d=function(b){(b=e+1<a.length&&a.charAt(e+1)==b)&&e++;return b},e=0;e<a.length;e++)if(c)"'"==a.charAt(e)&&!d("'")?c=!1:b+=a.charAt(e);else switch(a.charAt(e)){case "d":case "m":case "y":case "@":b+="0123456789";break;case "D":case "M":return null;case "'":d("'")?b+="'":c=!0;break;default:b+=a.charAt(e)}return b},_get:function(b,c){return b.settings[c]!==a?b.settings[c]:this._defaults[c]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),d=a.lastVal=
|
||||||
|
a.input?a.input.val():null,e,g;e=g=this._getDefaultDate(a);var h=this._getFormatConfig(a);try{e=this.parseDate(c,d,h)||g}catch(n){this.log(n),d=b?"":d}a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();a.currentDay=d?e.getDate():0;a.currentMonth=d?e.getMonth():0;a.currentYear=d?e.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,
|
||||||
|
c,d){var e=function(a){var b=new Date;b.setDate(b.getDate()+a);return b},g=function(c){try{return b.datepicker.parseDate(b.datepicker._get(a,"dateFormat"),c,b.datepicker._getFormatConfig(a))}catch(d){}for(var e=(c.toLowerCase().match(/^c/)?b.datepicker._getDate(a):null)||new Date,g=e.getFullYear(),h=e.getMonth(),e=e.getDate(),i=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=i.exec(c);l;){switch(l[2]||"d"){case "d":case "D":e+=parseInt(l[1],10);break;case "w":case "W":e+=7*parseInt(l[1],10);break;case "m":case "M":h+=
|
||||||
|
parseInt(l[1],10);e=Math.min(e,b.datepicker._getDaysInMonth(g,h));break;case "y":case "Y":g+=parseInt(l[1],10),e=Math.min(e,b.datepicker._getDaysInMonth(g,h))}l=i.exec(c)}return new Date(g,h,e)};if(c=(c=null==c||""===c?d:"string"==typeof c?g(c):"number"==typeof c?isNaN(c)?d:e(c):new Date(c.getTime()))&&"Invalid Date"==c.toString()?d:c)c.setHours(0),c.setMinutes(0),c.setSeconds(0),c.setMilliseconds(0);return this._daylightSavingAdjust(c)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(12<
|
||||||
|
a.getHours()?a.getHours()+2:0);return a},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,g=a.selectedYear,b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();(e!=a.selectedMonth||g!=a.selectedYear)&&!c&&this._notifyChange(a);this._adjustInstDate(a);a.input&&a.input.val(d?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||
|
||||||
|
a.input&&""==a.input.val()?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var c=new Date,c=this._daylightSavingAdjust(new Date(c.getFullYear(),c.getMonth(),c.getDate())),d=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),g=this._get(a,"hideIfNoPrevNext"),m=this._get(a,"navigationAsDateFormat"),p=this._getNumberOfMonths(a),n=this._get(a,"showCurrentAtPos"),q=this._get(a,"stepMonths"),o=1!=p[0]||1!=p[1],w=this._daylightSavingAdjust(!a.currentDay?
|
||||||
|
new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),r=this._getMinMaxDate(a,"min"),u=this._getMinMaxDate(a,"max"),n=a.drawMonth-n,s=a.drawYear;0>n&&(n+=12,s--);if(u)for(var v=this._daylightSavingAdjust(new Date(u.getFullYear(),u.getMonth()-p[0]*p[1]+1,u.getDate())),v=r&&v<r?r:v;this._daylightSavingAdjust(new Date(s,n,1))>v;)n--,0>n&&(n=11,s--);a.drawMonth=n;a.drawYear=s;var v=this._get(a,"prevText"),v=!m?v:this.formatDate(v,this._daylightSavingAdjust(new Date(s,n-q,1)),this._getFormatConfig(a)),
|
||||||
|
v=this._canAdjustMonth(a,-1,s,n)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+h+".datepicker._adjustDate('#"+a.id+"', -"+q+", 'M');\" title=\""+v+'"><span class="ui-icon ui-icon-circle-triangle-'+(d?"e":"w")+'">'+v+"</span></a>":g?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+v+'"><span class="ui-icon ui-icon-circle-triangle-'+(d?"e":"w")+'">'+v+"</span></a>",z=this._get(a,"nextText"),z=!m?z:this.formatDate(z,this._daylightSavingAdjust(new Date(s,
|
||||||
|
n+q,1)),this._getFormatConfig(a)),g=this._canAdjustMonth(a,1,s,n)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+h+".datepicker._adjustDate('#"+a.id+"', +"+q+", 'M');\" title=\""+z+'"><span class="ui-icon ui-icon-circle-triangle-'+(d?"w":"e")+'">'+z+"</span></a>":g?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+z+'"><span class="ui-icon ui-icon-circle-triangle-'+(d?"w":"e")+'">'+z+"</span></a>",q=this._get(a,"currentText"),z=this._get(a,"gotoCurrent")&&
|
||||||
|
a.currentDay?w:c,q=!m?q:this.formatDate(q,z,this._getFormatConfig(a)),m=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+h+'.datepicker._hideDatepicker();">'+this._get(a,"closeText")+"</button>":"",e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(d?m:"")+(this._isInRange(a,z)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+
|
||||||
|
h+".datepicker._gotoToday('#"+a.id+"');\">"+q+"</button>":"")+(d?"":m)+"</div>":"",m=parseInt(this._get(a,"firstDay"),10),m=isNaN(m)?0:m,q=this._get(a,"showWeek"),z=this._get(a,"dayNames");this._get(a,"dayNamesShort");var B=this._get(a,"dayNamesMin"),E=this._get(a,"monthNames"),C=this._get(a,"monthNamesShort"),O=this._get(a,"beforeShowDay"),K=this._get(a,"showOtherMonths"),S=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var P=this._getDefaultDate(a),G="",H=0;H<p[0];H++){var L=
|
||||||
|
"";this.maxRows=4;for(var I=0;I<p[1];I++){var Q=this._daylightSavingAdjust(new Date(s,n,a.selectedDay)),A=" ui-corner-all",y="";if(o){y+='<div class="ui-datepicker-group';if(1<p[1])switch(I){case 0:y+=" ui-datepicker-group-first";A=" ui-corner-"+(d?"right":"left");break;case p[1]-1:y+=" ui-datepicker-group-last";A=" ui-corner-"+(d?"left":"right");break;default:y+=" ui-datepicker-group-middle",A=""}y+='">'}for(var y=y+('<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+A+'">'+(/all|left/.test(A)&&
|
||||||
|
0==H?d?g:v:"")+(/all|right/.test(A)&&0==H?d?v:g:"")+this._generateMonthYearHeader(a,n,s,r,u,0<H||0<I,E,C)+'</div><table class="ui-datepicker-calendar"><thead><tr>'),D=q?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"",A=0;7>A;A++)var x=(A+m)%7,D=D+("<th"+(5<=(A+m+6)%7?' class="ui-datepicker-week-end"':"")+'><span title="'+z[x]+'">'+B[x]+"</span></th>");y+=D+"</tr></thead><tbody>";D=this._getDaysInMonth(s,n);s==a.selectedYear&&n==a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,
|
||||||
|
D));A=(this._getFirstDayOfMonth(s,n)-m+7)%7;D=Math.ceil((A+D)/7);this.maxRows=D=o?this.maxRows>D?this.maxRows:D:D;for(var x=this._daylightSavingAdjust(new Date(s,n,1-A)),R=0;R<D;R++){for(var y=y+"<tr>",M=!q?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(x)+"</td>",A=0;7>A;A++){var J=O?O.apply(a.input?a.input[0]:null,[x]):[!0,""],F=x.getMonth()!=n,N=F&&!S||!J[0]||r&&x<r||u&&x>u,M=M+('<td class="'+(5<=(A+m+6)%7?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+
|
||||||
|
(x.getTime()==Q.getTime()&&n==a.selectedMonth&&a._keyEvent||P.getTime()==x.getTime()&&P.getTime()==Q.getTime()?" "+this._dayOverClass:"")+(N?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!K?"":" "+J[1]+(x.getTime()==w.getTime()?" "+this._currentClass:"")+(x.getTime()==c.getTime()?" ui-datepicker-today":""))+'"'+((!F||K)&&J[2]?' title="'+J[2]+'"':"")+(N?"":' onclick="DP_jQuery_'+h+".datepicker._selectDay('#"+a.id+"',"+x.getMonth()+","+x.getFullYear()+', this);return false;"')+">"+(F&&!K?
|
||||||
|
" ":N?'<span class="ui-state-default">'+x.getDate()+"</span>":'<a class="ui-state-default'+(x.getTime()==c.getTime()?" ui-state-highlight":"")+(x.getTime()==w.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+'" href="#">'+x.getDate()+"</a>")+"</td>");x.setDate(x.getDate()+1);x=this._daylightSavingAdjust(x)}y+=M+"</tr>"}n++;11<n&&(n=0,s++);y+="</tbody></table>"+(o?"</div>"+(0<p[0]&&I==p[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");L+=y}G+=L}G+=e+(b.browser.msie&&
|
||||||
|
7>parseInt(b.browser.version,10)&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");a._keyEvent=!1;return G},_generateMonthYearHeader:function(a,b,c,d,e,g,p,n){var q=this._get(a,"changeMonth"),o=this._get(a,"changeYear"),w=this._get(a,"showMonthAfterYear"),r='<div class="ui-datepicker-title">',u="";if(g||!q)u+='<span class="ui-datepicker-month">'+p[b]+"</span>";else{for(var p=d&&d.getFullYear()==c,s=e&&e.getFullYear()==c,u=u+('<select class="ui-datepicker-month" onchange="DP_jQuery_'+
|
||||||
|
h+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+h+".datepicker._clickMonthYear('#"+a.id+"');\">"),v=0;12>v;v++)if((!p||v>=d.getMonth())&&(!s||v<=e.getMonth()))u+='<option value="'+v+'"'+(v==b?' selected="selected"':"")+">"+n[v]+"</option>";u+="</select>"}w||(r+=u+(g||!q||!o?" ":""));if(!a.yearshtml)if(a.yearshtml="",g||!o)r+='<span class="ui-datepicker-year">'+c+"</span>";else{var n=this._get(a,"yearRange").split(":"),z=(new Date).getFullYear(),p=function(a){a=
|
||||||
|
a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?z+parseInt(a,10):parseInt(a,10);return isNaN(a)?z:a},b=p(n[0]),n=Math.max(b,p(n[1]||"")),b=d?Math.max(b,d.getFullYear()):b,n=e?Math.min(n,e.getFullYear()):n;for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+h+".datepicker._selectMonthYear('#"+a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+h+".datepicker._clickMonthYear('#"+a.id+"');\">";b<=n;b++)a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':
|
||||||
|
"")+">"+b+"</option>";a.yearshtml+="</select>";r+=a.yearshtml;a.yearshtml=null}r+=this._get(a,"yearSuffix");w&&(r+=(g||!q||!o?" ":"")+u);return r+"</div>"},_adjustInstDate:function(a,b,c){var d=a.drawYear+("Y"==c?b:0),e=a.drawMonth+("M"==c?b:0),b=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+("D"==c?b:0),d=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,b)));a.selectedDay=d.getDate();a.drawMonth=a.selectedMonth=d.getMonth();a.drawYear=a.selectedYear=d.getFullYear();("M"==c||
|
||||||
|
"Y"==c)&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max"),c=c&&b<c?c:b;return d&&c>d?d:c},_notifyChange:function(a){var b=this._get(a,"onChangeMonthYear");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return null==a?[1,1]:"number"==typeof a?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,
|
||||||
|
b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),c=this._daylightSavingAdjust(new Date(c,d+(0>b?b:e[0]*e[1]),1));0>b&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min"),d=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<=
|
||||||
|
d.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff"),b="string"!=typeof b?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);b=b?"object"==typeof b?b:this._daylightSavingAdjust(new Date(d,
|
||||||
|
c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});b.fn.datepicker=function(a){if(!this.length)return this;b.datepicker.initialized||(b(document).mousedown(b.datepicker._checkExternalClick).find("body").append(b.datepicker.dpDiv),b.datepicker.initialized=!0);var c=Array.prototype.slice.call(arguments,1);return"string"==typeof a&&("isDisabled"==a||"getDate"==a||"widget"==a)||"option"==
|
||||||
|
a&&2==arguments.length&&"string"==typeof arguments[1]?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c)):this.each(function(){typeof a=="string"?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)})};b.datepicker=new c;b.datepicker.initialized=!1;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.8.14";window["DP_jQuery_"+h]=b})(jQuery);
|
||||||
|
(function(b,a){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
|
||||||
|
this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===a)return this._value();this._setOption("value",b);return this},_setOption:function(a,d){"value"===a&&(this.options.value=d,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete"));b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;"number"!==typeof a&&(a=0);return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
|
||||||
|
this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger("change"));this.valueDiv.toggle(a>this.min).toggleClass("ui-corner-right",a===this.options.max).width(b.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.14"})})(jQuery);
|
||||||
|
jQuery.effects||function(b,a){function c(a){var c;return a&&a.constructor==Array&&3==a.length?a:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))?[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)]:(c=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(a))?[2.55*parseFloat(c[1]),2.55*parseFloat(c[2]),2.55*parseFloat(c[3])]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?[parseInt(c[1],16),parseInt(c[2],
|
||||||
|
16),parseInt(c[3],16)]:(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(a))?[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(a)?i.transparent:i[b.trim(a).toLowerCase()]}function d(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]])for(var e=a.length;e--;)c=a[e],"string"==typeof a[c]&&(d=c.replace(/\-(\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c]);else for(c in a)"string"===
|
||||||
|
typeof a[c]&&(b[c]=a[c]);return b}function g(a){var c,d;for(c in a)d=a[c],(null==d||b.isFunction(d)||c in k||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete a[c];return a}function h(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function e(a,c,d,e){"object"==typeof a&&(e=c,d=null,c=a,a=c.effect);b.isFunction(c)&&(e=c,d=null,c={});if("number"==typeof c||b.fx.speeds[c])e=d,d=c,c={};b.isFunction(d)&&(e=d,d=null);c=c||{};d=d||c.duration;d=b.fx.off?0:"number"==typeof d?
|
||||||
|
d:d in b.fx.speeds?b.fx.speeds[d]:b.fx.speeds._default;e=e||c.complete;return[a,c,d,e]}function f(a){return!a||("number"===typeof a||b.fx.speeds[a])||"string"===typeof a&&!b.effects[a]?!0:!1}b.effects={};b.each("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor borderColor color outlineColor".split(" "),function(a,d){b.fx.step[d]=function(a){if(!a.colorInit){var e;e=a.elem;var f=d,g;do{g=b.curCSS(e,f);if(g!=""&&g!="transparent"||b.nodeName(e,"body"))break;f="backgroundColor"}while(e=
|
||||||
|
e.parentNode);e=c(g);a.start=e;a.end=c(a.end);a.colorInit=true}a.elem.style[d]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var i={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],
|
||||||
|
darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],
|
||||||
|
maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},j=["add","remove","toggle"],k={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};b.effects.animateClass=function(a,c,e,f){b.isFunction(e)&&(f=e,e=null);return this.queue(function(){var i=b(this),o=i.attr("style")||
|
||||||
|
" ",k=g(d.call(this)),r,u=i.attr("class");b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});r=g(d.call(this));i.attr("class",u);i.animate(h(k,r),{queue:false,duration:c,easing:e,complete:function(){b.each(j,function(b,c){if(a[c])i[c+"Class"](a[c])});if(typeof i.attr("style")=="object"){i.attr("style").cssText="";i.attr("style").cssText=o}else i.attr("style",o);f&&f.apply(this,arguments);b.dequeue(this)}})})};b.fn.extend({_addClass:b.fn.addClass,addClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this,
|
||||||
|
[{add:a},c,d,e]):this._addClass(a)},_removeClass:b.fn.removeClass,removeClass:function(a,c,d,e){return c?b.effects.animateClass.apply(this,[{remove:a},c,d,e]):this._removeClass(a)},_toggleClass:b.fn.toggleClass,toggleClass:function(c,d,e,f,g){return"boolean"==typeof d||d===a?e?b.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):b.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(a,c,d,e,f){return b.effects.animateClass.apply(this,[{add:c,
|
||||||
|
remove:a},d,e,f])}});b.extend(b.effects,{version:"1.8.14",save:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.data("ec.storage."+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)null!==b[c]&&a.css(b[c],a.data("ec.storage."+b[c]))},setMode:function(a,b){"toggle"==b&&(b=a.is(":hidden")?"show":"hide");return b},getBaseline:function(a,b){var c,d;switch(a[0]){case "top":c=0;break;case "middle":c=0.5;break;case "bottom":c=1;break;default:c=a[0]/b.height}switch(a[1]){case "left":d=
|
||||||
|
0;break;case "center":d=0.5;break;case "right":d=1;break;default:d=a[1]/b.width}return{x:d,y:c}},createWrapper:function(a){if(a.parent().is(".ui-effects-wrapper"))return a.parent();var c={width:a.outerWidth(!0),height:a.outerHeight(!0),"float":a.css("float")},d=b("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});a.wrap(d);d=a.parent();"static"==a.css("position")?(d.css({position:"relative"}),a.css({position:"relative"})):
|
||||||
|
(b.extend(c,{position:a.css("position"),zIndex:a.css("z-index")}),b.each(["top","left","bottom","right"],function(b,d){c[d]=a.css(d);isNaN(parseInt(c[d],10))&&(c[d]="auto")}),a.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"}));return d.css(c).show()},removeWrapper:function(a){return a.parent().is(".ui-effects-wrapper")?a.parent().replaceWith(a):a},setTransition:function(a,c,d,e){e=e||{};b.each(c,function(b,c){unit=a.cssUnit(c);0<unit[0]&&(e[c]=unit[0]*d+unit[1])});return e}});b.fn.extend({effect:function(a,
|
||||||
|
c,d,f){var g=e.apply(this,arguments),h={options:g[1],duration:g[2],callback:g[3]},g=h.options.mode,i=b.effects[a];return b.fx.off||!i?g?this[g](h.duration,h.callback):this.each(function(){h.callback&&h.callback.call(this)}):i.call(this,h)},_show:b.fn.show,show:function(a){if(f(a))return this._show.apply(this,arguments);var b=e.apply(this,arguments);b[1].mode="show";return this.effect.apply(this,b)},_hide:b.fn.hide,hide:function(a){if(f(a))return this._hide.apply(this,arguments);var b=e.apply(this,
|
||||||
|
arguments);b[1].mode="hide";return this.effect.apply(this,b)},__toggle:b.fn.toggle,toggle:function(a){if(f(a)||"boolean"===typeof a||b.isFunction(a))return this.__toggle.apply(this,arguments);var c=e.apply(this,arguments);c[1].mode="toggle";return this.effect.apply(this,c)},cssUnit:function(a){var c=this.css(a),d=[];b.each(["em","px","%","pt"],function(a,b){0<c.indexOf(b)&&(d=[parseFloat(c),b])});return d}});b.easing.jswing=b.easing.swing;b.extend(b.easing,{def:"easeOutQuad",swing:function(a,c,d,
|
||||||
|
e,f){return b.easing[b.easing.def](a,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},
|
||||||
|
easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return 1>(b/=e/2)?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/
|
||||||
|
e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:1>(b/=e/2)?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*
|
||||||
|
b)+c},easeInOutCirc:function(a,b,c,d,e){return 1>(b/=e/2)?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var a=1.70158,f=0,g=d;if(0==b)return c;if(1==(b/=e))return c+d;f||(f=0.3*e);g<Math.abs(d)?(g=d,a=f/4):a=f/(2*Math.PI)*Math.asin(d/g);return-(g*Math.pow(2,10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f))+c},easeOutElastic:function(a,b,c,d,e){var a=1.70158,f=0,g=d;if(0==b)return c;if(1==(b/=e))return c+d;f||(f=0.3*e);g<Math.abs(d)?(g=d,a=f/4):a=f/(2*Math.PI)*
|
||||||
|
Math.asin(d/g);return g*Math.pow(2,-10*b)*Math.sin((b*e-a)*2*Math.PI/f)+d+c},easeInOutElastic:function(a,b,c,d,e){var a=1.70158,f=0,g=d;if(0==b)return c;if(2==(b/=e/2))return c+d;f||(f=e*0.3*1.5);g<Math.abs(d)?(g=d,a=f/4):a=f/(2*Math.PI)*Math.asin(d/g);return 1>b?-0.5*g*Math.pow(2,10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+c:0.5*g*Math.pow(2,-10*(b-=1))*Math.sin((b*e-a)*2*Math.PI/f)+d+c},easeInBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(b,c,d,e,
|
||||||
|
f,g){g==a&&(g=1.70158);return e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(b,c,d,e,f,g){g==a&&(g=1.70158);return 1>(c/=f/2)?e/2*c*c*(((g*=1.525)+1)*c-g)+d:e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(a,c,d,e,f){return e-b.easing.easeOutBounce(a,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+0.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+0.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+0.984375)+c},easeInOutBounce:function(a,
|
||||||
|
c,d,e,f){return c<f/2?0.5*b.easing.easeInBounce(a,2*c,0,e,f)+d:0.5*b.easing.easeOutBounce(a,2*c-f,0,e,f)+0.5*e+d}})}(jQuery);
|
||||||
|
(function(b){b.effects.blind=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.direction||"vertical";b.effects.save(c,d);c.show();var e=b.effects.createWrapper(c).css({overflow:"hidden"}),f="vertical"==h?"height":"width",h="vertical"==h?e.height():e.width();"show"==g&&e.css(f,0);var i={};i[f]="show"==g?h:0;e.animate(i,a.duration,a.options.easing,function(){"hide"==g&&c.hide();b.effects.restore(c,
|
||||||
|
d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery);
|
||||||
|
(function(b){b.effects.bounce=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"effect"),h=a.options.direction||"up",e=a.options.distance||20,f=a.options.times||5,i=a.duration||250;/show|hide/.test(g)&&d.push("opacity");b.effects.save(c,d);c.show();b.effects.createWrapper(c);var j="up"==h||"down"==h?"top":"left",h="up"==h||"left"==h?"pos":"neg",e=a.options.distance||("top"==j?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/
|
||||||
|
3);"show"==g&&c.css("opacity",0).css(j,"pos"==h?-e:e);"hide"==g&&(e/=2*f);"hide"!=g&&f--;if("show"==g){var k={opacity:1};k[j]=("pos"==h?"+=":"-=")+e;c.animate(k,i/2,a.options.easing);e/=2;f--}for(k=0;k<f;k++){var l={},m={};l[j]=("pos"==h?"-=":"+=")+e;m[j]=("pos"==h?"+=":"-=")+e;c.animate(l,i/2,a.options.easing).animate(m,i/2,a.options.easing);e="hide"==g?2*e:e/2}"hide"==g?(k={opacity:0},k[j]=("pos"==h?"-=":"+=")+e,c.animate(k,i/2,a.options.easing,function(){c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);
|
||||||
|
a.callback&&a.callback.apply(this,arguments)})):(l={},m={},l[j]=("pos"==h?"-=":"+=")+e,m[j]=("pos"==h?"+=":"-=")+e,c.animate(l,i/2,a.options.easing).animate(m,i/2,a.options.easing,function(){b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(this,arguments)}));c.queue("fx",function(){c.dequeue()});c.dequeue()})}})(jQuery);
|
||||||
|
(function(b){b.effects.clip=function(a){return this.queue(function(){var c=b(this),d="position top bottom left right height width".split(" "),g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.direction||"vertical";b.effects.save(c,d);c.show();var e=b.effects.createWrapper(c).css({overflow:"hidden"}),e="IMG"==c[0].tagName?e:c,f="vertical"==h?"height":"width",i="vertical"==h?"top":"left",h="vertical"==h?e.height():e.width();"show"==g&&(e.css(f,0),e.css(i,h/2));var j={};j[f]="show"==g?h:0;j[i]=
|
||||||
|
"show"==g?0:h/2;e.animate(j,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){g=="hide"&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(c[0],arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.drop=function(a){return this.queue(function(){var c=b(this),d="position top bottom left right opacity".split(" "),g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.direction||"left";b.effects.save(c,d);c.show();b.effects.createWrapper(c);var e="up"==h||"down"==h?"top":"left",h="up"==h||"left"==h?"pos":"neg",f=a.options.distance||("top"==e?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);"show"==g&&c.css("opacity",0).css(e,"pos"==h?-f:f);var i={opacity:"show"==
|
||||||
|
g?1:0};i[e]=("show"==g?"pos"==h?"+=":"-=":"pos"==h?"-=":"+=")+f;c.animate(i,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){"hide"==g&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode="toggle"==a.options.mode?b(this).is(":visible")?"hide":"show":a.options.mode;var g=b(this).show().css("visibility","hidden"),h=g.offset();h.top-=parseInt(g.css("marginTop"),10)||0;h.left-=parseInt(g.css("marginLeft"),10)||0;for(var e=g.outerWidth(!0),f=g.outerHeight(!0),i=0;i<c;i++)for(var j=
|
||||||
|
0;j<d;j++)g.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-j*(e/d),top:-i*(f/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:e/d,height:f/c,left:h.left+j*(e/d)+("show"==a.options.mode?(j-Math.floor(d/2))*(e/d):0),top:h.top+i*(f/c)+("show"==a.options.mode?(i-Math.floor(c/2))*(f/c):0),opacity:"show"==a.options.mode?0:1}).animate({left:h.left+j*(e/d)+("show"==a.options.mode?0:(j-Math.floor(d/2))*(e/d)),top:h.top+
|
||||||
|
i*(f/c)+("show"==a.options.mode?0:(i-Math.floor(c/2))*(f/c)),opacity:"show"==a.options.mode?1:0},a.duration||500);setTimeout(function(){"show"==a.options.mode?g.css({visibility:"visible"}):g.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(g[0]);g.dequeue();b("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
|
||||||
|
(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.fold=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"hide"),h=a.options.size||15,e=!!a.options.horizFirst,f=a.duration?a.duration/2:b.fx.speeds._default/2;b.effects.save(c,d);c.show();var i=b.effects.createWrapper(c).css({overflow:"hidden"}),j="show"==g!=e,k=j?["width","height"]:["height","width"],j=j?[i.width(),i.height()]:[i.height(),i.width()],l=/([0-9]+)%/.exec(h);l&&(h=parseInt(l[1],
|
||||||
|
10)/100*j["hide"==g?0:1]);"show"==g&&i.css(e?{height:0,width:h}:{height:h,width:0});e={};l={};e[k[0]]="show"==g?j[0]:h;l[k[1]]="show"==g?j[1]:0;i.animate(e,f,a.options.easing).animate(l,f,a.options.easing,function(){"hide"==g&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery);
|
||||||
|
(function(b){b.effects.highlight=function(a){return this.queue(function(){var c=b(this),d=["backgroundImage","backgroundColor","opacity"],g=b.effects.setMode(c,a.options.mode||"show"),h={backgroundColor:c.css("backgroundColor")};"hide"==g&&(h.opacity=0);b.effects.save(c,d);c.show().css({backgroundImage:"none",backgroundColor:a.options.color||"#ffff99"}).animate(h,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){g=="hide"&&c.hide();b.effects.restore(c,d);g=="show"&&!b.support.opacity&&
|
||||||
|
this.style.removeAttribute("filter");a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.pulsate=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"show");times=2*(a.options.times||5)-1;duration=a.duration?a.duration/2:b.fx.speeds._default/2;isVisible=c.is(":visible");animateTo=0;isVisible||(c.css("opacity",0).show(),animateTo=1);("hide"==d&&isVisible||"show"==d&&!isVisible)&×--;for(d=0;d<times;d++)c.animate({opacity:animateTo},duration,a.options.easing),animateTo=(animateTo+1)%2;c.animate({opacity:animateTo},duration,
|
||||||
|
a.options.easing,function(){animateTo==0&&c.hide();a.callback&&a.callback.apply(this,arguments)});c.queue("fx",function(){c.dequeue()}).dequeue()})}})(jQuery);
|
||||||
|
(function(b){b.effects.puff=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide"),g=parseInt(a.options.percent,10)||150,h=g/100,e={height:c.height(),width:c.width()};b.extend(a.options,{fade:!0,mode:d,percent:"hide"==d?g:100,from:"hide"==d?e:{height:e.height*h,width:e.width*h}});c.effect("scale",a.options,a.duration,a.callback);c.dequeue()})};b.effects.scale=function(a){return this.queue(function(){var c=b(this),d=b.extend(!0,{},a.options),g=b.effects.setMode(c,
|
||||||
|
a.options.mode||"effect"),h=parseInt(a.options.percent,10)||(0==parseInt(a.options.percent,10)?0:"hide"==g?0:100),e=a.options.direction||"both",f=a.options.origin;"effect"!=g&&(d.origin=f||["middle","center"],d.restore=!0);f={height:c.height(),width:c.width()};c.from=a.options.from||("show"==g?{height:0,width:0}:f);c.to={height:f.height*("horizontal"!=e?h/100:1),width:f.width*("vertical"!=e?h/100:1)};if(a.options.fade&&("show"==g&&(c.from.opacity=0,c.to.opacity=1),"hide"==g))c.from.opacity=1,c.to.opacity=
|
||||||
|
0;d.from=c.from;d.to=c.to;d.mode=g;c.effect("size",d,a.duration,a.callback);c.dequeue()})};b.effects.size=function(a){return this.queue(function(){var c=b(this),d="position top bottom left right width height overflow opacity".split(" "),g="position top bottom left right overflow opacity".split(" "),h=["width","height","overflow"],e=["fontSize"],f=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],i=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],j=b.effects.setMode(c,
|
||||||
|
a.options.mode||"effect"),k=a.options.restore||!1,l=a.options.scale||"both",m=a.options.origin,p={height:c.height(),width:c.width()};c.from=a.options.from||p;c.to=a.options.to||p;m&&(m=b.effects.getBaseline(m,p),c.from.top=(p.height-c.from.height)*m.y,c.from.left=(p.width-c.from.width)*m.x,c.to.top=(p.height-c.to.height)*m.y,c.to.left=(p.width-c.to.width)*m.x);var n=c.from.height/p.height,q=c.from.width/p.width,o=c.to.height/p.height,w=c.to.width/p.width;if("box"==l||"both"==l)if(n!=o&&(d=d.concat(f),
|
||||||
|
c.from=b.effects.setTransition(c,f,n,c.from),c.to=b.effects.setTransition(c,f,o,c.to)),q!=w)d=d.concat(i),c.from=b.effects.setTransition(c,i,q,c.from),c.to=b.effects.setTransition(c,i,w,c.to);if(("content"==l||"both"==l)&&n!=o)d=d.concat(e),c.from=b.effects.setTransition(c,e,n,c.from),c.to=b.effects.setTransition(c,e,o,c.to);b.effects.save(c,k?d:g);c.show();b.effects.createWrapper(c);c.css("overflow","hidden").css(c.from);if("content"==l||"both"==l)f=f.concat(["marginTop","marginBottom"]).concat(e),
|
||||||
|
i=i.concat(["marginLeft","marginRight"]),h=d.concat(f).concat(i),c.find("*[width]").each(function(){child=b(this);k&&b.effects.save(child,h);var c=child.height(),d=child.width();child.from={height:c*n,width:d*q};child.to={height:c*o,width:d*w};if(n!=o){child.from=b.effects.setTransition(child,f,n,child.from);child.to=b.effects.setTransition(child,f,o,child.to)}if(q!=w){child.from=b.effects.setTransition(child,i,q,child.from);child.to=b.effects.setTransition(child,i,w,child.to)}child.css(child.from);
|
||||||
|
child.animate(child.to,a.duration,a.options.easing,function(){k&&b.effects.restore(child,h)})});c.animate(c.to,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){c.to.opacity===0&&c.css("opacity",c.from.opacity);j=="hide"&&c.hide();b.effects.restore(c,k?d:g);b.effects.removeWrapper(c);a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.shake=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"];b.effects.setMode(c,a.options.mode||"effect");var g=a.options.direction||"left",h=a.options.distance||20,e=a.options.times||3,f=a.duration||a.options.duration||140;b.effects.save(c,d);c.show();b.effects.createWrapper(c);var i="up"==g||"down"==g?"top":"left",j="up"==g||"left"==g?"pos":"neg",g={},k={},l={};g[i]=("pos"==j?"-=":"+=")+h;k[i]=("pos"==j?"+=":"-=")+2*h;l[i]=("pos"==
|
||||||
|
j?"-=":"+=")+2*h;c.animate(g,f,a.options.easing);for(h=1;h<e;h++)c.animate(k,f,a.options.easing).animate(l,f,a.options.easing);c.animate(k,f,a.options.easing).animate(g,f/2,a.options.easing,function(){b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(this,arguments)});c.queue("fx",function(){c.dequeue()});c.dequeue()})}})(jQuery);
|
||||||
|
(function(b){b.effects.slide=function(a){return this.queue(function(){var c=b(this),d=["position","top","bottom","left","right"],g=b.effects.setMode(c,a.options.mode||"show"),h=a.options.direction||"left";b.effects.save(c,d);c.show();b.effects.createWrapper(c).css({overflow:"hidden"});var e="up"==h||"down"==h?"top":"left",h="up"==h||"left"==h?"pos":"neg",f=a.options.distance||("top"==e?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));"show"==g&&c.css(e,"pos"==h?isNaN(f)?"-"+f:-f:f);var i={};
|
||||||
|
i[e]=("show"==g?"pos"==h?"+=":"-=":"pos"==h?"-=":"+=")+f;c.animate(i,{queue:!1,duration:a.duration,easing:a.options.easing,complete:function(){"hide"==g&&c.hide();b.effects.restore(c,d);b.effects.removeWrapper(c);a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
|
||||||
|
(function(b){b.effects.transfer=function(a){return this.queue(function(){var c=b(this),d=b(a.options.to),g=d.offset(),d={top:g.top,left:g.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=b('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:"absolute"}).animate(d,a.duration,a.options.easing,function(){h.remove();a.callback&&a.callback.apply(c[0],arguments);c.dequeue()})})}})(jQuery);
|
||||||
|
/*
|
||||||
|
* jQuery Highlight plugin
|
||||||
|
* Based on highlight v3 by Johann Burkard
|
||||||
|
* http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
|
||||||
|
* Copyright (c) 2009 Bartek Szopka http://bartaz.github.com/sandbox.js/jquery.highlight.html
|
||||||
|
* Licensed under MIT license.
|
||||||
|
*/
|
||||||
|
jQuery.extend({highlight:function(a,c,b,e){if(a.nodeType===3){if(c=a.data.match(c)){b=document.createElement(b||"span");b.className=e||"highlight";a=a.splitText(c.index);a.splitText(c[0].length);e=a.cloneNode(true);b.appendChild(e);a.parentNode.replaceChild(b,a);return 1}}else if(a.nodeType===1&&a.childNodes&&!/(script|style)/i.test(a.tagName)&&!(a.tagName===b.toUpperCase()&&a.className===e))for(var d=0;d<a.childNodes.length;d++)d+=jQuery.highlight(a.childNodes[d],c,b,e);return 0}});
|
||||||
|
jQuery.fn.unhighlight=function(a){var c={className:"highlight",element:"span"};jQuery.extend(c,a);return this.find(c.element+"."+c.className).each(function(){var b=this.parentNode;b.replaceChild(this.firstChild,this);b.normalize()}).end()};
|
||||||
|
jQuery.fn.highlight=function(a,c){var b={className:"highlight",element:"span",caseSensitive:false,wordsOnly:false};jQuery.extend(b,c);if(a.constructor===String)a=[a];a=jQuery.grep(a,function(f){return f!=""});if(a.length==0)return this;var e=b.caseSensitive?"":"i",d="("+a.join("|")+")";if(b.wordsOnly)d="\\b"+d+"\\b";var g=RegExp(d,e);return this.each(function(){jQuery.highlight(this,g,b.element,b.className)})};
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 162 B |
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 88 B |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 5.2 KiB |
|
@ -0,0 +1,398 @@
|
||||||
|
/*
|
||||||
|
* jQuery UI CSS Framework
|
||||||
|
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
|
||||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Layout helpers
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-helper-hidden { display: none; }
|
||||||
|
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
||||||
|
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||||
|
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
||||||
|
.ui-helper-clearfix { display: inline-block; }
|
||||||
|
/* required comment for clearfix to work in Opera \*/
|
||||||
|
* html .ui-helper-clearfix { height:1%; }
|
||||||
|
.ui-helper-clearfix { display:block; }
|
||||||
|
/* end clearfix */
|
||||||
|
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||||
|
|
||||||
|
|
||||||
|
/* Interaction Cues
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-state-disabled { cursor: default !important; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Icons
|
||||||
|
----------------------------------*/
|
||||||
|
|
||||||
|
/* states and images */
|
||||||
|
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc visuals
|
||||||
|
----------------------------------*/
|
||||||
|
|
||||||
|
/* Overlays */
|
||||||
|
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* jQuery UI CSS Framework
|
||||||
|
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
|
||||||
|
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
||||||
|
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=06_inset_hard.png&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=02_glass.png&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Component containers
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; }
|
||||||
|
.ui-widget .ui-widget { font-size: 1em; }
|
||||||
|
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; }
|
||||||
|
.ui-widget-content { border: 1px solid #a6c9e2; background: #fcfdfd url(images/ui-bg_inset-hard_100_fcfdfd_1x100.png) 50% bottom repeat-x; color: #222222; }
|
||||||
|
.ui-widget-content a { color: #222222; }
|
||||||
|
.ui-widget-header { border: 1px solid #4297d7; background: #5c9ccc url(images/ui-bg_gloss-wave_55_5c9ccc_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
|
||||||
|
.ui-widget-header a { color: #ffffff; }
|
||||||
|
|
||||||
|
/* Interaction states
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #c5dbec; background: #dfeffc url(images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2e6e9e; }
|
||||||
|
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2e6e9e; text-decoration: none; }
|
||||||
|
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #79b7e7; background: #d0e5f5 url(images/ui-bg_glass_75_d0e5f5_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1d5987; }
|
||||||
|
.ui-state-hover a, .ui-state-hover a:hover { color: #1d5987; text-decoration: none; }
|
||||||
|
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #79b7e7; background: #f5f8f9 url(images/ui-bg_inset-hard_100_f5f8f9_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #e17009; }
|
||||||
|
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #e17009; text-decoration: none; }
|
||||||
|
.ui-widget :active { outline: none; }
|
||||||
|
|
||||||
|
/* Interaction Cues
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fad42e; background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x; color: #363636; }
|
||||||
|
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
||||||
|
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
||||||
|
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
||||||
|
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
||||||
|
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||||
|
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||||
|
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||||
|
|
||||||
|
/* Icons
|
||||||
|
----------------------------------*/
|
||||||
|
|
||||||
|
/* states and images */
|
||||||
|
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_469bdd_256x240.png); }
|
||||||
|
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_469bdd_256x240.png); }
|
||||||
|
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_d8e7f3_256x240.png); }
|
||||||
|
.ui-state-default .ui-icon { background-image: url(images/ui-icons_6da8d5_256x240.png); }
|
||||||
|
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_217bc0_256x240.png); }
|
||||||
|
.ui-state-active .ui-icon {background-image: url(images/ui-icons_f9bd01_256x240.png); }
|
||||||
|
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
||||||
|
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
||||||
|
|
||||||
|
/* positioning */
|
||||||
|
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||||
|
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||||
|
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||||
|
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||||
|
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||||
|
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||||
|
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||||
|
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||||
|
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||||
|
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||||
|
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||||
|
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||||
|
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||||
|
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||||
|
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||||
|
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||||
|
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||||
|
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||||
|
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||||
|
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||||
|
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||||
|
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||||
|
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||||
|
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||||
|
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||||
|
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||||
|
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||||
|
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||||
|
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||||
|
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||||
|
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||||
|
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||||
|
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||||
|
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||||
|
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||||
|
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||||
|
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||||
|
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||||
|
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||||
|
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||||
|
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||||
|
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||||
|
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||||
|
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||||
|
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||||
|
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||||
|
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||||
|
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||||
|
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||||
|
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||||
|
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||||
|
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||||
|
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||||
|
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||||
|
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||||
|
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||||
|
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||||
|
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||||
|
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||||
|
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||||
|
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||||
|
.ui-icon-extlink { background-position: -32px -80px; }
|
||||||
|
.ui-icon-newwin { background-position: -48px -80px; }
|
||||||
|
.ui-icon-refresh { background-position: -64px -80px; }
|
||||||
|
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||||
|
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||||
|
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||||
|
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||||
|
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||||
|
.ui-icon-document { background-position: -32px -96px; }
|
||||||
|
.ui-icon-document-b { background-position: -48px -96px; }
|
||||||
|
.ui-icon-note { background-position: -64px -96px; }
|
||||||
|
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||||
|
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||||
|
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||||
|
.ui-icon-comment { background-position: -128px -96px; }
|
||||||
|
.ui-icon-person { background-position: -144px -96px; }
|
||||||
|
.ui-icon-print { background-position: -160px -96px; }
|
||||||
|
.ui-icon-trash { background-position: -176px -96px; }
|
||||||
|
.ui-icon-locked { background-position: -192px -96px; }
|
||||||
|
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||||
|
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||||
|
.ui-icon-tag { background-position: -240px -96px; }
|
||||||
|
.ui-icon-home { background-position: 0 -112px; }
|
||||||
|
.ui-icon-flag { background-position: -16px -112px; }
|
||||||
|
.ui-icon-calendar { background-position: -32px -112px; }
|
||||||
|
.ui-icon-cart { background-position: -48px -112px; }
|
||||||
|
.ui-icon-pencil { background-position: -64px -112px; }
|
||||||
|
.ui-icon-clock { background-position: -80px -112px; }
|
||||||
|
.ui-icon-disk { background-position: -96px -112px; }
|
||||||
|
.ui-icon-calculator { background-position: -112px -112px; }
|
||||||
|
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||||
|
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||||
|
.ui-icon-search { background-position: -160px -112px; }
|
||||||
|
.ui-icon-wrench { background-position: -176px -112px; }
|
||||||
|
.ui-icon-gear { background-position: -192px -112px; }
|
||||||
|
.ui-icon-heart { background-position: -208px -112px; }
|
||||||
|
.ui-icon-star { background-position: -224px -112px; }
|
||||||
|
.ui-icon-link { background-position: -240px -112px; }
|
||||||
|
.ui-icon-cancel { background-position: 0 -128px; }
|
||||||
|
.ui-icon-plus { background-position: -16px -128px; }
|
||||||
|
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||||
|
.ui-icon-minus { background-position: -48px -128px; }
|
||||||
|
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||||
|
.ui-icon-close { background-position: -80px -128px; }
|
||||||
|
.ui-icon-closethick { background-position: -96px -128px; }
|
||||||
|
.ui-icon-key { background-position: -112px -128px; }
|
||||||
|
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||||
|
.ui-icon-scissors { background-position: -144px -128px; }
|
||||||
|
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||||
|
.ui-icon-copy { background-position: -176px -128px; }
|
||||||
|
.ui-icon-contact { background-position: -192px -128px; }
|
||||||
|
.ui-icon-image { background-position: -208px -128px; }
|
||||||
|
.ui-icon-video { background-position: -224px -128px; }
|
||||||
|
.ui-icon-script { background-position: -240px -128px; }
|
||||||
|
.ui-icon-alert { background-position: 0 -144px; }
|
||||||
|
.ui-icon-info { background-position: -16px -144px; }
|
||||||
|
.ui-icon-notice { background-position: -32px -144px; }
|
||||||
|
.ui-icon-help { background-position: -48px -144px; }
|
||||||
|
.ui-icon-check { background-position: -64px -144px; }
|
||||||
|
.ui-icon-bullet { background-position: -80px -144px; }
|
||||||
|
.ui-icon-radio-off { background-position: -96px -144px; }
|
||||||
|
.ui-icon-radio-on { background-position: -112px -144px; }
|
||||||
|
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||||
|
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||||
|
.ui-icon-play { background-position: 0 -160px; }
|
||||||
|
.ui-icon-pause { background-position: -16px -160px; }
|
||||||
|
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||||
|
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||||
|
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||||
|
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||||
|
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||||
|
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||||
|
.ui-icon-stop { background-position: -96px -160px; }
|
||||||
|
.ui-icon-eject { background-position: -112px -160px; }
|
||||||
|
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||||
|
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||||
|
.ui-icon-power { background-position: 0 -176px; }
|
||||||
|
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||||
|
.ui-icon-signal { background-position: -32px -176px; }
|
||||||
|
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||||
|
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||||
|
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||||
|
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||||
|
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||||
|
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||||
|
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||||
|
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||||
|
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||||
|
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||||
|
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||||
|
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||||
|
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||||
|
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||||
|
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||||
|
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||||
|
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||||
|
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||||
|
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||||
|
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||||
|
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||||
|
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||||
|
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||||
|
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||||
|
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||||
|
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||||
|
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||||
|
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||||
|
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||||
|
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc visuals
|
||||||
|
----------------------------------*/
|
||||||
|
|
||||||
|
/* Corner radius */
|
||||||
|
.ui-corner-tl { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
||||||
|
.ui-corner-tr { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||||
|
.ui-corner-bl { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
|
||||||
|
.ui-corner-br { -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
|
||||||
|
.ui-corner-top { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||||
|
.ui-corner-bottom { -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
|
||||||
|
.ui-corner-right { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; }
|
||||||
|
.ui-corner-left { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; }
|
||||||
|
.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
|
||||||
|
|
||||||
|
/* Overlays */
|
||||||
|
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
||||||
|
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* Resizable
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-resizable { position: relative;}
|
||||||
|
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
|
||||||
|
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||||
|
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||||
|
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||||
|
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||||
|
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||||
|
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||||
|
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||||
|
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||||
|
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Selectable
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-selectable-helper { border:1px dotted black }
|
||||||
|
/* Autocomplete
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-autocomplete { position: absolute; cursor: default; }
|
||||||
|
.ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; }
|
||||||
|
|
||||||
|
/* workarounds */
|
||||||
|
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||||
|
|
||||||
|
/* Menu
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-menu {
|
||||||
|
list-style:none;
|
||||||
|
padding: 2px;
|
||||||
|
margin: 0;
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
.ui-menu .ui-menu {
|
||||||
|
margin-top: -3px;
|
||||||
|
}
|
||||||
|
.ui-menu .ui-menu-item {
|
||||||
|
margin:0;
|
||||||
|
padding: 0;
|
||||||
|
zoom: 1;
|
||||||
|
float: left;
|
||||||
|
clear: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.ui-menu .ui-menu-item a {
|
||||||
|
text-decoration:none;
|
||||||
|
display:block;
|
||||||
|
padding:.2em .4em;
|
||||||
|
line-height:1.5;
|
||||||
|
zoom:1;
|
||||||
|
}
|
||||||
|
.ui-menu .ui-menu-item a.ui-state-hover,
|
||||||
|
.ui-menu .ui-menu-item a.ui-state-active {
|
||||||
|
font-weight: normal;
|
||||||
|
margin: -1px;
|
||||||
|
}
|
||||||
|
/* Button
|
||||||
|
----------------------------------*/
|
||||||
|
|
||||||
|
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||||
|
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||||
|
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||||
|
.ui-button-icons-only { width: 3.4em; }
|
||||||
|
button.ui-button-icons-only { width: 3.7em; }
|
||||||
|
|
||||||
|
/*button text element */
|
||||||
|
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||||
|
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||||
|
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||||
|
.ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||||
|
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||||
|
/* no icon support for input elements, provide padding by default */
|
||||||
|
input.ui-button { padding: .4em 1em; }
|
||||||
|
|
||||||
|
/*button icon element(s) */
|
||||||
|
.ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||||
|
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||||
|
.ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||||
|
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||||
|
|
||||||
|
/*button sets*/
|
||||||
|
.ui-buttonset { margin-right: 7px; }
|
||||||
|
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||||
|
|
||||||
|
/* workarounds */
|
||||||
|
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Dialog
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||||
|
.ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; }
|
||||||
|
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; }
|
||||||
|
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||||
|
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||||
|
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||||
|
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||||
|
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||||
|
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
|
||||||
|
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||||
|
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||||
|
/* Tabs
|
||||||
|
----------------------------------*/
|
||||||
|
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||||
|
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||||
|
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||||||
|
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
||||||
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
||||||
|
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||||
|
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||||
|
.ui-tabs .ui-tabs-hide { display: none !important; }
|
After Width: | Height: | Size: 1008 B |
After Width: | Height: | Size: 631 B |
After Width: | Height: | Size: 631 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 807 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,85 @@
|
||||||
|
.treeview, .treeview ul {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.treeview ul {
|
||||||
|
background-color: white;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.treeview .hitarea {
|
||||||
|
background: url(images/treeview-default.gif) -64px -25px no-repeat;
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
margin-left: -16px;
|
||||||
|
float: left;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
/* fix for IE6 */
|
||||||
|
* html .hitarea {
|
||||||
|
display: inline;
|
||||||
|
float:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.treeview li {
|
||||||
|
margin: 0;
|
||||||
|
padding: 3px 0 3px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.treeview a.selected {
|
||||||
|
background-color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
#treecontrol { margin: 1em 0; display: none; }
|
||||||
|
|
||||||
|
.treeview .hover { color: red; cursor: pointer; }
|
||||||
|
|
||||||
|
.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
|
||||||
|
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
||||||
|
|
||||||
|
.treeview .expandable-hitarea { background-position: -80px -3px; }
|
||||||
|
|
||||||
|
.treeview li.last { background-position: 0 -1766px }
|
||||||
|
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }
|
||||||
|
.treeview li.lastCollapsable { background-position: 0 -111px }
|
||||||
|
.treeview li.lastExpandable { background-position: -32px -67px }
|
||||||
|
|
||||||
|
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|
||||||
|
|
||||||
|
.treeview-red li { background-image: url(images/treeview-red-line.gif); }
|
||||||
|
.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); }
|
||||||
|
|
||||||
|
.treeview-black li { background-image: url(images/treeview-black-line.gif); }
|
||||||
|
.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); }
|
||||||
|
|
||||||
|
.treeview-gray li { background-image: url(images/treeview-gray-line.gif); }
|
||||||
|
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); }
|
||||||
|
|
||||||
|
.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); }
|
||||||
|
.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); }
|
||||||
|
|
||||||
|
|
||||||
|
.filetree li { padding: 3px 0 2px 16px; }
|
||||||
|
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
|
||||||
|
.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; }
|
||||||
|
.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; }
|
||||||
|
.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; }
|
||||||
|
|
||||||
|
html, body {height:100%; margin: 0; padding: 0; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
html>body {
|
||||||
|
font-size: 16px;
|
||||||
|
font-size: 68.75%;
|
||||||
|
} Reset Base Font Size */
|
||||||
|
/*
|
||||||
|
body {
|
||||||
|
font-family: Verdana, helvetica, arial, sans-serif;
|
||||||
|
font-size: 68.75%;
|
||||||
|
background: #fff;
|
||||||
|
color: #333;
|
||||||
|
} */
|
||||||
|
|
||||||
|
a img { border: none; }
|
|
@ -0,0 +1,282 @@
|
||||||
|
/**
|
||||||
|
* Miscellaneous js functions for WebHelp
|
||||||
|
* Kasun Gajasinghe, http://kasunbg.blogspot.com
|
||||||
|
* David Cramer, http://www.thingbag.net
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
//Turn ON and OFF the animations for Show/Hide Sidebar. Extend this to other anime as well if any.
|
||||||
|
var noAnimations=false;
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
/* Local addition */
|
||||||
|
$("a").filter(function() {
|
||||||
|
return this.hostname && this.hostname !== location.hostname;
|
||||||
|
}).addClass('external');
|
||||||
|
|
||||||
|
// When you click on a link to an anchor, scroll down
|
||||||
|
// 105 px to cope with the fact that the banner
|
||||||
|
// hides the top 95px or so of the page.
|
||||||
|
// This code deals with the problem when
|
||||||
|
// you click on a link within a page.
|
||||||
|
$('a[href*=#]').click(function() {
|
||||||
|
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
|
||||||
|
&& location.hostname == this.hostname) {
|
||||||
|
var $target = $(this.hash);
|
||||||
|
$target = $target.length && $target
|
||||||
|
|| $('[name=' + this.hash.slice(1) +']');
|
||||||
|
if (!(this.hash == "#searchDiv" || this.hash == "#treeDiv" || this.hash == "") && $target.length) {
|
||||||
|
var targetOffset = $target.offset().top - 120;
|
||||||
|
$('html,body')
|
||||||
|
.animate({scrollTop: targetOffset}, 200);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// $("#showHideHighlight").button(); //add jquery button styling to 'Go' button
|
||||||
|
//Generate tabs in nav-pane with JQuery
|
||||||
|
$(function() {
|
||||||
|
$("#tabs").tabs({
|
||||||
|
cookie: {
|
||||||
|
expires: 2 // store cookie for 2 days.
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
//Generate the tree
|
||||||
|
$("#ulTreeDiv").attr("style", "");
|
||||||
|
$("#tree").treeview({
|
||||||
|
collapsed: true,
|
||||||
|
animated: "medium",
|
||||||
|
control: "#sidetreecontrol",
|
||||||
|
persist: "cookie"
|
||||||
|
});
|
||||||
|
|
||||||
|
//after toc fully styled, display it. Until loading, a 'loading' image will be displayed
|
||||||
|
$("#tocLoading").attr("style", "display:none;");
|
||||||
|
// $("#ulTreeDiv").attr("style","display:block;");
|
||||||
|
|
||||||
|
//.searchButton is the css class applied to 'Go' button
|
||||||
|
$(function() {
|
||||||
|
$("button", ".searchButton").button();
|
||||||
|
|
||||||
|
$("button", ".searchButton").click(function() {
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
//'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab)
|
||||||
|
if ($.cookie('ui-tabs-1') === '1') { //search tab is active
|
||||||
|
if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) {
|
||||||
|
document.getElementById('textToSearch').value = $.cookie('textToSearch');
|
||||||
|
Verifie('searchForm');
|
||||||
|
searchHighlight($.cookie('textToSearch'));
|
||||||
|
$("#showHideHighlight").css("display", "block");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
syncToc(); //Synchronize the toc tree with the content pane, when loading the page.
|
||||||
|
//$("#doSearch").button(); //add jquery button styling to 'Go' button
|
||||||
|
|
||||||
|
// When you click on a link to an anchor, scroll down
|
||||||
|
// 120 px to cope with the fact that the banner
|
||||||
|
// hides the top 95px or so of the page.
|
||||||
|
// This code deals with the problem when
|
||||||
|
// you click on a link from another page.
|
||||||
|
var hash = window.location.hash;
|
||||||
|
if(hash){
|
||||||
|
var targetOffset = $(hash).offset().top - 120;
|
||||||
|
$('html,body').animate({scrollTop: targetOffset}, 200);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If an user moved to another page by clicking on a toc link, and then clicked on #searchDiv,
|
||||||
|
* search should be performed if the cookie textToSearch is not empty.
|
||||||
|
*/
|
||||||
|
function doSearch() {
|
||||||
|
//'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab)
|
||||||
|
if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) {
|
||||||
|
document.getElementById('textToSearch').value = $.cookie('textToSearch');
|
||||||
|
Verifie('searchForm');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Synchronize with the tableOfContents
|
||||||
|
*/
|
||||||
|
function syncToc() {
|
||||||
|
var a = document.getElementById("webhelp-currentid");
|
||||||
|
if (a != undefined) {
|
||||||
|
//Expanding the child sections of the selected node.
|
||||||
|
var nodeClass = a.getAttribute("class");
|
||||||
|
if (nodeClass != null && !nodeClass.match(/collapsable/)) {
|
||||||
|
a.setAttribute("class", "collapsable");
|
||||||
|
//remove display:none; css style from <ul> block in the selected node.
|
||||||
|
var ulNode = a.getElementsByTagName("ul")[0];
|
||||||
|
if (ulNode != undefined) {
|
||||||
|
if (ulNode.hasAttribute("style")) {
|
||||||
|
ulNode.setAttribute("style", "display: block; background-color: #D8D8D8 !important;");
|
||||||
|
} else {
|
||||||
|
var ulStyle = document.createAttribute("style");
|
||||||
|
ulStyle.nodeValue = "display: block; background-color: #D8D8D8 !important;";
|
||||||
|
ulNode.setAttributeNode(ulStyle);
|
||||||
|
} }
|
||||||
|
//adjust tree's + sign to -
|
||||||
|
var divNode = a.getElementsByTagName("div")[0];
|
||||||
|
if (divNode != undefined) {
|
||||||
|
if (divNode.hasAttribute("class")) {
|
||||||
|
divNode.setAttribute("class", "hitarea collapsable-hitarea");
|
||||||
|
} else {
|
||||||
|
var divClass = document.createAttribute("class");
|
||||||
|
divClass.nodeValue = "hitarea collapsable-hitarea";
|
||||||
|
divNode.setAttributeNode(divClass);
|
||||||
|
} }
|
||||||
|
//set persistence cookie when a node is auto expanded
|
||||||
|
// setCookieForExpandedNode("webhelp-currentid");
|
||||||
|
}
|
||||||
|
var b = a.getElementsByTagName("a")[0];
|
||||||
|
|
||||||
|
if (b != undefined) {
|
||||||
|
//Setting the background for selected node.
|
||||||
|
var style = a.getAttribute("style", 2);
|
||||||
|
if (style != null && !style.match(/background-color: Background;/)) {
|
||||||
|
a.setAttribute("style", "background-color: #D8D8D8; " + style);
|
||||||
|
b.setAttribute("style", "color: black;");
|
||||||
|
} else if (style != null) {
|
||||||
|
a.setAttribute("style", "background-color: #D8D8D8; " + style);
|
||||||
|
b.setAttribute("style", "color: black;");
|
||||||
|
} else {
|
||||||
|
a.setAttribute("style", "background-color: #D8D8D8; ");
|
||||||
|
b.setAttribute("style", "color: black;");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//shows the node related to current content.
|
||||||
|
//goes a recursive call from current node to ancestor nodes, displaying all of them.
|
||||||
|
while (a.parentNode && a.parentNode.nodeName) {
|
||||||
|
var parentNode = a.parentNode;
|
||||||
|
var nodeName = parentNode.nodeName;
|
||||||
|
|
||||||
|
if (nodeName.toLowerCase() == "ul") {
|
||||||
|
parentNode.setAttribute("style", "display: block;");
|
||||||
|
} else if (nodeName.toLocaleLowerCase() == "li") {
|
||||||
|
parentNode.setAttribute("class", "collapsable");
|
||||||
|
parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea ");
|
||||||
|
}
|
||||||
|
a = parentNode;
|
||||||
|
} } }
|
||||||
|
/*
|
||||||
|
function setCookieForExpandedNode(nodeName) {
|
||||||
|
var tocDiv = document.getElementById("tree"); //get table of contents Div
|
||||||
|
var divs = tocDiv.getElementsByTagName("div");
|
||||||
|
var matchedDivNumber;
|
||||||
|
var i;
|
||||||
|
for (i = 0; i < divs.length; i++) { //1101001
|
||||||
|
var div = divs[i];
|
||||||
|
var liNode = div.parentNode;
|
||||||
|
}
|
||||||
|
//create a new cookie if a treeview does not exist
|
||||||
|
if ($.cookie(treeCookieId) == null || $.cookie(treeCookieId) == "") {
|
||||||
|
var branches = $("#tree").find("li");//.prepareBranches(treesettings);
|
||||||
|
var data = [];
|
||||||
|
branches.each(function(i, e) {
|
||||||
|
data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
|
||||||
|
});
|
||||||
|
$.cookie(treeCookieId, data.join(""));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
if (i < divs.length) {
|
||||||
|
var treeviewCookie = $.cookie(treeCookieId);
|
||||||
|
var tvCookie1 = treeviewCookie.substring(0, i);
|
||||||
|
var tvCookie2 = treeviewCookie.substring(i + 1);
|
||||||
|
var newTVCookie = tvCookie1 + "1" + tvCookie2;
|
||||||
|
$.cookie(treeCookieId, newTVCookie);
|
||||||
|
}
|
||||||
|
} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Code for Show/Hide TOC
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function showHideToc() {
|
||||||
|
var showHideButton = $("#showHideButton");
|
||||||
|
var leftNavigation = $("#sidebar"); //hide the parent div of leftnavigation, ie sidebar
|
||||||
|
var content = $("#content");
|
||||||
|
var animeTime=75
|
||||||
|
|
||||||
|
if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) {
|
||||||
|
//Hide TOC
|
||||||
|
showHideButton.removeClass('pointLeft').addClass('pointRight');
|
||||||
|
|
||||||
|
if(noAnimations) {
|
||||||
|
leftNavigation.css("display", "none");
|
||||||
|
content.css("margin", "125px 0 0 0");
|
||||||
|
} else {
|
||||||
|
leftNavigation.hide(animeTime);
|
||||||
|
content.animate( { "margin-left": 0 }, animeTime);
|
||||||
|
}
|
||||||
|
showHideButton.attr("title", "Show Sidebar");
|
||||||
|
} else {
|
||||||
|
//Show the TOC
|
||||||
|
showHideButton.removeClass('pointRight').addClass('pointLeft');
|
||||||
|
if(noAnimations) {
|
||||||
|
content.css("margin", "125px 0 0 280px");
|
||||||
|
leftNavigation.css("display", "block");
|
||||||
|
} else {
|
||||||
|
content.animate( { "margin-left": '280px' }, animeTime);
|
||||||
|
leftNavigation.show(animeTime);
|
||||||
|
}
|
||||||
|
showHideButton.attr("title", "Hide Sidebar");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Code for search highlighting
|
||||||
|
*/
|
||||||
|
var highlightOn = true;
|
||||||
|
function searchHighlight(searchText) {
|
||||||
|
highlightOn = true;
|
||||||
|
if (searchText != undefined) {
|
||||||
|
var wList;
|
||||||
|
var sList = new Array(); //stem list
|
||||||
|
//Highlight the search terms
|
||||||
|
searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_")
|
||||||
|
searchText = searchText.replace(/ +/g, " ");
|
||||||
|
searchText = searchText.replace(/ $/, "").replace(/^ /, "");
|
||||||
|
|
||||||
|
wList = searchText.split(" ");
|
||||||
|
$("#content").highlight(wList); //Highlight the search input
|
||||||
|
|
||||||
|
if (typeof stemmer != "undefined") {
|
||||||
|
//Highlight the stems
|
||||||
|
for (var i = 0; i < wList.length; i++) {
|
||||||
|
var stemW = stemmer(wList[i]);
|
||||||
|
sList.push(stemW);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
sList = wList;
|
||||||
|
}
|
||||||
|
$("#content").highlight(sList); //Highlight the search input's all stems
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function searchUnhighlight() {
|
||||||
|
highlightOn = false;
|
||||||
|
//unhighlight the search input's all stems
|
||||||
|
$("#content").unhighlight();
|
||||||
|
$("#content").unhighlight();
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleHighlight() {
|
||||||
|
if (highlightOn) {
|
||||||
|
searchUnhighlight();
|
||||||
|
} else {
|
||||||
|
searchHighlight($.cookie('textToSearch'));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
var myLayout;
|
||||||
|
|
||||||
|
jQuery(document).ready(function ($) {
|
||||||
|
|
||||||
|
myLayout = $('body').layout({
|
||||||
|
//Defining panes
|
||||||
|
west__paneSelector: "#sidebar"
|
||||||
|
, north__paneSelector: "#header"
|
||||||
|
, center__paneSelector: "#content"
|
||||||
|
|
||||||
|
// some resizing/toggling settings
|
||||||
|
, north__resizable: false // OVERRIDE the pane-default of 'resizable=true'
|
||||||
|
, north__spacing_open: 0 // no resizer-bar when open (zero height)
|
||||||
|
, west__slideable: false
|
||||||
|
, west__spacing_closed: 6
|
||||||
|
, west__spacing_open: 4
|
||||||
|
|
||||||
|
,
|
||||||
|
// some pane-size settings
|
||||||
|
west__minSize: 280
|
||||||
|
, north__minSize: 99
|
||||||
|
|
||||||
|
// some pane animation settings
|
||||||
|
, west__animatePaneSizing: false
|
||||||
|
, west__fxSpeed_size: "normal"
|
||||||
|
, west__fxSpeed_open: 10
|
||||||
|
, west__fxSettings_open: {easing: ""}
|
||||||
|
, west__fxName_close: "none"
|
||||||
|
|
||||||
|
|
||||||
|
, stateManagement__enabled: true // automatic cookie load & save enabled by default
|
||||||
|
, stateManagement__cookie__name: "sidebar_state"
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|