Commit graph

  • 1e0251fcce formatter.py: Improve imports gregorni 2023-09-17 14:46:14 +02:00
  • 91e00ee6ac Formatter: No newline between comments and opening tokens gregorni 2023-09-17 14:43:11 +02:00
  • 2851dffe06 Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-09-17 12:38:15 +02:00
  • aac03a02d9 formatter.py: stuff more logic into variables gregorni 2023-09-17 12:18:22 +02:00
  • 025f2d4dae Formatter: Better handle nested lists gregorni 2023-09-17 11:46:15 +02:00
  • f777c531e4 Apply some of @jwestman's suggestions gregorni 2023-09-17 10:10:25 +02:00
  • 1371dec494 Use the updated test repo Urtsi Santsi 2023-09-02 04:23:45 +03:00
  • cc66b05a87 Add generated notice to test files Urtsi Santsi 2023-09-02 02:42:11 +03:00
  • cf136ab09f Add notice that the file is generated Fixes #123 Urtsi Santsi 2023-09-02 02:11:09 +03:00
  • 455924e22f tests: Add another formatter test formatter-tests-2 James Westman 2023-09-16 14:01:18 -05:00
  • 80cb57cb88 batch-compile: Fix mixing relative+absolute paths Marco Capypara Köpcke 2023-09-10 11:57:41 +02:00
  • 8d7103dbe5 Formatter: Handle item (a, b, c) syntax gregorni 2023-09-16 15:52:23 +02:00
  • 8dc0abd0ca Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-09-16 15:32:48 +02:00
  • e37e5180cf Formatter: Handle properties after child gregorni 2023-09-16 15:29:45 +02:00
  • 057c767fbb typelib: Fix byte order issue James Westman 2023-09-14 10:19:49 -05:00
  • 0c02195510
    Handle big endian bitfields correctly Jerry James 2023-09-13 08:31:22 -06:00
  • ffff63da41 Formatter: Handle lists with only 1 item correctly gregorni 2023-09-09 17:50:13 +02:00
  • c994460b1e Use a single text edit for lsp formatter formattter-lsp-simple Sonny Piers 2023-09-09 15:14:46 +02:00
  • 41042b0a78 Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-09-08 10:40:24 +02:00
  • 825f6e3b15 Formatter: adapt to unittest gregorni 2023-09-08 09:56:52 +02:00
  • 13b66e2875 Formatter: LSP: Return TextEdit as JSON gregorni 2023-09-07 21:59:20 +02:00
  • 19d0410ea0
    tests: Add formatter test formatter-tests James Westman 2023-09-07 13:00:15 -05:00
  • 3cd5daf025
    Fix a crash found by the fuzzer James Westman 2023-09-07 12:13:05 -05:00
  • 461ef19a46 Run black gregorni 2023-09-03 18:44:58 +02:00
  • 1dc913c5c1 Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-09-03 18:42:24 +02:00
  • 0f5be1b051 docs: Use correct lexer name for code blocks James Westman 2023-08-31 14:58:29 -05:00
  • 949ee638f6 Run isort gregorni 2023-08-30 17:57:45 +02:00
  • ae363ed60b Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-08-30 17:57:31 +02:00
  • a8512d83f3 doc: Cleanup the Flatpak module Sonny Piers 2023-08-30 13:49:18 +02:00
  • 4f5c1537dd Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-08-29 22:55:14 +02:00
  • bce4fb77d9 Formatter: Attempt at implementing into LSP (untested) gregorni 2023-08-29 22:50:55 +02:00
  • bf3917099a Implement setting tabs and spaces for indents gregorni 2023-08-27 16:45:11 +02:00
  • afba576da0 Formatter: Insert newline before some child types gregorni 2023-08-24 17:05:25 +02:00
  • 35e96964da Formatter: Default to printing diff & add --fix option gregorni 2023-08-24 14:01:08 +02:00
  • d9fac2897f Formatter: String default to single quotes gregorni 2023-08-23 23:53:51 +02:00
  • aa4f23e08b Merge branch 'formatter-lists-vs-childtypes' into 'formatter' gregorni 2023-08-23 20:56:26 +00:00
  • 1012867391 Formatter: Distinguish child types and lists gregorni 2023-08-23 20:56:26 +00:00
  • bcac788456 completions: property_completer improvements z00000000z 2023-08-23 16:21:37 +00:00
  • c094e863f7 formatter.py: put more code into commit_current_line gregorni 2023-08-23 00:02:22 +02:00
  • aee36ca48b Revert "formatter.py: bundle adding to end string into function" gregorni 2023-08-23 00:01:02 +02:00
  • c9ba06b4a4 formatter.py: Rename variable for clarity gregorni 2023-08-22 16:52:24 +02:00
  • d53e027610 formatter.py: bundle adding to end string into function gregorni 2023-08-22 16:32:09 +02:00
  • f539aeb93d Formatter: Improve inserting whitespace gregorni 2023-08-21 23:44:58 +02:00
  • 23d1f77b25 Formatter: Remove whitespace-line remover gregorni 2023-08-21 23:25:18 +02:00
  • babcc42ea2 Formatter: Fix newlines missing sometimes gregorni 2023-08-21 23:14:11 +02:00
  • e165ea5594 Merge branch 'formatter-different-approach' into 'formatter' gregorni 2023-08-21 21:04:25 +00:00
  • 317de07d41 Formatter: Try different approach gregorni 2023-08-21 21:04:25 +00:00
  • b0d6d7a31b Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-08-15 18:46:59 +02:00
  • 441a7a38bd Formatter: Insert newline after comments gregorni 2023-08-15 17:48:56 +02:00
  • 582502c1b4 completions: fix property value completion Ivan Kalinin 2023-08-13 10:42:03 +03:00
  • 8c4eebba08 Formatter: Distinguish child types and lists gregorni 2023-08-08 18:05:41 +02:00
  • 01f67c3f47 Formatter.py: run black gregorni 2023-08-08 17:04:29 +02:00
  • af956e9aab Formatter: Improve indents at closing tokens gregorni 2023-08-08 17:02:08 +02:00
  • 47b7ee8986 Formatter: combine two if conditions into one line gregorni 2023-08-08 16:50:19 +02:00
  • 97f07b3ca8 Formatter: optimize 1 operation gregorni 2023-08-08 16:47:43 +02:00
  • 324a8fe904 WIP: Try to fix #122 fix-122-alt2 James Westman 2023-08-01 17:56:08 -05:00
  • c683254761 fix: Make command required Giovanni Santini 2023-08-01 11:55:33 +02:00
  • b692a35398 Formatter: Fix newlines after child types gregorni 2023-07-27 21:22:35 +02:00
  • 72edce9670 Formatter: handle inline whitespace gregorni 2023-07-27 16:55:43 +02:00
  • 5be85d858e Formatter: Insert newline before lines with opening token gregorni 2023-07-27 16:31:20 +02:00
  • cf8615eb35 formatter.py: Remove enumerate() function in for condition gregorni 2023-07-27 16:13:05 +02:00
  • 1addc89f83 formatter.py: Make constants uppercase gregorni 2023-07-27 15:57:03 +02:00
  • 9a77b51dce formatter.py: fix newlines being indented a space too much gregorni 2023-07-27 15:48:39 +02:00
  • 1933529f09 formatter.py: Remove some newlines again gregorni 2023-07-26 20:03:51 +02:00
  • 1e33f208dd formatter.py: Improve whitespace for clarity gregorni 2023-07-26 19:59:44 +02:00
  • 1f999c3405 Formatter: Improve indent handling gregorni 2023-07-26 19:25:23 +02:00
  • fcba91def2 Update branch gregorni 2023-07-26 18:53:48 +02:00
  • de2e7a5a5f Merge branch 'lsp-improvements' into 'main' James Westman 2023-07-26 01:09:54 +00:00
  • bfa2f56e1f Sort imports James Westman 2023-07-25 20:07:37 -05:00
  • 35ee058192 lsp: Add code action to add missing imports James Westman 2023-07-25 20:02:03 -05:00
  • 3bcc9f4cbd Use the new Range class in more places James Westman 2023-07-25 20:01:41 -05:00
  • 56274d7c1f completions: Fix signal completion James Westman 2023-07-25 18:54:58 -05:00
  • a9cb423b3b lsp: Add missing semantic highlight James Westman 2023-07-25 18:52:18 -05:00
  • 62f74178f7 lsp: Implement "go to definition" James Westman 2023-07-25 18:40:05 -05:00
  • e087aeb44f lsp: Add document outline document-symbols James Westman 2023-07-23 21:11:00 -05:00
  • 5cc411e955 Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-07-24 16:40:45 +02:00
  • 950b141d26 lsp: Mark deprecation warnings James Westman 2023-07-23 18:04:10 -05:00
  • 94db929f74 Emit deprecation warnings James Westman 2023-07-23 18:04:10 -05:00
  • 8fab7c1706 A couple of fixes to NEWS James Westman 2023-07-21 15:11:24 -05:00
  • ee614e0cc0 Post-release version bump James Westman 2023-07-21 15:08:16 -05:00
  • 2a39a16391 Release v0.10.0 v0.10.0 James Westman 2023-07-21 15:06:18 -05:00
  • 883a136103 Fix parsing decimals James Westman 2023-06-14 15:22:57 -05:00
  • c69a12096c docs: Update bindings docs James Westman 2023-06-13 20:41:41 -05:00
  • 0a4b5d07a1 Remove PropertyBinding rule, just use Binding James Westman 2023-05-22 21:26:07 -05:00
  • 40ea102067 Adapted new formatting file in main.py gregorni 2023-07-20 18:43:36 +02:00
  • 81734ed3a1 Moved formatting logic to separate file gregorni 2023-07-20 18:43:01 +02:00
  • 54da7fa6b9 Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-07-20 18:39:42 +02:00
  • abc4e5de65 lsp: Add docs for Adw.Breakpoint James Westman 2023-07-06 21:29:13 -05:00
  • cb1eb9ba44 lsp: Show better info on IdentLiteral hover James Westman 2023-07-06 21:21:24 -05:00
  • 9ff76b65cc docs: Fix docs for accessibility properties James Westman 2023-07-06 20:54:14 -05:00
  • c4fc4f3de8 docs: Fix bug with colliding names James Westman 2023-07-06 20:53:30 -05:00
  • e1b7410e51 docs: Add link to online documentation James Westman 2023-07-06 20:40:56 -05:00
  • 4eaf735732 gir: Fix signatures for properties and signals James Westman 2023-07-06 20:13:49 -05:00
  • 9ad177eea9 Run black gregorni 2023-07-16 11:50:12 +02:00
  • 9f959fa186 Add indent tracking to formatter gregorni 2023-07-16 11:47:47 +02:00
  • 3d79f9560c
    ci: Fix Dockerfile James Westman 2023-07-15 17:34:04 -05:00
  • 84af660aad Merge branch 'main' of https://gitlab.gnome.org/jwestman/blueprint-compiler into formatter gregorni 2023-07-09 21:21:44 +02:00
  • 3730e2e726 Add isort to CI and run on files gregorni 2023-07-09 14:26:37 +00:00
  • 55b6cac27d Revert "Run isort and black" gregorni 2023-07-09 11:34:39 +02:00
  • 87a8ae96d8 Run isort and black gregorni 2023-07-09 11:34:18 +02:00