Commit Graph

41 Commits (master)
 

Author SHA1 Message Date
Caleb Fontenot 8532c44862 bruh don't push the object files lol 2023-10-25 10:13:28 +07:00
Caleb Fontenot 7ed05ee32f *internal screaming* 2023-10-25 10:12:49 +07:00
NishiOwO 2e9a6053fa
add NetBSD Makefiles (#22) 2023-01-30 03:24:54 +07:00
Edmond Orignac af1c9aaaa2
Allow Mosaic to display UTF-8 encoded characters (#18)
* replace XDrawString with XmStringDraw
HTMLformat.c, HTMLtable.c: The Motif 2.x XmStringDraw can display UTF-8 characters.
gui.c, gui-dialog.c: replace XmStringCreateSimple with XmStringCreateLocalized
xresources.h: use ISO 10646-1 fonts

* Support for HTML entities with UTF-8 encoding
HTMLamp.h: more complete list of HTML 4 entities
HTMLparse.c: replace an HTML entity &#nnn; or &name; by the appropriate UTF-8 sequence.
2022-04-17 16:05:37 +07:00
TimP 6b855b30e8 Ignore <script> and <style> tags. 2021-10-21 00:26:51 +07:00
Robert Clausecker 22da6c5d7d add support to build on freebsd 2021-10-15 02:17:03 +07:00
Ian Jones 83da6a028d Fixed one instance of warning re. the use of tmpnam in gui-dialogs.c and removed small duplication of free() in readPNG.c 2021-10-15 02:12:57 +07:00
Ian Jones 2989d8e6ea More fixes and tidying after reading through libpng example.c 2021-10-15 02:12:57 +07:00
Ian Jones 3566a6a42b Fixes to work with libpng > 1.5.0. 2021-10-15 02:12:57 +07:00
Andras Tantos 294f1a2ccb Ops, missed a file: config file to support UNICOS. 2020-09-10 12:32:06 +07:00
Andras Tantos 8baf5f2e62 Modifications and bug-fixes to make Mosaic compile and run under UNICOS. (part 2)
The changes mostly revolve around:
- Type changes and casts to make the picky C-compiler happy
- Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system
- Added back old getline implementation as its missing on UNICOS
- Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
2020-09-10 12:32:06 +07:00
Andras Tantos 075b2e4911 Modifications and bug-fixes to make Mosaic compile and run under UNICOS.
The changes mostly revolve around:
- Type changes and casts to make the picky C-compiler happy
- Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system
- Added back old getline implementation as its missing on UNICOS
- Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
2020-09-10 12:32:06 +07:00
makeworld 1997c69ca6 Fix dead link 2019-08-21 09:33:32 +07:00
Robert Clausecker fd11fb7c90 Make libXmx compile without warnings
Aparently it was sufficient to include some headers and fix one type signature.
2013-05-01 19:56:15 +07:00
Robert Clausecker c8ec2458a7 Restore makefiles/Makefile.linux
I accidentially committed some stuff that wasn't meant to be
committed.
2013-03-10 02:08:53 +07:00
Robert Clausecker a28fec2b66 Merge branch 'master' of github.com:alandipert/ncsa-mosaic 2013-03-10 02:04:39 +07:00
Robert Clausecker 1446c97470 Automatically remove trailing whitespace 2013-03-10 01:59:42 +07:00
Robert Clausecker 62396c5250 Fix even more warnings in libwww2
Now that -Wall is turned on, it's possible to remove all sort of
unused / unread variables and even fix one case of a missing
initialization.
2013-03-10 01:49:39 +07:00
Alan Dipert d2b7395120 Merge pull request #7 from fuzxxl/master
Fix warnings in libwww2
2013-03-09 15:45:22 +07:00
Robert Clausecker 39b76427ae Fix some warnings in libwww2
The directory libwww2 now compiles without any warnings with gcc and clang.
2013-03-10 00:06:50 +07:00
Robert Clausecker 0fbd9595a7 Make it possible to customize warnings
The code uses some constructs that cause compilers to spit out  warnings. As
they do no harm, one should be able to turn off such warnings and enable others
if needed.
2013-03-10 00:06:00 +07:00
Alan Dipert c89d60c79b Merge pull request #6 from fuzxxl/master
Fix compilation with clang, work around double free
2013-03-09 12:35:43 +07:00
Robert Clausecker a00b1bdd48 Enable compilation with clang
Some functions that ought to return a value call return without any value. This
commit adds a dummy value to each of those returns so that clang stops
complaining.
2013-03-09 18:32:44 +07:00
Robert Clausecker 2b5f8dcd61 Workaround double free problems
The source code for handling images has a double free problem. Recent versions
of the GNU libc have a mechanism to automagically abort the program in such a
case. This causes Mosaic to crash if images are displayed.

I work around this issue by turning of automatical program abortion with a call
to mallopt().
2013-03-09 18:30:05 +07:00
Alan Dipert 1e53bc1a5f whoops 2010-03-08 17:57:54 +07:00
Alan Dipert 38fe331f96 fix deps 2010-03-08 17:55:12 +07:00
Alan Dipert 331a38581b libpng1.4 compat. thanks Francesco! 2010-03-08 19:10:01 +07:00
Alan Dipert 719d6ef4a2 more libs necessary 2010-03-08 07:39:23 +07:00
Alan Dipert c692142fda props 2010-03-08 04:39:51 +07:00
Alan Dipert 3f2f111a98 Merge branch 'master' of git@github.com:alandipert/ncsa-mosaic 2010-03-08 06:20:55 +07:00
Alan Dipert a8e7631e3b continued trimming 2010-03-08 06:20:04 +07:00
Alan Dipert 3a58755318 further trimmage 2010-03-08 06:17:26 +07:00
Alan Dipert ecefd4e617 trimming down 2010-03-08 06:16:25 +07:00
Alan Dipert be00386049 rm unused config* 2010-03-08 06:14:05 +07:00
Alan Dipert b8b200ad61 add image 2010-03-08 04:08:14 +07:00
Alan Dipert 1f8d402316 fix 2010-03-08 06:04:31 +07:00
Alan Dipert d579a3f9c8 readme 2010-03-08 06:03:50 +07:00
Alan Dipert 1f18a0abff add md readme 2010-03-08 06:02:04 +07:00
Alan Dipert b87e892c90 rename readme 2010-03-08 06:01:37 +07:00
Alan Dipert cbfec16b84 amend readme 2010-03-08 06:00:52 +07:00
Alan Dipert 29c82be0c2 init 2010-03-08 05:55:21 +07:00