vp6 0.4.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. vp6-0.4.3/BACKLOG.md +55 -0
  2. vp6-0.4.3/FEATURES.md +827 -0
  3. vp6-0.4.3/LICENSE +21 -0
  4. vp6-0.4.3/MANIFEST.in +6 -0
  5. vp6-0.4.3/PKG-INFO +279 -0
  6. vp6-0.4.3/README.md +241 -0
  7. vp6-0.4.3/docs/README.md +18 -0
  8. vp6-0.4.3/docs/api.md +1789 -0
  9. vp6-0.4.3/docs/architecture.md +708 -0
  10. vp6-0.4.3/docs/development-guide.md +702 -0
  11. vp6-0.4.3/docs/source-reference.md +1517 -0
  12. vp6-0.4.3/pyproject.toml +54 -0
  13. vp6-0.4.3/setup.cfg +4 -0
  14. vp6-0.4.3/tests/conftest.py +60 -0
  15. vp6-0.4.3/tests/test_align.py +188 -0
  16. vp6-0.4.3/tests/test_appearance.py +211 -0
  17. vp6-0.4.3/tests/test_control_arrays.py +330 -0
  18. vp6-0.4.3/tests/test_designer.py +237 -0
  19. vp6-0.4.3/tests/test_docs.py +143 -0
  20. vp6-0.4.3/tests/test_embedded_forms.py +211 -0
  21. vp6-0.4.3/tests/test_findreplace.py +244 -0
  22. vp6-0.4.3/tests/test_formfile.py +115 -0
  23. vp6-0.4.3/tests/test_graphical_buttons.py +136 -0
  24. vp6-0.4.3/tests/test_ide.py +1142 -0
  25. vp6-0.4.3/tests/test_ide_theme.py +156 -0
  26. vp6-0.4.3/tests/test_image.py +124 -0
  27. vp6-0.4.3/tests/test_imagelist.py +158 -0
  28. vp6-0.4.3/tests/test_interrupt.py +169 -0
  29. vp6-0.4.3/tests/test_kitchen_sink.py +577 -0
  30. vp6-0.4.3/tests/test_label_text.py +101 -0
  31. vp6-0.4.3/tests/test_line.py +198 -0
  32. vp6-0.4.3/tests/test_list_items.py +216 -0
  33. vp6-0.4.3/tests/test_listview.py +259 -0
  34. vp6-0.4.3/tests/test_make.py +177 -0
  35. vp6-0.4.3/tests/test_menus.py +426 -0
  36. vp6-0.4.3/tests/test_outline.py +331 -0
  37. vp6-0.4.3/tests/test_output.py +132 -0
  38. vp6-0.4.3/tests/test_packaging.py +67 -0
  39. vp6-0.4.3/tests/test_project.py +254 -0
  40. vp6-0.4.3/tests/test_runtime.py +290 -0
  41. vp6-0.4.3/tests/test_scrolling.py +138 -0
  42. vp6-0.4.3/tests/test_splash.py +75 -0
  43. vp6-0.4.3/tests/test_splitter.py +157 -0
  44. vp6-0.4.3/tests/test_statusbar.py +198 -0
  45. vp6-0.4.3/tests/test_tabstrip.py +180 -0
  46. vp6-0.4.3/tests/test_theme.py +121 -0
  47. vp6-0.4.3/tests/test_toolbar.py +190 -0
  48. vp6-0.4.3/tests/test_treeview.py +230 -0
  49. vp6-0.4.3/tests/test_values.py +203 -0
  50. vp6-0.4.3/tools/apidocs.py +258 -0
  51. vp6-0.4.3/vp6/__init__.py +37 -0
  52. vp6-0.4.3/vp6/_props.py +108 -0
  53. vp6-0.4.3/vp6/app.py +300 -0
  54. vp6-0.4.3/vp6/appearance.py +248 -0
  55. vp6-0.4.3/vp6/colors.py +62 -0
  56. vp6-0.4.3/vp6/constants.py +214 -0
  57. vp6-0.4.3/vp6/controls.py +5145 -0
  58. vp6-0.4.3/vp6/dialogs.py +72 -0
  59. vp6-0.4.3/vp6/form.py +924 -0
  60. vp6-0.4.3/vp6/formfile.py +444 -0
  61. vp6-0.4.3/vp6/ide/__init__.py +1 -0
  62. vp6-0.4.3/vp6/ide/__main__.py +5 -0
  63. vp6-0.4.3/vp6/ide/chrome.py +385 -0
  64. vp6-0.4.3/vp6/ide/codeeditor.py +812 -0
  65. vp6-0.4.3/vp6/ide/designer.py +1414 -0
  66. vp6-0.4.3/vp6/ide/dialogs.py +321 -0
  67. vp6-0.4.3/vp6/ide/documents.py +138 -0
  68. vp6-0.4.3/vp6/ide/findreplace.py +362 -0
  69. vp6-0.4.3/vp6/ide/icons.py +470 -0
  70. vp6-0.4.3/vp6/ide/images/vp6logo.png +0 -0
  71. vp6-0.4.3/vp6/ide/kitchensink.py +215 -0
  72. vp6-0.4.3/vp6/ide/mainwindow.py +1738 -0
  73. vp6-0.4.3/vp6/ide/menueditor.py +350 -0
  74. vp6-0.4.3/vp6/ide/options.py +330 -0
  75. vp6-0.4.3/vp6/ide/outline.py +307 -0
  76. vp6-0.4.3/vp6/ide/outputcapture.py +125 -0
  77. vp6-0.4.3/vp6/ide/panels.py +1024 -0
  78. vp6-0.4.3/vp6/ide/projectprops.py +250 -0
  79. vp6-0.4.3/vp6/ide/properties.py +387 -0
  80. vp6-0.4.3/vp6/ide/splash.py +95 -0
  81. vp6-0.4.3/vp6/ide/templates/kitchensink/Form1.py +254 -0
  82. vp6-0.4.3/vp6/ide/templates/kitchensink/Module1.py +14 -0
  83. vp6-0.4.3/vp6/ide/templates/kitchensink/frmDialog.py +40 -0
  84. vp6-0.4.3/vp6/ide/templates/kitchensink/pgArrays.py +41 -0
  85. vp6-0.4.3/vp6/ide/templates/kitchensink/pgButtons.py +110 -0
  86. vp6-0.4.3/vp6/ide/templates/kitchensink/pgDialogs.py +51 -0
  87. vp6-0.4.3/vp6/ide/templates/kitchensink/pgEmbedded.py +67 -0
  88. vp6-0.4.3/vp6/ide/templates/kitchensink/pgGlobals.py +65 -0
  89. vp6-0.4.3/vp6/ide/templates/kitchensink/pgIntro.py +29 -0
  90. vp6-0.4.3/vp6/ide/templates/kitchensink/pgKeyboard.py +58 -0
  91. vp6-0.4.3/vp6/ide/templates/kitchensink/pgLayout.py +36 -0
  92. vp6-0.4.3/vp6/ide/templates/kitchensink/pgListView.py +92 -0
  93. vp6-0.4.3/vp6/ide/templates/kitchensink/pgLists.py +121 -0
  94. vp6-0.4.3/vp6/ide/templates/kitchensink/pgMenus.py +43 -0
  95. vp6-0.4.3/vp6/ide/templates/kitchensink/pgMouse.py +45 -0
  96. vp6-0.4.3/vp6/ide/templates/kitchensink/pgPictures.py +50 -0
  97. vp6-0.4.3/vp6/ide/templates/kitchensink/pgSchemes.py +43 -0
  98. vp6-0.4.3/vp6/ide/templates/kitchensink/pgScrollBars.py +41 -0
  99. vp6-0.4.3/vp6/ide/templates/kitchensink/pgScrolling.py +35 -0
  100. vp6-0.4.3/vp6/ide/templates/kitchensink/pgTabs.py +96 -0
  101. vp6-0.4.3/vp6/ide/templates/kitchensink/pgText.py +75 -0
  102. vp6-0.4.3/vp6/ide/templates/kitchensink/pgTimer.py +46 -0
  103. vp6-0.4.3/vp6/ide/templates/kitchensink/pgTree.py +67 -0
  104. vp6-0.4.3/vp6/ide/templates/kitchensink/pgValues.py +108 -0
  105. vp6-0.4.3/vp6/ide/templates/kitchensink/pgZOrder.py +61 -0
  106. vp6-0.4.3/vp6/ide/theme.py +336 -0
  107. vp6-0.4.3/vp6/images/vp6icon-128x128.png +0 -0
  108. vp6-0.4.3/vp6/images/vp6icon-256x256.png +0 -0
  109. vp6-0.4.3/vp6/images/vp6icon-32x32.png +0 -0
  110. vp6-0.4.3/vp6/images/vp6icon-64x64.png +0 -0
  111. vp6-0.4.3/vp6/make.py +219 -0
  112. vp6-0.4.3/vp6/project.py +442 -0
  113. vp6-0.4.3/vp6/runner.py +99 -0
  114. vp6-0.4.3/vp6.egg-info/PKG-INFO +279 -0
  115. vp6-0.4.3/vp6.egg-info/SOURCES.txt +117 -0
  116. vp6-0.4.3/vp6.egg-info/dependency_links.txt +1 -0
  117. vp6-0.4.3/vp6.egg-info/entry_points.txt +4 -0
  118. vp6-0.4.3/vp6.egg-info/requires.txt +10 -0
  119. vp6-0.4.3/vp6.egg-info/top_level.txt +1 -0
vp6-0.4.3/BACKLOG.md ADDED
@@ -0,0 +1,55 @@
1
+ # VP6 backlog
2
+
3
+ - **[Controls]** Label access keys: `&` in a Label's Caption underlines the letter and Alt+letter focuses the next control in the tab order, as in VB (today the `&` is just removed), plus `UseMnemonic`
4
+ - **[Controls]** Label `BackStyle` (Transparent / Opaque)
5
+ - **[Controls]** File system controls: DriveListBox, DirListBox, FileListBox
6
+ - **[Controls]** RichTextBox: text with colors, bold and italic, and appending formatted text (self-hosting: the code editor and the colored Immediate output)
7
+ - **[Controls]** TextBox/RichTextBox editing API: line/column ↔ position, caret screen position, scroll position, undo/redo, a `SelChange` event, and an option for Tab to insert a tab instead of moving focus (self-hosting: completion, combos following the cursor, go-to-line, indentation)
8
+ - **[Controls]** A code-editor capable text control: syntax-highlighting hook, line-number gutter, current-line highlight, hidden (folded) lines and read-only ranges (self-hosting: the code window and its protected designer region)
9
+ - **[Controls]** Grid control with editable cells and per-cell editors (like MSFlexGrid) (self-hosting: the Properties window and the Options color table)
10
+ - **[Controls]** Dockable tool windows (docking, floating, closing and restoring panels) (self-hosting: Toolbox, Project Explorer, Properties and Immediate panels)
11
+ - **[Controls]** Shape
12
+ - **[Controls]** UserControl: designing your own reusable controls in VP6 (VB's UserControl), with their own properties and events, placed from the Toolbox
13
+ - **[Language and runtime]** `PopupMenu` for right-click context menus (self-hosting: designer, Project Explorer and Immediate window context menus)
14
+ - **[Language and runtime]** Default form instances: using `Form2.Show()` without creating an instance first
15
+ - **[Language and runtime]** `Form_QueryUnload` with `UnloadMode` (closed by the user, by code, or because the program is ending), before `Form_Unload`
16
+ - **[Language and runtime]** `Validate` event and `CausesValidation`: checking a control's value before the focus leaves it
17
+ - **[Language and runtime]** `Form.ActiveControl` and `Screen.ActiveControl` (the control with the focus)
18
+ - **[Language and runtime]** Moving a control to another container at run time (assigning `Container`, as VB's `Set Command1.Container = Frame1`)
19
+ - **[Language and runtime]** Drag and drop: `DragMode`, `Drag`, `DragDrop` / `DragOver` events, and OLE drag and drop of text and files from other programs
20
+ - **[Language and runtime]** `SendKeys`: sending keystrokes to the active form
21
+ - **[Language and runtime]** Form `Picture`: a background picture on the form
22
+ - **[Controls]** Common Dialog control (open, save, color, font, print dialogs)
23
+ - **[Language and runtime]** Form `Icon` property: a form's own window icon, instead of the program's (the project's `icon`) (self-hosting: window icons of the IDE's MDI windows)
24
+ - **[Controls]** `MousePointer` / `MouseIcon` properties for cursor shapes such as resize arrows and crosshair, and `Screen.MousePointer` (e.g. an hourglass during long work) (self-hosting: the designer's handles and drawing tool)
25
+ - **[Language and runtime]** `SaveSetting` / `GetSetting` / `DeleteSetting` for per-user settings (self-hosting: recent projects, themes, window layout)
26
+ - **[Language and runtime]** Graphics methods: `Line`, `Circle`, `PSet` and `Print` drawing on forms and PictureBoxes. `PictureBox.Cls()` exists but only clears the picture.
27
+ - **[Language and runtime]** `Paint` event and `AutoRedraw` on forms and PictureBoxes, so programs can draw custom surfaces (self-hosting: the designer's window frame, grid dots and selection handles, the code editor's gutter)
28
+ - **[Language and runtime]** Text measurement: `TextWidth` / `TextHeight` on forms and PictureBoxes (self-hosting: gutter width, eliding captions)
29
+ - **[Language and runtime]** Picture objects: `LoadPicture`, drawing into an image in memory, using it as a `Picture`/icon, and saving it (`SavePicture`); today `Picture` is only a file path (self-hosting: the IDE's drawn icons and the Kitchen Sink image)
30
+ - **[Language and runtime]** Clipboard pictures and formats: `Clipboard.GetData` / `SetData` / `GetFormat` (today text only)
31
+ - **[Language and runtime]** `Printer` object and `Printers` collection: printing text and graphics
32
+ - **[Language and runtime]** More of VB's `App` object: `Major` / `Minor` / `Revision`, `PrevInstance`, `ProductName`, and the command line (VB's `Command()`)
33
+ - **[IDE]** Find and Replace in all files of the project (today: the current code window only)
34
+ - **[IDE]** Properties window Categorized view (VB's Alphabetic / Categorized tabs)
35
+ - **[IDE]** Object Browser: the classes, members, events and constants of `vp6` and of the project's forms and modules
36
+ - **[IDE]** Save Project As (copying a project to a new folder)
37
+ - **[IDE]** Renaming and deleting files from the Project Explorer (today Remove only takes a file out of the project)
38
+ - **[IDE]** Locking controls in the designer (Format > Lock Controls)
39
+ - **[IDE - Debugging]** breakpoints, stepping, watches
40
+ - **[IDE - Debugging]** evaluating expressions in the Immediate window
41
+ - **[IDE - Debugging]** editing code while the program is paused
42
+ - **[Language and runtime]** Font enumeration: `Screen.Fonts` / `Screen.FontCount` (self-hosting: the Options font list, the FontName editor)
43
+ - **[Language and runtime]** An event when the OS switches between light and dark, and a way to ask which one is active (self-hosting: repainting custom-drawn surfaces and icons)
44
+ - **[Language and runtime]** MDI forms (MDI parent and child forms)
45
+ - **[Language and runtime]** Borderless popup forms that don't take the focus from the form that opened them (self-hosting: the code completion list)
46
+ - **[Language and runtime]** Starting a program asynchronously with output, exit and error events and a way to write to its stdin (a Process object beyond VB's `Shell`) (self-hosting: F5 and the Immediate window)
47
+ - **[Self-hosting]** Write the VP6 IDE in VP6 itself; blocked by the self-hosting items above and by existing backlog items: graphics methods, MDI forms, Common Dialog
48
+ - **[Language and runtime]** Twips and VB's `ScaleMode`; VP6 uses pixels only
49
+ - **[Controls]** Data-bound controls
50
+ - **[IDE]** Designer window frames with rounded bottom corners on macOS
51
+ - **[Appearance]** Per-window title bar color: a forced Light or Dark form still gets a title bar in the OS appearance, since Qt can't set it per window on macOS
52
+ - **[Appearance]** Picking up a macOS light/dark change live for System forms in the designer while the IDE is forced to Light or Dark (they update on the next redraw)
53
+ - **[Appearance]** Programs started from the IDE with the "IDE" color scheme follow the IDE's appearance at launch only, not later IDE theme changes
54
+ - **[IDE - Term]** Add a terminal emultator panel (default position same as immediate panel) to allow a shell to be opened in the IDE.
55
+ - **[AI]** Add Claude integration to allow use of Claude straight from the IDE