Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #38186: Forward link used on SF ticket system is
broken (MinGW Notification List)
2. [mingw] #38187: update wincon.h (MinGW Notification List)
3. [mingw] #38186: Forward link used on SF ticket system is
broken (MinGW Notification List)
4. [mingw] #38187: update wincon.h (MinGW Notification List)
5. [mingw] #38187: update wincon.h (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Wed, 11 Apr 2018 10:04:30 +0200
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38186: Forward link used on SF ticket
system is broken
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38186: Forward link used on SF ticket system is broken
Open Date: 2018-04-11 10:04
Last Update: 2018-04-11 10:04
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38186
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38186
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-11 10:04 Updated by: osdn-mensch
* New Ticket "Forward link used on SF ticket system is broken" created
---------------------------------------------------------------------
Ticket Status:
Reporter: osdn-mensch
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
https://sourceforge.net/p/mingw/bugs/ links to
https://sourceforge.net/p/mingw/https;//osdn.net/projects/mingw because the
text likely used is "https;//osdn.net/projects/mingw".
Solution: Admin SF ticket system and replace the semicolon by a colon.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38186
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38186
------------------------------
Message: 2
Date: Wed, 11 Apr 2018 10:21:31 +0200
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38187: update wincon.h
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38187: update wincon.h
Open Date: 2018-04-11 10:21
Last Update: 2018-04-11 10:21
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-11 10:21 Updated by: osdn-mensch
* New Ticket "update wincon.h" created
---------------------------------------------------------------------
Ticket Status:
Reporter: osdn-mensch
Owner: (None)
Type: Feature Request
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The current one seems very outdated.
It misses some older things (I was told that this is around since 2007) like
the CONSOLE_SCREEN_BUFFER_INFOEX structure
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX { ULONG cbSize; COORD
dwSize; COORD dwCursorPosition; WORD wAttributes; SMALL_RECT
srWindow; COORD dwMaximumWindowSize; WORD wPopupAttributes;
BOOL bFullscreenSupported; COLORREF ColorTable[16]; }
CONSOLE_SCREEN_BUFFER_INFOEX, *PCONSOLE_SCREEN_BUFFER_INFOEX;and the newer
COMMON_LVB_ defines for CHAR_INFO structure such as
#ifndef COMMON_LVB_GRID_HORIZONTAL #define COMMON_LVB_GRID_HORIZONTAL
0x0400 /* Top horizontal */ #endif #ifndef COMMON_LVB_GRID_LVERTICAL #define
COMMON_LVB_GRID_LVERTICAL 0x0800 /* Left vertical */ #endif #ifndef
COMMON_LVB_GRID_RVERTICAL #define COMMON_LVB_GRID_RVERTICAL 0x1000 /*
Right vertical */ #endif #ifndef COMMON_LVB_REVERSE_VIDEO #define
COMMON_LVB_REVERSE_VIDEO 0x4000 /* Reverse foreground and background
attribute */ #endif #ifndef COMMON_LVB_UNDERSCORE #define COMMON_LVB_UNDERSCORE
0x8000 /* Underscore */ #endifNote: all these are included in mingw-w64
since some time but I think the original should be updated, too :-)
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
------------------------------
Message: 3
Date: Wed, 11 Apr 2018 14:39:22 +0100
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38186: Forward link used on SF ticket
system is broken
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38186: Forward link used on SF ticket system is broken
Open Date: 2018-04-11 09:04
Last Update: 2018-04-11 14:39
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38186
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38186
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-11 14:39 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Fixed
* Details Updated
Comment:
Thanks for the heads-up, (and the accurate diagnosis of the fault). It should
be fixed now.
---------------------------------------------------------------------
Ticket Status:
Reporter: osdn-mensch
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: OTHER
Severity: 5 - Medium
Resolution: Fixed
---------------------------------------------------------------------
Ticket details:
https://sourceforge.net/p/mingw/bugs/ links to
https://sourceforge.net/p/mingw/https;//osdn.net/projects/mingw because the
text likely used is "https;//osdn.net/projects/mingw".
Solution: Admin SF ticket system and replace the semicolon by a colon.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38186
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38186
------------------------------
Message: 4
Date: Wed, 11 Apr 2018 17:19:50 +0100
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38187: update wincon.h
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38187: update wincon.h
Open Date: 2018-04-11 09:21
Last Update: 2018-04-11 17:19
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-11 17:19 Updated by: keith
* Details Updated
Comment:
Yes, it would be useful to add these; I guess no one has been sufficiently
interested to submit either a patch, or even a feature request, until now.
I note that the Microsoft docs indicate that struct
_CONSOLE_SCREEN_BUFFER_INFOEX requires Vista, or later, but they have been
notoriously dishonest about minimum required versions, in the past. Do you
happen to know if Vista is a genuine minimum requirement, in this case? Or,
must we just take this on faith?
In the case of the struct CHAR_INFO documentation, we actually see an example
of Microsoft's dishonesty, for this structure has been supported since Win95,
and the earliest versions of WinNT, whereas Microsoft's docs now claim that it
requires Win2K or later. However, the COMMON_LVB_* attribute defines, to which
you refer, were not supported from the outset; do you happen to know what
version of Windows introduced them?
Do note that definitions in the form that you suggest, e.g.
#ifndef COMMON_LVB_GRID_HORIZONTAL #define COMMON_LVB_GRID_HORIZONTAL
0x0400 /* Top horizontal */ #endifare fundamentally wrong, because:
If the attribute is defined elsewhere, then the enclosing #if guard denies the
compiler any opportunity to check consistency, and
If the attribute is not defined elsewhere, (as it really should not be), then
the #if guard is entirely redundant.
I note that Microsoft also documents:
#define COMMON_LVB_LEADING_BYTE 0x0100 #define COMMON_LVB_TRAILING_BYTE
0x0200(which you don't mention). These are also missing from our <wincon.h>; I
guess it would be appropriate to add them too.
---------------------------------------------------------------------
Ticket Status:
Reporter: osdn-mensch
Owner: (None)
Type: Feature Request
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The current one seems very outdated.
It misses some older things (I was told that this is around since 2007) like
the CONSOLE_SCREEN_BUFFER_INFOEX structure
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX { ULONG cbSize; COORD
dwSize; COORD dwCursorPosition; WORD wAttributes; SMALL_RECT
srWindow; COORD dwMaximumWindowSize; WORD wPopupAttributes;
BOOL bFullscreenSupported; COLORREF ColorTable[16]; }
CONSOLE_SCREEN_BUFFER_INFOEX, *PCONSOLE_SCREEN_BUFFER_INFOEX;and the newer
COMMON_LVB_ defines for CHAR_INFO structure such as
#ifndef COMMON_LVB_GRID_HORIZONTAL #define COMMON_LVB_GRID_HORIZONTAL
0x0400 /* Top horizontal */ #endif #ifndef COMMON_LVB_GRID_LVERTICAL #define
COMMON_LVB_GRID_LVERTICAL 0x0800 /* Left vertical */ #endif #ifndef
COMMON_LVB_GRID_RVERTICAL #define COMMON_LVB_GRID_RVERTICAL 0x1000 /*
Right vertical */ #endif #ifndef COMMON_LVB_REVERSE_VIDEO #define
COMMON_LVB_REVERSE_VIDEO 0x4000 /* Reverse foreground and background
attribute */ #endif #ifndef COMMON_LVB_UNDERSCORE #define COMMON_LVB_UNDERSCORE
0x8000 /* Underscore */ #endifNote: all these are included in mingw-w64
since some time but I think the original should be updated, too :-)
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
------------------------------
Message: 5
Date: Wed, 11 Apr 2018 20:54:12 +0200
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38187: update wincon.h
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38187: update wincon.h
Open Date: 2018-04-11 10:21
Last Update: 2018-04-11 20:54
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2018-04-11 20:54 Updated by: osdn-mensch
Comment:
Do you happen to know if Vista is a genuine minimum requirement, in this case?
Or, must we just take this on faith?
I'd personally just ignore the "minimum version part". I guess you want to
surround this by NT version number check, correct?
Just checked Win10 SDK - only surrounds CONSOLE_SCREEN_BUFFER_INFOEX by "not
phone" (the COMMON_LVB_ attributes are not surrounded and I assume they just
don't do anything on Win95/Win2k)
Do note that definitions in the form that you suggest, e.g. are fundamentally
wrong, because ...
People may have defined these themselves - but it is unlikely that this happens
before including wincon.h (or windows.h).
The code was put in place in an application expecting these values when MINGW
is used (this obviously only was tested on mingw-w64 which has them in since a
while) and I haven't seen a quick way to distinguish these environments. I'd
also say the ifdefs should *not* be included in wincon.h.
I note that Microsoft also documents ... which you don't mention.
Yes, adding these would be good (the application just didn't used them).WIN10
SDK ships even more:
#define COMMON_LVB_LEADING_BYTE 0x0100 // Leading Byte of DBCS #define
COMMON_LVB_TRAILING_BYTE 0x0200 // Trailing Byte of DBCS #define
COMMON_LVB_GRID_HORIZONTAL 0x0400 // DBCS: Grid attribute: top horizontal.
#define COMMON_LVB_GRID_LVERTICAL 0x0800 // DBCS: Grid attribute: left
vertical. #define COMMON_LVB_GRID_RVERTICAL 0x1000 // DBCS: Grid attribute:
right vertical. #define COMMON_LVB_REVERSE_VIDEO 0x4000 // DBCS: Reverse
fore/back ground attribute. #define COMMON_LVB_UNDERSCORE 0x8000 // DBCS:
Underscore. #define COMMON_LVB_SBCSDBCS 0x0300 // SBCS or DBCS flag.
---------------------------------------------------------------------
Ticket Status:
Reporter: osdn-mensch
Owner: (None)
Type: Feature Request
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: WSL
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The current one seems very outdated.
It misses some older things (I was told that this is around since 2007) like
the CONSOLE_SCREEN_BUFFER_INFOEX structure
typedef struct _CONSOLE_SCREEN_BUFFER_INFOEX { ULONG cbSize; COORD
dwSize; COORD dwCursorPosition; WORD wAttributes; SMALL_RECT
srWindow; COORD dwMaximumWindowSize; WORD wPopupAttributes;
BOOL bFullscreenSupported; COLORREF ColorTable[16]; }
CONSOLE_SCREEN_BUFFER_INFOEX, *PCONSOLE_SCREEN_BUFFER_INFOEX;and the newer
COMMON_LVB_ defines for CHAR_INFO structure such as
#ifndef COMMON_LVB_GRID_HORIZONTAL #define COMMON_LVB_GRID_HORIZONTAL
0x0400 /* Top horizontal */ #endif #ifndef COMMON_LVB_GRID_LVERTICAL #define
COMMON_LVB_GRID_LVERTICAL 0x0800 /* Left vertical */ #endif #ifndef
COMMON_LVB_GRID_RVERTICAL #define COMMON_LVB_GRID_RVERTICAL 0x1000 /*
Right vertical */ #endif #ifndef COMMON_LVB_REVERSE_VIDEO #define
COMMON_LVB_REVERSE_VIDEO 0x4000 /* Reverse foreground and background
attribute */ #endif #ifndef COMMON_LVB_UNDERSCORE #define COMMON_LVB_UNDERSCORE
0x8000 /* Underscore */ #endifNote: all these are included in mingw-w64
since some time but I think the original should be updated, too :-)
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38187
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38187
------------------------------
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
End of MinGW-Notify Digest, Vol 8, Issue 1
******************************************