[frameworks-syntax-highlighting] [Bug 463798] New: New styles for True/False values

2023-01-03 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=463798

Bug ID: 463798
   Summary: New styles for True/False values
Classification: Frameworks and Libraries
   Product: frameworks-syntax-highlighting
   Version: unspecified
  Platform: unspecified
OS: All
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: framework
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: i.za...@gmail.com
  Target Milestone: ---

It'll be nice to have smth like `dsTrueValue` and `dsFalseValue` as standard
styles. A dozen syntaxes have (as other styles) it or can use. First things
coming to my mind:

- YAML, JSON, C++, Js, ...  can highlight `true` and `false` values
- Python: `True`, `False`
- CMake: `ON`/`OFF`, `TRUE`/`FALSE`/`*_NOTFOUND`,...
- practically any language w/ boolean data type...

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 463797] New: Keyword list items w/ context

2023-01-03 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=463797

Bug ID: 463797
   Summary: Keyword list items w/ context
Classification: Frameworks and Libraries
   Product: frameworks-syntax-highlighting
   Version: unspecified
  Platform: unspecified
OS: All
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: framework
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: i.za...@gmail.com
  Target Milestone: ---

Doing a new syntax file, I again hit the pattern when I need per keyword
context switch. E.g. smth like this:
```xml
  

satu
dua
tiga
empat





















```

I.e., for the keyword list items w/ context attribute, switch to the specified
context in case of a match. Otherwise, if not specified per item context,
switch to the context specified in the `keyword` rule.

It'll be nice if anyone can implement it ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 441078] kdeconnect link failure w/ pulseaudio 15.0

2021-08-18 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=441078

--- Comment #7 from Alex Turbov  ---
(In reply to Christophe Giboudeaux from comment #6)
> rephrasing: why do you need this parameter?

Unfortunately, it was not my build script
(https://gitlab.exherbo.org/exherbo/kde/-/blob/master/packages/app-mobilephone/kdeconnect/kdeconnect.exlib#L102)
... 

I don't know why they did it ;-(

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 441078] kdeconnect link failure w/ pulseaudio 15.0

2021-08-18 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=441078

Alex Turbov  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |NOT A BUG
 Status|NEEDSINFO   |RESOLVED

--- Comment #4 from Alex Turbov  ---
I've found a reason ;-)
It was 2 versions of pulseaudio-qt. Removing the old version helps to find a
new one :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 441078] kdeconnect link failure w/ pulseaudio 15.0

2021-08-18 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=441078

--- Comment #3 from Alex Turbov  ---
Created attachment 140819
  --> https://bugs.kde.org/attachment.cgi?id=140819&action=edit
Full build log

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 441078] New: kdeconnect link failure w/ pulseaudio 15.0

2021-08-17 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=441078

Bug ID: 441078
   Summary: kdeconnect link failure w/ pulseaudio 15.0
   Product: kdeconnect
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: common
  Assignee: albertv...@gmail.com
  Reporter: i.za...@gmail.com
  Target Milestone: ---

Trying to build kdeconenct 21.08.0 I've got a link error:



STEPS TO REPRODUCE
1. just trying to build it
2. 
3. 

OBSERVED RESULT

/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in
function `SystemvolumePlugin::sendSinkList()::{lambda()#1}::operator()()
const':
systemvolumeplugin-pulse.cpp:(.text+0x777): undefined reference to
`PulseAudioQt::PulseObject::name() const'
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in
function `SystemvolumePlugin::sendSinkList()::{lambda()#2}::operator()()
const':
systemvolumeplugin-pulse.cpp:(.text+0x95b): undefined reference to
`PulseAudioQt::PulseObject::name() const'
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in
function `SystemvolumePlugin::sendSinkList()::{lambda()#3}::operator()()
const':
systemvolumeplugin-pulse.cpp:(.text+0xb51): undefined reference to
`PulseAudioQt::PulseObject::name() const'
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in
function `SystemvolumePlugin::sendSinkList()':
systemvolumeplugin-pulse.cpp:(.text+0xe62): undefined reference to
`PulseAudioQt::PulseObject::name() const'
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
systemvolumeplugin-pulse.cpp:(.text+0x1031): undefined reference to
`PulseAudioQt::PulseObject::name() const'
/usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld:
CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o:systemvolumeplugin-pulse.cpp:(.text+0x1666):
more undefined references to `PulseAudioQt::PulseObject::name() const' follow
collect2: error: ld returned 1 exit status

EXPECTED RESULT

Build success

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85
Qt Version: 5.15.2_p215

ADDITIONAL INFORMATION
pulseaudio 15.0
pulseaudio-qt-1.3

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 363227] C++ and ISO C++ highlighting incorrectly highlight some numbers as errors

2017-07-23 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #7 from Alex Turbov  ---
Here is a bunch of test numbers to check the C++ FP highlighter:

1f; -1F;// integer w/
floating suffix
0.1; -0.1;  // fractional
constant
.1; -.1;// fractional
constant w/o leading digit seq
1.; -1.;// ... same, but
omit trailing digit seq
1.f; -1.F;  // ... same w/
floating suffix
1.l; -1.L;  // ... same w/ long
double suffix
1e1; -1e1; 1e-1; -1e-1; // digit w/
exponent part
1e1f; -1e1F; 1e-1F; -1e-1f; // ... same w/
floating suffix
1e1l; -1e1L; 1e-1L; -1e-1l;
1.0e1; -1.0e1;  // fractional
constant w/ exponent
1.0e1f; -1.0e1F; 1.0e-1l; -1.0e-1L; // ... same w/
floating suffix
1.0e1f; -1.0e1F; 1.0e-1l; -1.0e-1L;

1e1_udl; 1e-1_udl; 1.0e1_udl; 1.0e-1_udl;   // w/ user defined
literal suffix

// std::complex suffixes
1i; 1if; 1il;
1.i; 1.if; 1.il;
1e1i; 1e-1i; 1.0e1i; 1.0e-1i;
1e1if; 1e-1if; 1.0e1if; 1.0e-1if;
1e1il; 1e-1il; 1.0e1il; 1.0e-1il;

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 363227] C++ and ISO C++ highlighting incorrectly highlight some numbers as errors

2017-07-23 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #6 from Alex Turbov  ---
Ok, I've got the repo... and checking the C++ ISO file I see it uses "built-in"
 element which is far from being correct for C++. It was so, since KDE4!
It is why "my" version of C++ syntax didn't use it! Instead, I've built a
 according to modern C++ standard to match floating point literals.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 363227] C++ and ISO C++ highlighting incorrectly highlight some numbers as errors

2017-07-23 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #5 from Alex Turbov  ---
I've reviewed the C++ standard and fixed a typo in my KDE4 version so all
numbers are look correct.
Where is a repo w/ syntax files nowadays? (want to check the floating point
regex in it)

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 363227] C++ and ISO C++ highlighting incorrectly highlight some numbers as errors

2017-07-23 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #4 from Alex Turbov  ---
[patch]
> simple do not kate latest `kate` :(

simple do not have latest `kate ;(

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 363227] C++ and ISO C++ highlighting incorrectly highlight some numbers as errors

2017-07-23 Thread Alex Turbov
https://bugs.kde.org/show_bug.cgi?id=363227

--- Comment #3 from Alex Turbov  ---
(In reply to Dominik Haumann from comment #2)
> @Alex: Do you want to look into this? Sounds like a very prominent missing
> features (iirc that was once working correctly).

Dominic, I'm still using Kate from KDE 4 (unfortunately PyKF5 is not available
and I can't port Pate to it) and it looks almost fine in here... except `f`
char in last two numbers. So, probably bug was introduced later (after porting
syntax files to KF5). Unfortunately, I can't fix it cuz simple do not kate
latest `kate` :(

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 370715] C++/boost indentation style is broken with automatic closing brackets

2016-10-17 Thread Alex Turbov via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370715

--- Comment #12 from Alex Turbov  ---
I'll fix as soon as it would be possible to me to move to kate5.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kate] [Bug 370715] C++/boost indentation style is broken with automatic closing brackets

2016-10-17 Thread Alex Turbov via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370715

--- Comment #11 from Alex Turbov  ---
Janek Bevendorff,

I've tried your buggy snippet w/ kate 4, and can't reproduce... unfortunately I
have no idea whats changed in KF5/Plasma5 version of kate...

I still use C++/boost indenter w/ Kate 4 and can't migrate while there is no
Python support %(

-- 
You are receiving this mail because:
You are watching all bug changes.