LINUX.ORG.RU

История изменений

Исправление EXL, (текущая версия) :

Нет, Xlib - это далеко не только рисовательное API, но и API оконной системы, чего не было в DPS.

Стоп, так это ты перечислил всё то, чего нет в реализации Display PostScript для иксов от Adobe (или её свободной реализации), которая была сделана по остаточному принципу, там действительно только рисовательное API. Но в тех доработанных разработчиками из SUN и NeXT реализациях DPS, которые были в NeXTSTEP и NeWS, API оконной системы имелось и работало.

The developers of NeXT wrote a completely new windowing engine to take full advantage of NeXT’s object-oriented operating system. A number of commands were added to DPS to actually create the windows and to react to events, similar to but simpler than NeWS.

https://en.wikipedia.org/wiki/Display_PostScript#History

Так что сравнивать NeXTSTEP’овский DPS с Xlib и даже со всем X11 вполне себе справедливо и очень даже оправдано.

Например, см. описание операторов реализации Display PostScript из официальной документации NeXTSTEP:

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/GeneralRef/05_DisplayPS/Operators/PSOperators.htmld/index.html

Там имеются как операторы создания окна, так и операторы получения списков окон, получения списков screen, управления курсором, отправки event’ов и есть всё остальное, чем обычно занимается оконная система и тулкит поверх неё.

window: Creates a window that has a lower left corner of (x, y) and the indicated width and height. x, y, width, and height are given in the screen coordinate system…

windowlist: Fills the array with the window numbers of all windows that are owned by the PostScript context specified by context…

seteventmask: Sets the Server-level event mask for the specified window to mask. For windows created by the window packages, this mask may allow additional event types beyond those requested by the application. The following operand names are defined for mask: Lmousedownmask Mouse-down, left or only mouse button; Lmouseupmask Mouse-up, left or only mouse button; Keydownmask Key-down; Keyupmask Key-up; Kitdefinedmask Kit-defined; Sysdefinedmask System-defined; Appdefinedmask Application-defined; Allevents All event types

posteventbycontext: Posts an event to the specified context. The nine parameters preceding the context parameter coincide with the NXEvent

adjustcursor: Moves the cursor location by (dx, dy) from its current location. dx and dy are given in the current coordinate system.

termwindow: Marks window for destruction

Вполне себе такой аналог Xlib на DPS, а не какое-то там «рисовательное API», не так ли?

А вот для 3D-графики в NeXTSTEP действительно был не OpenGL, а RenderMan того самого Pixar, владельцем которого был ещё Steve Jobs: https://en.wikipedia.org/wiki/Pixar_RenderMan, который кстати хотел чтобы он стал таким же стандартом в компьютерной графике, каким был PostScript в те годы в компьютерной типографике.

Our goal is to make Renderman and Iceman the system software of the 90s," Mr. Jobs said, likening these programs to PostScript, the software developed by Adobe Systems Inc. for high-quality typography.

Исправление EXL, :

Нет, Xlib - это далеко не только рисовательное API, но и API оконной системы, чего не было в DPS.

Стоп, так это ты перечислил всё то, чего нет в реализации Display PostScript для иксов от Adobe (или её свободной реализации), которая была сделана по остаточному принципу, там действительно только рисовательное API. Но в тех доработанных разработчиками из SUN и NeXT реализациях DPS, которые были в NeXTSTEP и NeWS, API оконной системы имелось и работало.

The developers of NeXT wrote a completely new windowing engine to take full advantage of NeXT’s object-oriented operating system. A number of commands were added to DPS to actually create the windows and to react to events, similar to but simpler than NeWS.

https://en.wikipedia.org/wiki/Display_PostScript#History

Так что сравнивать NeXTSTEP’овский DPS с Xlib и даже со всем X11 вполне себе справедливо и очень даже оправдано.

Например, см. описание реализации Display PostScript из официальной документации NeXTSTEP:

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/GeneralRef/05_DisplayPS/Operators/PSOperators.htmld/index.html

Там имеются как операторы создания окна, так и операторы получения списков окон, получения списков screen, управления курсором, отправки event’ов и есть всё остальное, чем обычно занимается оконная система и тулкит поверх неё.

window: Creates a window that has a lower left corner of (x, y) and the indicated width and height. x, y, width, and height are given in the screen coordinate system…

windowlist: Fills the array with the window numbers of all windows that are owned by the PostScript context specified by context…

seteventmask: Sets the Server-level event mask for the specified window to mask. For windows created by the window packages, this mask may allow additional event types beyond those requested by the application. The following operand names are defined for mask: Lmousedownmask Mouse-down, left or only mouse button; Lmouseupmask Mouse-up, left or only mouse button; Keydownmask Key-down; Keyupmask Key-up; Kitdefinedmask Kit-defined; Sysdefinedmask System-defined; Appdefinedmask Application-defined; Allevents All event types

posteventbycontext: Posts an event to the specified context. The nine parameters preceding the context parameter coincide with the NXEvent

adjustcursor: Moves the cursor location by (dx, dy) from its current location. dx and dy are given in the current coordinate system.

termwindow: Marks window for destruction

Вполне себе такой аналог Xlib на DPS, а не какое-то там «рисовательное API», не так ли?

А вот для 3D-графики в NeXTSTEP действительно был не OpenGL, а RenderMan того самого Pixar, владельцем которого был ещё Steve Jobs: https://en.wikipedia.org/wiki/Pixar_RenderMan, который кстати хотел чтобы он стал таким же стандартом в компьютерной графике, каким был PostScript в те годы в компьютерной типографике.

Our goal is to make Renderman and Iceman the system software of the 90s," Mr. Jobs said, likening these programs to PostScript, the software developed by Adobe Systems Inc. for high-quality typography.

Исправление EXL, :

Нет, Xlib - это далеко не только рисовательное API, но и API оконной системы, чего не было в DPS.

Стоп, так это ты перечислил всё то, чего нет в реализации Display PostScript для иксов от Adobe (или её свободной реализации), которая была сделана по остаточному принципу, там действительно только рисовательное API. Но в тех, доработанных реализациях DPS, которые были в NeXTSTEP и NeWS, API оконной системы имелось и работало.

The developers of NeXT wrote a completely new windowing engine to take full advantage of NeXT’s object-oriented operating system. A number of commands were added to DPS to actually create the windows and to react to events, similar to but simpler than NeWS.

https://en.wikipedia.org/wiki/Display_PostScript#History

Так что сравнивать NeXTSTEP’овский DPS с Xlib и даже со всем X11 вполне себе справедливо и очень даже оправдано.

Например, см. описание реализации Display PostScript из официальной документации NeXTSTEP:

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/GeneralRef/05_DisplayPS/Operators/PSOperators.htmld/index.html

Там имеются как операторы создания окна, так и операторы получения списков окон, получения списков screen, управления курсором, отправки event’ов и есть всё остальное, чем обычно занимается оконная система и тулкит поверх неё.

window: Creates a window that has a lower left corner of (x, y) and the indicated width and height. x, y, width, and height are given in the screen coordinate system…

windowlist: Fills the array with the window numbers of all windows that are owned by the PostScript context specified by context…

seteventmask: Sets the Server-level event mask for the specified window to mask. For windows created by the window packages, this mask may allow additional event types beyond those requested by the application. The following operand names are defined for mask: Lmousedownmask Mouse-down, left or only mouse button; Lmouseupmask Mouse-up, left or only mouse button; Keydownmask Key-down; Keyupmask Key-up; Kitdefinedmask Kit-defined; Sysdefinedmask System-defined; Appdefinedmask Application-defined; Allevents All event types

posteventbycontext: Posts an event to the specified context. The nine parameters preceding the context parameter coincide with the NXEvent

adjustcursor: Moves the cursor location by (dx, dy) from its current location. dx and dy are given in the current coordinate system.

termwindow: Marks window for destruction

Вполне себе такой аналог Xlib на DPS, не так ли?

А вот для 3D-графики в NeXTSTEP действительно был не OpenGL, а RenderMan того самого Pixar, владельцем которого был ещё Steve Jobs: https://en.wikipedia.org/wiki/Pixar_RenderMan, который кстати хотел чтобы он стал таким же стандартом в компьютерной графике, каким был PostScript в те годы в компьютерной типографике.

Our goal is to make Renderman and Iceman the system software of the 90s," Mr. Jobs said, likening these programs to PostScript, the software developed by Adobe Systems Inc. for high-quality typography.

Исправление EXL, :

Нет, Xlib - это далеко не только рисовательное API, но и API оконной системы, чего не было в DPS.

Стоп, так это ты перечислил всё то, чего нет в реализации Display PostScript для иксов от Adobe (или её свободной реализации), которая была сделана по остаточному принципу, там действительно только рисовательное API. Но в тех, доработанных реализациях DPS, которые были в NeXTSTEP и NeWS, API оконной системы имелось и работало.

The developers of NeXT wrote a completely new windowing engine to take full advantage of NeXT’s object-oriented operating system. A number of commands were added to DPS to actually create the windows and to react to events, similar to but simpler than NeWS.

https://en.wikipedia.org/wiki/Display_PostScript#History

Так что сравнивать NeXTSTEP’овский DPS с Xlib и даже всем X11 вполне себе справедливо и очень даже оправдано.

Например, см. описание реализации DPS из официальной документации NeXTSTEP:

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/GeneralRef/05_DisplayPS/Operators/PSOperators.htmld/index.html

Там имеются как операторы создания окна, так и операторы получения списков окон, получения списков screen, управление курсором, отправка event’ов и все остальное, чем обычно занимается оконная система и тулкит поверх неё.

window: Creates a window that has a lower left corner of (x, y) and the indicated width and height. x, y, width, and height are given in the screen coordinate system…

windowlist: Fills the array with the window numbers of all windows that are owned by the PostScript context specified by context…

seteventmask: Sets the Server-level event mask for the specified window to mask. For windows created by the window packages, this mask may allow additional event types beyond those requested by the application. The following operand names are defined for mask: Lmousedownmask Mouse-down, left or only mouse button; Lmouseupmask Mouse-up, left or only mouse button; Keydownmask Key-down; Keyupmask Key-up; Kitdefinedmask Kit-defined; Sysdefinedmask System-defined; Appdefinedmask Application-defined; Allevents All event types

posteventbycontext: Posts an event to the specified context. The nine parameters preceding the context parameter coincide with the NXEvent

adjustcursor: Moves the cursor location by (dx, dy) from its current location. dx and dy are given in the current coordinate system.

termwindow: Marks window for destruction

Вполне себе такой аналог Xlib на DPS, не так ли?

А вот для 3D-графики в NeXTSTEP действительно был не OpenGL, а RenderMan, того самого Pixar, владельцем которого был ещё Steve Jobs: https://en.wikipedia.org/wiki/Pixar_RenderMan, который кстати хотел чтобы он стал таким же стандартом в компьютерной графике, каким PostScript был в те годы в компьютерной типографике.

Our goal is to make Renderman and Iceman the system software of the 90s," Mr. Jobs said, likening these programs to PostScript, the software developed by Adobe Systems Inc. for high-quality typography.

Исходная версия EXL, :

Нет, Xlib - это далеко не только рисовательное API, но и API оконной системы, чего не было в DPS.

Стоп, так это в реализации Display PostScript для иксов от Adobe, которую они cделали по остаточному принципу, там действительно только рисовательное API. Но в тех, доработанных реализациях DPS, которая были в NeXTSTEP и NeWS, API оконной системы имелось и работало.

The developers of NeXT wrote a completely new windowing engine to take full advantage of NeXT’s object-oriented operating system. A number of commands were added to DPS to actually create the windows and to react to events, similar to but simpler than NeWS.

https://en.wikipedia.org/wiki/Display_PostScript#History

Так что сравнивать NeXTSTEP’овский DPS с Xlib и даже всем X11 вполне себе справедливо и очень даже оправдано.

Например, см. описание реализации DPS из официальной документации NeXTSTEP:

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/GeneralRef/05_DisplayPS/Operators/PSOperators.htmld/index.html

Там имеются как операторы создания окна, так и операторы получения списков окон, получения списков screen, управление курсором, отправка event’ов и все остальное, чем обычно занимается оконная система и тулкит поверх неё.

window: Creates a window that has a lower left corner of (x, y) and the indicated width and height. x, y, width, and height are given in the screen coordinate system…

windowlist: Fills the array with the window numbers of all windows that are owned by the PostScript context specified by context…

seteventmask: Sets the Server-level event mask for the specified window to mask. For windows created by the window packages, this mask may allow additional event types beyond those requested by the application. The following operand names are defined for mask: Lmousedownmask Mouse-down, left or only mouse button; Lmouseupmask Mouse-up, left or only mouse button; Keydownmask Key-down; Keyupmask Key-up; Kitdefinedmask Kit-defined; Sysdefinedmask System-defined; Appdefinedmask Application-defined; Allevents All event types

posteventbycontext: Posts an event to the specified context. The nine parameters preceding the context parameter coincide with the NXEvent

adjustcursor: Moves the cursor location by (dx, dy) from its current location. dx and dy are given in the current coordinate system.

termwindow: Marks window for destruction

Вполне себе такой аналог Xlib на DPS, не так ли?

А вот для 3D-графики в NeXTSTEP действительно был не OpenGL, а RenderMan, того самого Pixar, владельцем которого был ещё Steve Jobs: https://en.wikipedia.org/wiki/Pixar_RenderMan, который кстати хотел чтобы он стал таким же стандартом в компьютерной графике, каким PostScript был в те годы в компьютерной типографике.

Our goal is to make Renderman and Iceman the system software of the 90s," Mr. Jobs said, likening these programs to PostScript, the software developed by Adobe Systems Inc. for high-quality typography.