Doug Coleman
a57e990af7
parsed -> suffix!, add append!
2009-10-28 13:38:27 -05:00
Slava Pestov
45bc6e3c3e
delete -> remove!
2009-10-27 23:25:35 -05:00
Joe Groff
8b6665c57e
update existing code for [let change
2009-10-27 22:05:37 -05:00
Joe Groff
e795257d4e
also print undocumented windows SSE exception codes
2009-10-22 00:18:01 -05:00
Joe Groff
03df7adc7b
give better error message for windows exceptions, and don't lop off the top end of the exception code when the vm throws the error
2009-10-21 23:37:51 -05:00
Doug Coleman
42cc38010a
run bootstrap and startup hooks inside a with-destructors. use &dispose instead of setting shutdown hooks in a couple of places
2009-10-20 18:26:10 -04:00
Doug Coleman
6fa23d7ea4
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Doug Coleman
55079bb17e
add psapi stub to windows.nt
2009-10-15 21:43:19 -05:00
Joe Groff
12e54ea262
eradicate string C types from windows.com.*
2009-09-30 16:17:50 -05:00
Joe Groff
5ab16ba62a
change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK:
2009-09-28 19:27:28 -05:00
Slava Pestov
d1a21388b1
windows.kernel/user32: update for C type parser changes
2009-09-28 06:41:26 -05:00
Joe Groff
dd67afe581
replace all TYPEDEF: void* XXX* with C-TYPE: XXX
2009-09-27 22:21:24 -05:00
Joe Groff
677abafda8
update vocabs so load-all on windows works without parsing string c-types
2009-09-27 18:41:20 -05:00
Joe Groff
ca69df90b5
update windows vocabs to load without c-type strings
2009-09-27 18:19:53 -05:00
Joe Groff
61e683643d
reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled
2009-09-24 16:08:58 -05:00
Joe Groff
8d29cb5c35
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-24 00:11:06 -05:00
Joe Groff
f923ca00c0
some windows dwm api calls to play with
2009-09-24 00:10:53 -05:00
Doug Coleman
e8502d1ebc
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 17:59:48 -05:00
Joe Groff
46fa7cca2d
oops--Segoe is the windows 6.x system font, not Calibri
2009-09-21 16:05:13 -05:00
Doug Coleman
0aa4700873
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 14:22:14 -05:00
Joe Groff
77d10178db
add CALLBACK: syntax that defines a typedef and an alien-callback constructor word for function pointer types. update some code in iokit.hid and windows.dinput to use CALLBACK: instead of TYPEDEF:/word pairs
2009-09-21 11:59:41 -05:00
Doug Coleman
6f77a2a901
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-20 23:39:33 -05:00
Joe Groff
490220e662
use hott vista fonts on windows 6.x
2009-09-20 23:34:53 -05:00
Doug Coleman
026761ed62
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
47fab85a00
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Joe Groff
d3f21d593a
fix windows bootstrap
2009-09-19 11:30:23 -05:00
Joe Groff
0e21c2b81e
fix windows test failures
2009-09-19 10:01:12 -05:00
Joe Groff
d7a77886b8
more windows loading fixes
2009-09-19 02:44:40 -05:00
Joe Groff
7078fd55b2
windows loading fixes
2009-09-19 02:31:06 -05:00
Joe Groff
d6989969d0
update windows.winsock structs
2009-09-18 19:25:00 -05:00
Joe Groff
2efeb44670
update windows.usp10 structs
2009-09-18 19:14:59 -05:00
Joe Groff
72978b63e9
update windows.types structs
2009-09-18 19:12:31 -05:00
Joe Groff
2684759424
update windows.ole32 structs (*)
2009-09-18 18:57:36 -05:00
Joe Groff
fe12a553ae
update windows.kernel32 structs (*)
2009-09-18 18:54:08 -05:00
Joe Groff
a0ea060aac
update structs in windows.advapi32
2009-09-18 18:44:36 -05:00
Joe Groff
fac9473425
fix loading problems on windows
2009-09-18 10:01:38 -05:00
Joe Groff
4a1422e7fe
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Joe Groff
5d4c9cd7f0
fix loading issues in windows vocabs
2009-09-17 14:01:41 -05:00
Joe Groff
334e93bbbf
get things to a point where they bootstrap again
2009-09-15 21:43:18 -05:00
Slava Pestov
a217f16b88
windows.dinput.constants: fix load error
2009-09-12 13:25:31 -05:00
Slava Pestov
527db8995a
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov
6be1a59182
Use new-style structs for overlapped struct on Windows
2009-09-05 16:20:58 -05:00
Slava Pestov
42da67c755
windows.com.prettyprint: add unportable tag
2009-09-05 10:59:40 -05:00
Slava Pestov
430f4a83f9
specialized-arrays.direct is no more; instead, every specialized-array.<foo> vocabulary has a <direct-T-array> constructor
2009-09-04 22:01:55 -05:00
Slava Pestov
867a3548fd
windows.com: split off prettyprinting into windows.com.prettyprint
2009-09-04 22:00:23 -05:00
Slava Pestov
33c09acbb5
Fix sockets on Windows, and re-organize things so that windows.winsock doesn't get loaded by default
2009-09-04 05:02:33 -05:00
Doug Coleman
62261f18fe
update network structs. NO WHAMMY, NO WHAMMY, NO WHAMMY...STOP!!!
2009-09-03 16:57:36 -05:00
Doug Coleman
cd90136425
add using to windows.com.wrapper
2009-09-01 18:16:57 -05:00
Doug Coleman
9654a7036a
fix windows usings
2009-08-31 15:22:26 -05:00
Joe Groff
b06626ee46
fix some things that broke in the windows UI/game-input backends
2009-08-31 12:45:39 -05:00
Joe Groff
82e3ec2fe8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/environment/winnt/winnt.factor
basis/io/files/windows/nt/nt.factor
basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Joe Groff
9d59d2b54f
update windows.dinput structs
2009-08-31 10:28:22 -05:00
Joe Groff
f2c1dc683a
update windows.* for <c-array> change
2009-08-31 09:58:27 -05:00
Doug Coleman
b6e7ab9e4e
structs in windows.shell32
2009-08-29 20:56:39 -05:00
Doug Coleman
c1761a7db9
remove dead code, use ${ and GUID:, structs
2009-08-29 20:52:14 -05:00
Doug Coleman
40318b01c1
remove c-array usage
2009-08-29 20:43:07 -05:00
Doug Coleman
ff5c225617
more struct work
2009-08-29 20:39:06 -05:00
Doug Coleman
c21bc8c11e
remove com-interface c-struct
2009-08-29 19:33:04 -05:00
Doug Coleman
851d839054
WSABUF struct
2009-08-29 19:25:18 -05:00
Doug Coleman
86e34df3d7
fix com, prettyprinting of GUIDs
2009-08-29 19:18:39 -05:00
Doug Coleman
347fbd8ff2
fix using
2009-08-29 17:42:14 -05:00
Doug Coleman
9cc1f6c85a
guid, system-info
2009-08-29 17:41:08 -05:00
Doug Coleman
f4914b97af
windows.offscreen structs
2009-08-29 17:35:11 -05:00
Doug Coleman
f670e3df69
fix uniscribe
2009-08-29 17:18:30 -05:00
Doug Coleman
e584ac6f86
SIZE struct
2009-08-29 17:08:25 -05:00
Doug Coleman
b4ccda4e5e
new structs in font rendering
2009-08-29 14:29:46 -05:00
Doug Coleman
7bad32ae73
more structs
2009-08-29 13:45:25 -05:00
Doug Coleman
341dca1825
structs in calendar.windows
2009-08-29 13:39:48 -05:00
Doug Coleman
b70b6ae7da
more struct changes
2009-08-27 21:43:29 -05:00
Doug Coleman
482c632fe5
update RECT for new structs
2009-08-27 21:16:28 -05:00
Doug Coleman
a51c8d27f4
update WNDCLASSEX
2009-08-27 20:43:42 -05:00
Doug Coleman
abb34b5ea4
TRACKMOUSEVENT uses <struct> now
2009-08-27 20:39:37 -05:00
Doug Coleman
850475c2ab
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Doug Coleman
270cbdc3c5
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 09:40:49 -05:00
Joe Groff
c908bd3868
windows.ole32 guid functions don't need to box the byte-arrays themselves anymore
2009-08-26 09:28:10 -05:00
Doug Coleman
3991e30a39
more structs
2009-08-25 18:19:34 -05:00
Doug Coleman
ca0452c9e2
use structs in process launcher
2009-08-25 17:46:07 -05:00
Doug Coleman
8341c22cca
less aggressive open-file for file-times, use FILETIME struct now
2009-08-25 17:34:06 -05:00
Doug Coleman
198c340ed5
use structs in a few places in windows backend
2009-08-25 17:23:23 -05:00
Slava Pestov
1aacd8e9d4
windows.com.wrapper: crash fix
2009-08-25 05:02:50 -05:00
Slava Pestov
50641a5059
Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems
2009-08-24 02:26:13 -05:00
Slava Pestov
66afcff1e0
windows.ole32: don't pull in debugger, reduces terrain demo deployed size by ~30kb
2009-08-17 23:58:44 -05:00
Doug Coleman
d1ce837569
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
e1bdd33156
use if-zero in a few more places
2009-08-11 18:15:53 -05:00
Joe Groff
dca50b456d
windows.offscreen:make-bitmap-image wasn't filling in the component-type of the image object it makes
2009-06-25 09:15:04 -05:00
Joe Groff
62ed8d1404
win32 support for window-controls
2009-06-18 11:41:34 -05:00
Doug Coleman
5cfc1ab16d
remove at-default. it was hardly used and it's just '?at drop'
2009-05-24 21:46:59 -05:00
Doug Coleman
18fa018783
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-20 19:31:23 -05:00
Doug Coleman
7767686270
fix error handling in random.windows if acquiring the crypto context fails
2009-05-20 19:30:35 -05:00
Slava Pestov
2a38133749
windows.advapi32: add windows.kernel32 dependency
2009-05-20 18:51:01 -05:00
Slava Pestov
52ea03a311
Fix windows bootstrap
2009-05-16 11:20:08 -05:00
Slava Pestov
97b3153639
Move wchar_t* typedef from alien.arrays to windows.types since that's the only place that uses it. Reduces deployed image size since io.encodings.utf16 not loaded on Unix
2009-05-12 04:19:22 -05:00
Slava Pestov
f75ef1fde7
windows.dinput.constants: fix deployment
2009-05-11 18:01:35 -05:00
Slava Pestov
70deacb900
Fix unit tests and load errors for slip removal
2009-05-10 17:03:41 -05:00
Joe Groff
fc49402d40
Add missing ClientToScreen export to windows.user32
2009-05-08 14:09:57 -07:00
Joe Groff
3a2a1a6a62
input grabbing support
2009-05-08 15:07:15 -05:00
Joe Groff
fbe5f83306
mouse support for game-input
2009-05-05 09:45:43 -05:00
Joe Groff
6a897159d6
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
extra/spheres/spheres.factor
2009-05-03 17:23:14 -05:00
U-FROGGER\erg
7d53445aad
fix windows ui
2009-05-02 20:36:31 -05:00
Joe Groff
2f59f39376
windows pixel-format backend
2009-05-02 13:42:10 -05:00
U-FROGGER\erg
d970f31da4
fix GL-FUNCTION: syntax on wgl extension functions
2009-05-01 14:02:26 -05:00
U-FROGGER\erg
fe1274dfb3
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:45:38 -05:00
Slava Pestov
fb360498f3
Update usages of global ... change-at to use the new change-global combinator
2009-04-30 21:38:14 -05:00
Joe Groff
49674dc8ad
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:36:54 -05:00
Joe Groff
9149f375d1
WGL_ARB_pixel_format extension binding
2009-04-30 21:35:50 -05:00
Joe Groff
3edd57aaa4
eliminate windows.opengl32 dependency from opengl.gl.windows so we can use opengl.gl.extensions to define wgl extensions
2009-04-30 20:38:18 -05:00
Doug Coleman
bb84d493fa
make windows.fonts unportable
2009-04-30 18:35:34 -05:00
Doug Coleman
4a5009048f
support fullscreen mode in windows ui
2009-04-30 15:22:32 -05:00
Doug Coleman
6ec73b2a2a
fix bootstrap on windows. here's an opportunity to use literals.
2009-04-30 13:47:49 -05:00
Doug Coleman
65d76e6509
finish fixing the using list for windows.errors, more ffi bindings
2009-04-30 10:25:59 -05:00
Doug Coleman
8ab4d39036
move windows error handling to windows.errors and update usages.
2009-04-30 09:36:25 -05:00
Slava Pestov
3353a777f7
Fixing some unit test failures
2009-04-22 07:05:00 -05:00
Doug Coleman
5c236d6585
add a size-on-disk slot to file-info, the each-file combinator now works better, add a path>sizes word
2009-04-20 16:52:18 -05:00
Slava Pestov
8891573a77
windows.dinput.constants: fix warnings
2009-04-18 19:52:29 -05:00
Doug Coleman
5e6cc3bf46
more api work for windows
2009-04-17 21:37:20 -05:00
Slava Pestov
aad7a8dc75
Add unportable tag to windows.usp10
2009-04-15 19:04:50 -05:00
Doug Coleman
1551eacfa2
add support for tiff grayscale images
2009-04-09 10:44:50 -05:00
U-SLAVA-DFB8FF805\Slava
94baa7d7fa
Call ScriptStringOut with ETO_OPAQUE
2009-04-08 18:12:27 -05:00
Slava Pestov
0affe96d95
opengl.textures: pad image up to a power of 2 using glTexSubImage2D instead of doing it in Factor code
2009-04-04 20:04:35 -05:00
U-SLAVA-DFB8FF805\Slava
4f9ac11eed
Remove unused dependency
2009-04-03 09:48:10 -05:00
U-SLAVA-DFB8FF805\Slava
7f4784151c
Paint selection, and create bitmap with power of 2 size as an optimizaion
2009-04-03 06:59:27 -05:00
U-SLAVA-DFB8FF805\Slava
0dcb38d86a
Some more GDI32 bindings
2009-04-03 06:58:36 -05:00
U-SLAVA-DFB8FF805\Slava
dfa27e0c17
Add vocab meta-data for some of the new vocabs
2009-04-02 13:50:15 -05:00
U-SLAVA-DFB8FF805\Slava
b357812589
Fix Uniscribe font size
2009-04-02 13:24:34 -05:00
U-SLAVA-DFB8FF805\Slava
9c3054c84a
More progress on Uniscribe
2009-04-02 13:05:26 -05:00
Slava Pestov
cf87e20a30
Uniscribe text rendering work in progress
2009-03-28 22:27:37 -05:00
Slava Pestov
a58ce33bb3
Split off some code from ui.backend.windows into windows.offscreen
2009-03-28 22:27:18 -05:00
Doug Coleman
8b7fcce399
update code for usages of add-library
2009-03-25 23:00:19 -05:00
Doug Coleman
28b10a7094
remove loading freetype library on CE
2009-03-25 10:19:52 -05:00
U-SLAVA-DFB8FF805\Slava
5d3c2c874a
Get game-input to load on Windows
2009-03-24 03:58:11 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Doug Coleman
aeaeca193d
fix the copyright header
2009-03-12 21:57:09 -05:00
Doug Coleman
39ce205f75
add a binding to part or all of uniscribe
2009-03-12 21:52:45 -05:00
Slava Pestov
cc9e81f27c
Help lint and meta-data fixes
2009-03-08 01:49:06 -06:00
Slava Pestov
68ad822cc5
Remove obsolete DLL from windows.nt
2009-03-06 15:02:28 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
Slava Pestov
91d0c4ed1f
Fix conflict
2009-02-22 20:02:13 -06:00
Doug Coleman
2f868b38c2
more CONSTANT: usage
2009-02-22 18:12:54 -06:00
Doug Coleman
58abcec127
use CONSTANT: in win32 bindings
2009-02-22 18:09:10 -06:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
60d96b56ce
Remove a rot usage
2009-02-16 21:13:49 -06:00
Slava Pestov
043b77c702
Fix conflict
2009-02-08 00:07:59 -06:00
Doug Coleman
44a4c20f23
update stream seeking on windows for new api
2009-02-07 11:00:16 -06:00
Slava Pestov
dd9cf39467
Fix conflict in libc
2009-02-06 05:10:41 -06:00
Slava Pestov
d6aa376ed0
Removing now-redundant underlying>> calls
2009-02-06 04:37:28 -06:00
Slava Pestov
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -06:00
Slava Pestov
0a0431e6ab
Fix conflict
2009-01-30 02:24:34 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Slava Pestov
505c9a77c2
Merge branch 'master' into new_ui
2009-01-29 22:11:34 -06:00
Doug Coleman
5e4265507e
add a binding to a function
2009-01-29 18:34:50 -06:00