poxy 0.19.1__py3-none-any.whl → 0.19.2__py3-none-any.whl

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.
@@ -480,6 +480,62 @@
480
480
  <filename>cpp/header/version</filename>
481
481
  <namespace>std</namespace>
482
482
  </compound>
483
+ <member kind="function">
484
+ <type>T</type>
485
+ <name>ATOMIC_VAR_INIT</name>
486
+ <anchorfile>cpp/atomic/ATOMIC_VAR_INIT</anchorfile>
487
+ <anchor></anchor>
488
+ <arglist>(T... args)</arglist>
489
+ </member>
490
+ <member kind="function">
491
+ <type>T</type>
492
+ <name>assert</name>
493
+ <anchorfile>cpp/error/assert</anchorfile>
494
+ <anchor></anchor>
495
+ <arglist>(T... args)</arglist>
496
+ </member>
497
+ <member kind="function">
498
+ <type>T</type>
499
+ <name>offsetof</name>
500
+ <anchorfile>cpp/types/offsetof</anchorfile>
501
+ <anchor></anchor>
502
+ <arglist>(T... args)</arglist>
503
+ </member>
504
+ <member kind="function">
505
+ <type>T</type>
506
+ <name>operator delete</name>
507
+ <anchorfile>cpp/memory/new/operator_delete</anchorfile>
508
+ <anchor></anchor>
509
+ <arglist>(T... args)</arglist>
510
+ </member>
511
+ <member kind="function">
512
+ <type>T</type>
513
+ <name>operator delete[]</name>
514
+ <anchorfile>cpp/memory/new/operator_delete</anchorfile>
515
+ <anchor></anchor>
516
+ <arglist>(T... args)</arglist>
517
+ </member>
518
+ <member kind="function">
519
+ <type>T</type>
520
+ <name>operator new</name>
521
+ <anchorfile>cpp/memory/new/operator_new</anchorfile>
522
+ <anchor></anchor>
523
+ <arglist>(T... args)</arglist>
524
+ </member>
525
+ <member kind="function">
526
+ <type>T</type>
527
+ <name>operator new[]</name>
528
+ <anchorfile>cpp/memory/new/operator_new</anchorfile>
529
+ <anchor></anchor>
530
+ <arglist>(T... args)</arglist>
531
+ </member>
532
+ <member kind="function">
533
+ <type>T</type>
534
+ <name>setjmp</name>
535
+ <anchorfile>cpp/utility/program/setjmp</anchorfile>
536
+ <anchor></anchor>
537
+ <arglist>(T... args)</arglist>
538
+ </member>
483
539
  <compound kind="namespace">
484
540
  <name>std</name>
485
541
  <filename></filename>
@@ -68771,8 +68827,36 @@
68771
68827
  <name>std::zetta</name>
68772
68828
  <filename>cpp/numeric/ratio/ratio</filename>
68773
68829
  </compound>
68830
+ <member kind="function">
68831
+ <type>T</type>
68832
+ <name>va_arg</name>
68833
+ <anchorfile>cpp/utility/variadic/va_arg</anchorfile>
68834
+ <anchor></anchor>
68835
+ <arglist>(T... args)</arglist>
68836
+ </member>
68837
+ <member kind="function">
68838
+ <type>T</type>
68839
+ <name>va_copy</name>
68840
+ <anchorfile>cpp/utility/variadic/va_copy</anchorfile>
68841
+ <anchor></anchor>
68842
+ <arglist>(T... args)</arglist>
68843
+ </member>
68844
+ <member kind="function">
68845
+ <type>T</type>
68846
+ <name>va_end</name>
68847
+ <anchorfile>cpp/utility/variadic/va_end</anchorfile>
68848
+ <anchor></anchor>
68849
+ <arglist>(T... args)</arglist>
68850
+ </member>
68774
68851
  <compound kind="class">
68775
68852
  <name>va_list</name>
68776
68853
  <filename>cpp/utility/variadic/va_list</filename>
68777
68854
  </compound>
68855
+ <member kind="function">
68856
+ <type>T</type>
68857
+ <name>va_start</name>
68858
+ <anchorfile>cpp/utility/variadic/va_start</anchorfile>
68859
+ <anchor></anchor>
68860
+ <arglist>(T... args)</arglist>
68861
+ </member>
68778
68862
  </tagfile>
poxy/fixers.py CHANGED
@@ -1031,14 +1031,20 @@ class ImplementationDetails(PlainTextFixer):
1031
1031
  Replaces implementation details with appropriate shorthands.
1032
1032
  '''
1033
1033
 
1034
- __shorthands = ((r'POXY_IMPLEMENTATION_DETAIL_IMPL', r'<code class="m-note m-dim poxy-impl">/* ... */</code>'),)
1034
+ __patterns = (
1035
+ re.compile(
1036
+ r'<\s*a\s+class="m-doc"\s+href=".+?"\s*>POXY_(?:<wbr>)?IMPLEMENTATION_(?:<wbr>)?DETAIL_(?:<wbr>)?IMPL<\s*/a\s*>',
1037
+ re.I,
1038
+ ),
1039
+ re.compile(r'POXY_(?:<wbr>)?IMPLEMENTATION_(?:<wbr>)?DETAIL_(?:<wbr>)?IMPL', re.I),
1040
+ re.compile(r'poxyimplementationdetailimplplaceholder', re.I),
1041
+ )
1042
+
1043
+ __replacement = r'<code class="m-note m-dim poxy-impl">/* ... */</code>'
1035
1044
 
1036
1045
  def __call__(self, context: Context, text: str, path: Path) -> str:
1037
- for shorthand, replacement in self.__shorthands:
1038
- idx = text.find(shorthand)
1039
- while idx >= 0:
1040
- text = text[:idx] + replacement + text[idx + len(shorthand) :]
1041
- idx = text.find(shorthand)
1046
+ for pattern in self.__patterns:
1047
+ text = pattern.sub(self.__replacement, text)
1042
1048
  return text
1043
1049
 
1044
1050
 
poxy/project.py CHANGED
@@ -47,7 +47,7 @@ class Defaults(object):
47
47
  r'__has_builtin(...)': 0,
48
48
  r'__has_feature(...)': 0,
49
49
  r'__has_cpp_attribute(...)': 999999,
50
- r'POXY_IMPLEMENTATION_DETAIL(...)': r'POXY_IMPLEMENTATION_DETAIL_IMPL',
50
+ r'POXY_IMPLEMENTATION_DETAIL(...)': r'poxyimplementationdetailimplplaceholder',
51
51
  r'POXY_IGNORE(...)': r'',
52
52
  }
53
53
  cpp_builtin_macros = {
poxy/run.py CHANGED
@@ -746,12 +746,17 @@ def postprocess_xml(context: Context):
746
746
 
747
747
  # re-sort members to override Doxygen's weird and stupid sorting 'rules'
748
748
  if 1:
749
- sort_members_by_name = lambda tag: tag.find(r'name').text
749
+ # sort_members_by_name = lambda tag: tag.find(r'name').text
750
+ def sort_members_by_name(tag):
751
+ n = tag.find(r'name')
752
+ if n is None:
753
+ return ''
754
+ return '' if n.text is None else n.text
755
+
750
756
  members = [tag for tag in section.findall(r'memberdef')]
751
757
  for tag in members:
752
758
  section.remove(tag)
753
759
  # fmt: off
754
- # yapf: disable
755
760
  groups = [
756
761
  ([tag for tag in members if tag.get(r'kind') == r'define'], True), #
757
762
  ([tag for tag in members if tag.get(r'kind') == r'typedef'], True),
@@ -763,7 +768,6 @@ def postprocess_xml(context: Context):
763
768
  ([tag for tag in members if tag.get(r'kind') == r'function' and tag.get(r'static') == r'no'], True),
764
769
  ([tag for tag in members if tag.get(r'kind') == r'friend'], True)
765
770
  ]
766
- # yapf: enable
767
771
  # fmt: on
768
772
  for group, sort in groups:
769
773
  if sort:
poxy/version.txt CHANGED
@@ -1 +1 @@
1
- 0.19.1
1
+ 0.19.2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: poxy
3
- Version: 0.19.1
3
+ Version: 0.19.2
4
4
  Summary: Documentation generator for C++.
5
5
  Author-email: Mark Gillard <mark.gillard@outlook.com.au>
6
6
  License: MIT
@@ -221,9 +221,15 @@ Poxy bundles a fork of m.css, used per the [MIT/Expat license](https://github.co
221
221
 
222
222
  # Changelog
223
223
 
224
+ ## v0.19.2 - 2024-11-11
225
+
226
+ - fixed crash with nested C-style enums without a name (#39) (@tim-janik)
227
+ - fixed `r'POXY_IMPLEMENTATION_DETAIL_IMPL` appearing in HTML in some circumstances
228
+ - minor updates to cppreference.com tagfile
229
+
224
230
  ## v0.19.1 - 2024-10-30
225
231
 
226
- - fixed `ModuleNotFoundError` error in Python 3.12
232
+ - fixed `ModuleNotFoundError` error in Python 3.12 (#38) (@dekinet)
227
233
 
228
234
  ## v0.19.0 - 2024-09-15
229
235
 
@@ -1,22 +1,22 @@
1
1
  poxy/__init__.py,sha256=YMx1Lxzs7QkyrXJXdEAuaPcZO9i6INiv-j-KBAlbcxg,507
2
- poxy/cppreference-doxygen-web.tag.xml,sha256=jHYta0FGk5opq8ZrbnVDuk3AV4psKmgcDbqCnu25lF0,2153766
2
+ poxy/cppreference-doxygen-web.tag.xml,sha256=LvWjm8U4K80Nm_Mhlpc5YGM39KYH-nTPl5tj8haWP-w,2156321
3
3
  poxy/css.py,sha256=PP7rACVpzLC0-mTDKRxMrVaYdNBZZ_X6USCcaMgw5H0,6953
4
4
  poxy/doxygen.py,sha256=nHygTYfKqh4M0hcdomWK5J3T16GZ7owM5oaWa141Ky4,46372
5
5
  poxy/emoji.py,sha256=Vj2ZbUq1MewLMVoLtH2xP_jZToRoNi52AgrIg3VhUuU,3410
6
- poxy/fixers.py,sha256=WX_hDr-V7wQ8V1E8Ryg3kNyQUdETNNFlzxAVzEziruU,46069
6
+ poxy/fixers.py,sha256=7stPmUxxD3uKHqj-0XZC1y4CuhqaTq_4H-G5l1912Ro,46243
7
7
  poxy/graph.py,sha256=xI7xoV6-yTM-gh2OBARakANLHzGYBwwhwJHchQz2EKw,31959
8
8
  poxy/main.py,sha256=PwidelWWB3rxLPCAYgiof7NB35HmZmU-lSi7RfQL8j4,27175
9
9
  poxy/mcss.py,sha256=j9PmkfjcwaKdKBauwiPKhSeKGNmGiBt0i_WcnVAV3Hk,2157
10
10
  poxy/paths.py,sha256=OqyP9bIIhW0zyWL6PV2TVV9zsrtvnb25_XNmHlFJmQ8,1540
11
- poxy/project.py,sha256=Xrll9mV2Ql9s4Pq-2NJ6iZmbKjCaJ_DEszel1ajuQbA,99049
11
+ poxy/project.py,sha256=qgvHR-V0gi_mFv1sCiTZ1VTFy8iprAQr3mJvEry5lZQ,99057
12
12
  poxy/repos.py,sha256=rUOVTvR6KxrkSvEA0S340OzMStbSk2SBJUEzKEIynzc,3945
13
- poxy/run.py,sha256=GB3qvZLX_6A8cb9jzhwQl7XWKR4Vq9LmwHk3nZIf2o4,80489
13
+ poxy/run.py,sha256=uKT3jKvnkH24nqOMizxuHXxa6ygobXpUUbnxDDwQNb4,80670
14
14
  poxy/schemas.py,sha256=57qLWubeIWQUwwTpjRBggPBy70PTQS5JWKzUDKRuBkQ,2490
15
15
  poxy/soup.py,sha256=gMXKigNJDuJWWFhPpD5Gu9gbeyVVXo7SrjL1GcsqlMs,7678
16
16
  poxy/svg.py,sha256=tsMcKIxQ8OVmXEabqwKDkdEqYV4zI5wM0AJ-E1EXmVo,2657
17
17
  poxy/utils.py,sha256=0_HRU6GxlwJ5TXPJId2j8zQJnUZ8TJBiBU6wqgrMjrI,5748
18
18
  poxy/version.py,sha256=N5I7nr5zcmAy-hhgZFi7KfFPV-lB_ueD_Xx6R7XQ-tk,668
19
- poxy/version.txt,sha256=HiAUu03xr-U1r5jwSObjdyUI5Sc8FC-Dufx0e0D5z00,7
19
+ poxy/version.txt,sha256=n8nEL77-uL-2uK8EsWtDysdQM9Si-Tg-wqwbM7-QNKQ,7
20
20
  poxy/xml_utils.py,sha256=dJEtHyp4lORHhmBt1E9miRH48PpPM6WRlLEdMhn0Yi8,2183
21
21
  poxy/css/m-special.css,sha256=dLVigwqsg_Htm6CESQGemyOKjb-plBlFk54dsAoOd_A,4644
22
22
  poxy/css/m-theme-dark.css,sha256=UbAEz9JAgJ1PJJG-Oy9UG2_DUqYTaPJm1cDvVGy5kYk,4186
@@ -176,10 +176,10 @@ poxy/mcss/plugins/m/plots.py,sha256=DGehGirCDzkPGAf0bE9nqX1Gk4JX7xA0VhGvJszFSg0,
176
176
  poxy/mcss/plugins/m/qr.py,sha256=L1bsWUHUoFnshMhBlZs5T-yOzM82-C2NLMq6oLso3FI,4189
177
177
  poxy/mcss/plugins/m/sphinx.py,sha256=_NO0FmI_BR8Y-idUtujzqX7lIuF94oQgN8CD2CAPw0o,30971
178
178
  poxy/mcss/plugins/m/vk.py,sha256=pcda_Xz1mirqT8Uoq12d-p8F9ROT_C43kjyhWI-lyLQ,3114
179
- poxy-0.19.1.dist-info/LICENSE.txt,sha256=kp84JW_RPClTO5Hz6yHQ9jKPfUMerlHHAeyU0VpXV_E,1064
180
- poxy-0.19.1.dist-info/METADATA,sha256=K5NGTro7tHXcfX0nn7KB45mZLOyj3cqk6dpDjCstP1U,20289
181
- poxy-0.19.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
182
- poxy-0.19.1.dist-info/entry_points.txt,sha256=yWiOmptj1Ga_dDEU9ch16hRgmzDE8bgrtDkGbH7VFYc,66
183
- poxy-0.19.1.dist-info/top_level.txt,sha256=vAxxbZDX_cQ6rfRZ1SYSStSdMMlsHEP-zgzBSB0gPco,5
184
- poxy-0.19.1.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
185
- poxy-0.19.1.dist-info/RECORD,,
179
+ poxy-0.19.2.dist-info/LICENSE.txt,sha256=kp84JW_RPClTO5Hz6yHQ9jKPfUMerlHHAeyU0VpXV_E,1064
180
+ poxy-0.19.2.dist-info/METADATA,sha256=7XgpIuUW3JGlSiKLr81VL14gAHuQQl_fvPmH03dY-9U,20540
181
+ poxy-0.19.2.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
182
+ poxy-0.19.2.dist-info/entry_points.txt,sha256=yWiOmptj1Ga_dDEU9ch16hRgmzDE8bgrtDkGbH7VFYc,66
183
+ poxy-0.19.2.dist-info/top_level.txt,sha256=vAxxbZDX_cQ6rfRZ1SYSStSdMMlsHEP-zgzBSB0gPco,5
184
+ poxy-0.19.2.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
185
+ poxy-0.19.2.dist-info/RECORD,,
File without changes