Mercurial > hg > xemacs-beta
annotate notes.txt @ 5920:0f2338afbabf cygwin
Minimum necessary to get started:
sufficient to compile OK, run -nw, but not with window
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 21 Apr 2014 11:42:50 +0100 |
parents | |
children | 68639fb08af8 |
rev | line source |
---|---|
5920
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
1 Brute-forced a set of changes which allowed |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
2 make unicode-encapsulate |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
3 to work |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
4 1) Patched make-mswin-unicode.pl to match macros with pointer return types; |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
5 2) Updated intl-encap-win32.c to deal with |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
6 a) added functions; |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
7 b) refactoring of w32api include files. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
8 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
9 Renamed DEVICE_TYPE to DEVICE_TYPE_X in device-impl.h and everywhere |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
10 it is used to avoid collision with DEVICE_TYPE in winioctl.h |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
11 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
12 Minimal fixes to get to compile wrt int vs. intptr_t in |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
13 event-msw.c |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
14 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
15 event-msw.c:67:3: error: #error Something is wrong -- you are neither |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
16 Windows native (possibly MinGW) nor Cygwin. # error Something is |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
17 wrong -- you are neither Windows native (possibly MinGW) nor Cygwin. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
18 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
19 Ah, need a more up-to-date config.{sub,guess}, got one from somewhere |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
20 dated timestamp='2013-06-10' |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
21 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
22 Copy src/s/cygwin32.h to cygwin64.h and src/m/intel386.h to x86_64.h |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
23 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
24 And a configure.ac which recognises cygwin64 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
25 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
26 Remove cygwin_conv_to_posix_path from lib-src/gnuclient.c |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
27 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
28 Replace calls to qxeGetWindowLong(... GWL_..) with |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
29 qxeGetWindowLongPtr(... GWLP_...) (w. LONG_PTR result if used) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
30 after re-making unicode-encapsulate |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
31 And one LONG l = qxeGetWindowLong (hwnd, XWL_FRAMEOBJ) to LONG_PTR l = qxeGetWindowLongPtr (hwnd, XWL_FRAMEOBJ) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
32 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
33 Ah, several bugs in new header files in w32api, required some |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
34 additions to wfun_re in make-mswin-unicode.pl |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
35 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
36 That's enough to get event-msw.c to compile, although there are some |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
37 size-related warnings. |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
38 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
39 similar problem in frame-msw.c: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
40 qxeSetClassLong (FRAME_MSWINDOWS_HANDLE (f), GCL_HICON |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
41 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
42 and in glyphs-msw.c: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
43 qxeGetWindowLong |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
44 (FRAME_MSWINDOWS_HANDLE (XFRAME (frame)), |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
45 GWL_HINSTANCE), |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
46 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
47 and scrollbar-msw.c |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
48 also |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
49 (void *) opaque = |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
50 (void *)qxeGetWindowLong (SCROLLBAR_MSW_HANDLE (sb), GWL_USERDATA); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
51 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
52 LONG_PTR opaque = |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
53 qxeGetWindowLongPtr (SCROLLBAR_MSW_HANDLE (sb), GWLP_USERDATA); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
54 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
55 and dialog-msw.c:197:31: error: ‘DWL_USER’ undeclared (first use in this function) |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
56 qxeSetWindowLong (hwnd, DWL_USER, l_param); |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
57 |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
58 Compiles all the way through, links OK, temacs runs! |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
59 Build completes |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
60 xemacs -nw works |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
61 but xemacs as such does not: |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
62 > ./xemacs |
0f2338afbabf
Minimum necessary to get started:
Henry Thompson <ht@markup.co.uk>
parents:
diff
changeset
|
63 Fatal error: assertion failed, file event-msw.c, line 4149, !NILP (Vmswindows_frame_being_created) |