From: Christophe CURIS <[email protected]>

Hello,

This serie of patch is removing many 'extern' variable definitions
are currently being done inside source file instead of headers, to
make the code safer to work with.

I am taking the opportunity to make the variable names a bit more
expressive when possible, and to de-CamelCase them to follow
project's coding conventions.

There's a second serie to finish the job, pending feedback on
this serie.

Regards,
Christophe.


Christophe CURIS (12):
  wmaker: Converted #define to an Enum for the Program State tracking
    variables
  wmaker: Changed name of parameter in macro WCHECK_STATE
  wmaker: Created a global structure to regroup all global variables
  wmaker: Moved the variable for Locale choice (I18N) to the global
    variable structure
  wmaker: Moved timestamp variable (#1) to the global variable structure
  wmaker: Moved timestamp variable (#2) to the global variable structure
  wmaker: Moved global var with list of cursors to the preferences
    variable
  wmaker: Moved definition of WM-related XAtoms into the global
    variables structure
  wmaker: Moved definition of GNUStep-related XAtoms into the global
    variables structure
  wmaker: Moved definition of WMaker-specific XAtoms into the global
    variables structure
  wmaker: Moved definition of X Contexts into the global variables
    structure
  wmaker: Removed variable for X Context that is not used

 src/WindowMaker.h | 151 +++++++++++++++++++++++++++++++++++++++++-------------
 src/actions.c     |  11 ++--
 src/appicon.c     |   6 +--
 src/application.c |  12 ++---
 src/appmenu.c     |   9 ++--
 src/client.c      |  29 ++++-------
 src/defaults.c    |   7 ++-
 src/dock.c        |   8 +--
 src/event.c       |  64 +++++++++--------------
 src/icon.c        |   6 +--
 src/main.c        |  76 +++++++--------------------
 src/menu.c        |  11 ++--
 src/moveres.c     |  26 +++++-----
 src/properties.c  |  44 ++++++----------
 src/rootmenu.c    |  10 ++--
 src/screen.c      |  12 ++---
 src/session.c     |   5 --
 src/shutdown.c    |   5 +-
 src/stacking.c    |   8 ++-
 src/startup.c     | 119 ++++++++++++++++--------------------------
 src/switchpanel.c |   3 +-
 src/wcore.c       |  14 ++---
 src/window.c      |  39 ++++++--------
 src/winmenu.c     |  10 ++--
 src/winspector.c  |   3 +-
 src/wmspec.c      |   6 +--
 src/workspace.c   |   1 -
 27 files changed, 301 insertions(+), 394 deletions(-)

-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to