- Timestamp:
- Feb 23, 2016, 10:30:36 PM (9 years ago)
- Location:
- Generics/NativeGenerics
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/NativeGenerics/Demo/Demo.lpi
r458 r481 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <CONFIG> 3 3 <ProjectOptions> … … 8 8 <UseXPManifest Value="True"/> 9 9 <Icon Value="0"/> 10 <ActiveWindowIndexAtStart Value="0"/>11 10 </General> 12 11 <i18n> … … 27 26 <local> 28 27 <FormatVersion Value="1"/> 29 <LaunchingApplication PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>30 28 </local> 31 29 </RunParams> … … 39 37 </Item2> 40 38 </RequiredPackages> 41 <Units Count=" 77">39 <Units Count="83"> 42 40 <Unit0> 43 41 <Filename Value="Demo.lpr"/> 44 42 <IsPartOfProject Value="True"/> 45 <UnitName Value="Demo"/> 46 <WindowIndex Value="0"/> 47 <TopLine Value="1"/> 48 <CursorPos X="27" Y="16"/> 43 <EditorIndex Value="15"/> 44 <CursorPos Y="16"/> 49 45 <UsageCount Value="233"/> 46 <Loaded Value="True"/> 50 47 <DefaultSyntaxHighlighter Value="Delphi"/> 51 48 </Unit0> … … 56 53 <HasResources Value="True"/> 57 54 <ResourceBaseClass Value="Form"/> 58 <UnitName Value="UMainForm"/> 59 <EditorIndex Value="2"/> 60 <WindowIndex Value="0"/> 61 <TopLine Value="653"/> 62 <CursorPos X="1" Y="657"/> 55 <IsVisibleTab Value="True"/> 56 <EditorIndex Value="3"/> 57 <TopLine Value="219"/> 58 <CursorPos X="51" Y="237"/> 63 59 <UsageCount Value="233"/> 64 60 <Bookmarks Count="1"> … … 70 66 <Unit2> 71 67 <Filename Value="../Specialized/SpecializedList.pas"/> 72 <UnitName Value="SpecializedList"/>73 <WindowIndex Value="0"/>74 68 <TopLine Value="47"/> 75 69 <CursorPos X="20" Y="60"/> … … 79 73 <Unit3> 80 74 <Filename Value="../Generic/ListImplementation.tpl"/> 81 <WindowIndex Value="0"/>82 <TopLine Value="1"/>83 75 <CursorPos X="25" Y="13"/> 84 76 <UsageCount Value="5"/> … … 87 79 <Unit4> 88 80 <Filename Value="../Generic/GenericList.inc"/> 89 <WindowIndex Value="0"/>90 81 <TopLine Value="359"/> 91 82 <CursorPos X="62" Y="376"/> … … 95 86 <Unit5> 96 87 <Filename Value="../Generic/GenericDictionary.inc"/> 97 <WindowIndex Value="0"/>98 88 <TopLine Value="31"/> 99 89 <CursorPos X="44" Y="47"/> … … 103 93 <Unit6> 104 94 <Filename Value="../Generic/GenericObjectList.inc"/> 105 <WindowIndex Value="0"/>106 <TopLine Value="1"/>107 95 <CursorPos X="36" Y="48"/> 108 96 <UsageCount Value="84"/> … … 111 99 <Unit7> 112 100 <Filename Value="../Generic/GenericQueue.inc"/> 113 <WindowIndex Value="0"/>114 101 <TopLine Value="3"/> 115 <CursorPos X="1"Y="3"/>102 <CursorPos Y="3"/> 116 103 <UsageCount Value="84"/> 117 104 <DefaultSyntaxHighlighter Value="Delphi"/> … … 119 106 <Unit8> 120 107 <Filename Value="../Generic/GenericSet.inc"/> 121 <WindowIndex Value="0"/>122 108 <TopLine Value="11"/> 123 109 <CursorPos X="42" Y="11"/> … … 127 113 <Unit9> 128 114 <Filename Value="../Generic/GenericStack.inc"/> 129 <WindowIndex Value="0"/>130 115 <TopLine Value="3"/> 131 <CursorPos X="1"Y="3"/>116 <CursorPos Y="3"/> 132 117 <UsageCount Value="84"/> 133 118 <DefaultSyntaxHighlighter Value="Delphi"/> … … 135 120 <Unit10> 136 121 <Filename Value="../Generic/GenericTree.inc"/> 137 <WindowIndex Value="0"/>138 <TopLine Value="1"/>139 122 <CursorPos X="22" Y="30"/> 140 123 <UsageCount Value="84"/> … … 143 126 <Unit11> 144 127 <Filename Value="../Specialized/SpecializedDictionary.pas"/> 145 <UnitName Value="SpecializedDictionary"/>146 <WindowIndex Value="0"/>147 128 <TopLine Value="6"/> 148 129 <CursorPos X="56" Y="36"/> … … 152 133 <Unit12> 153 134 <Filename Value="../Specialized/SpecializedStack.pas"/> 154 <UnitName Value="SpecializedStack"/>155 <WindowIndex Value="0"/>156 135 <TopLine Value="27"/> 157 136 <CursorPos X="50" Y="59"/> … … 161 140 <Unit13> 162 141 <Filename Value="../Specialized/SpecializedTree.pas"/> 163 <UnitName Value="SpecializedTree"/>164 <WindowIndex Value="0"/>165 142 <TopLine Value="57"/> 166 143 <CursorPos X="48" Y="85"/> … … 170 147 <Unit14> 171 148 <Filename Value="../Generic/GenericRange.inc"/> 172 <WindowIndex Value="0"/>173 <TopLine Value="1"/>174 149 <CursorPos X="33" Y="14"/> 175 150 <UsageCount Value="82"/> … … 178 153 <Unit15> 179 154 <Filename Value="../Specialized/SpecializedQueue.pas"/> 180 <UnitName Value="SpecializedQueue"/>181 <WindowIndex Value="0"/>182 155 <TopLine Value="52"/> 183 <CursorPos X="1"Y="81"/>156 <CursorPos Y="81"/> 184 157 <UsageCount Value="82"/> 185 158 <DefaultSyntaxHighlighter Value="Delphi"/> … … 187 160 <Unit16> 188 161 <Filename Value="../Specialized/SpecializedSet.pas"/> 189 <UnitName Value="SpecializedSet"/>190 <WindowIndex Value="0"/>191 162 <TopLine Value="29"/> 192 <CursorPos X="1"Y="62"/>163 <CursorPos Y="62"/> 193 164 <UsageCount Value="82"/> 194 165 <DefaultSyntaxHighlighter Value="Delphi"/> … … 196 167 <Unit17> 197 168 <Filename Value="../Specialized/SpecializedObjectList.pas"/> 198 <UnitName Value="SpecializedObjectList"/>199 <WindowIndex Value="0"/>200 169 <TopLine Value="9"/> 201 170 <CursorPos X="60" Y="36"/> … … 205 174 <Unit18> 206 175 <Filename Value="../Generic/GenericMatrix.inc"/> 207 <WindowIndex Value="0"/>208 176 <TopLine Value="9"/> 209 177 <CursorPos X="28" Y="23"/> … … 214 182 <Filename Value="../../../../lazarus/trunk/lcl/graphics.pp"/> 215 183 <UnitName Value="Graphics"/> 216 <WindowIndex Value="0"/>217 184 <TopLine Value="2624"/> 218 185 <CursorPos X="37" Y="2636"/> … … 222 189 <Unit20> 223 190 <Filename Value="/usr/share/fpcsrc/rtl/objpas/classes/classesh.inc"/> 224 <WindowIndex Value="0"/>225 191 <TopLine Value="199"/> 226 192 <CursorPos X="14" Y="213"/> … … 230 196 <Unit21> 231 197 <Filename Value="/usr/share/fpcsrc/rtl/objpas/classes/lists.inc"/> 232 <WindowIndex Value="0"/>233 198 <TopLine Value="199"/> 234 199 <CursorPos X="3" Y="201"/> … … 238 203 <Unit22> 239 204 <Filename Value="../Generic/GenericListObject.inc"/> 240 <WindowIndex Value="0"/>241 <TopLine Value="1"/>242 205 <CursorPos X="21" Y="20"/> 243 206 <UsageCount Value="9"/> … … 246 209 <Unit23> 247 210 <Filename Value="/usr/share/fpcsrc/rtl/objpas/objpas.pp"/> 248 <UnitName Value="objpas"/>249 <WindowIndex Value="0"/>250 <TopLine Value="1"/>251 211 <CursorPos X="27" Y="26"/> 252 212 <UsageCount Value="18"/> … … 255 215 <Unit24> 256 216 <Filename Value="/usr/share/fpcsrc/rtl/inc/systemh.inc"/> 257 <WindowIndex Value="0"/>258 217 <TopLine Value="381"/> 259 218 <CursorPos X="3" Y="398"/> … … 263 222 <Unit25> 264 223 <Filename Value="../../../../lazarus/trunk/lcl/include/control.inc"/> 265 <WindowIndex Value="0"/>266 224 <TopLine Value="2270"/> 267 225 <CursorPos X="22" Y="2273"/> … … 271 229 <Unit26> 272 230 <Filename Value="../Specialized/SpecializedMatrix.pas"/> 273 <UnitName Value="SpecializedMatrix"/>274 <WindowIndex Value="0"/>275 <TopLine Value="1"/>276 231 <CursorPos X="25" Y="41"/> 277 232 <UsageCount Value="9"/> … … 280 235 <Unit27> 281 236 <Filename Value="../../../../Programy/Lazarus/fpc/2.4.3/source/rtl/objpas/dateutil.inc"/> 282 <WindowIndex Value="0"/>283 237 <TopLine Value="38"/> 284 238 <CursorPos X="3" Y="50"/> … … 288 242 <Unit28> 289 243 <Filename Value="../../../../Programy/Lazarus/fpc/2.4.3/source/rtl/objpas/classes/classesh.inc"/> 290 <WindowIndex Value="0"/>291 244 <TopLine Value="649"/> 292 245 <CursorPos X="38" Y="671"/> … … 296 249 <Unit29> 297 250 <Filename Value="../../../../Programy/Lazarus/fpc/2.4.3/source/rtl/objpas/classes/stringl.inc"/> 298 <WindowIndex Value="0"/>299 251 <TopLine Value="1185"/> 300 252 <CursorPos X="22" Y="1196"/> … … 304 256 <Unit30> 305 257 <Filename Value="../../../../Programy/Lazarus/fpc/2.4.3/source/rtl/objpas/types.pp"/> 306 <UnitName Value="types"/>307 <WindowIndex Value="0"/>308 258 <TopLine Value="112"/> 309 259 <CursorPos X="3" Y="124"/> … … 313 263 <Unit31> 314 264 <Filename Value="../../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/objpas/sysutils/sysstrh.inc"/> 315 <WindowIndex Value="0"/>316 265 <TopLine Value="71"/> 317 266 <CursorPos X="10" Y="84"/> … … 321 270 <Unit32> 322 271 <Filename Value="../../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/objpas/sysutils/sysstr.inc"/> 323 <WindowIndex Value="0"/>324 272 <TopLine Value="148"/> 325 273 <CursorPos X="11" Y="169"/> … … 329 277 <Unit33> 330 278 <Filename Value="../../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/inc/systemh.inc"/> 331 <WindowIndex Value="0"/>332 279 <TopLine Value="511"/> 333 280 <CursorPos X="11" Y="524"/> … … 337 284 <Unit34> 338 285 <Filename Value="../../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/i386/i386.inc"/> 339 <WindowIndex Value="0"/>340 286 <TopLine Value="411"/> 341 287 <CursorPos X="10" Y="424"/> … … 345 291 <Unit35> 346 292 <Filename Value="../Units/GenericList.pas"/> 347 <UnitName Value="GenericList"/>348 <IsVisibleTab Value="True"/>349 293 <EditorIndex Value="6"/> 350 <WindowIndex Value="0"/> 351 <TopLine Value="82"/> 352 <CursorPos X="46" Y="93"/> 294 <TopLine Value="71"/> 295 <CursorPos X="3" Y="90"/> 353 296 <UsageCount Value="65"/> 354 297 <Loaded Value="True"/> … … 356 299 <Unit36> 357 300 <Filename Value="../Units/GenericMatrix.pas"/> 358 <UnitName Value="GenericMatrix"/>359 <EditorIndex Value="0"/>360 <WindowIndex Value="0"/>361 301 <TopLine Value="42"/> 362 302 <CursorPos X="53" Y="55"/> … … 366 306 <Unit37> 367 307 <Filename Value="../Units/GenericStream.pas"/> 368 <UnitName Value="GenericStream"/> 369 <WindowIndex Value="0"/> 370 <TopLine Value="34"/> 371 <CursorPos X="18" Y="48"/> 308 <EditorIndex Value="9"/> 309 <CursorPos X="36" Y="54"/> 372 310 <UsageCount Value="36"/> 311 <Loaded Value="True"/> 373 312 </Unit37> 374 313 <Unit38> 375 314 <Filename Value="../Units/GenericQueue.pas"/> 376 <UnitName Value="GenericQueue"/> 377 <WindowIndex Value="0"/> 378 <TopLine Value="18"/> 315 <EditorIndex Value="13"/> 379 316 <CursorPos X="24" Y="28"/> 380 <UsageCount Value="8"/> 317 <UsageCount Value="10"/> 318 <Loaded Value="True"/> 381 319 </Unit38> 382 320 <Unit39> 383 321 <Filename Value="../Units/GenericDictionary.pas"/> 384 <UnitName Value="GenericDictionary"/> 385 <WindowIndex Value="0"/> 386 <TopLine Value="1"/> 387 <CursorPos X="1" Y="1"/> 322 <EditorIndex Value="14"/> 323 <TopLine Value="59"/> 324 <CursorPos Y="96"/> 388 325 <UsageCount Value="40"/> 326 <Loaded Value="True"/> 389 327 </Unit39> 390 328 <Unit40> 391 329 <Filename Value="../../../../../Lazarus/0.9.31_2.6.0/fpc/2.6.0/source/rtl/objpas/sysutils/sysunih.inc"/> 392 <WindowIndex Value="0"/>393 330 <TopLine Value="9"/> 394 331 <CursorPos X="10" Y="22"/> … … 398 335 <Unit41> 399 336 <Filename Value="../Units/SpecializedList.pas"/> 400 <UnitName Value="SpecializedList"/>401 <WindowIndex Value="0"/>402 337 <TopLine Value="45"/> 403 <CursorPos X="1"Y="68"/>338 <CursorPos Y="68"/> 404 339 <UsageCount Value="38"/> 405 340 </Unit41> 406 341 <Unit42> 407 342 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/fpc/2.7.1/source/rtl/objpas/classes/classesh.inc"/> 408 <WindowIndex Value="0"/>409 343 <TopLine Value="257"/> 410 344 <CursorPos X="3" Y="270"/> … … 414 348 <Unit43> 415 349 <Filename Value="../Units/GenericSet.pas"/> 416 <UnitName Value="GenericSet"/> 417 <WindowIndex Value="0"/> 418 <TopLine Value="1"/> 419 <CursorPos X="1" Y="1"/> 420 <UsageCount Value="8"/> 350 <EditorIndex Value="11"/> 351 <UsageCount Value="10"/> 352 <Loaded Value="True"/> 421 353 </Unit43> 422 354 <Unit44> 423 355 <Filename Value="../Units/GenericStack.pas"/> 424 <UnitName Value="GenericStack"/> 425 <WindowIndex Value="0"/> 426 <TopLine Value="22"/> 356 <EditorIndex Value="10"/> 427 357 <CursorPos X="14" Y="38"/> 428 <UsageCount Value="8"/> 358 <UsageCount Value="10"/> 359 <Loaded Value="True"/> 429 360 </Unit44> 430 361 <Unit45> 431 362 <Filename Value="../Units/GenericRange.pas"/> 432 <UnitName Value="GenericRange"/> 433 <WindowIndex Value="0"/> 434 <TopLine Value="1"/> 435 <CursorPos X="20" Y="8"/> 363 <EditorIndex Value="12"/> 364 <CursorPos X="33" Y="35"/> 436 365 <UsageCount Value="40"/> 366 <Loaded Value="True"/> 437 367 </Unit45> 438 368 <Unit46> 439 369 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/fpc/2.7.1/source/rtl/inc/systemh.inc"/> 440 <WindowIndex Value="0"/>441 370 <TopLine Value="958"/> 442 371 <CursorPos X="11" Y="971"/> … … 446 375 <Unit47> 447 376 <Filename Value="../Units/GenericTree.pas"/> 448 <UnitName Value="GenericTree"/> 449 <WindowIndex Value="0"/> 450 <TopLine Value="50"/> 377 <EditorIndex Value="16"/> 451 378 <CursorPos X="49" Y="68"/> 452 379 <UsageCount Value="40"/> 380 <Loaded Value="True"/> 453 381 </Unit47> 454 382 <Unit48> 455 383 <Filename Value="../Units/GenericString.pas"/> 456 <UnitName Value="GenericString"/> 457 <WindowIndex Value="0"/> 458 <TopLine Value="35"/> 459 <CursorPos X="23" Y="40"/> 384 <EditorIndex Value="18"/> 385 <CursorPos X="39" Y="62"/> 460 386 <UsageCount Value="33"/> 387 <Loaded Value="True"/> 461 388 </Unit48> 462 389 <Unit49> 463 390 <Filename Value="../Units/GenericBitmap.pas"/> 464 <UnitName Value="GenericBitmap"/> 465 <EditorIndex Value="7"/> 466 <WindowIndex Value="0"/> 467 <TopLine Value="6"/> 468 <CursorPos X="14" Y="19"/> 391 <EditorIndex Value="17"/> 392 <TopLine Value="140"/> 393 <CursorPos X="34" Y="36"/> 469 394 <UsageCount Value="32"/> 470 395 <Loaded Value="True"/> … … 473 398 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/graphics.pp"/> 474 399 <UnitName Value="Graphics"/> 475 <WindowIndex Value="0"/>476 400 <TopLine Value="1151"/> 477 401 <CursorPos X="22" Y="1165"/> … … 481 405 <Unit51> 482 406 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/include/rasterimage.inc"/> 483 <WindowIndex Value="0"/>484 407 <TopLine Value="310"/> 485 408 <CursorPos X="22" Y="314"/> … … 489 412 <Unit52> 490 413 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/include/bitmapcanvas.inc"/> 491 <WindowIndex Value="0"/>492 414 <TopLine Value="53"/> 493 415 <CursorPos X="3" Y="46"/> … … 498 420 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/fpc/2.7.1/source/packages/fcl-image/src/fpcanvas.pp"/> 499 421 <UnitName Value="FPCanvas"/> 500 <WindowIndex Value="0"/>501 422 <TopLine Value="347"/> 502 423 <CursorPos X="15" Y="360"/> … … 506 427 <Unit54> 507 428 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/fpc/2.7.1/source/packages/fcl-image/src/fpcanvas.inc"/> 508 <WindowIndex Value="0"/>509 429 <TopLine Value="308"/> 510 430 <CursorPos X="3" Y="310"/> … … 514 434 <Unit55> 515 435 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/fpc/2.7.1/source/packages/fcl-image/src/fpcdrawh.inc"/> 516 <WindowIndex Value="0"/>517 436 <TopLine Value="54"/> 518 437 <CursorPos X="3" Y="63"/> … … 522 441 <Unit56> 523 442 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/include/canvas.inc"/> 524 <WindowIndex Value="0"/>525 443 <TopLine Value="147"/> 526 444 <CursorPos X="3" Y="152"/> … … 531 449 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/interfacebase.pp"/> 532 450 <UnitName Value="InterfaceBase"/> 533 <WindowIndex Value="0"/>534 451 <TopLine Value="153"/> 535 452 <CursorPos X="15" Y="166"/> … … 540 457 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/comctrls.pp"/> 541 458 <UnitName Value="ComCtrls"/> 542 <WindowIndex Value="0"/>543 459 <TopLine Value="2962"/> 544 460 <CursorPos X="3" Y="2975"/> … … 548 464 <Unit59> 549 465 <Filename Value="../../../../../Lazarus/0.9.31_2.7.1/lcl/include/treeview.inc"/> 550 <WindowIndex Value="0"/>551 466 <TopLine Value="5239"/> 552 467 <CursorPos X="3" Y="5243"/> … … 556 471 <Unit60> 557 472 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/sysutils/filutilh.inc"/> 558 <WindowIndex Value="0"/>559 473 <TopLine Value="62"/> 560 474 <CursorPos X="3" Y="75"/> … … 563 477 <Unit61> 564 478 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/inc/systemh.inc"/> 565 <EditorIndex Value="11"/> 566 <WindowIndex Value="0"/> 479 <EditorIndex Value="-1"/> 567 480 <TopLine Value="582"/> 568 481 <CursorPos X="11" Y="595"/> 569 482 <UsageCount Value="13"/> 570 <Loaded Value="True"/>571 483 </Unit61> 572 484 <Unit62> 573 485 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/win/sysutils.pp"/> 574 <UnitName Value="sysutils"/>575 <WindowIndex Value="0"/>576 486 <TopLine Value="300"/> 577 <CursorPos X="1"Y="302"/>487 <CursorPos Y="302"/> 578 488 <UsageCount Value="11"/> 579 489 </Unit62> 580 490 <Unit63> 581 491 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/win/wininc/func.inc"/> 582 <WindowIndex Value="0"/>583 492 <TopLine Value="169"/> 584 493 <CursorPos X="15" Y="177"/> … … 587 496 <Unit64> 588 497 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/inc/file.inc"/> 589 <WindowIndex Value="0"/>590 498 <TopLine Value="299"/> 591 499 <CursorPos X="3" Y="304"/> … … 594 502 <Unit65> 595 503 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/win/sysfile.inc"/> 596 <WindowIndex Value="0"/>597 504 <TopLine Value="133"/> 598 505 <CursorPos X="11" Y="143"/> … … 601 508 <Unit66> 602 509 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/win/sysos.inc"/> 603 <WindowIndex Value="0"/>604 510 <TopLine Value="250"/> 605 511 <CursorPos X="20" Y="268"/> … … 608 514 <Unit67> 609 515 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/inc/text.inc"/> 610 <WindowIndex Value="0"/>611 516 <TopLine Value="108"/> 612 517 <CursorPos X="3" Y="110"/> … … 615 520 <Unit68> 616 521 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/sysutils/sysstrh.inc"/> 617 <EditorIndex Value="9"/> 618 <WindowIndex Value="0"/> 522 <EditorIndex Value="-1"/> 619 523 <TopLine Value="72"/> 620 524 <CursorPos X="10" Y="84"/> 621 525 <UsageCount Value="12"/> 622 <Loaded Value="True"/>623 526 </Unit68> 624 527 <Unit69> 625 528 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/classes/classesh.inc"/> 626 <EditorIndex Value="3"/> 627 <WindowIndex Value="0"/> 529 <EditorIndex Value="-1"/> 628 530 <TopLine Value="258"/> 629 531 <CursorPos X="14" Y="270"/> 630 532 <UsageCount Value="12"/> 631 <Loaded Value="True"/>632 533 </Unit69> 633 534 <Unit70> 634 535 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/classes/stringl.inc"/> 635 <EditorIndex Value="5"/> 636 <WindowIndex Value="0"/> 536 <EditorIndex Value="-1"/> 637 537 <TopLine Value="736"/> 638 538 <CursorPos X="3" Y="738"/> 639 539 <UsageCount Value="12"/> 640 <Loaded Value="True"/>641 540 </Unit70> 642 541 <Unit71> 643 542 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/classes/lists.inc"/> 644 <EditorIndex Value="4"/> 645 <WindowIndex Value="0"/> 543 <EditorIndex Value="-1"/> 646 544 <TopLine Value="199"/> 647 545 <CursorPos X="31" Y="207"/> 648 546 <UsageCount Value="12"/> 649 <Loaded Value="True"/>650 547 </Unit71> 651 548 <Unit72> 652 549 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/objpas/sysutils/sysstr.inc"/> 653 <EditorIndex Value="10"/> 654 <WindowIndex Value="0"/> 550 <EditorIndex Value="-1"/> 655 551 <TopLine Value="181"/> 656 552 <CursorPos X="3" Y="187"/> 657 553 <UsageCount Value="12"/> 658 <Loaded Value="True"/>659 554 </Unit72> 660 555 <Unit73> 661 556 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/i386/i386.inc"/> 662 <EditorIndex Value="13"/> 663 <WindowIndex Value="0"/> 557 <EditorIndex Value="-1"/> 664 558 <TopLine Value="503"/> 665 559 <CursorPos X="9" Y="503"/> 666 560 <UsageCount Value="12"/> 667 <Loaded Value="True"/>668 561 </Unit73> 669 562 <Unit74> 670 563 <Filename Value="../../../../../Lazarus/1.1_2.7.1/fpc/2.7.1/source/rtl/inc/system.inc"/> 671 <EditorIndex Value="12"/> 672 <WindowIndex Value="0"/> 564 <EditorIndex Value="-1"/> 673 565 <TopLine Value="277"/> 674 566 <CursorPos X="14" Y="285"/> 675 567 <UsageCount Value="12"/> 676 <Loaded Value="True"/>677 568 </Unit74> 678 569 <Unit75> 679 570 <Filename Value="../ReadMe.txt"/> 680 <EditorIndex Value="8"/> 681 <WindowIndex Value="0"/> 682 <TopLine Value="1"/> 683 <CursorPos X="27" Y="9"/> 571 <EditorIndex Value="19"/> 572 <CursorPos X="41" Y="7"/> 684 573 <UsageCount Value="11"/> 685 574 <Loaded Value="True"/> … … 688 577 <Unit76> 689 578 <Filename Value="../Units/GenericPoint.pas"/> 690 <UnitName Value="GenericPoint"/>691 579 <EditorIndex Value="1"/> 692 <WindowIndex Value="0"/> 693 <TopLine Value="2"/> 694 <CursorPos X="19" Y="20"/> 580 <CursorPos X="59" Y="19"/> 695 581 <UsageCount Value="10"/> 696 582 <Loaded Value="True"/> 697 583 </Unit76> 584 <Unit77> 585 <Filename Value="/usr/share/fpcsrc/3.0.0/rtl/objpas/classes/classesh.inc"/> 586 <EditorIndex Value="4"/> 587 <TopLine Value="229"/> 588 <CursorPos X="14" Y="251"/> 589 <UsageCount Value="10"/> 590 <Loaded Value="True"/> 591 </Unit77> 592 <Unit78> 593 <Filename Value="/usr/share/fpcsrc/3.0.0/rtl/objpas/classes/lists.inc"/> 594 <EditorIndex Value="5"/> 595 <TopLine Value="199"/> 596 <CursorPos X="3" Y="207"/> 597 <UsageCount Value="10"/> 598 <Loaded Value="True"/> 599 </Unit78> 600 <Unit79> 601 <Filename Value="/usr/share/fpcsrc/3.0.0/rtl/inc/systemh.inc"/> 602 <EditorIndex Value="7"/> 603 <TopLine Value="726"/> 604 <CursorPos X="11" Y="749"/> 605 <UsageCount Value="10"/> 606 <Loaded Value="True"/> 607 </Unit79> 608 <Unit80> 609 <Filename Value="/usr/share/fpcsrc/3.0.0/rtl/x86_64/x86_64.inc"/> 610 <EditorIndex Value="8"/> 611 <TopLine Value="634"/> 612 <CursorPos X="10" Y="657"/> 613 <UsageCount Value="10"/> 614 <Loaded Value="True"/> 615 </Unit80> 616 <Unit81> 617 <Filename Value="../Units/GenericRectangle.pas"/> 618 <EditorIndex Value="2"/> 619 <TopLine Value="17"/> 620 <CursorPos X="27" Y="51"/> 621 <UsageCount Value="10"/> 622 <Loaded Value="True"/> 623 </Unit81> 624 <Unit82> 625 <Filename Value="../Additional/UBinarySerializer.pas"/> 626 <EditorIndex Value="20"/> 627 <TopLine Value="55"/> 628 <UsageCount Value="10"/> 629 <Loaded Value="True"/> 630 </Unit82> 698 631 </Units> 699 <JumpHistory Count="30" HistoryIndex="2 8">632 <JumpHistory Count="30" HistoryIndex="29"> 700 633 <Position1> 701 <Filename Value=" ../Units/GenericList.pas"/>702 <Caret Line=" 221" Column="1" TopLine="200"/>634 <Filename Value="Demo.lpr"/> 635 <Caret Line="16"/> 703 636 </Position1> 704 637 <Position2> 705 <Filename Value=" ../Units/GenericList.pas"/>706 <Caret Line="2 16" Column="1" TopLine="200"/>638 <Filename Value="UMainForm.pas"/> 639 <Caret Line="243" TopLine="219"/> 707 640 </Position2> 708 641 <Position3> 709 <Filename Value="../Units/Generic List.pas"/>710 <Caret Line=" 308" Column="1" TopLine="295"/>642 <Filename Value="../Units/GenericDictionary.pas"/> 643 <Caret Line="88" TopLine="59"/> 711 644 </Position3> 712 645 <Position4> 713 <Filename Value="../Units/Generic List.pas"/>714 <Caret Line=" 309" Column="1" TopLine="295"/>646 <Filename Value="../Units/GenericDictionary.pas"/> 647 <Caret Line="89" TopLine="59"/> 715 648 </Position4> 716 649 <Position5> 717 <Filename Value="../Units/Generic List.pas"/>718 <Caret Line=" 313" Column="1" TopLine="295"/>650 <Filename Value="../Units/GenericDictionary.pas"/> 651 <Caret Line="90" TopLine="59"/> 719 652 </Position5> 720 653 <Position6> 721 <Filename Value="../Units/Generic List.pas"/>722 <Caret Line=" 314" Column="1" TopLine="295"/>654 <Filename Value="../Units/GenericDictionary.pas"/> 655 <Caret Line="91" TopLine="59"/> 723 656 </Position6> 724 657 <Position7> 725 <Filename Value="../Units/Generic List.pas"/>726 <Caret Line=" 213" Column="1" TopLine="200"/>658 <Filename Value="../Units/GenericDictionary.pas"/> 659 <Caret Line="94" TopLine="59"/> 727 660 </Position7> 728 661 <Position8> 729 <Filename Value="../Units/Generic List.pas"/>730 <Caret Line=" 313" Column="1" TopLine="300"/>662 <Filename Value="../Units/GenericDictionary.pas"/> 663 <Caret Line="90" TopLine="59"/> 731 664 </Position8> 732 665 <Position9> 733 <Filename Value="../Units/Generic List.pas"/>734 <Caret Line=" 314" Column="1" TopLine="300"/>666 <Filename Value="../Units/GenericDictionary.pas"/> 667 <Caret Line="91" TopLine="59"/> 735 668 </Position9> 736 669 <Position10> 737 <Filename Value="../Units/Generic List.pas"/>738 <Caret Line=" 215" Column="1" TopLine="202"/>670 <Filename Value="../Units/GenericDictionary.pas"/> 671 <Caret Line="94" TopLine="59"/> 739 672 </Position10> 740 673 <Position11> 741 <Filename Value="../Units/Generic List.pas"/>742 <Caret Line=" 220" Column="1" TopLine="202"/>674 <Filename Value="../Units/GenericDictionary.pas"/> 675 <Caret Line="90" TopLine="59"/> 743 676 </Position11> 744 677 <Position12> 745 <Filename Value="../Units/Generic List.pas"/>746 <Caret Line=" 221" Column="1" TopLine="202"/>678 <Filename Value="../Units/GenericDictionary.pas"/> 679 <Caret Line="91" TopLine="59"/> 747 680 </Position12> 748 681 <Position13> 749 <Filename Value="../Units/Generic List.pas"/>750 <Caret Line=" 216" Column="1" TopLine="202"/>682 <Filename Value="../Units/GenericDictionary.pas"/> 683 <Caret Line="94" TopLine="59"/> 751 684 </Position13> 752 685 <Position14> 753 <Filename Value="../Units/Generic List.pas"/>754 <Caret Line=" 308" Column="1" TopLine="295"/>686 <Filename Value="../Units/GenericDictionary.pas"/> 687 <Caret Line="90" TopLine="59"/> 755 688 </Position14> 756 689 <Position15> 757 <Filename Value="../Units/Generic List.pas"/>758 <Caret Line=" 303" Column="13" TopLine="296"/>690 <Filename Value="../Units/GenericDictionary.pas"/> 691 <Caret Line="96" TopLine="59"/> 759 692 </Position15> 760 693 <Position16> 761 <Filename Value=" ../Units/GenericList.pas"/>762 <Caret Line=" 626" Column="1" TopLine="613"/>694 <Filename Value="UMainForm.pas"/> 695 <Caret Line="235" Column="60" TopLine="219"/> 763 696 </Position16> 764 697 <Position17> 765 698 <Filename Value="UMainForm.pas"/> 766 <Caret Line=" 657" Column="1" TopLine="653"/>699 <Caret Line="243" TopLine="219"/> 767 700 </Position17> 768 701 <Position18> 769 <Filename Value="../Units/Generic Matrix.pas"/>770 <Caret Line=" 137" Column="19" TopLine="127"/>702 <Filename Value="../Units/GenericDictionary.pas"/> 703 <Caret Line="87" TopLine="59"/> 771 704 </Position18> 772 705 <Position19> 773 <Filename Value="../Units/Generic Matrix.pas"/>774 <Caret Line=" 116" Column="17" TopLine="99"/>706 <Filename Value="../Units/GenericDictionary.pas"/> 707 <Caret Line="89" TopLine="59"/> 775 708 </Position19> 776 709 <Position20> 777 <Filename Value="../Units/Generic Matrix.pas"/>778 <Caret Line=" 51" Column="39" TopLine="36"/>710 <Filename Value="../Units/GenericDictionary.pas"/> 711 <Caret Line="90" TopLine="59"/> 779 712 </Position20> 780 713 <Position21> 781 <Filename Value="../Units/Generic Matrix.pas"/>782 <Caret Line=" 66" Column="13" TopLine="56"/>714 <Filename Value="../Units/GenericDictionary.pas"/> 715 <Caret Line="91" TopLine="59"/> 783 716 </Position21> 784 717 <Position22> 785 <Filename Value="../Units/Generic Matrix.pas"/>786 <Caret Line=" 50" Column="3" TopLine="37"/>718 <Filename Value="../Units/GenericDictionary.pas"/> 719 <Caret Line="94" TopLine="59"/> 787 720 </Position22> 788 721 <Position23> 789 <Filename Value="../Units/Generic Matrix.pas"/>790 <Caret Line=" 55" Column="22" TopLine="42"/>722 <Filename Value="../Units/GenericDictionary.pas"/> 723 <Caret Line="90" TopLine="59"/> 791 724 </Position23> 792 725 <Position24> 793 <Filename Value="../Units/Generic Matrix.pas"/>794 <Caret Line=" 51" Column="25" TopLine="38"/>726 <Filename Value="../Units/GenericDictionary.pas"/> 727 <Caret Line="91" TopLine="59"/> 795 728 </Position24> 796 729 <Position25> 797 <Filename Value="../Units/Generic Matrix.pas"/>798 <Caret Line=" 53" Column="39" TopLine="38"/>730 <Filename Value="../Units/GenericDictionary.pas"/> 731 <Caret Line="94" TopLine="59"/> 799 732 </Position25> 800 733 <Position26> 801 <Filename Value="../Units/Generic Matrix.pas"/>802 <Caret Line=" 51" Column="39" TopLine="38"/>734 <Filename Value="../Units/GenericDictionary.pas"/> 735 <Caret Line="90" TopLine="59"/> 803 736 </Position26> 804 737 <Position27> 805 <Filename Value="../Units/Generic Matrix.pas"/>806 <Caret Line=" 52" Column="7" TopLine="38"/>738 <Filename Value="../Units/GenericDictionary.pas"/> 739 <Caret Line="91" TopLine="59"/> 807 740 </Position27> 808 741 <Position28> 809 <Filename Value="../Units/Generic Matrix.pas"/>810 <Caret Line=" 55" Column="52" TopLine="42"/>742 <Filename Value="../Units/GenericDictionary.pas"/> 743 <Caret Line="94" TopLine="59"/> 811 744 </Position28> 812 745 <Position29> 813 <Filename Value="../Units/Generic List.pas"/>814 <Caret Line="9 3" Column="25" TopLine="82"/>746 <Filename Value="../Units/GenericDictionary.pas"/> 747 <Caret Line="90" TopLine="59"/> 815 748 </Position29> 816 749 <Position30> 817 <Filename Value="../Units/Generic List.pas"/>818 <Caret Line=" 1077" Column="4" TopLine="1052"/>750 <Filename Value="../Units/GenericDictionary.pas"/> 751 <Caret Line="96" TopLine="59"/> 819 752 </Position30> 820 753 </JumpHistory> … … 857 790 </Options> 858 791 </Linking> 859 <Other>860 <CompilerMessages>861 <UseMsgFile Value="True"/>862 </CompilerMessages>863 <CompilerPath Value="$(CompPath)"/>864 </Other>865 792 </CompilerOptions> 866 793 <Debugging> 867 <BreakPoints Count=" 2">794 <BreakPoints Count="1"> 868 795 <Item1> 869 796 <Kind Value="bpkSource"/> … … 871 798 <WatchKind Value="wpkWrite"/> 872 799 <Source Value="UMainForm.pas"/> 873 <Line Value=" 206"/>800 <Line Value="657"/> 874 801 </Item1> 875 <Item2>876 <Kind Value="bpkSource"/>877 <WatchScope Value="wpsLocal"/>878 <WatchKind Value="wpkWrite"/>879 <Source Value="UMainForm.pas"/>880 <Line Value="657"/>881 </Item2>882 802 </BreakPoints> 883 803 <Exceptions Count="3"> … … 893 813 </Exceptions> 894 814 </Debugging> 895 <EditorMacros Count="0"/>896 815 </CONFIG> -
Generics/NativeGenerics/Demo/UMainForm.pas
r327 r481 241 241 Values['Key2'] := 'None'; 242 242 WriteOutput('Values[Key2]', Values['Key2']); 243 WriteOutput(' Values[Key0]', Values['Key0']);243 WriteOutput('Index of Key0', IntToStr(SearchKey('Key0'))); 244 244 WriteOutput('Keys[2]', Keys[2]); 245 245 finally -
Generics/NativeGenerics/ReadMe.txt
r458 r481 15 15 16 16 17 Require FPC version 2.7.1and newer17 Require FPC version 3.0.0 and newer 18 18 -
Generics/NativeGenerics/Units/GenericDictionary.pas
r320 r481 93 93 Result := Result + 1; 94 94 end; 95 if Result >= FList.Count then Result := -1; 95 96 end; 96 97 -
Generics/NativeGenerics/Units/GenericList.pas
r458 r481 96 96 function GetInternal(Index: TIndex): TItem; override; 97 97 function GetCount: TIndex; override; 98 function GetCapacity: TIndex; 98 function GetCapacity: TIndex; virtual; 99 99 procedure SetCount(const AValue: TIndex); override; 100 procedure SetCapacity(const AValue: TIndex); 100 procedure SetCapacity(const AValue: TIndex); virtual; 101 101 procedure SetCapacityOptimized(const NewCapacity: TIndex); 102 102 procedure Put(Index: TIndex; const AValue: TItem); override; … … 115 115 TGObjectList<TItem> = class(TGList<TItem>) 116 116 protected 117 procedure Put(Index: Integer; const AValue: TItem); override;117 procedure Put(Index: TIndex; const AValue: TItem); override; 118 118 public 119 119 OwnsObjects: Boolean; 120 120 procedure SetCount(const AValue: TIndex); override; 121 121 function AddNew(NewObject: TItem = nil): TItem; 122 procedure Delete(const Index: Integer); override;122 procedure Delete(const Index: TIndex); override; 123 123 procedure Clear; override; 124 124 procedure Assign(Source: TGAbstractList<TItem>); override; … … 130 130 private 131 131 public 132 procedure Delete(const Index: Integer); override;132 procedure Delete(const Index: TIndex); override; 133 133 procedure Clear; override; 134 134 procedure Assign(Source: TGAbstractList<TItem>); override; … … 157 157 procedure Open; 158 158 procedure Close; 159 constructor Create; 159 constructor Create; override; 160 160 destructor Destroy; override; 161 161 property FileName: string read FFileName write SetFileName; … … 328 328 end; 329 329 330 procedure TGObjectList<TItem>.Put(Index: Integer; const AValue: TItem);330 procedure TGObjectList<TItem>.Put(Index: TIndex; const AValue: TItem); 331 331 begin 332 332 if OwnsObjects and Assigned(FItems[Index]) then FItems[Index].Free; … … 348 348 end; 349 349 350 procedure TGObjectList<TItem>.Delete(const Index: Integer);350 procedure TGObjectList<TItem>.Delete(const Index: TIndex); 351 351 begin 352 352 (*if OwnsObjects then begin … … 383 383 end; 384 384 385 procedure TGStringList<TItem>.Delete(const Index: Integer);385 procedure TGStringList<TItem>.Delete(const Index: TIndex); 386 386 begin 387 387 FItems[Index] := ''; … … 720 720 end else 721 721 if NewIndex < CurIndex then begin 722 Temp.AddListPart(Self, CurIndex, ACount);722 Temp.AddListPart(Self, CurIndex, ACount); 723 723 CopyItems(NewIndex, NewIndex + ACount, CurIndex - NewIndex); 724 724 ReplaceList(NewIndex, Temp); -
Generics/NativeGenerics/Units/GenericStream.pas
r425 r481 52 52 function ReadList(List: TGList<TItem>; Count: TIndex): TIndex; 53 53 function ReadBuffer(var Buffer; Count: Integer): Integer; override; 54 function Insert(Count: TIndex): Integer; override;55 function Remove(Count: TIndex): Integer; override;54 function Insert(Count: TIndex): TIndex; override; 55 function Remove(Count: TIndex): TIndex; override; 56 56 function Seek(Offset: TIndex; Origin: TSeekOrigin = soCurrent): TIndex; override; 57 57 constructor Create; override;
Note:
See TracChangeset
for help on using the changeset viewer.