Commit Graph

3184 Commits

Author SHA1 Message Date
Salvador E. Tropea ad3f8bb7d7 [KiRi] Moved commits HTML generation to the JS
- So we have a simpler and more reusable index.html
2023-12-12 09:02:11 -03:00
Salvador E. Tropea 9d9294fe76 [KiRi][Fixed] List of pages/sheets update
- Now the list also contains some status (added/removed) so we must
  check the list AND the status remains to decide if the list must
  be updated.
- Also removed the extra "onclick" for the layers.
2023-12-11 13:01:59 -03:00
Salvador E. Tropea 901c76b189 [KiRi][Added] Colors for added/removed sheets/layers 2023-12-11 12:30:00 -03:00
Salvador E. Tropea 1b23887c5a [KiRi] Changed the used sheets to be a set
- Faster than using an array
2023-12-11 09:41:14 -03:00
Salvador E. Tropea 24e9aa700f [KiRi][Fixed] Issues with added/removed layers
- Similar to the sheets fix
2023-12-11 09:37:51 -03:00
Salvador E. Tropea 0cad908dee [KiRi][Fixed] Problems when comparing to missing sheet
- We avoid fetching it and use the blank.svg file
2023-12-11 08:58:48 -03:00
Salvador E. Tropea e35fb669a2 [KiRi][Fixed] Problems with subsheets sharing the same file name
- Needs important changes in the generation of the SVGs
2023-12-11 08:39:30 -03:00
Salvador E. Tropea 4ead489e2f [KiRi] Reverted timestamp removal
- Needs more work, should be removed from other places too
2023-12-11 08:38:26 -03:00
Salvador E. Tropea 8101c885a0 [KiRi] Moved style from JS to CSS
- Sheet page icon margins
2023-12-11 08:05:23 -03:00
Salvador E. Tropea 81ebf36720 [KiRi] Moved style from JS to CSS
- For items in the list of pages/layers
2023-12-11 08:00:40 -03:00
Salvador E. Tropea a7ad89c8d7 [KiRi] Simplified the sheet page selection
- Avoid reloading the list of pages when selecting another page
- Avoid using invalid index when the selection fails
- Remove extra "timestamp" info in the URL
- Avoid 2 events for the same input (onchange + onclick)
2023-12-11 07:44:07 -03:00
Salvador E. Tropea f0c62c6f20 [KiRi][Fixed] Sub-dirs removal in the first run 2023-12-06 13:51:01 -03:00
Salvador E. Tropea eaccce2f1d [KiRi][DOCs] Added generated docs and deps 2023-12-06 13:50:33 -03:00
Salvador E. Tropea a3ec9c36f7 [KiRi] Darker canvas for the SVGs 2023-12-06 13:48:41 -03:00
Salvador E. Tropea 889a8323f5 Merge branch 'dev' into kiri_integration 2023-12-06 13:40:31 -03:00
Salvador E. Tropea 89365a8d5d [CI/CD][Added] Experimental meta data to the dev images
See #527
2023-12-06 12:31:10 -03:00
Salvador E. Tropea f343df8512 [Copy Files][Project][Added] Page layout
See #491
2023-12-06 09:21:20 -03:00
Salvador E. Tropea 163027bff7 [Copy Files][Fixed] Excluded locally_edited from the targets 2023-12-06 09:20:39 -03:00
Salvador E. Tropea b91c24b28e Operations that copies the project now also copies the DRU
See #491
2023-12-06 08:21:25 -03:00
Salvador E. Tropea d9f0324e39 [QR Lib][Fixed] Bottom QRs should be mirrored in the Y axis 2023-12-06 07:52:36 -03:00
Salvador E. Tropea d8f3b45d7c Merge branch 'dev' into kiri_integration 2023-12-05 13:23:08 -03:00
Salvador E. Tropea c60d420719 [Copy Files][Project][Fixed] Problems with locally edited syms
See #491
2023-12-05 12:39:30 -03:00
Salvador E. Tropea 02a23345dc [Fixed] GS.copy_project return value when no project
Introduced in last patch
2023-12-05 08:58:10 -03:00
Salvador E. Tropea e1cdfcc712 [QR lib][Fixed] Project options not preserved
i.e. set_text_variables failing
2023-12-05 08:42:27 -03:00
Salvador E. Tropea 110053dca1 Operations that copies the project now also copies the PRL 2023-12-05 08:40:14 -03:00
Salvador E. Tropea a8c865b921 [Global options][Added] `restore_project` now also restores the PRL 2023-12-05 08:20:49 -03:00
Salvador E. Tropea 83e15f8209 [QR Lib][Fixed] Interference with plot outputs
When used from the preflight the name of the file changed to the name
of a temporal, generating problems with the plot outputs, like
pcb_print
2023-12-05 08:20:09 -03:00
Salvador E. Tropea 2f432abc38 [QR Lib] Better attributes
- Footprints: now they are flagged with exclude from BoM and Pos, also
  with no court yard requirements for KiCad 7
- Symbols: Excluded from simulation for KiCad 7
2023-12-05 08:20:01 -03:00
Salvador E. Tropea 79d929275c [QR Lib][Fixed] Interference with plot outputs
When used from the preflight the name of the file changed to the name
of a temporal, generating problems with the plot outputs, like
pcb_print
2023-12-04 13:54:26 -03:00
Salvador E. Tropea 3a2d9680ae [QR Lib] Better attributes
- Footprints: now they are flagged with exclude from BoM and Pos, also
  with no court yard requirements for KiCad 7
- Symbols: Excluded from simulation for KiCad 7
2023-12-04 13:30:04 -03:00
Salvador E. Tropea 20dd4f25d5 [DOCs][Added] drc_exclusions_workaround mention in DRC help
See #525
2023-12-04 07:34:09 -03:00
Salvador E. Tropea e06089cfcd [KiRi] Changed to make newer green
So we get green/red like with other diff tools
2023-12-01 13:09:26 -03:00
Salvador E. Tropea a40ca80ead [KiRi] Commented out unused code
The one to generate initial files/layers
2023-12-01 13:08:20 -03:00
Salvador E. Tropea 4fb3870d12 [KiRi] Avoid including data in the HTML that will be replaced
The JS changes various things at start-up, in particular:
- List of layers
- List of sheets
2023-12-01 09:53:17 -03:00
Salvador E. Tropea a291a8fde1 [KiRi] Force image generation unless the user asked otherwise 2023-12-01 09:15:03 -03:00
Salvador E. Tropea 2737da234c [KiRi] Better layer colors solution
Now we generate a style sheet *layer_colors.css* containing the
colors.
2023-12-01 08:47:21 -03:00
Salvador E. Tropea 590c6db929 [KiRi] Patching the JS to get the selected colors
This approach isn't good, will look for a CSS solution
2023-12-01 08:06:20 -03:00
Salvador E. Tropea da30cc4445 [KiRi][Added] Option to keep generated hashes 2023-12-01 08:05:43 -03:00
Salvador E. Tropea 3845c187a1 [Tests][CI/CD] Install KiDiff from the kiri_mode branch 2023-11-30 13:20:22 -03:00
Salvador E. Tropea 49ddfa505d Experimental KiRi integration
Very raw, but working
2023-11-30 11:06:32 -03:00
Salvador E. Tropea 4ad1073c6e Force test for KiBoM 1.9.1-2 2023-11-30 08:42:57 -03:00
Salvador E. Tropea 3ab3053afc [DOCs][import] Fixed missing bold end 2023-11-30 07:02:52 -03:00
Salvador E. Tropea 4cef7a6849 [Tests] Forced 2023-11-30 06:39:45 -03:00
Salvador E. Tropea eb37077843 [Internal Templates][Added] _KIBOT_PLOT_FOOTPRINT_REFS/VALUES
For some reason JLCPCB has VALUES disabled, now the user can
choose it.

Closes #523
2023-11-30 06:36:20 -03:00
Salvador E. Tropea 0ab2636960 [DOCs][Added] Sheet fix to the changelog 2023-11-27 08:28:31 -03:00
Salvador E. Tropea 2bc3bdfa54
Merge pull request #520 from Andrew-Collins/sheet-path-ori-fix
Fix handling of hierarchical branches with a depth >2
2023-11-27 08:25:15 -03:00
ac 3d16604f37 Base the `ori` path of a sheet off of the `ori` path of the parent sheet. 2023-11-25 21:09:36 +10:00
Salvador E. Tropea 95c66ac0ca Force test 2023-11-24 13:26:24 -03:00
Salvador E. Tropea 6df21bda22 Revert "[Tests] Adapted print reference for KiCad 7.0.9"
This reverts commit ed79c7b1a0.
2023-11-24 10:00:10 -03:00
Salvador E. Tropea ed79c7b1a0 [Tests] Adapted print reference for KiCad 7.0.9 2023-11-24 09:32:47 -03:00