11 Commits

Author SHA1 Message Date
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
tbogard%aol.net
e1325fa173 Changed NS_ENSURE and NS_ENSURE_NOT occurences to be NS_ENSURE_TRUE and NS_ENSURE_FALSE respectively.
git-svn-id: svn://10.0.0.236/trunk@52377 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 07:40:19 +00:00
pavlov%netscape.com
5bcf4308a6 add newline at the end of the files
git-svn-id: svn://10.0.0.236/trunk@49239 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 21:21:31 +00:00
pavlov%netscape.com
3e6fdf5e98 change emacs headers to use C++ instead of IDL and add newline to bottom of files
git-svn-id: svn://10.0.0.236/trunk@49238 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 21:20:18 +00:00
tbogard%aol.net
c802cd626d 1.) nsIEvent now has an attribute for isExitEvent(). This allows one to test if the current event represented by nsIEvent is a signal to exit the loop.
2.)  The various Run* routines were made more general.  This allowed me to move them completely within the nsCBaseLoop code rather than have them duplicated across the different Base Loop Typed classes.  This avoids the cut and pasting of code, that will probably be tweaked in the future.

3.)  To support the new Run* routines, I have added a RetrieveNextEvent and then a PlatformRetrieveNextEvent.  The first is implemented in nsCBaseLoop.  This was added to facilitate ordering of event retrieval in the near future (ie, pulling system events before normal events, or pulling PLEvents etc.)  The second function is one that platform code must override.  This is different for each loop type.  Basically this is supposed to be whatever it takes for a given implementation to pull the next event off the queue for the given loop type.  So in the Windows world, this function calls GetMessage() for the Thread and App loop types and then PeekMessage() with PM_REMOVE set for the Breath loop type.

This code is compiled but not used by the main build.  A=chofmann


git-svn-id: svn://10.0.0.236/trunk@49214 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 16:52:10 +00:00
briano%netscape.com
945d83af9f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 02:12:56 +00:00
tbogard%aol.net
979858961c Clarified some documentation.
git-svn-id: svn://10.0.0.236/trunk@46375 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:24:16 +00:00
Jerry.Kirk%Nexwarecorp.com
a9d3fb9a6c First attempt at unix Makefile for the xp directory. Makes use of MOZ_TOOLKIT
to include certain files. It creates a static library that is then included
into a shared library by each toolkits code.
Also checked in the Photon event and filter definition.


git-svn-id: svn://10.0.0.236/trunk@46350 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:40:13 +00:00
tbogard%aol.net
098f28d4b8 Factored the common code found in all the platforms into a single base class that is inserted higher up the class heirarchy. This allows us to further reduce the amount of cut and paste code that would have to be done.
git-svn-id: svn://10.0.0.236/trunk@45467 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 11:09:10 +00:00
tbogard%aol.net
7480e621aa First checkin of nativeApp and the xp event loop. Not connected to the build yet.
git-svn-id: svn://10.0.0.236/trunk@45385 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:56:38 +00:00
tbogard%aol.net
e1ce0eba22 Moving Event loop interfaces to it's new home from xpcom/apps. Implementation will start here. Also renamed msg to be event to be less windows-ish.
git-svn-id: svn://10.0.0.236/trunk@44257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 05:47:30 +00:00