]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
implement basic drag-and-drop support in qt
[lyx.git] / src / ChangeLog
1 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (workAreaDispatch): change to use
4         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5         that are no mouse related.
6
7 2003-08-05  André Pönitz  <poenitz@gmx.net>
8
9         * BufferView.[Ch]:
10         * BufferView_pimpl.[Ch]:
11         * bufferview_funcs.C:
12         * text2.C:
13         * text3.C: rip out "deep update"
14
15         * textcursor.[Ch] (last_sel_cursor): remove unused member
16
17 2003-08-04  André Pönitz  <poenitz@gmx.net>
18
19         * BufferView.[Ch]:
20         * BufferView_pimpl.[Ch]:
21         * ParagraphParameters.C:
22         * bufferview_funcs.C:
23         * lyx_cb.C:
24         * lyxfind.C:
25         * lyxfunc.C:
26         * text.C:
27         * text2.C:
28         * text3.C: replace "complicated" BufferView::update(...) calls with
29         simpler ones.
30
31         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
32
33 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
34
35         * Makefile.am (lyx_SOURCES): add paper.h
36
37 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
38
39         * Makefile.am: move things around so that both lyx-qt and
40         lyx-xforms can be built (according to --with-frontend). Then lyx
41         is a symbolic link to lyx-[firstfrontend]
42
43 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
44
45         * Always use std::endl with lyxerr
46
47 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
48
49         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
50
51 2003-08-01  André Pönitz  <poenitz@gmx.net>
52
53         * BufferView.[Ch]:
54         * BufferView_pimpl.[Ch]:
55         * lyxfunc.C:
56         * text3.C: merge BufferView::repaint() and BufferView::update()
57
58 2003-08-01  José Matos  <jamatos@lyx.org>
59
60         * buffer.[Ch]: file_format is no longer a buffer data element.
61
62 2003-08-01  André Pönitz  <poenitz@gmx.net>
63
64         * BufferView.C:
65         * lyxtext.h:
66         * text.C:
67         * text2.C: make redoParagraph more independent of current cursor
68
69         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
70         * text.C:
71         * text2.C: remove unneeded members
72
73 2003-07-30  André Pönitz  <poenitz@gmx.net>
74
75         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
76
77         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
78           create a single function...
79
80         * paragraph_funcs.C (moveItem): ... here.
81
82         * text.C:
83           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
84
85 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * LColor.[Ch]: Add comment and greyedout logical colors.
88
89 2003-07-30  André Pönitz  <poenitz@gmx.net>
90
91         * tabular.C: don't use Assert too heavily. This crashes where it
92           shouldn't
93
94 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
95
96         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
97         is disabled (bug 1232)
98
99 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * factory.C: limited 'arg' scope
102
103 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * factory.C: fixed Note submenu issues
106
107 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * factory.C: submenu for Note/Comment/Greyedout
110
111 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
112
113         * lyx_main.C (LyX):
114         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
115
116 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * LaTeXFeatures.C:
119         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
120         greyedout. Patch provided by Jürgen Spitzmüller.
121
122 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * kbmap.C (read): fix error message when reading bind files
125
126 2003-07-29  Angus Leeming  <leeming@lyx.org>
127
128         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
129         certainly does not do what it purports to do. I am doing it, and
130         us, a favour by killing it.
131
132 2003-07-28  José Matos  <jamatos@lyx.org>
133
134         * buffer.C (readBody, do_writeFile):
135         * paragraph.C(readParagraph): \end_document replaces \the_end.
136
137 2003-07-29  André Pönitz  <poenitz@gmx.net>
138
139         * BufferView.[Ch]:
140         * BufferView_pimpl.[Ch]:
141         * lyxfunc.C:
142         * text2.C:
143         * text3.C:
144         * textcursor.[Ch]: remove toggleToggle & Co
145
146 2003-07-28  José Matos  <jamatos@fep.up.pt>
147
148         * buffer.C (readParagraph):
149         * params_func (readParToken, readParagraph):
150         * paragraph.C (write): \layout -> \begin_layout.
151
152 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
153
154         * lyxlex_pimpl.C (setFile): clean up slightly.
155
156         * bufferparams.h: add compressed var
157
158         * buffer_funcs.C (readFile): adjust for LyXLex change
159         (newFile): ditto + simplify
160
161         * buffer.C (writeFile): handle writing of compressed files
162
163         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
164         Check if the file is compressed and set a bufferparm if so.
165
166         * Makefile.am (lyx_LDADD): remove explicit -lz
167
168 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
171         makeDocBookFile): put the real LyX version in the first line of
172         the file
173
174         * version.h:
175         * version.C.in: remove lyx_docversion
176
177         * tabular.C (write_attribute): add a template-based version to
178         write enums properly
179
180 2003-07-28  André Pönitz  <poenitz@gmx.net>
181
182         * lyxtext.h:
183         * text.C:
184         * text2.C:
185         * text3.C: use doubles again for x-coordinates. They are needed.
186
187 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
188
189         * messages.C (getLocaleDir): use lyx_localedir()
190
191         * lyxlex_pimpl.C (setFile): compress stuff
192
193         * buffer.C (writeFile): add some compression stuff
194         (do_writeFile): new func, dont call expliti close... will this
195         breake anything?
196
197         * Makefile.am (lyx_LDADD): add -lz
198
199 2003-07-28  José Matos  <jamatos@fep.up.pt>
200
201         * buffer.C: increment file format.
202         * paragraph_funcs (readParagraph, readParToken):
203         * paragraph.C (readParagraph): add \end_layout.
204
205 2003-07-27  Angus Leeming  <leeming@lyx.org>
206
207         * Makefile.am: remove special casing for configure-time setting of
208         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
209
210         * lyx_main.C (init): remove all Jean-Marc's magic setting of
211         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
212
213 2003-07-26  André Pönitz  <poenitz@gmx.net>
214
215         * paragraph_func.[Ch]:
216         * paragraph.C (realizeFont): inline it whereever it is used
217
218         * rowpainter.C:
219         * text.C:
220         * text2.C:
221         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
222
223
224 2003-07-26  André Pönitz  <poenitz@gmx.net>
225
226         *       lyxtext.h:
227         * text.C:
228         * text2.C: get rid of LyXText::need_break_row
229
230 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
231
232         * toc.[Ch]: put namespace toc inside namespace lyx
233
234         * MenuBackend.C (expandToc2): adjust for lyx::toc
235         (expandToc): ditto
236
237         * lyxfunc.C (dispatch): adjust for lyx::find
238
239         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
240         lyx::find instead. Reorganize a bit.
241         (LyXReplace): rename to replace
242         (LyXFind): rename to find
243
244         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
245         (dispatch): ditto
246
247 2003-07-26  André Pönitz  <poenitz@gmx.net>
248
249         * text.C (setHeightOfRow): restrict scope of temporary variable
250
251         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
252           code (never has been used?)
253
254 2003-07-27  Asger Alstrup  <alstrup@local>
255
256         * text.C (fill): Optimise algorithm to exploit that we can reuse
257         the LyXFont for many characters.
258         (setHeightOfRow): Same thing.
259         (rowBreakPoint): Same thing.
260
261 2003-07-26  Asger Alstrup  <alstrup@local>
262
263         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
264
265         * text.C (singleWidth): Spurious font copying in hot-spot
266         singleWidth avoided. Reorder tests for arabic for efficiency.
267
268         * text.C (fill): handle empty paragraphs better.
269
270 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * ispell.C:
273         * encoding.h: add includes
274
275         * lyxrc.C: remove reading of bind files
276
277         * lyx_main.C (init): setup bindings and menus only if we have a
278         gui.
279
280         * kbmap.C (read): new method. Do the actual reading of bind
281         files.
282
283         * converter.C (dvipdfm_options):
284         * bufferparams.C:
285         * lyxrc.C (read):
286         (output): adapt PAPER_* enums.
287
288         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
289
290         * bufferparams.h: remove paper-related enums from there
291
292         * paper.h: New file. A trivial header file to hold paper-related
293         enums. It should later expand to contain many paper-related
294         horrors access.
295
296         * lyxrc.C: declare extern displayTranslator
297
298 2003-07-27  José Matos  <jamatos@fep.up.pt>
299
300         * tabular.[Ch] (linuxdoc): add support for tables and figures
301         (linuxdoc).
302
303 2003-07-27  José Matos  <jamatos@fep.up.pt>
304
305         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
306         consistency in both functions.
307         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
308
309 2003-07-26  Asger Alstrup  <alstrup@local>
310
311         * rowpainter.C (paintRows): Change algorithm to work directly on
312         the insets rather than asking every character in the document
313         whether its an inset.
314
315 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
316
317         * buffer.C (openFileWrite): factorize some code
318
319 2003-07-26  Angus Leeming  <leeming@lyx.org>
320
321         * lyx_cb.C:
322         * lyx_main.[Ch]: replace occurances of system_tempdir with
323         os::getTmpDir().
324
325 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
326
327         * rename Inset to InsetOld
328
329 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
330
331         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
332         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
333         which I think is a bit clearer. EDIT is gone, since it was
334         premature optimisation, and broken for mathed anyway.
335         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
336         with cursor positioning in insets as well (math insets still do not
337         work, but that's a different story anyway.) It mysteriously
338         crashes sometimes with undo in the first paragraph, but I'm fairly
339         confident that this is a compiler bug.
340
341 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
342
343         * paragraph.C (Paragraph): adjust for new clone return type
344         (operator==): ditto
345         (copyIntoMinibuffer): ditto
346
347 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
348
349         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
350         by not having a special case, and always doing a full rebreak of
351         the document after undo.
352
353 2003-07-23  Angus Leeming  <leeming@lyx.org>
354
355         * factory.C (createInset): InsetExternal::setParams now takes a
356         Buffer const * arg.
357
358 2003-07-23  Angus Leeming  <leeming@lyx.org>
359
360         * factory.C (createInset): changed interface to the external and
361         graphics mailers' string2params functions.
362
363 2003-07-23  Angus Leeming  <leeming@lyx.org>
364
365         * factory.C (createInset): pass a
366         Buffer const * parameter to InsetExternalMailer's string2params.
367
368 2003-07-22  John Levon  <levon@movementarian.org>
369
370         * Thesaurus.h: include the right aiksaurus header
371
372 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * MenuBackend.C (expand): check menu shortcuts unconditionally
375
376 2003-07-21  Angus Leeming  <leeming@lyx.org>
377
378         * factory.C (createInset): pass a
379         buffer_path parameter to InsetGraphicsMailer's string2params.
380
381 2003-07-21  Angus Leeming  <leeming@lyx.org>
382
383         * BufferView_pimpl.C (buffer):
384         * buffer.C (d-tor):
385         * lyx_main.C (LyX):
386         * lyxfunc.C (dispatch):
387         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
388         rather than the grfx shortcut.
389
390 2003-07-21  André Pönitz  <poenitz@gmx.net>
391
392         * rowpainter.C: remove unused variables
393
394         * tabular_funcs.C:
395         * tabular_funcs.h: move to tabular.C
396         * Makefile.am: adjust
397
398         * tabular.[Ch]: basic optical cleaning
399
400         * author.h: pass references, not values
401
402 2003-07-18  André Pönitz  <poenitz@gmx.net>
403
404         * lyxtext.h:
405         * metricsinfo.C:
406         * metricsinfo.h:
407         * rowpainter.C:
408         * text.C:
409         * text2.C:
410         * text3.C: two-phase drawing for InsetText and InsetTabular
411         some float -> int changes.
412
413 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
414
415         * lyx_main.C: fix the fix
416
417 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
418
419         * lyx_main.C: fix a crash in batch mode if no files specified
420         * converter.C: ws
421
422 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
423
424         * format.[Ch] (papersize): moved to BufferParams
425         * converter.[Ch] (dvips_options): moved to BufferParams
426         (dvipdfm_options): moved to anon namespace
427         * bufferparams.[Ch]: added above functions.
428
429 2003-07-17  André Pönitz  <poenitz@gmx.net>
430
431         * lyxtext.h:
432         * rowpainter.C:
433         * text2.C: don't call inset->update() anymore
434
435         * metricsinfo.[Ch]: add convenience constructor
436
437 2003-07-16  André Pönitz  <poenitz@gmx.net>
438
439         * lyxcursor.[Ch]:
440         * lyxfunc.[Ch]:
441         * text.C:
442         * text2.C: replace the LyXCursor::irow_ member with
443          on-demand computation of the value
444
445 2003-07-16  John Levon  <levon@movementarian.org>
446
447         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
448
449 2003-07-15  André Pönitz  <poenitz@gmx.net>
450
451         * text.C:
452         * text2.C: remove no more needed refresh_row
453
454 2003-07-15  André Pönitz  <poenitz@gmx.net>
455
456         * lyxtext.h:
457         * rowpainter.C:
458         * text2.C:
459         * text3.C: refresh_status tristate -> need_update bool
460
461 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
462
463         * lyxtext.h (init): remove reinit argument (act as if always true)
464         * text2.C: adjust to that
465
466 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
467
468         * bufferview_funcs.[Ch]: introduce function replaceSelection()
469         * text3.C: use it to delete selections in some cases
470         (bugs 441, 673, 702, 954).
471
472 2003-07-14  André Pönitz  <poenitz@gmx.net>
473
474         * rowpainter.[Ch]: reduce interface
475
476 2003-07-14  André Pönitz  <poenitz@gmx.net>
477
478         * BufferView_pimpl.C:
479         * text2.C: adjust after removing unused BufferView * argument
480
481 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
482
483         * text2.C (init): fix a crash fired on resize
484
485 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
486
487         * buffer.[Ch]: added new closing signal
488         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
489         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
490         BufferView::Pimpl via the closing the signal
491
492 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
493
494         * buffer.[Ch]: take out all bv-related from buffer
495         * BufferView.C:
496         * BufferView_pimpl.[Ch]: connect to new signals
497         * CutAndPaste.C: removed useless asserts
498         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
499         * lyxvc.[Ch]:
500         * vc-backend.[Ch]:
501         * lyxfunc.C: moved view-related funciontality from vc here
502         * paragraph.C: removed outdated comments
503         * text.C: ws
504
505 2003-07-10  André Pönitz  <poenitz@gmx.net>
506
507         * BufferView_pimpl.C:
508         * tabular.h:
509         * tabular_funcs.C:
510         * text.C:
511         * text2.C: remove InsetText::InnerCache, clean up consequences
512
513 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
514
515         * ispell.C: fix two typos in error messages
516
517 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * Extend Note inset to other forms of annotation like Comment
520         and Greyedout. Right button click gives dialog.
521
522         Files modified or added (+):
523
524         * insetnote.[Ch]
525         * FormNote.[Ch]      +
526         * ControlNote.[Ch]   +
527         * form_note.fd       +
528         * Makefile.am in frontends/xforms, frontends/xforms/forms,
529         frontends/controllers
530         * xforms/Dialogs.C
531         * factory.C
532
533 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
534
535         * aspell.C: add missing namespace lyx::support
536
537 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
538
539         * BufferView.[Ch] (newFile): Add
540         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
541         * LaTeX.[Ch] (message): added this signal and use it
542         * buffer.[Ch] (busy, message): added these signals and use them
543         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
544         * converter.C:
545         * exporter.C:
546         * format.C:
547         * importer.C: use buffer signals instead of direct bv calling
548         * lyx_cb.[Ch] (ShowMessage): removed
549         * lyx_main.C:
550         * lyxfunc.C:
551         * paragraph_funcs.C:
552         * text2.C: use buffer signals
553
554 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * introduce namespace lyx::graphics
557
558 2003-07-02  André Pönitz  <poenitz@gmx.net>
559
560         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
561
562 2003-07-01  André Pönitz  <poenitz@gmx.net>
563
564         * text.C:
565         * text2.C:
566         * text3.C:
567         * text_funcs.[Ch]:
568         * textcursor.h:
569         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
570           text*.C to text_func.C
571
572 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
573
574         * introduce namespace lyx::support
575
576 2003-06-30  André Pönitz  <poenitz@gmx.net>
577
578         * Chktex.C:
579         * funcrequest.C:
580         * lyxtext.h:
581         * text.C: re-enable --with-included-string
582
583 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
584
585         * textcursor.C: add <config.h>
586
587         * text.C (getWord): remove const from word_location arg
588
589         * lyxvc.C (getLogFile): fix const type order
590
591         * lyxtext.h: remove const from word_location arg, add arg name
592
593         * lyxlayout.h: currect type on labeltype.
594
595         * importer.C: correct \file
596
597         * converter.C (intToFormat): use std:: on ret val, ws changes
598
599         * bufferlist.h: correct \file
600
601         * buffer.C (makeLinuxDocFile): fix const type order
602         (makeDocBookFile): ditto
603         (fillWithBibKeys): use std:: on stdlib args.
604
605         * CutAndPaste.C: fix authors.
606         (availableSelections): use std:: on return vector
607
608 2003-06-27  André Pönitz  <poenitz@gmx.net>
609
610         * BufferView_pimpl.C:
611         * bufferview_funcs.C:
612         * lyxcursor.C:
613         * lyxcursor.h:
614         * lyxfunc.C:
615         * lyxtext.h:
616         * rowpainter.C:
617         * text.C:
618         * text2.C:
619         * text3.C: remove LyXCursor::row_ member
620
621         * lyxtext.h:
622         * text.C: rename fullRebreak() to partialRebreak() and implement
623           a fullRebreak() that really bereks fully
624
625         * textcursor.h: new struct for cursor-related data
626
627 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
628
629         * lyx_main.C (LyX): get full path of document loaded on the
630         command line
631
632 2003-06-26  André Pönitz  <poenitz@gmx.net>
633
634         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
635           remove unused/broken operator>,<,>=.
636
637         *       text.C: remove only use of broken operator<= in an Assert().
638
639 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
640
641         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
642         moved errorlist_.clear to showErrorList
643
644 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
645
646         * converter.C (scanLog, runLaTeX):
647         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
648         move the bv->showErrorList call to the callers
649         * lyxfunc.C: i.e. here...
650         * text2.C: and here
651         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
652         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
653         namespace, the second to...
654         * buffer_funcs (BufferFormat, parseErrors): added
655         * errorlist.C (ErrorList(TeXErrors const &)): removed
656
657 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * ToolbarBackend.C (getIcon): complain when icon cannot be found
660
661 2003-06-24  "Garst R. Reese" <reese@isn.net>
662
663         * debug.C: fix typo
664
665 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
668
669         * version.C.in: change docversion to 1.4
670
671 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
672
673         * buffer.C: fix a bug just introduced
674
675 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
676
677         * buffer.[Ch]: added the parseError signal and use it, removed
678         sgmlError
679         * BufferView.[Ch] (addError): moved to ...
680         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
681         to the Buffer::parseError signal to catch (guess what) parse errors
682         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
683
684 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
685
686         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
687         ability to create a buffer and to return an existing one from
688         the list. Moved these functions to...
689         * buffer_funcs.[Ch]: added
690         * BufferView.[Ch] (loadLyXFile): added
691         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
692         job removed from bufferlist::loadLyXFile.
693         * buffer.C (setReadOnly): make it work without view
694         (i.e added an if (users))
695
696 2003-06-19  Angus Leeming  <leeming@lyx.org>
697
698         * lfuns.h:
699         * LyXAction.C (init):
700         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
701         with LFUN_DIALOG_SHOW <name> <data>.
702
703 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * CutAndPaste.C (availableSelections): small compilation fix for
706         ancient (gcc 2.9x) compilers
707
708 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * text3.C (cursorNext): add tmp var
711
712         * text2.C (updateCounters): for function calling out of for clause
713         (replaceSelectionWithString): ditto
714         (insertStringAsParagraphs): ditto
715         (getColumnNearX): add tmp var
716         (setCursorFromCoordinates): add tmp var
717         (cursorDownParagraph): add tmp var
718         (deleteEmptyParagraphMechanism): add tmp var
719
720         * text.C (insertChar): add tmp var
721
722         * rowpainter.C (paintDepthBar): add tmp var
723
724         * CutAndPaste.C (availableSelections): potentially check all
725         paragraphs in a cut to fill the shown strings.
726
727 2003-06-18  André Pönitz  <poenitz@gmx.net>
728
729         * kbmap.[Ch]: use vector<> instead of list<>
730
731 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
732
733         * text3.C (dispatch): handle arg to LFUN_PASTE, call
734         pasteSelection with index
735
736         * text2.C (pasteSelection): modify, call pasteSelection with index
737
738         * paragraph.C (asString): reimplement version with no interval to
739         call the one with interval.
740
741         * lyxtext.h: add index arg to pasteSelection
742
743         * MenuBackend.C (MenuItem): handle PasteRecent
744         (Menu::read::Menutags): add md_pasterecent
745         (read): handle it
746         (expandPasteRecent): new function
747         (expand): use it
748
749         * MenuBackend.h: add PasteRecent to MenuItem::Kind
750
751         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
752         the limited stack
753         (availableSelections): new function
754
755 2003-06-17  Angus Leeming  <leeming@lyx.org>
756
757         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
758
759 2003-06-17  Angus Leeming  <leeming@lyx.org>
760
761         * lfuns.h:
762         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
763
764         * lyxfunc.C (dispatch): invoke it.
765
766 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * iterators.C (operator++, ParPosition): reintroduce some
769         const_cast for the benefit of older compilers.
770
771 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * text3.C (dispatch): do not modify clipboard when doing
774         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
775         LFUN_DELETE_SKIP on a selection selection
776
777 2003-06-16  André Pönitz  <poenitz@gmx.net>
778
779         * BufferView.C:
780         * buffer.C:
781         * buffer.h:
782         * paragraph.C:
783         * tabular.[Ch]: IU of clone() and getLabelList();
784
785 2003-06-13  André Pönitz  <poenitz@gmx.net>
786
787         * tabular.h: compactification
788
789 2003-06-12  André Pönitz  <poenitz@gmx.net>
790
791         * tabular.C:
792         * tabular.h:
793         * tabular_funcs.h: some renaming plus whitespace
794
795 2003-06-12  André Pönitz  <poenitz@gmx.net>
796
797         * BufferView.C:
798         * BufferView_pimpl.C:
799         * CutAndPaste.C:
800         * buffer.C:
801         * iterators.[Ch]:
802         * lyxfunc.C:
803         * text.C:
804         * toc.C: Return a Paragraph & for ParIterator::operator*()
805
806 2003-06-11  John Levon  <levon@movementarian.org>
807
808         * lyx_main.C:
809         * ToolbarBackend.h:
810         * ToolbarBackend.C: add "Toolbars" section and
811         put the flags there
812
813 2003-06-10  Angus Leeming  <leeming@lyx.org>
814
815         * lfuns.h:
816         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
817
818         * lyxfunc.C (dispatch): invoke it.
819
820 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
821
822         * main.C: protect <ios> with HAVE_IOS
823         (main): protect sync_with_stdio with HAVE_IOS
824
825 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
826
827         * text2.C (cutSelection): adjust
828         (pasteSelection): adjust
829
830         * messages.C: handle get of empty string
831
832         * main.C (main): use sync_with_stdio(false)
833
834         * lyxfunc.C (dispatch): adjust
835
836         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
837         (WriteAs): remove unneeded BufferView arg.
838
839         * bufferparams.h: use correct types on papersize, papersize2 and
840         paperpackage.
841
842         * bufferparams.C (readToken): adjust for type
843         (writeLaTeX): add missing cases to switch.
844
845         * bufferlist.C (quitWriteBuffer): adjust
846         (close): adjust
847
848         * buffer.C (asciiParagraph): remove some commented code.
849
850         * CutAndPaste.C: remove current_view extern variable.
851         (cutSelection): add BufferParams arg.
852         (eraseSelection): add BufferParams arg.
853         (pasteSelection): add Buffer const & arg
854
855 2003-06-07  John Levon  <levon@movementarian.org>
856
857         * buffer.C:
858         * paragraph_funcs.C:
859         * paragraph_pimpl.C:
860         * text.C:
861         * text2.C:
862         * paragraph.h:
863         * paragraph.C: allow InsetERT to freely space lines,
864         and some consolidation of code
865
866 2003-06-06  José Matos  <jamatos@fep.up.pt>
867
868         * buffer.C (makeDocBookFile): fix bug #821
869
870 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
871
872         * BufferView_pimpl.C (dispatch): use Dialogs::visible
873
874 2003-06-04  Angus Leeming  <leeming@lyx.org>
875
876         * buffer.C: bump format to 224.
877
878 2003-06-05  André Pönitz  <poenitz@gmx.net>
879
880         * text2.C (redoParagraphs): remove two const_cast<>
881
882 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
883
884         * ParagraphList.h: remove last remnants of NO_STD_LIST
885
886 2003-06-03  Angus Leeming  <leeming@lyx.org>
887
888         * factory.C (createInset): small change to the way InsetExternal's params
889         are set.
890
891 2003-06-04  André Pönitz  <poenitz@gmx.net>
892
893         * buffer.h: use Undo directly instead of shared_ptr<Undo>
894
895         * paragraph_pimpl.h:
896         * paragraph.[Ch]: some Inset -> UpdatableInset changes
897
898         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
899
900         * undo_funcs.C: make some simple cases of undo work again
901
902 2003-06-03  John Levon  <levon@movementarian.org>
903
904         * ispell.C: HPUX doesn't have sys/select.h
905         (from Albert Chin)
906
907 2003-06-03  John Levon  <levon@movementarian.org>
908
909         * CutAndPaste.C: update tabular and include inset
910         buffer references
911
912         * buffer.h:
913         * paragraph.h:
914         * paragraph.C: remove owningBuffer(), don't pass Buffer
915         to clone()
916
917         * factory.C: insetGraphicsParams changed
918
919 2003-06-02  John Levon  <levon@movementarian.org>
920
921         * LyXAction.C:
922         * factory.C:
923         * lfuns.h:
924         * lyxfunc.C:
925         * text3.C: remove insetparent
926
927 2003-06-02  John Levon  <levon@movementarian.org>
928
929         * buffer.h:
930         * buffer.C: fix inset_iterator.end(), move out of line
931         (bug 1149)
932
933 2003-06-01  John Levon  <levon@movementarian.org>
934
935         * text3.C: use a proper cut/paste when doing inset
936         insert (from Jürgen Spitzmüller)
937
938 2003-06-01  John Levon  <levon@movementarian.org>
939
940         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
941
942 2003-05-30  André Pönitz  <poenitz@gmx.net>
943
944         * rowpainter.C: unify second drawing phase
945
946 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
947
948         * trans_mgr.C: remove one case of current_view
949
950         * text2.C (cursorBottom): delete NO_STD_LIST stuff
951
952         * paragraph_funcs.h: remove paragraph.h include
953
954         * paragraph.h: delete NO_STD_LIST stuff
955
956         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
957
958         * buffer.h: remove paragraph.h include
959
960         * ParagraphList.C: delete file
961
962         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
963
964         * toc.C (getTocList): adjust
965
966         * paragraph_pimpl.C (validate): adjust
967
968         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
969
970         * paragraph.C (Paragraph): adjust
971         (getPositionOfInset): use const_iterator, adjust
972         (bibitem): use const_iterator, adjust
973         (setInsetOwner): adjust
974
975         * iterators.C (operator++): adjust
976
977         * InsetList.[Ch]: Replace selfmade iterator with standard
978         vector::iterator also introduce const_iterator. Remove getPos,
979         getInset and setInset from InsetTable. Adjust accordingly.
980
981         * BufferView.C (lockInset): adjust
982         (ChangeInsets): adjust
983
984         * tabular.[Ch]: delete commented same_id functions
985
986 2003-05-28  John Levon  <levon@movementarian.org>
987
988         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
989
990 2003-05-28  André Pönitz  <poenitz@gmx.net>
991
992         * metricsinfo.[Ch]: remove 'fullredraw' member
993
994 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
995
996         * lyxtextclass.C (operator): remove caching.
997
998 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * text3.C: adjust
1001
1002         * text2.C (cursorBottom): adjust
1003         (setCounter): use ParagraphList::find, adjust
1004
1005         * text.C (workWidth): use ParagraphList::find, adjust
1006
1007         * lyxcursor.C (LyXCursor): adjust
1008
1009         * buffer.C (inset_iterator): adjust
1010
1011         * ParagraphList.h: make iterator(value_type) private, make
1012         ParagraphList a friend of iterator.
1013
1014         * ParagraphList.C (find): new function
1015
1016         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1017
1018 2003-05-27  André Pönitz  <poenitz@gmx.net>
1019
1020         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1021
1022 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1025
1026 2003-05-26  John Levon  <levon@movementarian.org>
1027
1028         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1029
1030 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * remove same_id from function signatures, adjust.
1033
1034 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1035
1036         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1037
1038         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1039
1040         * paragraph.C (Paragraph): get rid of same_ids parameter
1041
1042         * ParagraphList.C (insert): adjust
1043         (push_back): adjust
1044
1045 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1046
1047         * paragraph_funcs.C (breakParagraph): adjust
1048         (breakParagraphConservative): adjust
1049
1050         * buffer.C (readParagraph): adjust
1051
1052         * ParagraphList.C (insert): take a reference instead of a pointer
1053         (insert): adjust
1054
1055         * paragraph.[Ch] (id): new function
1056
1057         * bufferlist.C (newFile): adjust
1058
1059         * ParagraphList.C (ParagraphList): adjust
1060         (assign): adjust
1061         (push_back): take a reference instead of a pointer.
1062
1063         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1064
1065         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1066         instead.
1067
1068         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1069         set else use old code.
1070
1071         * ParagraphList.C: remove all NO_NEXT code and only compile this
1072         code of NO_STD_LIST is set.
1073
1074 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * BufferView_pimpl.C:
1077         * TextCache.C:
1078         * TextCache.h:
1079         * bufferlist.C:
1080         * errorlist.h:
1081         * format.C:
1082         * format.h:
1083         * graph.C:
1084         * lyxfunc.C:
1085         * lyxrc.C:
1086         * graphics/GraphicsConverter.C:
1087         * graphics/PreviewLoader.C: header adjustment
1088
1089 2003-05-23  Angus Leeming  <leeming@lyx.org>
1090
1091         * LaTeXFeatures.[Ch] (useBabel): new method.
1092         * bufferparams.C (writeLaTeX): use it.
1093
1094 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1095
1096         * ParagraphList.h (set): remove unused function.
1097
1098 2003-05-23  André Pönitz  <poenitz@gmx.net>
1099
1100         * BufferView.C:
1101         * BufferView_pimpl.C:
1102         * buffer.C:
1103         * buffer.h:
1104         * lyxfunc.C:
1105         * undo_funcs.C: setUndo reworked
1106
1107         * iterators.[Ch]: add access to topmost ParagraphList
1108
1109         * lyxtext.[Ch] (workWidth): add a const
1110
1111 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1112
1113         * texrow.[Ch] (increasePos): remove function
1114         * exporter.C (export): removed unused var and outdated comment
1115
1116 2003-05-23  Angus Leeming  <leeming@lyx.org>
1117
1118         * latexrunparams.h: rename fragile as moving_arg.
1119         * paragraph.C (simpleTeXOnePar): ditto.
1120         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1121
1122 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1125         (createUndo): ditto
1126         (textUndoOrRedo): comment out a currently unused var.
1127
1128         * paragraph.h (NO_NEXT): enable NO_NEXT
1129
1130         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1131
1132         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1133
1134         * exporter.C (Export): adjust for removeAutoInsets removal.
1135
1136         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1137
1138         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1139
1140         * BufferView.[Ch] (removeAutoInsets): delete function
1141
1142 2003-05-22  Angus Leeming  <leeming@lyx.org>
1143
1144         * latexrunparams.h: add a free_spacing variable.
1145
1146         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1147         to pass moving_arg, as the data is stored in runparams.fragile.
1148
1149         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1150         to Inset::latexOptional or to simpleTeXOnePar.
1151
1152         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1153         free_spacing arg to Inset::latexOptional.
1154
1155         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1156         free_spacing arg.
1157
1158 2003-05-22  Angus Leeming  <leeming@lyx.org>
1159
1160         * latexrunparams.h: add fragile and use_babel variables.
1161
1162         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1163         * buffer.C (makeLaTeXFile): store this returned value in
1164         runparams.use_babel, thus passing it to the inset::latex methods.
1165
1166         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1167         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1168
1169         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1170         longer has a fragile arg, as it is stored in runparams.fragile.
1171
1172         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1173         moving_arg parameter as the data is stored in runparams.fragile.
1174
1175         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1176         a fragile parameter as the data is stored in runparams.fragile.
1177
1178 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1181
1182 2003-05-22  Angus Leeming  <leeming@lyx.org>
1183
1184         * latexrunparams.h: add a 'bool nice' which defaults to false.
1185
1186         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1187         now encapsulated within runparams.
1188
1189         * bufferlist.C (updateIncludedTeXfiles):
1190         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1191
1192 2003-05-22  Angus Leeming  <leeming@lyx.org>
1193
1194         * latexrunparams.h: new file containing struct LatexRunParams.
1195         * Makefile.am: add new file.
1196
1197         * LaTeX.[Ch] (c-tor, run):
1198         * buffer.[Ch] (makeLaTeXFile):
1199         * bufferlist.[Ch] (updateIncludedTeXfiles):
1200         * converter.C (convert, scanLog):
1201         * converter.[Ch] (runLaTeX):
1202         * exporter.C (Export):
1203         * paragraph.[Ch] (simpleTeXOnePar):
1204         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1205         * paragraph_funcs.[Ch] (latexParagraphs):
1206         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1207         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1208         pass around a LatexRunParams parameter.
1209
1210 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * paragraph.[Ch]: remove unused constructor
1213
1214         * ParagraphList.C (erase): new function, taking two iterators
1215
1216 2003-05-22  André Pönitz  <poenitz@gmx.net>
1217
1218         * undo_funcs.C: remove duplicated code
1219
1220         * iterator.[Ch]: operator=
1221
1222 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1223
1224         * tabular.C (SetMultiColumn): ws changes
1225
1226         * rowpainter.C (paintFirst): get rid of a ->previous
1227
1228         * lyx_cb.C (getPossibleLabel): parlist simplification
1229
1230         * BufferView.C (ChangeInsets): simplify slightly.
1231
1232 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1233
1234         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1235         * lfuns.h: new LFUN_SPACE
1236         * lyxfunc.C: protected space has a new lfun
1237         * paragraph_funcs.C: read new space insets
1238         * text3.C:
1239         * factory.C: handle new space insets
1240
1241 2003-05-22  André Pönitz  <poenitz@gmx.net>
1242
1243         * BufferView.C:
1244         * BufferView_pimpl.C:
1245         * buffer.[Ch]:
1246         * lyxfunc.C:
1247         * undo_funcs.C: return a ParIterator from getParFromID.
1248
1249         * iterators.[Ch]: add two const's
1250
1251 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1252
1253         * toc.C (getTocList): adjust
1254
1255         * iterators.[Ch]: rework for parlist
1256
1257         * buffer.C (par_iterator_begin): adjust
1258         (par_iterator_end): adjust
1259
1260         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1261
1262         * BufferView.C (removeAutoInsets): adjust
1263         (ChangeInsets): adjust
1264
1265 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1266
1267         * text.C (top_y): fix bug 1110
1268
1269 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1270
1271         * errorlist.[Ch]: added
1272         * buffer.C:
1273         * BufferView.[Ch]:
1274         * BufferView_pimpl.C:
1275         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1276         instead
1277
1278 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * Makefile.am: ensure that lyx is relinked upon changes to the
1281         various "convenience" libs.
1282
1283 2003-05-20  Angus Leeming  <leeming@lyx.org>
1284
1285         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1286         files are compiled in alphabetical order again.
1287
1288         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1289
1290 2003-05-19  Angus Leeming  <leeming@lyx.org>
1291
1292         * gettext.[Ch]: remove "char const * _(char const *)".
1293
1294 2003-05-19  André Pönitz  <poenitz@gmx.net>
1295
1296         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1297
1298         * Makefile.am:
1299         * BufferView.C:
1300         * DepTable.h:
1301         * LaTeXFeatures.C:
1302         * buffer.C:
1303         * lyxfont.C:
1304         * lyxlex.h:
1305         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1306
1307 2003-05-19  André Pönitz  <poenitz@gmx.net>
1308
1309         * buffer.C:
1310         * lyxlayout.[Ch]:
1311         * lyxtextclass.[Ch]:
1312         * paragraph.C:
1313         * paragraph_funcs.[Ch]:
1314         * text2.C:
1315         * text3.C: more insetenv work
1316
1317 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1318
1319         * ParagraphParameters.C (params2string): small bug fixed
1320
1321 2003-05-16  André Pönitz  <poenitz@gmx.net>
1322
1323         * debug.C:
1324         * bufferview_funcs.C: patch from Kornel Benko to prevent
1325           crash when _(...) is called twice in a statement
1326
1327 2003-05-16  André Pönitz  <poenitz@gmx.net>
1328
1329         * BufferView.C:
1330         * lyxfunc.C:
1331         * text.C:
1332         * text2.C:
1333         * text3.C:
1334         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1335
1336 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1337
1338         * lyx_main.C (init): remove spurious static_cast
1339
1340 2003-05-14  André Pönitz  <poenitz@gmx.net>
1341
1342         * BufferView.C: fix format string
1343
1344 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1345
1346         * BufferView.[Ch] (insertErrors): removed
1347         * BufferView.[Ch] (showErrorList): added
1348         * buffer.C (runChkTeX):
1349         * converter.C (scanLog): call showErrorList instead of inserterrors
1350
1351 2003-05-13  André Pönitz  <poenitz@gmx.net>
1352
1353         * BufferView_pimpl.C:
1354         * buffer.C:
1355         * bufferview_func.C:
1356         * MenuBackend.C:
1357         * lyxfunc.C:
1358         * lyxrc.C:
1359         * tex-accent.C:
1360         * text3.C:
1361         * toc.C:
1362         * tabular_funcs.h: tostr() from its own header
1363
1364         * ParagraphParameters.C:
1365         * ToolbarBackend.C:
1366         * bufferparams.C:
1367         * format.C:
1368         * lyxlex_pimpl.C:
1369         * text3.C: STRCONV()
1370
1371 2003-05-12  André Pönitz  <poenitz@gmx.net>
1372
1373         * BufferView.C:
1374         * BufferView_pimpl.C:
1375         * CutAndPaste.C:
1376         * LaTeX.C:
1377         * LaTeXFeatures.C:
1378         * ParagraphParameters.C:
1379         * buffer.C:
1380         * bufferlist.C:
1381         * bufferparams.C:
1382         * bufferview_funcs.C:
1383         * converter.C:
1384         * counters.C:
1385         * debug.C:
1386         * exporter.C:
1387         * format.C:
1388         * importer.C:
1389         * lyx_cb.C:
1390         * lyx_main.C:
1391         * lyxfont.C:
1392         * lyxfunc.C:
1393         * lyxvc.C:
1394         * paragraph.C:
1395         * paragraph_funcs.C:
1396         * tabular.C:
1397         * tabular_funcs.C:
1398         * text2.C:
1399         * text3.C:  boost::format -> bformat  all over the place
1400
1401
1402 2003-05-09  André Pönitz  <poenitz@gmx.net>
1403
1404         * LColor.[Ch]: Pimpl the #include <map> away
1405
1406 2003-05-09  John Levon  <levon@movementarian.org>
1407
1408         * bufferlist.C: never remove emergency saves
1409
1410 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * Makefile.am: better lib building
1413
1414 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1415
1416         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1417         instead.
1418         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1419         (simpleTeXSpecialChars): adjust
1420         (simpleTeXSpecialChars): adjust
1421         * paragraph.C (simpleTeXOnePar): adjust
1422         * buffer.C (makeLaTeXFile): adjust
1423
1424         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1425
1426         * text2.C (changeDepth): parlist cleanup
1427         (getColumnNearX): ditto
1428
1429         * rowpainter.C (getLabelFont): parlist cleanup
1430
1431         * bufferlist.C (newFile): parlist cleanup
1432
1433         * CutAndPaste.C (eraseSelection): parlist cleanup
1434
1435         * BufferView_pimpl.C (trackChanges): parlist cleanup
1436         (dispatch): ditto
1437
1438         * BufferView.C (lockInset): parlist cleanup.
1439         (ChangeInsets): ditto
1440
1441 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1442
1443         * CutAndPaste.h: Update file header.
1444
1445         * CutAndPaste.C: Update file header.
1446         Store the parts cut out of the Document in a limited_stack.
1447         (copySelection): adjust
1448         (pasteSelection): new function, takes the index in the limited stack.
1449         (nrOfParagraphs): adjust
1450         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1451         simplify error inset insertion.
1452         (checkPastePossible): adjust
1453
1454 2003-05-06  John Levon  <levon@movementarian.org>
1455
1456         * text2.C: don't cast wrap inset to float
1457
1458 2003-05-05  André Pönitz  <poenitz@gmx.net>
1459
1460         * iterator.C:
1461         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1462
1463         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1464           few naked Paragraph *.
1465
1466 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1467
1468         * bufferparams.C: Output warning if a document with missing
1469         TeX document class is loaded
1470         * exporter.C: Disable TeX exports if the document class is missing
1471         * lyxtextclass.C:
1472         * lyxtextclass.h:
1473         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1474         isTeXClassAvailable()
1475
1476 2003-05-03  John Levon  <levon@movementarian.org>
1477
1478         * BufferView.h:
1479         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1480         explicit cursor show/hide
1481
1482         * BufferView_pimpl.h:
1483         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1484         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1485
1486         * lyxfunc.C: hide cursor before dispatching.
1487
1488         * lyx_cb.C:
1489         * lyxfind.C:
1490         * text.C:
1491         * text3.C: remove explicit cursor hides
1492
1493 2003-05-02  André Pönitz  <poenitz@gmx.net>
1494
1495         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1496
1497         * undo_funcs.C:
1498         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1499           linked lists
1500
1501         * text2.C: tiny whitespace
1502
1503 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1504
1505         * undo_funcs.C: almost only ws changes.
1506
1507         * ParagraphList.C (splice): just return if pl is empty.
1508
1509 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1510
1511         * ParagraphList.C (splice): new function.
1512
1513         * CutAndPaste.C (pasteSelection): use it
1514
1515 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1516
1517         * CutAndPaste.C (pasteSelection): remove the last next and
1518         previous from this file.
1519
1520 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1521
1522         * CutAndPaste.C (pasteSelection): more clean up, user proper
1523         ParagraphList functions for pasteing.
1524
1525         * ParagraphList.C (insert): new function, three arg insert
1526
1527 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1528
1529         * ParagraphList.C (insert): new function, three arg insert
1530
1531         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1532         not on paragraphs.
1533
1534 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1535
1536         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1537
1538 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1539
1540         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1541
1542 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1543
1544         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1545         (copySelection): clean up a bit.
1546         (pasteSelection): use make_pair
1547
1548         * ParagraphList.C (ParagraphList): implement copy constructor
1549         (operator=): implement, base on copy constructor.
1550         (assign): new func
1551
1552         * paragraph.C (erase): return a bool
1553
1554         * paragraph_pimpl.C (erasePos): remove function, move contents...
1555         (erase): ... here. Return a bool.
1556         (erase): call erase instead of erasePos.
1557
1558 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1559
1560         * ParagraphList.h: define PitPosPair
1561         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1562         ParagraphList, fix a bug on pasting multiple pars
1563         * text2.C: change interface to C&P
1564
1565 2003-04-30  André Pönitz  <poenitz@gmx.net>
1566
1567         * undo_func.C: revert part of yesterday's patch 2
1568
1569 2003-04-30  John Levon  <levon@movementarian.org>
1570
1571         * LColor.C: s/tabular/table/
1572
1573 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1574
1575         * text3.C (dispatch): do not convert iterator -> pointer
1576         * undo_funcs.C (setCursorParUndo): ditto
1577         * text_funcs.C (transposeChars): ditto
1578
1579         * text2.C (setLayout): ws changes only
1580
1581         * text.C (breakParagraph): do not convert iterator -> pointer
1582         (insertChar): ditto
1583         (acceptChange): ditto
1584         (rejectChange): ditto
1585         (changeCase): ditto
1586         (Delete): ditto
1587         (backspace): ditto
1588
1589         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1590         pointer
1591
1592 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1593
1594         * text3.C (gotoInset): YABG (yet another bad getChar)
1595
1596 2003-04-29  André Pönitz  <poenitz@gmx.net>
1597
1598         * paragraph.h: make operator= private unimplemented as long as
1599           it is unusable
1600
1601         * ParagraphList.C: whitespace
1602
1603         * paragraph.[Ch]:
1604         * paragraph_pimpl.[Ch]:
1605         * paragraph_funcs.C:
1606         * CutAndPaste.C:
1607         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1608
1609         * text2.C:
1610           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1611
1612 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1613
1614         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1615         * paragraph.[Ch] (erase):
1616         * paragraph_pimpl.[Ch] (erase): change return type and value
1617         * text2.C (cutSelection): some rework
1618
1619 2003-04-28  John Levon  <levon@movementarian.org>
1620
1621         * bufferlist.C: changes for unsaved changes dialog
1622
1623 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * bufferlist.C (newFile): set language (messages_) for new
1626         documents also.
1627
1628         * buffer.C (readFile): ws changes only.
1629
1630 2003-04-28  André Pönitz  <poenitz@gmx.net>
1631
1632         * undo_funcs.C:
1633         * lyxfunc.C:
1634         * buffer.[Ch]:
1635         * BufferView_pimpl.C:
1636         * BufferView.C: getParFromID related ParagraphList::iterator changes
1637
1638 2003-04-28  André Pönitz  <poenitz@gmx.net>
1639
1640         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1641           Changes
1642
1643 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1644
1645         * messages.C: remove one more localedir class variable.
1646
1647 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1648
1649         * messages.C (getLocaleDir): singleton generation function
1650         (Pimpl): use it.
1651         (Messages): add a default constructor.
1652
1653         * main.C (main): do not setup localedir here, do not call
1654         gettext_init.
1655
1656         * gettext.C (_): use it.
1657         (gettext_init): delete funciton
1658
1659 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * gettext.C (getLyXMessages): new singleton generating function.
1662
1663         * buffer.C (updateDocLang): adjust
1664
1665         * Makefile.am (messages.o): add target
1666         (main.o): remove target
1667
1668 2003-04-27  John Levon  <levon@movementarian.org>
1669
1670         * bufferlist.C:
1671         * lyx_cb.C:
1672         * lyxfunc.C:
1673         * lyxvc.C: specify cancel button in Alert::prompt
1674
1675 2003-04-26  John Levon  <levon@movementarian.org>
1676
1677         * text3.C:
1678         * lyxfunc.C:
1679         * lfuns.h:
1680         * LyXAction.C: add LFUN_INSET_SETTINGS
1681
1682         * lyxfunc.C: don't enable tabular-feature when there's
1683         just any locking inset
1684
1685 2003-04-26  John Levon  <levon@movementarian.org>
1686
1687         * bufferlist.C: re-add Cancel to buffer close question
1688
1689         * lyxfunc.C: fix import UI a bit
1690
1691 2003-04-25  John Levon  <levon@movementarian.org>
1692
1693         * gettext.C: remove the broken asserts for now
1694
1695 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1696
1697         * messages.C: make case where setlocale cannot comply work better.
1698
1699         * buffer.C (updateDocLang): new function
1700         (changeLanguage): use it
1701         (readFile): use it
1702
1703         * text2.C (setCounter): use B_ a bit.
1704
1705         * lyxlayout.C (Read): be sure to trim the label strings.
1706
1707         * messages.C (Messages): fix typo in comment
1708
1709         * buffer.C (readFile): set message_ after file is loaded.
1710         (makeDocBookFile): remove double return
1711         (changeLanguage): reset message_ upon language change.
1712         (B_): new func, use this to get translated buffer strings.
1713
1714         * main.C: add myself and Jean Marc as authors.
1715
1716 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1717
1718         * messages.[hC]: pimplify Messages, and three different pimpls to be
1719         used in different circumstances.
1720
1721         * gettext.[Ch]: change for use with new message code.
1722
1723 2003-04-24 André Pönitz <poenitz@gmx.net>
1724
1725         * factory.C: support for eqref
1726
1727 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * messages.[Ch]: add missing char
1730
1731         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1732
1733         * messages.[Ch]: New files
1734
1735 2003-04-18  John Levon  <levon@movementarian.org>
1736
1737         * BufferView.h:
1738         * BufferView.C:
1739         * BufferView_pimpl.C:
1740         * lfuns.h:
1741         * LyXAction.C:
1742         * lyxtext.h:
1743         * text2.C: remove layout-copy/paste (bug 778)
1744
1745 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1748
1749 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1750
1751         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1752         if they succeed. Act accordingly.
1753
1754 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1755
1756         * text2.C (setCharFont): adjust
1757         (setCounter): adjust
1758         (insertStringAsLines): adjust
1759
1760         * text.C (leftMargin): adjust
1761         (setHeightOfRow): adjust
1762
1763         * rowpainter.C (paintFirst): adjust
1764         (paintLast): adjust
1765
1766         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1767         (outerHook): ditto
1768         (isFirstInSequence): ditto
1769         (getEndLabel): ditto
1770         (outerFont): adjust
1771
1772         * paragraph.C (getParLanguage): comment out some hard stuff.
1773
1774         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1775         (sgmlError): ditto
1776         (simpleDocBookOnePar): ditto
1777         (makeDocBookFile): use ParagraphList::iterator
1778
1779         * CutAndPaste.C (pasteSelection): adjust
1780
1781 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * text2.C (getFont): adjust
1784         (getLayoutFont): adjust
1785         (getLabelFont): adjust
1786
1787         * paragraph_funcs.C (TeXOnePar): adjust
1788
1789         * buffer.C (simpleLinuxDocOnePar): adjust
1790         (simpleDocBookOnePar): adjust
1791
1792         * CutAndPaste.C (pasteSelection): adjust
1793
1794         * BufferView.C (getEncoding): adjust
1795
1796         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1797
1798 2003-04-16  John Levon  <levon@movementarian.org>
1799
1800         * lyxfind.C: use parlist stuff for search/changes
1801
1802 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1803
1804         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1805
1806         * text2.C (deleteEmptyParagraphMechanism): adjust
1807
1808         * text2.[Ch] (ownerParagraph): delete func (both of them
1809
1810 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1811
1812         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1813
1814 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * ParagraphList.C: prepare for NO_NEXT
1817
1818 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1819
1820         * text2.C (getFont): adjust
1821         (getLayoutFont): adjust
1822         (getLabelFont): adjust
1823
1824         * paragraph.C (getFont): adjust
1825         (getLabelFont): adjust
1826         (getLayoutFont): adjust
1827
1828         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1829
1830 2003-04-15  John Levon  <levon@movementarian.org>
1831
1832         From Angus Leeming
1833
1834         * lyx_main.C: handle Include in .ui files
1835
1836 2003-04-15  John Levon  <levon@movementarian.org>
1837
1838         * MenuBackend.C: make the doc files length shorter
1839
1840         * ToolbarBackend.h:
1841         * ToolbarBackend.C: handle toolbar placement flags,
1842         Minibuffer
1843
1844 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1847         adjust
1848
1849         * paragraph_funcs.C (TeXOnePar): adjust
1850
1851         * paragraph.C (getLabelFont): add outerfont arg, adjust
1852         (getLayoutFont): ditto
1853         (simpleTeXOnePar): adjust
1854
1855         * paragraph_pimpl.C (realizeFont): delete func
1856
1857 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1860         row argument, constify cur argument.
1861
1862 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * text2.C (getFont): adjust
1865         (getLayoutFont): adjust
1866         (getLabelFont): adjust
1867
1868         * paragraph_funcs.C (TeXOnePar): adjust
1869         (outerFont): new func...
1870         (realizeFont): ...moved out from here, changed this to facilitate
1871         transition
1872
1873         * paragraph.C (getFont): take outerfont as arg, adjust
1874         (simpleTeXOnePar): add outerfont arg, adjust
1875
1876         * buffer.C (simpleLinuxDocOnePar): adjust
1877         (simpleDocBookOnePar): adjust
1878
1879         * CutAndPaste.C (pasteSelection): adjust
1880
1881         * BufferView.C (getEncoding): adjust
1882
1883 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1884
1885         * text2.C (setCharFont): adjust
1886         (setCounter): adjust
1887
1888         * text.C (leftMargin): adjust
1889         (setHeightOfRow): adjust
1890
1891         * rowpainter.C (paintFirst): adjust
1892         (paintLast): adjust
1893
1894         * paragraph_pimpl.C (realizeFont): adjust
1895
1896         * paragraph.C (isFirstInSequence): move from here...
1897         * paragraph_funcs.C (isFirstInSequence): ...to here
1898
1899         * paragraph.C (outerHook): move from here...
1900         * paragraph_funcs.C (outerHook): ...to here
1901
1902         * paragraph.C (depthHook): move from here...
1903         * paragraph_funcs.C (depthHook): ...to here
1904
1905         * paragraph.C (getEndLabel): move from here...
1906         * paragraph_funcs.C (getEndLabel): ...to here
1907
1908         * text2.C (realizeFont): move from here...
1909         * paragraph_funcs.C (realizeFont): ...to here
1910
1911 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1912
1913         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1914
1915 2003-04-14  Angus Leeming  <leeming@lyx.org>
1916
1917         * LColor.[Ch]: scrap LColor mathcursor.
1918
1919 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1920
1921         * lyxlex.[Ch] (text): delete function
1922         * trans.C (Load): adjust
1923         * paragraph_funcs.C (readParToken): adjust
1924
1925 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1928         vector<char> instead of a char[].
1929
1930         * lyxlex_pimpl.C (getString): adjust
1931         (next): adjust
1932         (lex): use getString
1933         (eatLine): adjust
1934         (nextToken): adjust
1935
1936         * lyxlex.C (text): use pimpl_->getString()
1937         (getBool): ditto
1938         (findToken): ditto
1939
1940 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1943         (makeFontEntriesLayoutSpecific): temp var for par.size()
1944         (setLayout): temp var for ownerParagraphs().end()
1945         (fullRebreak): temp var for rows().end()
1946         (selectionAsString): temp var for boost::next(startpit), realize
1947         that the while really is a regular for loop.
1948         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1949         setCursor in one place.
1950         (setParagraph): temp vr for ownerParagraphs().end()
1951         (updateCounters): make the while loop a for loop
1952         (cutSelection): temp var for ownerParagraphs().end()
1953         (updateInset): make the do {} while() a regular for loop
1954         (getCursorX): use temp vars
1955         (setCurrentFont): use temp vars
1956         (getColumnNearX): use temp vars
1957
1958 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1959
1960         * text.C (transformChar): use temp var for getChar
1961         (computeBidiTables): use temp var for row->par()
1962         (fill): move temp vars for row->par() and pit->layout() earlier in
1963         the function.
1964         (labelFill): use temp var for row->par()
1965         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1966         asc and desc, realize that pit never changes and that firstpit is
1967         just a duplicate and not needed. Exchange rit->par() with pit in a
1968         lot of places.
1969         (breakAgain): use a temp var for boost::next(rit)
1970         (breakAgainOneRow): ditto
1971         (breakParagraph): use a temp var for rows().begin()
1972         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1973         (cursorRightOneWord): use temp var for cursor.par() and
1974         cursor.pos(), remove usage of tmpcursor.
1975         (cursorLeftOneWord): use temp var for cursor.par() and
1976         cursor.pos() only set cur at end of function.
1977
1978 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1979
1980         * text.C, text2.C: exchange all usage of Paragraph::next with
1981         boost::next(ParagraphList::iterator)
1982
1983         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1984
1985         * text2.C (cursorTop): simplify implementation
1986         (cursorBottom): ditto
1987         (setParagraph): use ParagraphList::iterator
1988         (setCurrentFont): adjust
1989         (getColumnNearX): adjust
1990         (cursorRight): adjust
1991         (cursorLeft): remove usage of Paragraph::previous
1992         (cursorUpParagraph): ditto
1993         (deleteEmptyParagraphMechanism): slight cleanup
1994
1995         * text.C (isBoundary): take a Paragraph const & instead of a
1996         pointer as arg.
1997         (addressBreakPoint): ditto
1998         (leftMargin): remove usage of Paragraph::previous.
1999         (setHeightOfRow): ditto
2000         (cursorLeftOneWord): ditto
2001         (selectNextWordToSpellcheck): ditto
2002         (Delete): ditto
2003         (backspace): ditto
2004         (breakParagraph): remove one usage of Paragraph::next
2005         (redoParagraph): ditto
2006         (acceptChange): ditto
2007         (insertChar): adjust
2008         (rowBreakPoint): adjust
2009
2010         * bufferview_funcs.C (toggleAndShow): adjust
2011
2012 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2013
2014         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2015         methods to access it.
2016         * lyxtext.h:
2017         * text.C: Added updateRowPositions to compute all row positions.
2018         Make top_y and getRowNearY() to use the cached y position
2019
2020 2003-04-11  John Levon  <levon@movementarian.org>
2021
2022         * text.C (rowBreakPoint): reintroduce the labelEnd
2023         checks, code copied from the row fill stuff. Deep voodoo.
2024
2025         * text.C (fill): add a comment and debugging for the
2026         next poor soul.
2027
2028 2003-04-11  John Levon  <levon@movementarian.org>
2029
2030         * text.C: make sure fullrow insets get wrapped to the next line,
2031         even when they're in a manual label
2032
2033 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * text2.C (insertParagraph): make it take ParagraphList::iterator
2036         as arg.
2037         (setLayout): make it return ParagraphList::iterator
2038         (redoParagraphs): ditto
2039         (setCounter): ditto
2040         (checkParagraph): ditto
2041
2042         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2043
2044         * text2.C: adjust several funcs.
2045         (realizeFont): take a ParagraphList::iterator as arg.
2046         (getLayoutFont): ditto
2047         (getLabelFont): ditto
2048         (setCharFont): ditto
2049
2050         * text.C: adjust several funcs.
2051
2052 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * text.C (selectNextWordToSpellcheck): don't accidentally
2055         skip insets
2056
2057 2003-04-10  John Levon  <levon@movementarian.org>
2058
2059         * ToolbarBackend.C (getIcon): special handling for
2060         LFUN_MATH_DELIM
2061
2062 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2063
2064         * text2.C (cursorRight): a getChar assert fixed
2065
2066 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * text2.C (getFont): change to take a ParagraphList::iterator
2069         instead of Paragraph*
2070         Adjust several functions.
2071
2072         * text.C (transformChar): change to take a ParagraphList::iterator
2073         instead of Paragraph*
2074         (singleWidth): ditto
2075         Adjust several functions.
2076
2077         * rowpainter.C: adjust several functions
2078         * rowpainter.h:store a ParagraphList::iterator and not a
2079         Paragraph&.
2080
2081
2082 2003-04-09  John Levon  <levon@movementarian.org>
2083
2084         * lyxfunc.C:
2085         * lfuns.h:
2086         * LyXAction.h:
2087         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2088         and the "help" bits as well
2089
2090 2003-04-09  John Levon  <levon@movementarian.org>
2091
2092         * ToolbarBackend.h:
2093         * ToolbarBackend.C: allow multiple toolbars
2094
2095 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * undo_funcs.C (setCursorParUndo): adjust
2098
2099         * text_funcs.C (transposeChars): adjust
2100
2101         * text3.C (gotoNextInset): adjust
2102         (dispatch): adjust
2103
2104         * text2.C (setLayout): adjust
2105         (changeDepth): adjust
2106         (setFont): adjust
2107         (redoParagraphs): adjust
2108         (selectionAsString): adjust
2109         (setParagraph): adjust
2110         (insertInset): adjust
2111         (cutSelection): adjust
2112         (copySelection): adjust
2113         (pasteSelection): adjust
2114         (insertStringAsLines): adjust
2115         (updateInset): adjust
2116         (setCursor): change to take a ParagraphList::iterator parameter
2117         (setCursorIntern): change to take a ParagraphList::iterator parameter
2118         (setCurrentFont): adjust
2119         (cursorLeft): adjust
2120         (cursorRight): adjust
2121         (deleteEmptyParagraphMechanism): adjust
2122
2123         * text.C (breakParagraph): adjust
2124         (insertChar): adjust
2125         (acceptChange): adjust
2126         (rejectChange): adjust
2127         (selectNextWordToSpellcheck): adjust
2128         (changeCase): adjust
2129         (Delete): adjust
2130         (backspace): adjust
2131
2132         * lyxfind.C (SearchForward): adjust
2133         (SearchBackward): adjust
2134         (nextChange): adjust
2135
2136         * lyxcursor.C (par): adjust
2137
2138         * lyxcursor.h: store a ParagraphList::iterator instead of a
2139         Paragraph*
2140
2141         * lyx_cb.C (getPossibleLabel): adjust
2142
2143         * bufferview_funcs.C (toggleAndShow): adjust
2144
2145         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2146         (dispatch): adjust
2147
2148         * BufferView.C (removeAutoInsets): adjust
2149         (lockedInsetStoreUndo): adjust
2150
2151 2003-04-09  John Levon  <levon@movementarian.org>
2152
2153         * ToolbarBackend.C: try icon without argument
2154         if with argument fails
2155
2156 2003-04-08  John Levon  <levon@movementarian.org>
2157
2158         * ToolbarBackend.h:
2159         * ToolbarBackend.C: add getIcon(), handle tooltip,
2160         and change from "Icon" to "Item".
2161
2162 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * BufferView.C (lockInset): another bad getchar crunched
2165
2166 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2167
2168         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2169         again)
2170
2171 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2172
2173         * lyxfind.C (searchForward, searchBackwards): bug 782
2174
2175 2003-04-07  John Levon  <levon@movementarian.org>
2176
2177         * paragraph.C: remove dead comment
2178
2179         * text.C: remove troublesome depth-fiddling code
2180         in leftMargin() and rightMargin() (bug 1017)
2181
2182         * text.C: fix breaking of rows in nested lists
2183         (bug 1004)
2184
2185         * text2.C (updateCounters): fix up depth values
2186         (bug 1013)
2187
2188 2003-04-07  John Levon  <levon@movementarian.org>
2189
2190         * BufferView_pimpl.C: clear message when doc finishes resizing,
2191         and after a mouse event
2192
2193         * lyxfunc.C: clear message after exiting inset
2194
2195 2003-04-07  John Levon  <levon@movementarian.org>
2196
2197         * bufferview_funcs.C: show math status not outside
2198         status in the statusbar
2199
2200 2003-04-07  John Levon  <levon@movementarian.org>
2201
2202         * lyxfunc.C: note status changed after a depth change
2203
2204 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
2205
2206         * LaTeX.h: move AuxInfo operator==, != out of line.
2207         Remove LaTeX virtual destructor; nothing derives from it.
2208         Move operator()() out of public area and rename it startscript().
2209         Change protected for private.
2210
2211 2003-04-04  Angus Leeming  <leeming@lyx.org>
2212
2213         * lyxfunc.C:
2214         * text2.C: remove unneeded #includes.
2215
2216 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2217
2218         * text2.C (dEPM): fix the heigth of the next row
2219
2220 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * text.C: squashed an invalid getChar requester + some ws changes
2223
2224 2003-04-03  John Levon  <levon@movementarian.org>
2225
2226         * bufferview_funcs.h:
2227         * bufferview_funcs.C:
2228         * lyxfunc.C:
2229         * lyxtext.h:
2230         * text2.C: make getStatus work for the env depth lfuns
2231
2232 2003-04-03  John Levon  <levon@movementarian.org>
2233
2234         * bufferview_funcs.h:
2235         * bufferview_funcs.C:
2236         * lyxfunc.C:
2237         * lyxtext.h:
2238         * text2.C: parlistize decDepth(), by merging it with incDepth()
2239
2240 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * lyxrow.h: store a ParagraphList::iterator instead of a
2243         Paragraph* and adjust other class functions to suit.
2244
2245         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2246         above.
2247
2248 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2249
2250         * text2.C (setCursor): do not anchor to cursor row for the time being
2251
2252 2003-04-02  John Levon  <levon@movementarian.org>
2253
2254         * LyXAction.C:
2255         * lfuns.h:
2256         * lyx_main.C:
2257         * lyxtext.h:
2258         * text.C:
2259         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2260
2261 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * paragraph.h: make ParagraphList and ParagraphList::iterator
2264         friends of Paragraph.
2265
2266         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2267
2268         * ParagraphList.C: Use the private next_ and previous_ from
2269         Paragraph.
2270
2271 2003-04-01  John Levon  <levon@movementarian.org>
2272
2273         * ToolbarBackend.h:
2274         * ToolbarBackend.C:
2275         * Makefile.am: rename, remove defaults gunk
2276
2277         * MenuBackend.h:
2278         * MenuBackend.C: remove defaults gunk
2279
2280         * Languages.h:
2281         * Languages.C: remove defaults gunk
2282
2283         * lyx_main.h:
2284         * lyx_main.C: error out if files couldn't be found.
2285
2286 2003-04-02  John Levon  <levon@movementarian.org>
2287
2288         * text2.C: make incDepth() use parlist
2289
2290 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * undo_funcs.C (firstUndoParagraph): adjust
2293
2294         * text3.C (gotoInset): adjust
2295         (dispatch): adjust, and rewrite loop.
2296
2297         * text2.C (init): adjust, and rewrite loop.
2298         (redoParagraphs): adjust
2299         (updateInset): adjust, and rewrite loop.
2300         (deleteEmptyParagraphMechanism): adjust
2301
2302         * tabular.C (LyXTabular): adjust
2303         (SetMultiColumn): adjust
2304         (TeXRow): adjust
2305
2306         * lyxtext.[Ch] (ownerParagraph): delete function
2307         (ownerParagraphs): new function returns a ParagraphList.
2308
2309         * BufferView.C (removeAutoInsets): adjust
2310         (insertErrors): adjust
2311         (setCursorFromRow): adjust
2312
2313 2003-04-01  Angus Leeming  <leeming@lyx.org>
2314
2315         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2316         in the frontends.
2317
2318 2003-04-02  John Levon  <levon@movementarian.org>
2319
2320         * lyxtext.h:
2321         * text.C:
2322         * Makefile.am:
2323         * text_funcs.h:
2324         * text_funcs.C: make transposeChars a free function
2325
2326         * lyxrow_funcs.C: remove wrong comment
2327
2328 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2329
2330         * lyxtext.h: adjust
2331         * rowpainter.C: adjust
2332         * text.C: adjust
2333         * text2.C: adjust
2334         * text3.C: adjust
2335
2336         * lyxrow_funcs. [Ch]: new files
2337
2338         * lyxrow.[Ch]: remove next and previous pointers
2339         (next,previous): remove accessor functions
2340         (isParEnd): move to lyxrow_funcs
2341         (lastPos): move to lyxrow_funcs
2342         (nextRowIsAllInset): move to lyxrow_funcs
2343         (lastPrintablePos): move to lyxrow_funcs
2344         (numberOfSeparators): move to lyxrow_funcs
2345         (numberOfHfills): move to lyxrow_funcs
2346         (numberOfLabelHfills): move to lyxrow_funcs
2347         (hfillExpansion): move to lyxrow_funcs
2348
2349         * lyxfunc.C: adjust
2350
2351         * bufferview_funcs.C (toggleAndShow): adjust
2352
2353         * RowList.h: Remove class RowList from file leave just a
2354         std::list<Row>.
2355
2356         * RowList.C: delete file
2357
2358         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2359         and lyxrow_funcs.h
2360
2361 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * text3.C (cursorPrevious): adjust
2364         (cursorNext): adjust
2365         (dispatch): adjust
2366
2367         * text2.C (redoHeightOfParagraph): adjust
2368         (redoDrawingOfParagraph): adjust
2369         (setCursor): adjust
2370
2371         * text.C (breakParagraph): adjust
2372         (insertChar): adjust
2373         (backspace): adjust
2374
2375         * rowpainter.C (RowPainter): adjust
2376         (leftMargin): simplify and adjust
2377         (most rowpainter functions): adjust.
2378
2379         * rowpainter.h: store the row as RowList::iterator not as Row*
2380
2381         * lyxcursor.C (row): taka RowList::iterator as arg
2382         (irow): ditto
2383
2384         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2385         of Row*.
2386
2387 2003-04-01  Angus Leeming  <leeming@lyx.org>
2388
2389         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2390         stuff like bool Bool.
2391
2392 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2393
2394         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2395         rewrite a loop
2396
2397 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2400         RowList::iterator.
2401
2402         * lyxtext.h (rows): drop one version and leve a const variant that
2403         returns a RowList::iterator.
2404
2405 2003-03-31  Angus Leeming  <leeming@lyx.org>
2406
2407         * text.C (fill): ensure that the signature is the same as that in the
2408         header file.
2409
2410 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2411
2412         * text2.C (redoParagraphs): adjust
2413         (updateCounters): adjust
2414         (checkParagraph): adjust
2415         (getColumnNearX): adjust and reformat a bit.
2416
2417         * text.C (top_y): adjust
2418         (workWidth): adjust
2419         (leftMargin): adjust
2420         (prepareToPrint): adjust
2421         (getRow): adjust
2422         (getRowNearY): adjust
2423
2424         * lyxtext.h: make rowlist_ mutable.
2425
2426         * RowList.h: add const_iterator
2427         * RowList.C: adjust for RowList::const_iterator.
2428
2429         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2430         adjust.
2431
2432 2003-03-31  John Levon  <levon@movementarian.org>
2433
2434         * lyxrc.h:
2435         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2436
2437         * lyx_main.C: set default fonts from using lyx_gui funcs
2438
2439         * exporter.C: pdf_mode moved from lyxrc
2440
2441         * lyx_cb.C:
2442         * lyxfunc.C: changes from above
2443
2444 2003-03-31  John Levon  <levon@movementarian.org>
2445
2446         * lyx_main.C: fix to the last fix
2447
2448 2003-03-31  John Levon  <levon@movementarian.org>
2449
2450         * bufferlist.C: "Load original" -> "Load Original"
2451
2452         * converter.C:
2453         * exporter.C:
2454         * importer.C:
2455         * lyx_main.C:
2456         * format.C: more Alert cleanups
2457
2458 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * text2.C (removeParagraph): make it take a RowList::iterator as
2461         arg, adjust.
2462         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2463         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2464
2465         * text.C (anchor_row): make it take a RowList::iterator as arg,
2466         adjust.
2467         (computeBidiTables): make it take a const reference to Row instead
2468         of Row pointer, adjust.
2469         (leftMargin): make it take a RowList::iterator as arg, adjust.
2470         (rowBreakPoint): adjust
2471         (breakAgainOneRow): make it take a RowList::iterator as arg,
2472         adjust.
2473         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2474
2475         * bufferview_funcs.C (toggleAndShow): adjust
2476
2477 2003-03-30  John Levon  <levon@movementarian.org>
2478
2479         * Makefile.am:
2480         * BoostFormat.h:
2481         * boost-inst.C: moved to support
2482
2483         * several files: changes as a result
2484
2485 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * text2.C (LyXText): adjust.
2488         (init): adjust
2489         (removeRow): make it take a RowList::iterator as arg, adjust.
2490         (fullRebreak): adjust
2491         (deleteEmptyParagraphMechanism): adjust
2492         (clearPaint): adjust
2493         (postPaint): adjust
2494
2495         * text.C (top_y): adjust
2496         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2497         (breakAgain): make it take a RowList::iterator as arg, adjust.
2498         (breakParagraph): adjust
2499         (insertChar): adjust
2500         (backspace): adjust
2501
2502         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2503         need_break_row, and refresh_row.
2504
2505         * text3.C (dispatch): adjust
2506
2507         * text2.C (checkParagraph): adjust
2508         (setCursor): adjust
2509         (setCursorFromCoordinates): adjust
2510
2511         * text.C (top_y): adjust
2512         (workWidth): adjust
2513         (getRow): make it return a RowList::iterator, adjust
2514         (getRowNearY): make it return a RowList::iterator, adjust
2515
2516         * text2.C (init): adjust
2517         (insertRow): remove function
2518         (insertParagraph): adjust
2519         (redoParagraphs): adjust
2520         (fullRebreak): adjust
2521         (updateCounters): adjust
2522
2523         * text.C (top_y): rewrite to use RowList iterators.
2524         (top_y): adjust
2525         (setHeightOfRow): rewrite to sue RowList iterators.
2526         (appendParagraph): adjust
2527         (breakAgain): adjust
2528         (breakAgainOneRow): adjust
2529         (breakParagraph): adjust
2530         (getRow): adjust
2531         (getRowNearY): adjust, and remove commented code.
2532
2533         * lyxtext.h (firstRow): delete function
2534         (lastRow): delete function
2535         (rows): new function (const and non-const versions.)
2536         (insertRow): delete function
2537
2538         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2539
2540 2003-03-29  John Levon  <levon@movementarian.org>
2541
2542         * BufferView_pimpl.C: always update scrollbar top
2543         because pasting text when we're anchored could mean we
2544         miss an update altogether
2545
2546 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * text2.C (init): use rowlist_.end() and not 0.
2549         (insertRow): change to take a RowList::iterator as arg, adjust
2550         for this.
2551         (insertParagraph): change to take a RowList::iterator as arg,
2552         adjust for this.
2553         (redoParagraphs): remove some debug msgs.
2554
2555         * text.C (appendParagraph): change to take a RowList::iterator
2556         arg, adjust for this.
2557         (breakAgain): add an assert
2558         (breakAgainOneRow): ditto
2559
2560 2003-03-29  John Levon  <levon@movementarian.org>
2561
2562         * text2.C: do not clear selection after inc/decDepth
2563         (bug 550)
2564
2565 2003-03-29  John Levon  <levon@movementarian.org>
2566
2567         * BufferView.C:
2568         * buffer.C: fix broken strerrors according to Lars
2569
2570 2003-03-29  John Levon  <levon@movementarian.org>
2571
2572         * converters.C: more Alert cleanups
2573
2574 2003-03-29  John Levon  <levon@movementarian.org>
2575
2576         * bufferview_funcs.C: remove pointless Alert
2577
2578         * buffer.C: fix confusing error message when
2579         a template is chmoded 000
2580
2581 2003-03-29  John Levon  <levon@movementarian.org>
2582
2583         * BufferView.C:
2584         * BufferView.h:
2585         * BufferView_pimpl.C: Alert fixes
2586
2587         * Makefile.am:
2588         * tabular.C:
2589         * tabular-old.C: remove unused table compat reading
2590
2591 2003-03-29  John Levon  <levon@movementarian.org>
2592
2593         * BufferView.C:
2594         * buffer.C:
2595         * lyx_cb.h:
2596         * lyx_cb.C: more Alert cleanups
2597
2598         * lyxfunc.C: don't allow chktex if not latex document
2599
2600 2003-03-29  John Levon  <levon@movementarian.org>
2601
2602         * lyx_cb.C:
2603         * BufferView.C:
2604         * buffer.C: warnings pushed down from support/,
2605         kill err_alert
2606
2607 2003-03-29  John Levon  <levon@movementarian.org>
2608
2609         * lyxfunc.C: safety check for C-r (revert)
2610
2611 2003-03-29  John Levon  <levon@movementarian.org>
2612
2613         * bufferlist.h:
2614         * bufferlist.C: several UI fixes using Alert::prompt.
2615         Fix the pointless looping quit code. Fix stupid revert
2616         behaviour (bug 938)
2617
2618         * lyxvc.h:
2619         * lyxvc.C:
2620         * lyx_cb.C: use Alert::prompt
2621
2622         * lyx_main.C: remove a silly question
2623
2624         * lyxfunc.C: remove a couple of silly questions,
2625         use Alert::prompt
2626
2627 2003-03-28  John Levon  <levon@movementarian.org>
2628
2629         * text2.C: fix bug 974 (End on empty par)
2630
2631 2003-03-28  John Levon  <levon@movementarian.org>
2632
2633         * BufferView_pimpl.C:
2634         * LyXAction.C:
2635         * lfuns.h: remove do-nothing math greek lfuns
2636
2637 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * lyxgluelength.h (isValidGlueLength): add default arg on
2640         parameter 2. Remove default arg from friend in class.
2641
2642         * lyxlength.h (isValidLength): add default arg on parameter 2.
2643         Remove default arg from friend in class.
2644
2645         * text2.C (LyXText): adjust, initialize refresh_row.
2646         (init): adjust
2647         (removeRow): adjust
2648         (insertRow): adjust
2649         (insertParagraph): adjst
2650         (redoParagraphs): adjust
2651         (fullRebreak): adjust
2652         (updateCounters): adjust
2653         (deleteEmptyParagraphMechanism): first attempt at fixing a
2654         crashing bug.
2655
2656         * text.C (top_y): adjust
2657         (setHeightOfRow): adjust
2658         (getRow): adjust
2659         (getRowNearY): adjust
2660
2661         * lyxtext.h: include RowList.h
2662         (~LyXText): not needed anymore, deleted.
2663         (firstRow): modify for RowList
2664         (lastRow): new function
2665         Delete firstrow and lastrow class variables, add a Rowlist
2666         rowlist_ class variable.
2667
2668         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2669         paragraph is empty.
2670
2671         * RowList.C (insert): fix case where it == begin().
2672
2673 2003-03-26  Angus Leeming  <leeming@lyx.org>
2674
2675         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2676         the thesaurus dialog.
2677
2678 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2681
2682         * RowList.[Ch]: new files
2683
2684         * ParagraphList.C (erase): handle the case where it == begin
2685         correctly.
2686
2687 2003-03-25  John Levon  <levon@movementarian.org>
2688
2689         * Makefile.am:
2690         * aspell_local.h:
2691         * aspell.C: add new aspell support
2692
2693         * lyxrc.h:
2694         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2695         have it accessible.
2696
2697 2003-03-25  Angus Leeming  <leeming@lyx.org>
2698
2699         * lfuns.h:
2700         * LyXAction.C (init): new LFUN_INSET_INSERT.
2701
2702         * BufferView_pimpl.C (dispatch): split out part of the
2703         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2704
2705         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2706         LFUN_INSET_APPLY.
2707
2708 2003-03-25  Angus Leeming  <leeming@lyx.org>
2709
2710         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2711
2712 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2713
2714         * text2.C:
2715         * text3.C: remove useless row->height(0)
2716
2717 2003-03-25  John Levon  <levon@movementarian.org>
2718
2719         * lyxtext.h:
2720         * text2.C:
2721         * text3.C: rename the refreshing stuff to better names
2722
2723 2003-03-24  John Levon  <levon@movementarian.org>
2724
2725         * BufferView_pimpl.h:
2726         * BufferView_pimpl.C: update layout choice on a mouse
2727         press/release
2728
2729 2003-03-23  John Levon  <levon@movementarian.org>
2730
2731         * Makefile.am: fix commandtags.h reference
2732
2733 2003-03-22  John Levon  <levon@movementarian.org>
2734
2735         * BufferView_pimpl.C:
2736         * lyxtext.h:
2737         * rowpainter.C:
2738         * rowpainter.h:
2739         * text.C:
2740         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2741
2742 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * lyxtext.h:
2745         * text.C: take the rtl methods out of line
2746
2747 2003-03-21 André Pönitz <poenitz@gmx.net>
2748
2749         * metricsinfo.[Ch]: new files containing structures to be passed around
2750         during the two-phase-drawing...
2751
2752 2003-03-21 André Pönitz <poenitz@gmx.net>
2753
2754         * lyxtextclass.C: read 'environment' tag.
2755
2756 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2757
2758         * text2.C (removeRow): fix bug 964
2759
2760 2003-03-20  John Levon  <levon@movementarian.org>
2761
2762         * rowpainter.C:
2763         * text.C:
2764         * text2.C: paint cleanups. Inset::update() dropped font
2765         parameter
2766
2767 2003-03-19  John Levon  <levon@movementarian.org>
2768
2769         * lyxfunc.C: only fitcursor/markDirty if available()
2770
2771 2003-03-19  John Levon  <levon@movementarian.org>
2772
2773         * commandtags.h: rename to ...
2774
2775         * lfuns.h: ... this, and renumber / cleanup
2776
2777 2003-03-19  John Levon  <levon@movementarian.org>
2778
2779         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2780         fit the cursor after an lfun
2781
2782         * BufferView.h:
2783         * BufferView.C:
2784         * BufferView_pimpl.h:
2785         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2786
2787         * LyXAction.C: layout-character should have ReadOnly
2788
2789         * ParagraphParameters.C:
2790         * buffer.C:
2791         * bufferview_funcs.C:
2792         * lyx_cb.C:
2793         * lyxfind.C:
2794         * lyxtext.h:
2795         * text.C:
2796         * text2.C:
2797         * text3.C:
2798         * undo_funcs.C: changes from above
2799
2800 2003-03-18  John Levon  <levon@movementarian.org>
2801
2802         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2803         remove it from update()
2804
2805         * lyxfunc.C: update layout choice after an lfun
2806
2807         * text3.C: remove extra updateLayoutChoice()s
2808
2809 2003-03-18  John Levon  <levon@movementarian.org>
2810
2811         * text.C: top_y change means full repaint, fix
2812         a drawing bug with cursor movement
2813
2814 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2815
2816         * lyxtext.h:
2817         * text.C:
2818         * text2.C: anchor row on setCursor
2819
2820 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * lyxtext.h: remove almost all mutable keywords
2823         * text.C:
2824         * text2.C:
2825         * text3.C: remove const keywords accordingly
2826
2827 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2830         anon namespace
2831         (TeXEnvironment): ditto
2832         (TeXOnePar): ditto
2833
2834 2003-03-17  John Levon  <levon@movementarian.org>
2835
2836         * text.C (rowBreakPoint): remove attempt to fix displayed
2837         math insets inside a manual label
2838
2839 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * lyxtext.h: remove BufferView* as first arg from almost all class
2842         functions.
2843         * other files: adjust.
2844
2845 2003-03-17  John Levon  <levon@movementarian.org>
2846
2847         * lyxtext.h:
2848         * undo_funcs.C:
2849         * text2.C: more paint cleanups
2850
2851         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2852
2853         * rowpainter.h:
2854         * rowpainter.C: remove "smart" background painting code
2855
2856 2003-03-16  John Levon  <levon@movementarian.org>
2857
2858         * lyxtext.h:
2859         * text.C:
2860         * text2.C:
2861         * text3.C: add helper functions for setting refresh_row/y
2862
2863 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2864
2865         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2866         newline inset which *can* get inserted in the pass_thru layouts.
2867         This is primarily for literate documents.
2868
2869 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2870
2871         * buffer.C: increment LYX_FORMAT to 223
2872
2873 2003-03-14 André Pönitz <poenitz@gmx.net>
2874
2875         * textclass.h: prepare for environment handling, ws changes
2876         * lyxlayout.C: read latexheader and latexfooter tags
2877
2878 2003-03-14  John Levon  <levon@movementarian.org>
2879
2880         * text2.C: rewrite ::status() a bit
2881
2882 2003-03-13  John Levon  <levon@movementarian.org>
2883
2884         * lyxtext.h: add some docs
2885
2886 2003-03-13  John Levon  <levon@movementarian.org>
2887
2888         * lyxtext.h:
2889         * text.C:
2890         * text2.C:
2891         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2892
2893 2003-03-13  John Levon  <levon@movementarian.org>
2894
2895         * text3.C: fix appendix redrawing
2896
2897 2003-03-13  John Levon  <levon@movementarian.org>
2898
2899         * text.C (setHeightOfRow):
2900         * rowpainter.h:
2901         * rowpainter.C: make appendix mark have the text
2902           "Appendix" so the user knows what it is
2903
2904         * LColor.h:
2905         * LColor.C: s/appendixline/appendix/ from above
2906
2907 2003-03-13  John Levon  <levon@movementarian.org>
2908
2909         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2910
2911         * text.C: fix a getChar(pos) bug properly
2912
2913 2003-03-13  Angus Leeming  <leeming@lyx.org>
2914
2915         * commandtags.h:
2916         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2917         Probably only temporary. Let's see how things pan out.
2918
2919         * BufferView.C (unlockInset):
2920         * BufferView_pimpl.C (fitCursor):
2921         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2922
2923         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2924         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2925
2926         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2927         new functions that convert ParagraphParameters to and from a string.
2928
2929         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2930         BufferView::Pimpl's dispatch.
2931         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2932
2933 2003-03-13 André Pönitz <poenitz@gmx.net>
2934
2935         * lyxfunc.C:
2936         * text3.C:
2937         * factory.C: make it aware of InsetEnv
2938
2939 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * text2.C (setCursor): never ask for one past last
2942         (setCursor): add some debugging messages.
2943
2944         * text.C (singleWidth): never ask for one past last
2945         (singleWidth): ditto
2946         (leftMargin): ditto
2947         (rightMargin): ditto
2948         (rowBreakPoint): ditto
2949         (setHeightOfRow): ditto
2950         (prepareToPrint): ditto
2951
2952         * rowpainter.C (paintBackground): never ask for one past last
2953         (paintText): never ask for one past last
2954
2955         * paragraph_pimpl.C (getChar): make the assert stricter, never
2956         allow the one past last pos to be taken
2957
2958         * paragraph.C (getChar): ws changes only
2959
2960         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2961         (numberOfSeparators): ditto
2962         (numberOfHfills): ditto
2963
2964 2003-03-12  John Levon  <levon@movementarian.org>
2965
2966         * author.h:
2967         * author.C:
2968         * bufferparams.h:
2969         * bufferparams.C:
2970         * paragraph_funcs.C: fix per-buffer authorlists
2971
2972 2003-03-12  John Levon  <levon@movementarian.org>
2973
2974         * text.C: fix newline in right address
2975
2976 2003-03-12  Angus Leeming  <leeming@lyx.org>
2977
2978         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2979         duplicate those in LyXFunc::dispatch.
2980
2981         * commandtags.h:
2982         * LyXAction.C:
2983         * ToolbarDefaults.C:
2984         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2985         Add LFUN_FONTFREE_UPDATE.
2986
2987         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2988         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2989
2990         * bufferview_func.[Ch]: several new functions to facilliate
2991         transfer of data to and from the character dialog.
2992
2993 2003-03-12  John Levon  <levon@movementarian.org>
2994
2995         * buffer.C:
2996         * paragraph.h:
2997         * paragraph.C:
2998         * paragraph_funcs.C:
2999         * paragraph_pimpl.C:
3000         * sgml.C:
3001         * tabular.C:
3002         * text.C:
3003         * text3.C: remove META_NEWLINE in favour of an inset
3004
3005         * rowpainter.h:
3006         * rowpainter.C: remove paintNewline (done by inset)
3007
3008 2003-03-12  John Levon  <levon@movementarian.org>
3009
3010         * paragraph_pimpl.C: complain about bad getChar()s
3011         for a while at least
3012
3013 2003-03-12  John Levon  <levon@movementarian.org>
3014
3015         * buffer.h:
3016         * buffer.C: move paragraph read into a separate function,
3017         a little renaming to reflect that.
3018
3019         * bufferparams.h:
3020         * bufferparams.C: remove the author_ids map, not necessary now
3021
3022         * factory.h:
3023         * factory.C: moved Buffer::readInset to here
3024
3025         * paragraph_funcs.h:
3026         * paragraph_funcs.C: readParagraph free function moved from
3027         buffer.C
3028
3029         * tabular.C: name change
3030
3031 2003-03-12  John Levon  <levon@movementarian.org>
3032
3033         * buffer.C:
3034         * ParagraphParameters.C: move par params input to
3035         a read() method
3036
3037         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3038         behave like a normal read from the stream wrt reading
3039         a line vs. a \\token
3040
3041 2003-03-12  John Levon  <levon@movementarian.org>
3042
3043         * paragraph.C:
3044         * ParagraphParameters.h:
3045         * ParagraphParameters.C: move output code to a
3046         ::write() method
3047
3048 2003-03-12  John Levon  <levon@movementarian.org>
3049
3050         * BufferView.C (insertLyXFile):
3051         * buffer.h:
3052         * buffer.C:
3053         * tabular.C: use a parlist iterator for creating the
3054           document.
3055
3056 2003-03-12  John Levon  <levon@movementarian.org>
3057
3058         * buffer.C: make current_change static local not
3059           static file-scope
3060
3061 2003-03-12  John Levon  <levon@movementarian.org>
3062
3063         * buffer.C: fix insertStringAsLines for change tracking
3064
3065 2003-03-12  John Levon  <levon@movementarian.org>
3066
3067         * BufferView.C:
3068         * tabular.C:
3069         * buffer.h:
3070         * buffer.C:
3071         * bufferparams.h:
3072         * bufferparams.C: move author list into params. Rename some
3073           functions. Move the header reading into a separate token
3074           loop. Move the header token reading into BufferParams.
3075
3076 2003-03-12  John Levon  <levon@movementarian.org>
3077
3078         * changes.C: put debug inside lyxerr.debugging() checks
3079
3080 2003-03-11 André Pönitz <poenitz@gmx.net>
3081
3082         * factory.C: make it aware of InsetHFill
3083
3084 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3085
3086         * buffer.C (latexParagraphs): move function from here...
3087         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3088         args.
3089
3090 2003-03-10  Angus Leeming  <leeming@lyx.org>
3091
3092         * LyXAction.C (init): fix bug in poplating array with multiple entries
3093         with the same LFUN (spotted by JMarc).
3094
3095 2003-03-10  John Levon  <levon@movementarian.org>
3096
3097         * text.C:
3098         * text2.C: move getColumnNearX() near its
3099         only call site
3100
3101 2003-03-10  John Levon  <levon@movementarian.org>
3102
3103         * text.C: fix break before a minipage
3104
3105 2003-03-10  John Levon  <levon@movementarian.org>
3106
3107         * text.C: fix the last commit
3108
3109 2003-03-09  John Levon  <levon@movementarian.org>
3110
3111         * lyxtext.h:
3112         * text.C:
3113         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3114         bug 365 (don't break before insets unless needed). Don't
3115         return a value > last under any circumstances.
3116
3117 2003-03-09  Angus Leeming  <leeming@lyx.org>
3118
3119         * BufferView_pimpl.C (trackChanges, dispatch): call
3120         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3121
3122 2003-03-09  Angus Leeming  <leeming@lyx.org>
3123
3124         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3125         than Dialogs::showAboutlyx().
3126
3127 2003-03-09  Angus Leeming  <leeming@lyx.org>
3128
3129         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3130         than Dialogs::showTabularCreate().
3131
3132 2003-03-09  John Levon  <levon@movementarian.org>
3133
3134         * lyxtext.h:
3135         * text.C:
3136         * text2.C: 3rd arg to nextBreakPoint was always the same.
3137           Use references.
3138
3139 2003-03-08  John Levon  <levon@movementarian.org>
3140
3141         * lyxrow.C:
3142         * paragraph.C:
3143         * paragraph.h:
3144         * rowpainter.C:
3145         * text.C:
3146         * text2.C: Remove the "main" bit from the "main body"
3147           notion.
3148
3149 2003-03-08  John Levon  <levon@movementarian.org>
3150
3151         * text.C (leftMargin): The left margin of an empty
3152         manual label paragraph should not include the label width
3153         string length.
3154
3155         * text.C (prepareToPrint): don't attempt to measure hfills
3156         for empty manual label paragraphs - the answer should be 0
3157
3158 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * CutAndPaste.C: remove commented code and reindent.
3161
3162 2003-03-08  John Levon  <levon@movementarian.org>
3163
3164         * lyxfunc.h:
3165         * lyxfunc.C: move reloadBuffer()
3166
3167         * BufferView.h:
3168         * BufferView.C: to here
3169
3170         * lyxvc.C: add comment
3171
3172         * vc-backend.h:
3173         * vc-backend.C: call bv->reload() to avoid
3174           getStatus() check on MENURELOAD
3175
3176 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3177
3178         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3179         to an old format .dep file.
3180
3181 2003-03-07  Angus Leeming  <leeming@lyx.org>
3182
3183         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3184         when the LFUN_MOUSE_RELEASE should have been handled by
3185         inset->localDispatch.
3186
3187 2003-03-07  Angus Leeming  <leeming@lyx.org>
3188
3189         * BufferView_pimpl.C (dispatch):
3190         * LyXAction.C (init):
3191         * ToolbarDefaults.C (init):
3192         * commandtags.h:
3193         * lyxfunc.C (getStatus):
3194         remove LFUN_INSET_GRAPHICS.
3195
3196         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3197
3198 2003-03-07  Angus Leeming  <leeming@lyx.org>
3199
3200         * commandtags.h:
3201         * LyXAction.C (init):
3202         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3203
3204         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3205
3206         * commandtags.h:
3207         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3208
3209         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3210         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3211
3212 2003-03-07  Angus Leeming  <leeming@lyx.org>
3213
3214         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3215         remove "ert".
3216
3217 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * ParagraphList.C (front): new function
3220         (back): implement
3221
3222 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3225         and top_row_offset_. removed var first_y.
3226         * text.C (top_y):
3227         * text2.C (LyXText, removeRow):
3228         * text3.C:
3229         * BufferView_pimpl.C:
3230         use these methods instead of using first_y
3231
3232 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3233
3234         * text2.C (pasteSelection): adjust for checkPastePossible
3235
3236         * CutAndPaste.C: remove Paragraph * buf and replace with
3237         ParagraphList paragraphs.
3238         (DeleteBuffer): delete
3239         (cutSelection): change the tc type to textclass_type
3240         (copySelection): change the tc type to textclass_type
3241         (copySelection): adjust for ParagraphList
3242         (pasteSelection): change the tc type to textclass_type
3243         (pasteSelection): adjust for Paragraphlist
3244         (nrOfParagraphs): simplify for ParagraphList
3245         (checkPastePossible): simplify for ParagraphList
3246         (checkPastePossible): remove unused arg
3247
3248         * ParagraphList.C (insert): handle the case where there are no
3249         paragraphs yet.
3250
3251         * CutAndPaste.h: make CutAndPaste a namespace.
3252
3253         * text3.C (dispatch): adjust
3254
3255         * text.C (breakParagraph): add a ParagraphList as arg
3256
3257         * paragraph_funcs.C (breakParagraph): change to take a
3258         BufferParams and a ParagraphList as args.
3259         (breakParagraphConservative): ditto
3260         (mergeParagraph): ditto
3261         (TeXDeeper): add a ParagraphList arg
3262         (TeXEnvironment): ditto
3263         (TeXOnePar): ditto
3264
3265         * buffer.C (readLyXformat2): adjust
3266         (insertStringAsLines): adjust
3267         (latexParagraphs): adjust
3268
3269         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3270         (cutSelection): adjust
3271         (pasteSelection): adjust
3272
3273         * BufferView_pimpl.C (insertInset): adjust
3274
3275 2003-03-05  Angus Leeming  <leeming@lyx.org>
3276
3277         * commandtags.h:
3278         * LyXAction.C (init):
3279         * BufferView_pimpl.C (dispatch):
3280         * lyxfunc.C (getStatus):
3281         remove LFUN_CHILD_INSERT.
3282
3283         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3284
3285 2003-03-05  Angus Leeming  <leeming@lyx.org>
3286
3287         * commandtags.h:
3288         * LyXAction.C (init):
3289         * src/factory.C (createInset):
3290         * lyxfunc.C (getStatus):
3291         * text3.C (dispatch):
3292         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3293
3294         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3295
3296 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * ParagraphList.C (insert): handle insert right before end()
3299         (erase): fix cases where it can be first or last paragraph.
3300
3301 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3304         Paragraph::next and Paragraph::previous
3305         (TeXOnePar): ditto
3306
3307         * text.C (breakParagraph): adjust
3308
3309         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3310         BufferParams& as arg.
3311         (breakParagraph): use ParagraphList::insert
3312         (breakParagraphConservative): take a Buffer* instead of a
3313         BufferParams& as arg.
3314         (breakParagraphConservative): use ParagraphList::insert.
3315
3316         * buffer.C (insertStringAsLines): un-const it
3317         (insertStringAsLines): adjust
3318
3319         * ParagraphList.C (insert): new function
3320
3321         * CutAndPaste.C (pasteSelection): adjust
3322
3323         * text.C (backspace): adjust
3324
3325         * tabular.C (SetMultiColumn): adjust
3326
3327         * CutAndPaste.C (cutSelection): adjust
3328         (pasteSelection): adjust
3329
3330         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3331         Buffer const * as arg
3332
3333         * ParagraphList.C (erase): new function
3334         * paragraph_funcs.C (mergeParagraph): use it
3335         (mergeParagraph): make it take a Buffer* instead of a
3336         BufferParams* as arg
3337
3338         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3339         as arg
3340         (breakParagraphConservative): ditto
3341
3342         * paragraph.h: remove the breakParagraph friend
3343
3344         * paragraph.C (eraseIntern): new function
3345         (setChange): new function
3346
3347         * paragraph_funcs.C (mergeParagraph): make it take a
3348         ParagraphList::iterator instead of a Paragraph *, adjust
3349         accordingly.
3350
3351         * paragraph.h: move an #endif so that the change tracking stuff
3352         also works in the NO_NEXT case.
3353
3354 2003-03-04  Angus Leeming  <leeming@lyx.org>
3355
3356         * commandtags.h:
3357         * LyXAction.C: new LFUN_INSET_MODIFY.
3358
3359         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3360         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3361
3362 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3363
3364         * several files: ws changes only
3365
3366         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3367         (TeXEnvironment): ditto
3368         (TeXDeeper): ditto
3369
3370         * buffer.C (makeLaTeXFile): adjust
3371         (latexParagraphs): make it take ParagraphList::iterator as args
3372
3373 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * buffer.C (latexParagraphs): adjust
3376
3377         * paragraph.C (TeXOnePar): move function...
3378         (optArgInset): move function...
3379         (TeXEnvironment): move function...
3380         * paragraph_pimpl.C (TeXDeeper): move function...
3381         * paragraph_funcs.C: ...here
3382
3383         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3384
3385 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * buffer.C (readInset): remove compability code for old Figure and
3388         InsetInfo insets
3389
3390 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * buffer.C: ws changes
3393         (readInset):
3394
3395         * BufferView_pimpl.C: ditto
3396         * author.C: ditto
3397         * buffer.h: ditto
3398         * bufferlist.h: ditto
3399         * changes.h: ditto
3400         * lyxfunc.C: ditto
3401
3402 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3403
3404         * converter.[Ch]: split into itself +
3405         * graph.[Ch]
3406         * format.[Ch]
3407         * Makefile.am: += graph.[Ch] + format.[Ch]
3408         * MenuBackend.C
3409         * buffer.C
3410         * exporter.C
3411         * importer.C
3412         * lyx_main.C
3413         * lyxfunc.C
3414         * lyxrc.C: added #include "format.h"
3415
3416 2003-02-27  Angus Leeming  <leeming@lyx.org>
3417
3418         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3419           a label.
3420
3421         * factory.C (createInset): add "label" to the factory.
3422
3423         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3424           string and do no more.
3425
3426 2003-02-27  Angus Leeming  <leeming@lyx.org>
3427
3428         * commandtags.h:
3429         * LyXAction.C (init):
3430         * factory.C (createInset):
3431         * BufferView_pimpl.C (dispatch):
3432           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3433
3434         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3435
3436         * lyxfunc.C (dispatch):
3437         * text3.C (dispatch): pass name to params2string.
3438
3439 2003-02-26  Angus Leeming  <leeming@lyx.org>
3440
3441         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3442           blocks together.
3443           Rearrange the ~includes. Strip out the unnecessary ones.
3444
3445         * factory.C (createInset): reformat.
3446           create new insets for the various LFUN_XYZ_APPLY lfuns.
3447
3448 2003-02-26  John Levon  <levon@movementarian.org>
3449
3450         * lyxrow.h:
3451         * lyxrow.C: add isParStart,isParEnd helpers
3452
3453         * paragraph.h: make isInserted/DeletedText take refs
3454
3455         * paragraph_funcs.h:
3456         * paragraph_funcs.C: remove #if 0'd code
3457
3458         * lyxtext.h:
3459         * text3.C:
3460         * text2.C:
3461         * text.C: use lyxrow helpers above.
3462           Move draw and paint routines to RowPainter.
3463           Make several methods use refs not pointers.
3464           Make backgroundColor() const.
3465           Add markChangeInDraw(), isInInset().
3466           Merge changeRegionCase into changeCase.
3467           Make workWidth() shouldn't-happen code into an Assert.
3468
3469         * rowpainter.h:
3470         * rowpainter.C: new class for painting a row.
3471
3472         * vspace.h:
3473         * vspace.C: make inPixels take a ref
3474
3475 2003-02-26  Angus Leeming  <leeming@lyx.org>
3476
3477         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3478         LFUN_REF_APPLY.
3479
3480 2003-02-25  John Levon  <levon@movementarian.org>
3481
3482         * ispell.C: give the forked command a more accurate name
3483
3484 2003-02-22  John Levon  <levon@movementarian.org>
3485
3486         * toc.h:
3487         * toc.C: make TocItem store an id not a Paragraph *
3488           (bug #913)
3489
3490 2003-02-21  Angus Leeming  <leeming@lyx.org>
3491
3492         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3493           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3494           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3495           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3496           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3497           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3498
3499         * BufferView_pimpl.C (dispatch):
3500         * LyXAction.C (init):
3501         * factory.C (createInset):
3502         * lyxfunc.C (getStatus, dispatch):
3503         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3504
3505 2003-02-21  Angus Leeming  <leeming@lyx.org>
3506
3507         * BufferView_pimpl.C (MenuInsertLyXFile):
3508         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3509         * lyxfunc.C (menuNew, open, doImport):
3510           no longer pass a LyXView & to fileDlg.
3511
3512 2003-02-21  Angus Leeming  <leeming@lyx.org>
3513
3514         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3515         * LyXAction.C: change, BIBKEY to BIBITEM.
3516         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3517         Change InsetBibKey to InsetBibitem.
3518         Change BIBKEY_CODE to BIBITEM_CODE.
3519         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3520         * factory.C: replace insetbib.h with insetbibitem.h.
3521         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3522         * paragraph.C: replace insetbib.h with insetbibitem.h.
3523         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3524         Change bibkey() to bibitem().
3525         * text.C: remove insetbib.h.
3526         * text2.C: replace insetbib.h with insetbibitem.h.
3527         change bibkey() to bibitem().
3528         * text3.C: remove insetbib.h.
3529         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3530
3531 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3532
3533         * lyxrc.C (output): enclose user email in quotes (in case there are
3534         several words)
3535
3536 2003-02-18  John Levon  <levon@movementarian.org>
3537
3538         * buffer.h: add std::
3539
3540 2003-02-17  John Levon  <levon@movementarian.org>
3541
3542         * SpellBase.h:
3543         * ispell.h:
3544         * ispell.C:
3545         * pspell.h:
3546         * pspell.C: reworking. Especially in ispell, a large
3547           number of clean ups and bug fixes.
3548
3549         * lyxfunc.C: fix revert to behave sensibly
3550
3551 2003-02-17 André Pönitz <poenitz@gmx.net>
3552
3553         * LyXAction.C:
3554         * commandtags.h: new LFUN_INSERT_BIBKEY
3555
3556         * layout.h:
3557         * lyxlayout.C:
3558         * buffer.C:
3559         * factory.C:
3560         * text.C:
3561         * text2.C:
3562         * text3.C:
3563         * paragraph.[Ch]:
3564         * paragraph_func.C: remove special bibkey handling
3565
3566 2003-02-17  John Levon  <levon@movementarian.org>
3567
3568         * text.C (Delete): fix case where delete at the end of
3569           the very first paragraph would not merge the pars
3570
3571 2003-02-17  John Levon  <levon@movementarian.org>
3572
3573         * lyxrow.C: fix lastPrintablePos()
3574
3575 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3576
3577         * bufferparams.C (writeLaTeX): add a std:here
3578
3579         * buffer.C: and remove a using directive there
3580
3581 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3582
3583         * buffer.C (makeLaTeXFile): move the code that generates the
3584           preamble...
3585
3586         * bufferparams.C (writeLaTeX): ... in this new method
3587
3588         * LaTeXFeatures.C (getEncodingSet): make const
3589           (getLanguages): make const
3590
3591         * MenuBackend.C (binding): returns the binding associated to this
3592           action
3593           (add): sets the status of each item by calling getStatus. Adds
3594           some intelligence.
3595           (read): add support for OptSubMenu
3596           (expand): remove extra separator at the end of expanded menu
3597
3598 2003-02-15  John Levon  <levon@movementarian.org>
3599
3600         * BufferView.C:
3601         * BufferView_pimpl.C:
3602         * bufferlist.h:
3603         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3604           inset code that had no actual effect. Remove unneeded status
3605           code.
3606
3607 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3608
3609         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3610           in preamble
3611
3612 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3613
3614         * text.C (drawLengthMarker): also draw an arrow marker for
3615           symbolic lengths (medskip...)
3616
3617 2003-02-14  John Levon  <levon@movementarian.org>
3618
3619         * tabular.h:
3620         * tabular.C: better method names
3621
3622 2003-02-14  John Levon  <levon@movementarian.org>
3623
3624         * BufferView_pimpl.C:
3625         * bufferlist.C:
3626         * buffer.C:
3627         * converter.C:
3628         * lyx_cb.C:
3629         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3630           it's a more accurate name. Remove some pointless uses.
3631
3632 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3633
3634         * text2.C (LyXText): change order of initilizers to shut off
3635           warnings
3636
3637 2003-02-14  John Levon  <levon@movementarian.org>
3638
3639         * buffer.C: use ParIterator for getParFromID()
3640
3641         * paragraph.h:
3642         * paragraph.C:
3643         * paragraph_pimpl.h:
3644         * paragraph_pimpl.C: remove unused getParFromID()
3645
3646 2003-02-14  John Levon  <levon@movementarian.org>
3647
3648         * buffer.C: remove some very old #if 0'd parse code
3649
3650 2003-02-13  John Levon  <levon@movementarian.org>
3651
3652         * text.h:
3653         * text.C:
3654         * text2.C: move hfillExpansion(), numberOfSeparators(),
3655           rowLast(), rowLastPrintable(), numberofHfills(),
3656           numberOfLabelHfills() ...
3657
3658         * lyxrow.h:
3659         * lyxrow.C: ... to member functions here.
3660
3661         * paragraph.h:
3662         * paragraph.C:
3663         * lyxtext.h:
3664         * text.C: remove LyXText::beginningOfMainBody(), and call
3665           p->beginningOfMainBody() directly. Move the check for
3666           LABEL_MANUAL into the latter.
3667
3668         * text.h:
3669         * text.C:
3670         * text2.C:
3671         * vspace.C:
3672         * BufferView.h:
3673         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3674
3675         * text.h:
3676         * text.C:
3677         * text2.C:
3678         * text3.C:
3679         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3680           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3681
3682 2003-02-13  John Levon  <levon@movementarian.org>
3683
3684         * CutAndPaste.C: remove debug
3685
3686 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3687
3688         * paragraph.C (asString): remove two unused variables
3689
3690         * lyxtextclass.C (readTitleType):
3691           (Read):
3692           (LyXTextClass): handle new members titletype_ and titlename_
3693
3694         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3695
3696 2003-02-09  John Levon  <levon@movementarian.org>
3697
3698         * buffer.h:
3699         * buffer.C: replace hand-coded list with a map for the dep clean
3700
3701 2003-02-08  John Levon  <levon@movementarian.org>
3702
3703         * LaTeX.C: consolidate code into showRunMessage() helper
3704
3705 2003-02-08  John Levon  <levon@movementarian.org>
3706
3707         * lyxfind.C:
3708         * lyxtext.h:
3709         * text2.C:
3710         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3711           and pass the size in explicitly
3712
3713         * BufferView_pimpl.h:
3714         * BufferView_pimpl.C:
3715         * BufferView.h:
3716         * BufferView.C: add getCurrentChange()
3717
3718         * BufferView_pimpl.h:
3719         * BufferView_pimpl.C: handle change lfuns
3720
3721         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3722           for changes. Mark pasted paragraphs as new.
3723
3724         * support/lyxtime.h:
3725         * support/lyxtime.C:
3726         * DepTable.C: abstract time_t as lyx::time_type
3727
3728         * LColor.h:
3729         * LColor.C: add colours for new text, deleted text, changebars
3730
3731         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3732           package use "usenames" option.
3733
3734         * commandtags.h:
3735         * lyxfunc.C:
3736         * LyXAction.C: add change lfuns
3737
3738         * Makefile.am:
3739         * author.h:
3740         * author.C: author handling
3741
3742         * buffer.h:
3743         * buffer.C: add a per-buffer author list, with first entry as
3744           current author. Handle new .lyx tokens for change tracking. Output
3745           author list to .lyx file. Output dvipost stuff to .tex preamble.
3746           Bump lyx format to 222.
3747
3748         * bufferlist.h:
3749         * bufferlist.C: add setCurrentAuthor() to reset current author details
3750           in all buffers.
3751
3752         * bufferparams.h:
3753         * bufferparams.C: add param for tracking
3754
3755         * bufferview_funcs.C: output change info in minibuffer
3756
3757         * Makefile.am:
3758         * changes.h:
3759         * changes.C: add change-tracking structure
3760
3761         * debug.h:
3762         * debug.C: add CHANGES debug flag
3763
3764         * lyxfind.h:
3765         * lyxfind.C: add code for finding the next change piece
3766
3767         * lyxrc.h:
3768         * lyxrc.C: add user_name and user_email
3769
3770         * lyxrow.h:
3771         * lyxrow.C: add a metric for the top of the text line
3772
3773         * lyxtext.h:
3774         * text.C: implement accept/rejectChange()
3775
3776         * lyxtext.h:
3777         * text.C: paint changebars. Paint new/deleted text in the chosen
3778         colours. Strike through deleted text.
3779
3780         * paragraph.h:
3781         * paragraph.C:
3782         * paragraph_pimpl.h:
3783         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3784           in the current change to the insert functions. Rework erase to
3785           mark text as deleted, adding an eraseIntern() and a range-based
3786           erase(). Implement per-paragraph change lookup and
3787           accept/reject.
3788
3789         * paragraph_funcs.C: Fixup paste for change tracking.
3790
3791         * tabular.C: mark added row/columns as new.
3792
3793         * text.C: fix rowLast() to never return -1. Don't allow
3794           spellchecking of deleted text. Track transpose changes. Don't
3795           allow paragraph break or merge where appropriate.
3796
3797         * text2.C: leave cursor at end of selection after a cut.
3798
3799 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3800
3801         * text.C (getLengthMarkerHeight):
3802         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3803         visible on screen too.
3804
3805 2003-02-07  John Levon  <levon@movementarian.org>
3806
3807         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3808
3809 2003-02-05  Angus Leeming  <leeming@lyx.org>
3810
3811         * lyxserver.C (read_ready): revert my patch of 11 September last year
3812         as it sends PC cpu through the roof. Presumably this means that
3813         the lyxserver will no longer run on an Alpha...
3814
3815 2003-01-30  Angus Leeming  <leeming@lyx.org>
3816
3817         * factory.C (createInset): create an InsetCommandParam of type "index"
3818         and use it to 'do the right thing'.
3819
3820         * text2.C (getStringToIndex): ensure that cursor position is always
3821         reset to the reset_cursor position.
3822
3823 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3824
3825         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3826         disabled.
3827
3828 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3829
3830         * bufferview.C:
3831         * lyxcb.C:
3832         * lyxfunc.C: Output messages with identical spelling, punctuation,
3833         and spaces
3834
3835 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3836
3837         * MenuBackend.C (expandFormats): List only viewable export formats
3838         in "View" menu
3839
3840         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3841         message
3842
3843         * lyxfunc.C (getStatus): Make sure that formats other than
3844         "fax" can also be disabled
3845
3846 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3847
3848         * text3.C (dispatch): put the lfuns that insert insets in 3
3849         groups, and call doInsertInset with appropriate arguments.
3850         (doInsertInset): new function, that creates an inset and inserts
3851         it according to some boolean parameters.
3852
3853 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * buffer.C (readFile): remember to pass on 'par' when calling
3856         readFile recursively.
3857
3858 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3859
3860         * MenuBackend.C (expandFormats): add "..." to import formats.
3861
3862 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3863
3864         * paragraph.C (asString): Remove XForms RTL hacks.
3865
3866 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3867         * buffer.C: fix typo
3868
3869 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * Makefile.am (LIBS): delete var
3872         (lyx_LDADD): add @LIBS@ here instead.
3873
3874 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3875
3876         * Clarify the meaning of "wheel mouse jump"
3877
3878 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3879
3880         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3881         tabular in a float
3882
3883 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3884
3885         * importer.C (Loaders): do not preallocate 3 elements in the
3886         vector, since one ends up with 6 elements otherwise
3887
3888 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3889
3890         * DepTable.C (write): write the file name as last element of the
3891         .dep file (because it may contain spaces)
3892         (read): read info in the right order
3893
3894 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3895
3896         * paragraph_pimpl.C (simpleTeXBlanks):
3897         (simpleTeXSpecialChars):
3898         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3899
3900         * tabular.C (latex): add some missing case statements. Reindent.
3901
3902         * MenuBackend.C (expandToc): remove unused variable.
3903
3904 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3905
3906         * LColor.C:
3907         * LaTeX.C:
3908         * LyXAction.C:
3909         * MenuBackend.C:
3910         * buffer.C:
3911         * exporter.C:
3912         * lyxfunc.C:
3913         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3914         and the like.
3915
3916 2003-01-05  John Levon  <levon@movementarian.org>
3917
3918         * BufferView.h:
3919         * BufferView.C: add getEncoding()
3920
3921         * kbsequence.h:
3922         * kbsequence.C: do not store last keypress
3923
3924         * lyxfunc.h:
3925         * lyxfunc.C: store last keypress here instead. Pass encoding
3926           to getISOEncoded()
3927
3928 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3929
3930         * lyx_main.C (init): remove annoying error message when following
3931         symbolic links (bug #780)
3932
3933 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3934
3935         * text.C (insertChar):
3936         * lyxrc.C (getDescription): remove extra spaces
3937
3938 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3939
3940         * lyxrc.C (getDescription): remove extra spaces
3941
3942 2002-12-20  John Levon  <levon@movementarian.org>
3943
3944         * text3.C: hack fix for page up/down across tall rows
3945
3946 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3947
3948         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3949         not been invoked
3950
3951 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3952
3953         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3954         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3955         thesaurus is not compiled in
3956
3957 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3958
3959         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3960
3961 2002-12-16  Angus Leeming  <leeming@lyx.org>
3962
3963         * lyxrc.[Ch]:
3964         * lyx_main.C (init): remove override_x_deadkeys stuff.
3965
3966 2002-12-12  John Levon  <levon@movementarian.org>
3967
3968         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3969           insert. Only remove shift modifier under strict
3970           circumstances.
3971
3972 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * MenuBackend.C (expandToc): fix crash.
3975
3976 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * MenuBackend.C (expandToc): gettext on float names.
3979
3980 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3981
3982         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3983         implement bool empty() [bug 490]
3984
3985 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3988
3989 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * several files: ws changes
3992
3993 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * text2.C (setCounter): clean up a bit, use boost.format.
3996         (updateCounters): initialize par upon declaration.
3997
3998         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3999         if the layout exists. We do not just store the layout any more.
4000         (SwitchLayoutsBetweenClasses): use boost.format
4001
4002 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4003
4004         * converter.C (convert): if from and to files are the same, use a
4005         temporary files as intermediary
4006
4007 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4008
4009         * commandtags.h:
4010         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4011
4012 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4013
4014         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4015
4016 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * tabular.C (asciiPrintCell): use string(size, char) instead of
4019         explicit loop.
4020
4021         * sgml.C (openTag): fix order of arguments to string constructor
4022         (closeTag): ditto
4023
4024         * lyxfunc.C (dispatch): use boost.format
4025
4026         * lots of files: change "c" -> 'c'
4027
4028 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4029
4030         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4031
4032 2002-11-25  Angus Leeming  <leeming@lyx.org>
4033
4034         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4035
4036         * lyx_main.C (init): compile fix.
4037
4038 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * lyx_cb.C (start): boost.formatify
4041         do not include <iostream>
4042
4043         * lengthcommon.C: ws only
4044
4045         * boost-inst.C,BoostFormat.h: add more explict instantations
4046
4047 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * lots of files: handle USE_BOOST_FORMAT
4050
4051 2002-11-21  John Levon  <levon@movementarian.org>
4052
4053         * pspell.C: fix compile
4054
4055 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4056
4057         * lyxfunc.C (dispatch): use boost::format
4058         (open): ditto
4059         (doImport): ditto
4060
4061         * lyxfont.C (stateText): use boost::format
4062
4063         * lyx_main.C (LyX): use boost::format
4064         (init): ditto
4065         (queryUserLyXDir): ditto
4066         (readRcFile): ditto
4067         (parse_dbg): ditto
4068         (typedef boost::function): use the recommened syntax.
4069
4070         * importer.C (Import): use boost::format
4071
4072         * debug.C (showLevel): use boost::format
4073
4074         * converter.C (view): use boost::format
4075         (convert): ditto
4076         (move): ditto
4077         (scanLog): ditto
4078
4079         * bufferview_funcs.C (currentState): use boost::format
4080
4081         * bufferlist.C (emergencyWrite): use boost::format
4082
4083         * buffer.C (readLyXformat2): use boost::format
4084         (parseSingleLyXformat2Token): ditto
4085
4086         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4087
4088         * LaTeX.C (run): use boost::format
4089
4090         * Chktex.C (scanLogFile): use boost::format
4091
4092         * BufferView_pimpl.C (savePosition): use boost::format
4093         (restorePosition): ditto
4094         (MenuInsertLyXFile): ditto
4095
4096         * BoostFormat.h: help file for explicit instation.
4097
4098 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4099
4100         * tabular.C (latex): Support for block alignment in fixed width
4101         columns.
4102
4103 2002-11-17  John Levon  <levon@movementarian.org>
4104
4105         * BufferView_pimpl.C:
4106         * lyx_cb.C:
4107         * lyxfunc.C: split filedialog into open/save
4108
4109 2002-11-08  Juergen Vigna  <jug@sad.it>
4110
4111         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4112         by my last patch (hopefully).
4113
4114 2002-11-08  John Levon  <levon@movementarian.org>
4115
4116         * iterators.h:
4117         * iterators.C:
4118         * buffer.h:
4119         * buffer.C:
4120         * paragraph.h:
4121         * paragraph.C:
4122         * toc.h:
4123         * toc.C: ParConstIterator, and use it (from Lars)
4124
4125 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4126
4127         * lyxtextclass.[Ch]: revise and add doxygen comments
4128
4129 2002-11-07  John Levon  <levon@movementarian.org>
4130
4131         * text.C: fix progress value for spellchecker
4132
4133         * toc.C: fix navigate menu for insetwrap inside minipage
4134
4135         * paragraph_funcs.C: added FIXME for suspect code
4136
4137 2002-11-07  John Levon  <levon@movementarian.org>
4138
4139         * BufferView_pimpl.C: fix redrawing of insets
4140           on buffer switch
4141
4142 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4143
4144         * text2.C (updateCounters): fix bug 668
4145
4146 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4147
4148         * text3.C (dispatch): Do not make the buffer dirty when moving the
4149         cursor.
4150
4151 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * vc-backend.C: STRCONV
4154         (scanMaster): ditto
4155
4156         * text2.C (setCounter): STRCONV
4157
4158         * paragraph.C (asString): STRCONV
4159
4160         * lyxlength.C (asString): STRCONV
4161         (asLatexString): ditto
4162
4163         * lyxgluelength.C (asString): STRCONV
4164         (asLatexString): ditto
4165
4166         * lyxfunc.C (dispatch): STRCONV
4167         (open): ditto
4168
4169         * lyxfont.C (stateText): STRCONV
4170
4171         * importer.C (Import): STRCONV
4172
4173         * counters.C (labelItem): STRCONV
4174         (numberLabel): ditto
4175         (numberLabel): remove unused ostringstream o
4176
4177         * chset.C: STRCONV
4178         (loadFile): ditto
4179
4180         * bufferview_funcs.C (currentState): STRCONV
4181
4182         * buffer.C (readFile): STRCONV
4183         (asciiParagraph): ditto
4184         (makeLaTeXFile): ditto
4185
4186         * Spacing.C (writeEnvirBegin): STRCONV
4187
4188         * LaTeXFeatures.C (getLanguages): STRCONV
4189         (getPackages): ditto
4190         (getMacros): ditto
4191         (getBabelOptions): ditto
4192         (getTClassPreamble): ditto
4193         (getLyXSGMLEntities): ditto
4194         (getIncludedFiles): ditto
4195
4196         * LaTeX.C: STRCONV
4197         (run): ditto
4198         (scanAuxFile): ditto
4199         (deplog): ditto
4200
4201         * LString.h: add the STRCONV macros
4202
4203         * BufferView_pimpl.C (savePosition): STRCONV
4204         (restorePosition): ditto
4205         (MenuInsertLyXFile): ditto
4206
4207         * vc-backend.C (scanMaster): change from submatch[...] to
4208         submatch.str(...)
4209
4210         * funcrequest.C: include config.h
4211
4212         * factory.C: include config.h
4213
4214         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4215
4216         * box.C: include config.h
4217
4218         * LaTeX.C (scanAuxFile): change from submatch[...] to
4219         submatch.str(...)
4220         (deplog): ditto
4221
4222 2002-10-25  Angus Leeming  <leeming@lyx.org>
4223
4224         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4225
4226         * ispell.[Ch] (setError): new method.
4227         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4228         Use setError() insetead of goto END.
4229
4230         * lyx_cb.C (AutoSave): move out child process into new class
4231         AutoSaveBuffer.
4232
4233 2002-10-30  John Levon  <levon@movementarian.org>
4234
4235         * text3.C: make start appendix undoable
4236
4237 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4238
4239         * lyxlength.C (inPixels): Fix returned value.
4240
4241         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4242         environment.
4243
4244 2002-10-24  Angus Leeming  <leeming@lyx.org>
4245
4246         * lyxgluelength.h: no need to forward declare BufferParams
4247         or BufferView, so don't.
4248
4249 2002-10-21  John Levon  <levon@movementarian.org>
4250
4251         * BufferView.C: menuUndo ->undo, redo
4252
4253         * BufferView.h: document, remove dead, make some methods private
4254
4255         * paragraph_funcs.h:
4256         * paragraph_funcs.C:
4257         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4258
4259         * buffer.h:
4260         * buffer.C:
4261         * sgml.h:
4262         * sgml.C: move sgml open/close tag into sgml.C
4263
4264         * bufferview_funcs.h: unused prototype
4265
4266         * lyxfunc.h:
4267         * lyxfunc.C: remove unused
4268
4269         * lyxtext.h:
4270         * text.C: remove unused
4271
4272 2002-10-21  John Levon  <levon@movementarian.org>
4273
4274         * BufferView.h:
4275         * BufferView.C:
4276         * BufferView_pimpl.h:
4277         * BufferView_pimpl.C: fix mouse wheel handling based on
4278           patch from Darren Freeman
4279
4280 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4281
4282         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4283
4284 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4285
4286         * lyxlength.C (inPixels): Fix hanfling of negative length.
4287         Fix LyXLength::MU case.
4288
4289 2002-10-16  John Levon  <levon@movementarian.org>
4290
4291         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4292
4293 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4294
4295         * converter.C (view): add support for $$i (file name) and $$p
4296         (file path) for the viewer command. If $$i is not specified, then
4297         it is appended to the command (for compatibility with old syntax)
4298
4299 2002-10-14  Juergen Vigna  <jug@sad.it>
4300
4301         * undo_funcs.C (textHandleUndo): alter the order in which the
4302         new undopar is added to the LyXText, as we have to set first
4303         the right prev/next and then add it as otherwise the rebuild of
4304         LyXText is not correct. Also reset the cursor to the right paragraph,
4305         with this IMO we could remove the hack in "redoParagraphs()".
4306
4307 2002-10-09  Angus Leeming  <leeming@lyx.org>
4308
4309         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4310         to turn off an optimisation if a new inset is to be inserted.
4311
4312 2002-10-11 André Pönitz <poenitz@gmx.net>
4313
4314         * lyxtext.h: make some functions public to allow access
4315         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4316
4317 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4318
4319         * text3.C (dispatch): when changing layout, avoid an infinite loop
4320         [bug #652]
4321
4322 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4323
4324         * lyxrc.C (read): treat a viewer or converter command of "none" as
4325         if it were empty.
4326
4327         * MenuBackend.C (expandFormats): for an update, also allow the
4328         formats that are not viewable
4329
4330         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4331         script if it is newer than the lyxrc.defaults in user directory
4332
4333 2002-10-07 André Pönitz <poenitz@gmx.net>
4334
4335         * text.C: Vitaly Lipatov's small i18n fix
4336
4337 2002-09-25  Angus Leeming  <leeming@lyx.org>
4338
4339         * ispell.h: doxygen fix.
4340
4341 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4342
4343         * buffer.h (readFile): Add a new argument to the method, to allow
4344         reading of old-format templates.
4345
4346 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4347
4348         * toc.C (getTocList): Get TOC from InsetWrap.
4349
4350 2002-09-16  John Levon  <levon@movementarian.org>
4351
4352         * lyxfunc.C: check tabular for cut/copy too
4353
4354 2002-09-12  John Levon  <levon@movementarian.org>
4355
4356         * LyXAction.C: tidy
4357
4358         * factory.h:
4359         * factory.C: add header
4360
4361         * paragraph_funcs.h:
4362         * paragraph_funcs.C: cleanup
4363
4364 2002-09-11  John Levon  <levon@movementarian.org>
4365
4366         * PrinterParams.h: odd/even default to true
4367
4368 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4369
4370         * PrinterParams.h: update printer parameters for new xforms dialog
4371
4372 2002-09-11  Angus Leeming  <leeming@lyx.org>
4373
4374         * lyxserver.C (read_ready): re-write to make it more transparent
4375         and to make it work in coherent fashion under Tru64 Unix.
4376
4377 2002-09-11  André Pönitz <poenitz@gmx.net>
4378
4379         * commandtags.h:
4380         * LyXAction.C:
4381         * text3.C: implement LFUN_WORDSEL
4382
4383 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4386         make floatlist_ a boost::shared_ptr<FloatList>
4387
4388         * lyxtextclass.C: include FloatList.h
4389         (LyXTextClass): initialize floatlist_
4390         (TextClassTags): add TC_NOFLOAT
4391         (Read): match "nofloat" to TC_NOFLOAT and use it.
4392         (readFloat): modify call to floatlist_
4393         (floats): ditto
4394         (floats): ditto
4395
4396         * FloatList.[Ch] (FloatList): remove commented out float
4397         initialization.
4398         (erase): new function
4399
4400 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4401
4402         * MenuBackend.C (expandToc): fix crash when there is no document
4403         open
4404
4405 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4406
4407         * many files: Add insetwrap.
4408
4409 2002-09-09  John Levon  <levon@movementarian.org>
4410
4411         * text2.C: remove confusing and awkward depth wraparound
4412
4413 2002-09-09  John Levon  <levon@movementarian.org>
4414
4415         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4416
4417         * buffer.h:
4418         * buffer.C: remove getIncludeonlyList()
4419
4420         * paragraph.C:
4421         * lyxfunc.C: remove headers
4422
4423 2002-09-09  Juergen Vigna  <jug@sad.it>
4424
4425         * text.C (getColumnNearX): fix form Michael this is most
4426         probably a cut&paste bug.
4427
4428 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4431
4432         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4433         references, ws changes.
4434
4435         * text2.C (init): update counters after init
4436         (insertParagraph): no need to set counter on idividual paragraphs.
4437         (setCounter): access the counters object in the textclass object
4438         on in the buffer object.
4439         (updateCounters): ditto
4440
4441         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4442         shared_ptr<Counters> to avoid loading counters.h in all
4443         compilation units.
4444         (LyXTextClass): initialize ctrs_
4445         (TextClassTags): add TC_COUNTER, and ...
4446         (Read): use it here.
4447         (CounterTags): new tags
4448         (readCounter): new function
4449         (counters): new funtion
4450         (defaultLayoutName): return a const reference
4451
4452         * counters.C (Counters): remove contructor
4453         (newCounter): remove a couple of unneeded statements.
4454         (newCounter): simplify a bit.
4455         (numberLabel): some small formatting changes.
4456
4457         * buffer.[Ch]: remove all traces of counters, move the Counters
4458         object to the LyXTextClass.
4459
4460 2002-09-06  Alain Castera  <castera@in2p3.fr>
4461
4462         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4463         package to set the horizontal alignment on fixed width columns.
4464
4465         * lyx_sty.C:
4466         * lyx_sty.h: added tabularnewline macro def.
4467
4468         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4469
4470 2002-09-06  John Levon  <levon@movementarian.org>
4471
4472         * LyXAction.C: tooltips for sub/superscript
4473
4474         * MenuBackend.C: a bit more verbose
4475
4476         * lyxfunc.C: tiny clean
4477
4478         * undo_funcs.C: document undo_frozen
4479
4480 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * counters.C (Counters): add missing algorithm counter.
4483
4484         * text2.C (setCounter): lookup the counter with layouts latexname
4485         instead of by section number.
4486         (setCounter): use a hackish way to lookup the correct enum
4487         counter.
4488         a float name->type change
4489         reset enum couners with counter name directly instead of depth value.
4490
4491         * counters.C (Counters): remove the push_backs, change to use the
4492         float type not the float name.
4493         (labelItem): remove unused string, float name->type change
4494
4495         * counters.h: don't include vector, loose the enums and sects vectors
4496
4497 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4498
4499         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4500         (Read): add float->TC_FLOAT to textclassTags
4501         (Read): and handle it in the switch
4502         (readFloat): new function
4503
4504         * FloatList.C (FloatList): comment out the hardcoded float
4505         definitions.
4506
4507         * lyxlayout.h: ws change.
4508
4509 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4510
4511         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4512
4513 2002-09-03  Angus Leeming  <leeming@lyx.org>
4514
4515         * BufferView_pimpl.h: qualified name is not allowed in member
4516         declaration: WorkArea & Pimpl::workarea() const;
4517
4518         * factory.C: added using std::endl directive.
4519
4520         * text3.C: added using std::find and std::vector directives.
4521
4522 2002-08-29  André Pönitz <poenitz@gmx.net>
4523
4524         * lyxtext.h:
4525         * text2.C: remove unused member number_of_rows
4526
4527         * Makefile.am:
4528         * BufferView2.C: remove file, move contents to...
4529         * BufferView.C: ... here
4530
4531         * BufferView_pimpl.C:
4532         * factory.C: move more inset creation to factory
4533
4534         * vspace.C: avoid direct usage of LyXText, ws changes
4535
4536         * BufferView.[Ch]:
4537                 don't provide direct access to WorkArea, use two simple
4538                 acessors haveSelction() and workHeight() instead
4539
4540
4541 2002-08-29  John Levon  <levon@movementarian.org>
4542
4543         * BufferView_pimpl.C (dispatch): do not continue when
4544           no buffer
4545
4546 2002-08-28  André Pönitz <poenitz@gmx.net>
4547
4548         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4549
4550         * BufferView.h:
4551         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4552
4553 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4554
4555         * buffer.C: increment LYX_FORMAT to 221
4556
4557         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4558         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4559
4560         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4561
4562         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4563
4564 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4565
4566         * factory.C (createInset): use LyXTextClass::floats
4567
4568         * MenuBackend.C (expandFloatListInsert):
4569         (expandFloatInsert):
4570         (expandToc):
4571
4572         * text2.C (setCounter):
4573
4574         * LaTeXFeatures.C (useFloat):
4575         (getFloatDefinitions):
4576
4577         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4578
4579         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4580         floatlist_, with accessor floats().
4581
4582         * FloatList.h: remove global FloatList
4583
4584 2002-08-26  André Pönitz <poenitz@gmx.net>
4585
4586         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4587
4588         * BufferView.h:
4589         * BufferView2.C:
4590         * BufferView_pimpl.C:
4591         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4592
4593 2002-08-25  John Levon  <levon@movementarian.org>
4594
4595         * LyXAction.C: fix margin note description
4596
4597 2002-08-24  John Levon  <levon@movementarian.org>
4598
4599         * buffer.C:
4600         * bufferlist.C:
4601         * bufferview_funcs.C:
4602         * lyxfont.C:
4603         * undo_funcs.C: cleanups
4604
4605         * lyxfunc.C: disable CUT/COPY when no selection
4606
4607 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4608
4609         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4610         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4611
4612         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4613         Add backward compatibility to "mono", "gray" and "no".
4614
4615 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4616
4617         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4618         (and file_format >= 200).
4619
4620 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4621
4622         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4623
4624 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4625
4626         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4627
4628 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * BufferView_pimpl.C:
4631         * LyXAction.C:
4632         * buffer.C:
4633         * commandtags.h:
4634         * lyxfunc.C:
4635         * paragraph.[Ch]:
4636         * text2.C:
4637         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4638         inset and code to make it  work with the paragraph code. The inset
4639         can be anywhere in the paragraph, but will only do the expected
4640         thing in LaTeX if the layout file contains the parameter line
4641                         OptionalArgs    1
4642         (or more generally, a nonzero value) for that layout.
4643
4644 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * paragraph.h: remove the declaration of undefined counters class
4647         function.
4648
4649 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4650
4651         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4652         Dr. Richard Hawkins.
4653
4654 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4655
4656         * paragraph_funcs.h: remove some unneeded includes
4657
4658         * text.C (backspace): pasteParagraph now in global scipe
4659
4660         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4661         (pasteSelection): ditto
4662
4663         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4664         * paragraph_funcs.C (pasteParagraph): ... here
4665
4666 2002-08-20  André Pönitz <poenitz@gmx.net>
4667
4668         * commandtags.h: new LFUNs for swapping/copying table row/colums
4669
4670         * LyXAction.C:
4671         * lyxfunc.C: support for new lfuns
4672
4673 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * tabular.C:
4676         * buffer.[Ch]: remove NO_COMPABILITY stuff
4677
4678 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * boost.C (throw_exception): new file, with helper function for
4681         boost compiled without exceptions.
4682
4683         * paragraph.h:
4684         * lyxlength.C:
4685         * buffer.C:
4686         * ParameterStruct.h:
4687         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4688
4689         * bufferlist.C (emergencyWriteAll): use boost bind
4690
4691         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4692
4693         * text.C: include paragraph_funcs.h
4694         (breakParagraph): breakParagraph is now in global scope
4695
4696         * paragraph_funcs.[Ch]: new files
4697
4698         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4699         global scope
4700
4701         * buffer.C: include paragraph_funcs.h
4702         (insertStringAsLines): breakParagraph is now in global scope
4703
4704         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4705         paragraph_funcs.C
4706
4707         * CutAndPaste.C: include paragraph_funcs.h
4708         (cutSelection): breakParagraphConservative is now in global scope
4709         (pasteSelection): ditto
4710
4711         * buffer.h: declare oprator== and operator!= for
4712         Buffer::inset_iterator
4713
4714         * bufferlist.C (emergencyWrite): don't use fmt(...)
4715
4716         * text3.C: add using std::endl
4717
4718         * BufferView.C (moveCursorUpdate): remove default arg
4719
4720 2002-08-20  André Pönitz <poenitz@gmx.net>
4721
4722         * buffer.[Ch]: move inline functions to .C
4723
4724         * BufferView2.C:
4725         * BufferView_pimpl.C:
4726         * text.C:
4727         * buffer.[Ch]: use improved inset_iterator
4728
4729         * buffer.C:
4730         * paragraph.[Ch]: write one paragraph at a time
4731
4732 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4733
4734         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4735         style if style is not specified.
4736
4737 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4738
4739         * text2.C (setCounter): when searching for right label for a
4740         caption, make sure to recurse to parent insets (so that a caption
4741         in a minipage in a figure float works) (bug #568)
4742
4743 2002-08-20  André Pönitz <poenitz@gmx.net>
4744
4745         * text3.C: new file for LyXText::dispatch() and helpers
4746
4747         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4748
4749         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4750
4751 2002-08-19  André Pönitz <poenitz@gmx.net>
4752
4753         * lyxtext.h:
4754         * text.C: new LyXText::dispatch()
4755
4756         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4757
4758 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4759
4760         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4761
4762         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4763         Hebrew text.
4764
4765 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4766
4767         * Makefile.am: use $(variables) instead of @substitutions@
4768
4769 2002-08-15  André Pönitz <poenitz@gmx.net>
4770
4771         * lyxfunc.C:
4772         * BufferView_pimpl.C: streamlining mathed <-> outer world
4773         interaction
4774
4775         * commandtags.h:
4776         * LyXAction.C: remove unused LFUN_MATH
4777
4778 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4781
4782 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4783
4784         * paragraph.C (Paragraph): reformat a bit
4785         (cutIntoMinibuffer): use builtin InsetList function instad of
4786         doing it manually.
4787         (getInset): ditto
4788
4789         * buffer.C: include boost/bind.hpp, add using std::for_each
4790         (writeFileAscii): use ParagraphList iterators
4791         (validate): use for_each for validate traversal of paragraphs
4792         (getBibkeyList): use ParagraphList iterators
4793         (resizeInsets): use for_each to resizeInsetsLyXText for all
4794         paragraphs.
4795         (getParFromID): use ParagraphList iterators
4796
4797         * BufferView2.C (lockInset): use paragraph list and iterators
4798
4799 2002-08-14  John Levon  <levon@movementarian.org>
4800
4801         * lyxserver.C: remove spurious xforms include
4802
4803 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4804
4805         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4806
4807 2002-08-13  André Pönitz <poenitz@gmx.net>
4808
4809         * LyXAction.[Ch]:
4810         * lyxfunc.C: further cleaning
4811
4812 2002-08-13  André Pönitz <poenitz@gmx.net>
4813
4814         * funcrequest.h: new constructor
4815
4816         * funcrequest.C: move stuff here from .h
4817
4818         * Makefile.am:
4819         * BufferView_pimpl.C:
4820         * LyXAction.C:
4821         * toc.C:
4822         * lyxfunc.C: subsequent changes
4823
4824         * lyxfunc.h: new view() member function
4825
4826         * lyxfunc.C: subsequent changes
4827
4828 2002-08-13  Angus Leeming  <leeming@lyx.org>
4829
4830         * BufferView2.C:
4831         * BufferView_pimpl.C:
4832         * buffer.C:
4833         * converter.C:
4834         * importer.C:
4835         * lyxfunc.C:
4836         * lyxvc.C:
4837         * toc.C:
4838         * vc-backend.C:
4839         changes due to the changed LyXView interface that now returns references
4840         to member variables not pointers.
4841
4842 2002-08-13  Angus Leeming  <leeming@lyx.org>
4843
4844         * WordLangTuple (word, lang_code): return references to strings,
4845         not strings.
4846
4847         * BufferView.h:
4848         * SpellBase.h:
4849         * lyxtext.h: forward-declare WordLangTuple.
4850
4851         * BufferView2.C:
4852         * ispell.C:
4853         * pspell.C:
4854         * text.C: #include "WordLangTuple.h".
4855
4856         * lyxtext.h:
4857         * text.C: (selectNextWordToSpellcheck): constify return type.
4858
4859 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4860
4861         * buffer.C:
4862         * buffer.h:
4863         * lyxtext.h:
4864         * paragraph.C:
4865         * paragraph_pimpl.h:
4866         * text.C:
4867         * text2.C:
4868         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4869         suggested by Angus.
4870         Made updateCounter always count from start of buffer, and removed
4871         second argument (par).
4872         Reverted floats number display to '#'. Perhaps I'll try again when the
4873         code base is sanitized a bit.
4874
4875 2002-08-12  Angus Leeming  <leeming@lyx.org>
4876
4877         * buffer.[Ch] (getLabelList): constify.
4878
4879 2002-08-07  André Pönitz <poenitz@gmx.net>
4880
4881         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4882
4883         * funcrequest.h: extension to keep mouse (x,y) position
4884
4885 2002-08-12  Juergen Vigna  <jug@sad.it>
4886
4887         * BufferView2.C (insertErrors): forbid undo when inserting error
4888         insets.
4889
4890         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4891
4892 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * ParagraphList.[Ch]: new files
4895
4896         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4897
4898         * BufferView2.C (lockInset): ParagraphList changes
4899         * toc.C: ditto
4900         * text2.C: ditto
4901         * bufferlist.C: ditto
4902         * buffer.h: ditto
4903         * buffer.C: ditto
4904
4905 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4908         unused class variable counter_,
4909
4910         * paragraph.[Ch] (getFirstCounter): delete unused function
4911
4912         * counters.C: include LAssert.h
4913         (reset): add a new function with no arg, change other version to
4914         not have def. arg and to not allow empty arg.
4915
4916         * text2.C (setCounter): remove empty arg from call to Counters::reset
4917
4918 2002-08-11  John Levon  <levon@movementarian.org>
4919
4920         * Makefile.am: add WordLangTuple.h
4921
4922 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4925         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4926
4927         * insets/insettext.C: InsetList changes
4928
4929         * graphics/GraphicsSupport.C (operator()): InsetList changes
4930
4931         * toc.C (getTocList): InsetList changes
4932
4933         * paragraph_pimpl.[Ch]: InsetList changes
4934
4935         * paragraph.[Ch]: InsetList changes
4936
4937         * buffer.C (inset_iterator): InsetList changes
4938         (setParagraph): ditto
4939         * buffer.h (inset_iterator): ditto
4940         * iterators.C (operator++): ditto
4941         * iterators.h: ditto
4942
4943         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4944
4945         * InsetList.[Ch]: new files, most InsetList handling moved out of
4946         paragraph.C.
4947
4948         * BufferView2.C (removeAutoInsets): InsetList changes
4949         (lockInset): ditto
4950         (ChangeInsets): ditto
4951
4952 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * paragraph_pimpl.h (empty): new function
4955
4956         * paragraph.[Ch] (empty): new function
4957
4958         * other files: use the new Paragraph::empty function
4959
4960 2002-08-09  John Levon  <levon@movementarian.org>
4961
4962         * lyxtext.h: remove unused refresh_height
4963
4964 2002-08-09  John Levon  <levon@movementarian.org>
4965
4966         * Makefile.am:
4967         * sgml.h:
4968         * sgml.C:
4969         * buffer.C:
4970         * paragraph.h:
4971         * paragraph.C: move sgml char escaping out of paragraph
4972
4973         * paragraph.h:
4974         * paragraph.C: remove id setter
4975
4976         * buffer.C:
4977         * paragraph.C:
4978         * paragraph_pimpl.C: remove dead tex_code_break_column
4979
4980         * bufferview_funcs.C: small cleanup
4981
4982         * lyxfunc.C: remove dead proto
4983
4984         * lyxtext.h: make some stuff private. Remove some dead stuff.
4985
4986         * lyxgluelength.C: make as[LyX]String() readable
4987
4988 2002-08-08  John Levon  <levon@movementarian.org>
4989
4990         * LyXAction.h:
4991         * LyXAction.C:
4992         * MenuBackend.C:
4993         * ToolbarDefaults.C:
4994         * lyxfunc.C:
4995         * lyxrc.C:
4996         * toc.C: lyxaction cleanup
4997
4998 2002-08-08  John Levon  <levon@movementarian.org>
4999
5000         * BufferView2.C: small cleanup
5001
5002         * lyxfind.h:
5003         * lyxfind.C: move unnecessary header into the .C
5004
5005 2002-08-08  John Levon  <levon@movementarian.org>
5006
5007         * funcrequest.h: just tedious nonsense
5008
5009         * lyx_main.h:
5010         * lyx_main.C: cleanups
5011
5012         * buffer.C:
5013         * vspace.C: remove dead header lyx_main.h
5014
5015 2002-08-07  Angus Leeming  <leeming@lyx.org>
5016
5017         * Paragraph.[Ch]:
5018         * paragraph_pimpl.h:
5019         Forward declare class Counters in paragraph.h by moving the ctrs member
5020         variable into Paragraph::Pimpl.
5021         (counters): new method, returning a reference to pimpl_->ctrs.
5022
5023         * text2.C: ensuing changes.
5024
5025 2002-08-07  John Levon  <levon@movementarian.org>
5026
5027         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5028
5029         * BufferView_pimpl.C: announce X selection on double/triple
5030           click
5031
5032         * lyx_main.C: use correct bool in batch dispatch
5033
5034         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5035
5036 2002-08-07  André Pönitz <poenitz@gmx.net>
5037
5038         * funcrequest.h: new class to wrap a kb_action and its argument
5039
5040         * BufferView.[Ch]:
5041         * BufferView_pimpl[Ch]:
5042         * LaTeX.C:
5043         * LyXAction.[Ch]:
5044         * lyxfunc.[Ch]:
5045         * lyxrc.C: subsequent changes
5046
5047
5048 2002-08-07  John Levon  <levon@movementarian.org>
5049
5050         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5051           document options change.
5052
5053 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5054
5055         * counters.[Ch]
5056         * text2.C
5057         * paragraph.[Ch]
5058         * makefile.am: move counters functionality over from
5059         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5060
5061 2002-08-06  John Levon  <levon@movementarian.org>
5062
5063         * WordLangTuple.h: new file for word + language code tuple
5064
5065         * SpellBase.h:
5066         * pspell.h:
5067         * pspell.C:
5068         * ispell.h:
5069         * ispell.C:
5070         * lyxtext.h:
5071         * text.C:
5072         * text2.C:
5073         * BufferView.h:
5074         * BufferView2.C: use WordLangTuple
5075
5076         * layout.h:
5077         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5078
5079 2002-08-06  John Levon  <levon@movementarian.org>
5080
5081         * lyx_main.C: fix cmdline batch handling
5082
5083 2002-08-06  André Pönitz <poenitz@gmx.net>
5084
5085         * lyxrc.C: set default for show_banner to true
5086
5087 2002-08-06  John Levon  <levon@movementarian.org>
5088
5089         * pspell.C: fix a crash, and allow new aspell to work
5090
5091 2002-08-06  John Levon  <levon@movementarian.org>
5092
5093         * lyxfunc.C:
5094         * kbmap.C: small cleanup
5095
5096         * vspace.h:
5097         * vspace.C: add const
5098
5099 2002-08-05  John Levon  <levon@movementarian.org>
5100
5101         * LyXAction.C: back to tabular-insert
5102
5103 2002-08-04  John Levon  <levon@movementarian.org>
5104
5105         * BufferView.h:
5106         * BufferView.C: cosmetic change
5107
5108         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5109
5110         * bufferlist.C:
5111         * buffer.h:
5112         * buffer.C:
5113         * lyxcb.h:
5114         * lyxcb.C:
5115         * lyxserver.C:
5116         * lyxvc.C:
5117         * vc-backend.C:
5118         * BufferView2.C: purge all "Lyx" not "LyX" strings
5119
5120         * lyxcursor.h:
5121         * lyxcursor.C: attempt to add some documentation
5122
5123         * lyxfunc.C:
5124         * commandtags.h:
5125         * LyXAction.C:
5126         * ToolbarDefaults.C:
5127         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5128           merge with LFUN_TABULAR_INSERT
5129
5130         * Makefile.am:
5131         * SpellBase.h:
5132         * ispell.h:
5133         * ispell.C:
5134         * pspell.h:
5135         * pspell.C: split up i/pspell implementations into separate
5136           files, many cleanups
5137
5138         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5139
5140         * text2.C: some cleanup
5141
5142         * lyxfunc.C: don't check for isp_command == "none" any more, it
5143           didn't make any sense
5144
5145 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5146
5147         * counters.[Ch]
5148         * text2.C
5149         * paragraph.[Ch]
5150         * makefile.am: move counters functionality over
5151         from text2.C/paragraph.[Ch] to counters.[Ch], and
5152         make proper C++.
5153 2002-08-02  John Levon  <levon@movementarian.org>
5154
5155         * buffer.C: s/lyxconvert/lyx2lyx/
5156
5157 2002-08-02  Angus Leeming  <leeming@lyx.org>
5158
5159         * lyxlex.C: revert John's change as it breaks reading of the user
5160         preamble.
5161
5162 2002-08-02  Angus Leeming  <leeming@lyx.org>
5163
5164         * importer.C (Import):
5165         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5166         changes due to LyXView::view() now returning a boost::shared_ptr.
5167
5168 2002-08-02  John Levon  <levon@movementarian.org>
5169
5170         * lyxlex.C: small cleanup
5171
5172 2002-08-02  John Levon  <levon@movementarian.org>
5173
5174         * text2.C (status): small cleanup, no logic change
5175
5176 2002-08-01  John Levon  <levon@movementarian.org>
5177
5178         * buffer.h:
5179         * buffer.C (writeFile): don't output alerts, caller
5180           handles this
5181
5182         * bufferlist.C:
5183         * lyx_cb.C: from above
5184
5185         * lyxfunc.C: allow to open non-existent files
5186
5187 2002-07-31  John Levon  <levon@movementarian.org>
5188
5189         * lyxserver.C: don't let incidental errors get
5190           in the way (errno)
5191
5192 2002-07-30  John Levon  <levon@movementarian.org>
5193
5194         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5195
5196 2002-07-30  John Levon  <levon@movementarian.org>
5197
5198         * lyxserver.h:
5199         * lyxserver.C: remove I/O callback too
5200
5201 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5202
5203         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5204         log.
5205
5206 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * many files: strip,frontStrip -> trim,ltrim,rtrim
5209
5210 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * PrinterParams.h: remove extern containsOnly, and include
5213         support/lstrings.h instead.
5214
5215         * LaTeX.C (scanAuxFile): modify because of strip changes
5216         (deplog): ditto
5217         * buffer.C (makeLaTeXFile): ditto
5218         * bufferparams.C (writeFile): ditt
5219         * lyxfont.C (stateText): ditto
5220         * lyxserver.C (read_ready): ditto
5221         * vc-backend.C (scanMaster): ditto
5222
5223         * BufferView_pimpl.h: ws changes
5224
5225         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5226
5227 2002-07-26  André Pönitz <poenitz@gmx.net>
5228
5229         * kb_sequence.C: remove unnedred usings
5230
5231 2002-07-26  Juergen Vigna  <jug@sad.it>
5232
5233         * lyxfind.C (LyXReplace): we have to check better if the returned
5234         text is not of theLockingInset()->getLockingInset().
5235
5236 2002-07-25  Juergen Vigna  <jug@sad.it>
5237
5238         * lyxfind.C (LyXReplace): don't replace if we don't get the
5239         right LyXText.
5240
5241         * undo_funcs.C (createUndo): remove debugging code.
5242
5243 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5244
5245         * buffer.C (parseSingleLyXformat2Token): Use default placement
5246         when reading old floats.
5247
5248         * FloatList.C (FloatList): Change the default placement of figure
5249         and tables to "tbp".
5250
5251 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5252
5253         * MenuBackend.C: using std::max
5254
5255 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5256
5257         * MenuBackend.C (expandToc):
5258         (expandToc2): code moved from xforms menu frontend. It is now
5259         generic and TOCs are transparent to menu frontends.
5260
5261 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5262
5263         * toc.C (getTocList): protect against buf=0
5264
5265         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5266         Menu as first parameter. Now, this calls itself recursively to
5267         expand a whole tree (this will be useful for TOC handling)
5268         (expandFloatInsert): remove 'wide' version of floats
5269
5270         * MenuBackend.h (submenuname): returns the name of the submenu.
5271         (submenu): returns the submenu itself, provided it has been
5272         created by MenuBackend::expand
5273
5274 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5275
5276         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5277         insets which have noFontChange == true. (bug #172)
5278
5279 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5280
5281         * BufferView_pimpl.C: add connection objects and use them...
5282         (Pimpl): here.
5283
5284 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5285
5286         * MenuBackend.C (expandLastfiles):
5287         (expandDocuments):
5288         (expandFormats):
5289         (expandFloatListInsert):
5290         (expandFloatInsert):
5291         (expand): split expand in parts
5292
5293 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5294
5295         * lyx_gui.C: use lyx_gui::exit()
5296
5297 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5298
5299         * LyXAction.C: show the failing pseudo action
5300
5301 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5302
5303         * buffer.C (readFile): Run the lyxconvert script in order to read
5304         old files.
5305
5306 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5307
5308         * LyXAction.C:
5309         * commandtags.h:
5310         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5311
5312 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5313
5314         * LyXAction.C:
5315         * commandtags.h:
5316         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5317
5318 2002-07-22  Herbert Voss  <voss@lyx.org>
5319
5320         * lengthcommon.C:
5321         * lyxlength.[Ch]: add support for the vertical lengths
5322
5323 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5324
5325         * toc.[Ch]: std:: fixes
5326
5327 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5328
5329         * lyxrc.C: do not include lyx_main.h
5330
5331         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5332         for layouts
5333
5334         * lyxrc.C:
5335         * encoding.C:
5336         * bufferlist.C:
5337         * BufferView2.C: include "lyxlex.h"
5338
5339         * tabular.h:
5340         * bufferparams.h: do not #include "lyxlex.h"
5341
5342         * lyxtextclasslist.C (Add): remove method
5343         (classlist): renamed to classlist_
5344
5345         * paragraph_pimpl.C:
5346         * paragraph.C:
5347         * text2.C:
5348         * CutAndPaste.C:
5349         * bufferview_funcs.C:
5350         * bufferlist.C:
5351         * text.C:
5352         * LaTeXFeatures.C:
5353         * buffer.C:
5354         * toc.C (getTocList): use BufferParams::getLyXTextClass
5355
5356         * toc.C (getTocList): use InsetFloat::addToToc
5357
5358         * toc.[Ch]: new files, containing helper functions to handle table
5359         of contents
5360
5361         * lyxfunc.C (dispatch): no need to remove spaces around command
5362         given as a string
5363         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5364         first command of the sequence; it is not very clever, but I do not
5365         have a better idea, actually
5366
5367         * LyXAction.C (LookupFunc): make sure to remove space at the
5368         beginning and end of the command
5369
5370 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5371
5372         * MenuBackend.C (getMenubar): new method: return the menubar of
5373         this menu set
5374         (read): treat differently reading of menu and menubar (in
5375         particular, the menubar has no name now)
5376         (Menu::menubar): remove
5377
5378         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5379         saving is finished
5380
5381 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5382
5383         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5384         a bibitem inset in a RTL paragraph.
5385
5386 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5387
5388         * paragraph_pimpl.C: constify
5389
5390         * BufferView_pimpl.C:
5391         * LaTeX.C:
5392         * lyxfunc.C: fix dispatch in a nicer way
5393
5394 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5395
5396         * lyxfunc.C (dispatch):
5397         * BufferView_pimpl.C:
5398         * BufferView_pimpl.h:
5399         * BufferView.C:
5400         * BufferView.h: rename Dispatch() to dispatch()
5401
5402         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5403
5404         * lyxlayout.C (Read): honor DependsOn tag
5405
5406         * lyxlayout.[Ch] (depends_on): new method
5407
5408         * version.C.in: update lyx_docversion
5409
5410         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5411
5412         * paragraph.C (validate): remove from here...
5413         * paragraph_pimpl.C (validate): ... and move here
5414         (isTextAt): make it const
5415
5416         * buffer.C (getLists): ws cleanup
5417
5418 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5419
5420         * language.C (read): Use iso8859-1 encoding in latex_lang
5421         (this prevents LyX from crashing when using iso10646-1 encoding).
5422
5423 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5424
5425         * text2.C (toggleInset): if cursor is inside an inset, close the
5426         inset and leave cursor _after_ it
5427
5428 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5429
5430         * lyxfunc.C: move minibuffer completion handling out of here
5431
5432 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5433
5434         * BufferView_pimpl.C:
5435         * LaTeX.C: fix dispatch calls
5436
5437 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5438
5439         * text.C (drawChars): Fix Arabic text rendering.
5440
5441 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5442
5443         * LyXAction.C:
5444         * commandtags.h:
5445         * lyxfunc.C: remove message-push/pop
5446
5447         * lyxserver.C:
5448         * lyxfunc.h:
5449         * lyxfunc.C: rationalise some code by removing verboseDispatch
5450           in favour of a bool argument to dispatch()
5451
5452 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5453
5454         * lyx_main.C (init): make sure to read symlinks as absolute paths
5455
5456 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5457
5458         * lyxfunc.h:
5459         * lyxfunc.C: no need for commandshortcut to be a member
5460
5461 2002-07-15  André Pönitz <poenitz@gmx.net>
5462
5463         * converter.C: add support for $$s (scripts from lib/scripts dir)
5464         * lyx_main.C: white space
5465
5466 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5467
5468         * bufferlist.C:
5469         * lyxrc.h:
5470         * lyxrc.C: remove second exit confirmation
5471
5472 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5473
5474         * BufferView.h:
5475         * BufferView.C:
5476         * BufferView2.C:
5477         * BufferView_pimpl.h:
5478         * BufferView_pimpl.C:
5479         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5480
5481 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5482
5483         * MenuBackend.C (expand): add numeric shortcuts to document menu
5484
5485         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5486
5487 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5488
5489         * lyxfont.C (setLyXFamily):
5490         (setLyXSeries):
5491         (setLyXShape):
5492         (setLyXSize):
5493         (setLyXMisc):
5494         (lyxRead):
5495         * debug.C (value):
5496         * buffer.C (asciiParagraph): use ascii_lowercase
5497
5498 2002-07-15  Mike Fabian  <mfabian@suse.de>
5499
5500         * lyxlex_pimpl.C (search_kw):
5501         * lyxlex.C (getLongString):
5502         * converter.h (operator<):
5503         * converter.C (operator<):
5504         * buffer.C (parseSingleLyXformat2Token):
5505         (asciiParagraph):
5506         * ToolbarDefaults.C (read):
5507         * MenuBackend.C (checkShortcuts):
5508         (read):
5509         * LColor.C (getFromGUIName):
5510         (getFromLyXName): use the compare_ascii_no_case instead of
5511         compare_no_case, because in turkish, 'i' is not the lowercase
5512         version of 'I', and thus turkish locale breaks parsing of tags.
5513
5514 2002-07-16  Angus Leeming  <leeming@lyx.org>
5515
5516         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5517         now takes a Buffer const & argument.
5518
5519 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5520
5521         * BufferView.C (resize): check there's a buffer to resize
5522
5523 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5524
5525         * lyxfunc.C: remove dead code
5526
5527         * lyxserver.h:
5528         * lyxserver.C: use lyx_guii::set_read_callback
5529
5530 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5531
5532         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5533         an inset in a RTL paragraph.
5534
5535 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5536
5537         * lyxfunc.C: repaint after a font size update
5538
5539 2002-07-15  André Pönitz <poenitz@gmx.net>
5540
5541         * lyxlength.C: inBP should be able to return negative values
5542
5543 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5544
5545         * lyxfunc.C: use lyx_gui::update_fonts()
5546
5547 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5548
5549         * lyxfunc.C: use lyx_gui::update_color()
5550
5551 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5552
5553         * bufferlist.C:
5554         * lyxfunc.h:
5555         * lyxfunc.C:
5556         * lyxrc.h:
5557         * lyxrc.C: remove file->new asks for name option, and let
5558           buffer-new take an argument
5559
5560 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5561
5562         * BufferView_pimpl.C: remove unneeded extra repaint()
5563
5564 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5565
5566         * LyXAction.C: allow command-sequence with NoBuffer
5567
5568         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5569
5570 2002-07-10  Angus Leeming  <leeming@lyx.org>
5571
5572         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5573
5574 2002-07-09  Angus Leeming  <leeming@lyx.org>
5575
5576         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5577
5578 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5579
5580         * lengthcommon.h: whitespace
5581
5582         * lyxfunc.C: update scrollbar after goto paragraph
5583
5584         * lyxtext.h: factor out page break drawing, and fix it so
5585           page break/added space paints as selected nicely
5586
5587 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5588
5589         * BufferView_pimpl.C: add FIXMEs, clean up a little
5590
5591 2002-07-09  André Pönitz <poenitz@gmx.net>
5592
5593         * lyxfont.[Ch]: support for wasy symbols
5594
5595 2002-07-08  André Pönitz <poenitz@gmx.net>
5596
5597         * BufferView_pimpl.C: apply John's patch for #93.
5598
5599 2002-07-05  Angus Leeming  <leeming@lyx.org>
5600
5601         * BufferView_pimpl.C (buffer): generate previews if desired.
5602
5603         * LColor.h: add "preview" to the color enum.
5604
5605         * LColor.C (LColor): add a corresponding entry to the items array.
5606
5607         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5608         with this buffer.
5609
5610 2002-07-05  Angus Leeming  <leeming@lyx.org>
5611
5612         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5613         The body of the code is now in the method that is passed an ostream &
5614         rather than a file name.
5615         Pass an additional only_preamble parameter, useful for the forthcoming
5616         preview stuff.
5617
5618 2002-07-03  André Pönitz <poenitz@gmx.net>
5619
5620         * lyxfunc.C: simplify getStatus() a bit for math stuff
5621
5622 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5623
5624         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5625
5626 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5627
5628         * text.C (changeRegionCase): do not change case of all the
5629         document when region ends at paragraph end (bug #461)
5630
5631 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5632
5633         * paragraph.C (startTeXParParams):
5634         (endTeXParParams): add \protect when necessary
5635
5636 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5637
5638         * BufferView_pimpl.C (workAreaExpose): remove warning
5639
5640 2002-06-27  Angus Leeming  <leeming@lyx.org>
5641
5642         * Makefile.am: add lyxlayout_ptr_fwd.h.
5643
5644 2002-06-26  André Pönitz <poenitz@gmx.net>
5645
5646         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5647
5648 2002-06-25  Angus Leeming  <leeming@lyx.org>
5649
5650         * lyxfunc.C (dispatch): Comment out the call to
5651         grfx::GCache::changeDisplay. The method no longer exists now that the
5652         pixmap generation part of the graphics loader has been moved into
5653         InsetGraphics.
5654
5655 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5656
5657         * text2.C: layout as layout
5658
5659         * text.C: layout as layout
5660
5661         * tabular.C (OldFormatRead): layout as layout
5662
5663         * paragraph_pimpl.C (TeXDeeper): layout as layout
5664         (realizeFont): layout as layout
5665
5666         * paragraph.C (writeFile): layout as layout
5667         (validate): layout as layout
5668         (getFont): layout as layout
5669         (getLabelFont): layout as layout
5670         (getLayoutFont): layout as layout
5671         (breakParagraph): layout as layout
5672         (stripLeadingSpaces): layout as layout
5673         (getEndLabel): layout as layout
5674         (getMaxDepthAfter): layout as layout
5675         (applyLayout): layout as layout
5676         (TeXOnePar): layout as layout
5677         (simpleTeXOnePar): layout as layout
5678         (TeXEnvironment): layout as layout
5679         (layout): layout as layout
5680         (layout): layout as layout
5681
5682         * lyxtextclass.C (compare_name): new functor to work with
5683         shared_ptr, layout as layout
5684         (Read): layout as layout
5685         (hasLayout): layout as layout
5686         (operator): layout as layout
5687         (delete_layout): layout as layout
5688         (defaultLayout): layout as layout
5689
5690         * lyxlayout_ptr_fwd.h: new file
5691
5692         * lyxlayout.C (Read): layout as layout
5693
5694         * lyx_cb.C (MenuInsertLabel): layout as layout
5695
5696         * bufferlist.C (newFile): layout as layout
5697
5698         * buffer.C (readLyXformat2): layout as layout
5699         (parseSingleLyXformat2Token): layout as layout
5700         (insertStringAsLines): layout as layout
5701         (asciiParagraph): layout as layout
5702         (latexParagraphs): layout as layout
5703         (makeLinuxDocFile): layout as layout
5704         (simpleLinuxDocOnePar): layout as layout
5705         (makeDocBookFile): layout as layout
5706         (simpleDocBookOnePar): layout as layout
5707         (getLists): layout as layout
5708
5709         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5710
5711         * CutAndPaste.C (cutSelection): layout as layout
5712         (pasteSelection): layout as layout
5713         (SwitchLayoutsBetweenClasses): layout as layout
5714
5715         * BufferView_pimpl.C (Dispatch): layout as layout
5716         (smartQuote): layout as layout
5717
5718         * BufferView2.C (unlockInset): layout as layout
5719
5720 2002-06-24  André Pönitz <poenitz@gmx.net>
5721
5722         * lyxfunc.C: fix #487
5723
5724 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5725
5726         * lyxrc.h:
5727         * lyxrc.C:
5728         * lyxfunc.C: remove display_shortcuts, show_banner
5729
5730 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5731
5732         * Buffer_pimpl.C: oops, update on resize
5733
5734 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5735
5736         * buffer.C:
5737         * converter.C:
5738         * exporter.C:
5739         * lyxfunc.C:
5740         * BufferView.h:
5741         * BufferView.C: use repaint()
5742
5743         * BufferView_pimpl.h:
5744         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5745           as it's a clearer description. Remove superfluous
5746           redraws.
5747
5748 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5749
5750         * text.C: fix bug 488. Not ideal, but getting
5751           getWord() to work properly for the insets that
5752           matter is more difficult ...
5753
5754 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5755
5756         * BufferView_pimpl.C:
5757         * LyXAction.C:
5758         * commandtags.h:
5759         * lyxfunc.C: remove the six million index lyxfuncs to just
5760           one, and DTRT (bug 458)
5761
5762 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5763
5764         * BufferView.h:
5765         * BufferView.C:
5766         * BufferView_pimpl.h:
5767         * BufferView_pimpl.C: clean up resize() stuff,
5768           and unnecessary updateScreen()s
5769
5770 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5771
5772         * BufferView.h:
5773         * BufferView.C:
5774         * BufferView_pimpl.h:
5775         * BufferView_pimpl.C:
5776         * lyxfind.h:
5777         * lyxfind.C:
5778         * minibuffer.C: remove focus management of workarea,
5779           not needed. Use screen's greyOut()
5780
5781 2002-06-17  Herbert Voss  <voss@lyx.org>
5782
5783         * converter.C: (convert) do not post a message, when converting
5784         fails, let the calling function decide what to do in this case
5785
5786 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5787
5788         * lyxfunc.C: tidy up a little
5789
5790 2002-06-16    <alstrup@diku.dk>
5791
5792         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5793         Got rid of FORMS_H_LOCATION include. Now we are
5794         GUII.
5795
5796 2002-06-15  LyX Development team  <lyx@rilke>
5797
5798         * buffer.[Ch] (sgmlOpenTag):
5799         (sgmlCloseTag): Added support for avoiding pernicious mixed
5800         content. Return number of lines written.
5801
5802         (makeLinuxDocFile):
5803         (makeDocBookFile): Fixed calls to sgml*Tag.
5804         Simple white space clean.
5805
5806         (simpleDocBookOnePar): Simple white space clean.
5807
5808         * tabular.[Ch] (docBook): Renamed to docbook and got another
5809         argument to related with the pernicious mixed content.
5810
5811         (docbookRow): Fixed calls for docbook inset method.
5812
5813 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5814
5815         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5816         so it's X11 independent.
5817
5818         * kb*.[Ch]: ditto.
5819
5820         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5821
5822 2002-06-15  Lyx Development team  <lyx@electronia>
5823
5824         * intl.h: Renamed getTrans to getTransManager.
5825
5826 2002-06-14  Angus Leeming  <leeming@lyx.org>
5827
5828         * Makefile.am: nuke forgotten stl_string_fwd.h.
5829
5830 2002-06-12  Angus Leeming  <leeming@lyx.org>
5831
5832         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5833
5834 2002-06-13  Angus Leeming  <leeming@lyx.org>
5835
5836         * LaTeX.C:
5837         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5838
5839 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5840
5841         * kbmap.C (getiso): add support for cyrillic and greek
5842
5843 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5844
5845         * BufferView.h:
5846         * BufferView.C:
5847         * BufferView_pimpl.h:
5848         * BufferView_pimpl.C: move bogus scrolling logic
5849           to xforms
5850
5851 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5852
5853         * lyxfunc.C:
5854         * BufferView_pimpl.C: view->resize() change
5855
5856 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5857
5858         * BufferView_pimpl.C: topCursorVisible
5859           prototype change
5860
5861 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5862
5863         * Makefile.am:
5864         * lyx_gui.h:
5865         * lyx_gui.C: move to frontends/
5866
5867         * main.C:
5868         * lyx_main.h:
5869         * lyx_main.C: changes from above
5870
5871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5872
5873         * intl.C:
5874         * intl.h:
5875         * kbmap.C:
5876         * kbsequence.C:
5877         * lyx_cb.C:
5878         * lyx_main.C: minor tidy
5879
5880 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5881
5882         * BufferView_pimpl.h:
5883         * BufferView_pimpl.C:
5884         * BufferView.h:
5885         * BufferView.C: make painter() const,
5886           remove dead code
5887
5888         * BufferView2.C: use screen() accessor
5889
5890         * lyx_main.h:
5891         * lyx_main.C: some minor cleanup
5892
5893 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5894
5895         * BufferView_pimpl.h:
5896         * BufferView_pimpl.C: remove enter/leaveView,
5897           use workHeight()
5898
5899 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5900
5901         * BufferView.h:
5902         * BufferView.C:
5903         * BufferView2.C:
5904         * BufferView_pimpl.h:
5905         * BufferView_pimpl.C: only construct screen once,
5906           rename
5907
5908         * lyxrc.C: remove pointless comment
5909
5910 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5911
5912         * BufferView.h:
5913         * BufferView.C: remove active() and belowMouse()
5914
5915         * BufferView_pimpl.h:
5916         * BufferView_pimpl.C: use workarea() not workarea_,
5917           and make it use a scoped_ptr instead
5918
5919 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5920
5921         * lyx_gui.C: add debug message on BadWindow
5922
5923 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5924
5925         * sp_spell.C: fdopen is not part of the C++ standard.
5926
5927         * paragraph.C (InsetIterator): use >= instead of ==
5928
5929 2002-06-07  Angus Leeming  <leeming@lyx.org>
5930
5931         Fixes needed to compile with Compaq cxx 6.5.
5932         * BufferView_pimpl.C:
5933         * DepTable.C:
5934         * buffer.C:
5935         * converter.C:
5936         * encoding.C:
5937         * lyx_gui.C:
5938         * lyx_main.C:
5939         * lyxtextclasslist.C:
5940         * minibuffer.C:
5941         * sp_spell.C:
5942         * tabular_funcs.C:
5943         * vc-backend.C:
5944         all c-library variables have been moved into namespace std. Wrap
5945         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5946
5947         * lyxlength.C:
5948         * tabular-old.C:
5949         * tabular.C:
5950         Add a using std::abs declaration.
5951
5952         * kbmap.h (modifier_pair):
5953         * paragraph.h (InsetTable, InsetList):
5954         * lyxfont.h (FontBits):
5955         type definition made public.
5956
5957         * bufferlist.C (emergencyWriteAll): the compiler complains that
5958         there is more than one possible lyx::class_fun template to choose from.
5959         I re-named the void specialisation as lyx::void_class_fun.
5960
5961         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5962
5963         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5964         the compiler is is unable to find tostr in write_attribute.
5965
5966 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5967
5968         * buffer.C (sgmlError): hide #warning
5969
5970 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5971
5972         * xtl/*: get rid of xtl, which is not in use anyway
5973
5974         * LyXAction.C (init):
5975         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5976         were unimplemented xtl experimentation
5977
5978 2002-06-04  André Pönitz <poenitz@gmx.net>
5979
5980         * lyxfunc.C: disable array operation on simple formulae
5981
5982 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5983
5984         * converter.C: constify a bit
5985
5986 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5987
5988         * lyx_gui.C: check xforms version correctly
5989
5990 2002-04-30  Herbert Voss  <voss@lyx.org>
5991
5992         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5993         "keep" option
5994
5995 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5996
5997         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5998           attempt to register it with a VCS)
5999
6000 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6001
6002         * lyx_main.C (init): honor variables LYX_DIR_13x and
6003         LYX_USERDIR_13x
6004
6005 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6006
6007         * buffer.h:
6008         * buffer.C:
6009         * lyx_main.C: fix a crash on bad command line,
6010           and give a useful exit status on error
6011
6012         * lyxfunc.C (doImport): allow -i lyx to work
6013
6014 2002-03-30  André Pönitz <poenitz@gmx.net>
6015
6016         * lyxfunc.C: mathed font changes
6017
6018 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6019
6020         * LaTeX.C:
6021         * importer.h:
6022         * importer.C:
6023         * lyx_sty.h:
6024         * lyx_sty.C:
6025         * lyxlex.C:
6026         * lyxrow.h:
6027         * lyxtext.h:
6028         * paragraph.h:
6029         * paragraph.C:
6030         * texrow.h:
6031         * texrow.C:
6032         * text.C:
6033         * trans_mgr.h: srcdocs, and some minor cleanups
6034
6035 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6036
6037         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6038         call getFont all the time)
6039
6040 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6041
6042         * switch from SigC signals to boost::signals
6043
6044 2002-05-29  André Pönitz <poenitz@gmx.net>
6045
6046         * paragraph_pimpl.C (getChar): don't call size() too often...
6047
6048 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6049
6050         * paragraph_pimpl.C (insertChar): do not try to update tables when
6051         appending (pos == size())
6052
6053         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6054         in order to reduce drastically the number of comparisons needed to
6055         parse a large document
6056
6057 2002-05-29  André Pönitz <poenitz@gmx.net>
6058
6059         * text.C:
6060         * text2.C:
6061         * lyxtextclass.C:
6062         * sp_pspell.h:
6063         * textclasslist.[Ch]:
6064         * sp_ispell.h: whitespace change
6065
6066 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6067
6068         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6069         lyxaction directly now.
6070
6071 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6072
6073         * trans.C:
6074         * lyxfont.C:
6075         * lyxvc.C: remove unused headers
6076
6077 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6078
6079         * Makefile.am:
6080         * buffer.h:
6081         * undostack.h:
6082         * undostack.C:
6083         * undo_funcs.h:
6084         * undo_funcs.C: some cleanups. Use shared_ptr
6085           and a template for the undo stacks.
6086
6087 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6088
6089         * BufferView_pimpl.h:
6090         * BufferView_pimpl.C:
6091         * kbmap.h:
6092         * kbmap.C:
6093         * kbsequence.h:
6094         * kbsequence.C:
6095         * lyxfunc.h:
6096         * lyxfunc.C:
6097         * text2.C: use key_state/mouse_state
6098
6099 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6100
6101         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6102         and LSubstring
6103
6104         * chset.C: change include order
6105         (loadFile): use boost regex and get rid of LRegex and LSubstring
6106
6107         * Makefile.am (BOOST_LIBS): new variable
6108         (lyx_LDADD): use it
6109
6110         * LaTeX.C: change include order.
6111         (scanAuxFile): use boost regex and get rid of LRegex and
6112         LSubstring
6113         (deplog): ditto
6114
6115 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6116
6117         * ColorHandler.h:
6118         * ColorHandler.C:
6119         * FontInfo.h:
6120         * FontInfo.C: moved to frontends/xforms/
6121
6122         * FontLoader.h:
6123         * FontLoader.C: moved into frontends for GUIIzation
6124
6125         * Makefile.am:
6126         * lyx_gui.C:
6127         * lyxfont.C:
6128         * lyxfunc.C: changes from above
6129
6130 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6131
6132         * LColor.C: remove spurious X include
6133
6134         * BufferView_pimpl.C:
6135         * Makefile.am:
6136         * font.h:
6137         * font.C:
6138         * text.C:
6139         * text2.C: move font metrics to frontends/
6140
6141 2002-05-24  Juergen Vigna  <jug@sad.it>
6142
6143         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6144         setting the undo_cursor.
6145
6146         * ParagraphParameters.h: include local includes first.
6147
6148 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6149
6150         * BufferView_pimpl.C:
6151         * BufferView_pimpl.h:
6152         * Makefile.am:
6153         * WorkArea.h:
6154         * WorkArea.C:
6155         * screen.C: move WorkArea into frontends/
6156
6157         * lyxscreen.h:
6158         * screen.C:
6159         * text.C:
6160         * BufferView.C:
6161         * BufferView2.C: move LyXScreen into frontends/
6162
6163         * lyxlookup.h:
6164         * lyxlookup.C:
6165         * lyx_gui.C: move lyxlookup into frontends/xforms/
6166
6167 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6168
6169         * BufferView2.C:
6170         * BufferView_pimpl.C:
6171         * FontLoader.C:
6172         * LyXView.h:
6173         * LyXView.C:
6174         * Makefile.am:
6175         * WorkArea.C:
6176         * XFormsView.h:
6177         * XFormsView.C:
6178         * buffer.C:
6179         * bufferlist.C:
6180         * bufferview_funcs.C:
6181         * converter.C:
6182         * importer.C:
6183         * lyx_cb.C:
6184         * lyx_gui.C:
6185         * lyx_main.C:
6186         * lyx_find.C:
6187         * lyxfunc.C:
6188         * lyxvc.C:
6189         * minibuffer.C:
6190         * text.C:
6191         * text2.C:
6192         * trans.C:
6193         * vc-backend.C: move LyX/XFormsView into frontends/
6194
6195 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6196
6197         * Makefile.am:
6198         * PainterBase.C:
6199         * PainterBase.h:
6200         * Painter.C:
6201         * Painter.h:
6202         * WorkArea.C:
6203         * WorkArea.h:
6204         * screen.C:
6205         * tabular.C:
6206         * text.C:
6207         * text2.C: move Painter to frontends/
6208
6209 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6210
6211         * buffer.C: comment out some some code that depend upon lyx_format
6212         < 220
6213
6214         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6215         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6216
6217         * buffer.h (NO_COMPABILITY): turn off compability
6218
6219         * ColorHandler.C: include scoped_array.hpp
6220
6221         * font.C: Use more specific smart_ptr header.
6222         * Painter.C: ditto
6223         * gettext.C: ditto
6224         * ShareContainer.h: ditto
6225         * lyx_main.h: ditto
6226         * kbmap.h: ditto
6227         * FontInfo.h: ditto
6228         * BufferView_pimpl.h: ditto
6229         * ColorHandler.h: ditto
6230
6231         * kbmap.C (defkey): change call to shared_ptr::reset
6232
6233 2002-05-21  Juergen Vigna  <jug@sad.it>
6234
6235         * buffer.C (insertErtContents): fix to insert ert asis if it is
6236         non empty. Skip it completely if it contains only whitespaces.
6237
6238 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6239
6240         * BufferView_pimpl.C:
6241         * BufferView2.C: clear selection on paste (bug 393)
6242
6243 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6244
6245         * DepTable.C: include ctime
6246
6247 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6248
6249         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6250
6251 2002-05-14  Juergen Vigna  <jug@sad.it>
6252
6253         * text.C (breakParagraph): fixed function to honor the keepempty
6254         layout in the right maner and also to permit the right breaking
6255         algorithm on empty or non empyt keepempty paragraphs.
6256
6257         * paragraph.C (breakParagraph): we have to check also if the par
6258         is really empty (!size()) for isempty otherwise we do the wrong
6259         paragraph break.
6260
6261 2002-05-10  Juergen Vigna  <jug@sad.it>
6262
6263         * buffer.[Ch] : The following are only changes to the ert
6264         compatibility read reading old LaTeX layout and font stuff and
6265         convert it to ERTInsets.
6266
6267         * buffer.h: added isErtInset().
6268
6269         * buffer.C (struct ErtComp): add a fromlayout bool to check
6270         if we're inside a LaTeX layout.
6271         (isErtInset): new helper function.
6272         (insertErtContents): look for other ert insets before this one
6273         and insert the contents there, so that we don't have subsequent
6274         ERT insets with nothing between them. This way we create only one
6275         inset with multiple paragraphs. Also check if we don't insert only
6276         spaces ' ' as they are ignored anyway afterwards in the .tex file
6277         so if we have only spaces we will ignore this latex part in the
6278         new file.
6279         (parseSingleLyXformat2Token \\layout): better compatibility when
6280         reading layout-latex stuff.
6281         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6282         language tag.
6283         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6284         stuff after reading the inset only get the information back from
6285         the stack.
6286
6287 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6288
6289         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6290
6291         * LaTeXFeatures.C (getBabelOptions): New method.
6292
6293 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6294
6295         * BufferView_pimpl.C (Dispatch): work around missing argument for
6296         'layout'
6297
6298 2002-05-08  Juergen Vigna  <jug@sad.it>
6299
6300         * text.C (leftMargin): handle paragraph leftindent.
6301
6302         * paragraph.C (writeFile): write the new \\leftindent tag.
6303         (validate): handle leftindent code.
6304         (TeXEnvironment): handle paragraphleftindent code again.
6305
6306         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6307
6308         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6309         for paragrap_extra indent code and new token \\leftindent.
6310         (latexParagraphs): handle the leftindent as environment.
6311
6312         * ParameterStruct.h: added leftindent support.
6313
6314         * ParagraphParameters.C (leftIndent): added support functions for
6315         the paragraph left indent.
6316
6317         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6318         more appropriate.
6319
6320 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6321
6322         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6323         inside insetERT.
6324
6325         * text.C (computeBidiTables): No bidi in insetERT.
6326
6327         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6328         in RTL documents.
6329
6330 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6331
6332         * version.C.in: pre 5
6333
6334 2002-05-02  José Matos  <jamatos@fep.up.pt>
6335         * buffer.C (makeDocBookFile): white space changes, add newline to
6336         command styles.
6337         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6338
6339         * tabular.C (docBook): fix typo.
6340
6341 2002-05-03  Juergen Vigna  <jug@sad.it>
6342
6343         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6344         change in LyXText as we can not be sure it was not freed.
6345         (drawOneRow): remove unused code.
6346
6347         * text.C (drawInset): redo the calculation of the need_break_row as
6348         it could have a row which was already freed.
6349         (draw): look at the return value of drawInset and return false if
6350         it also returned false.
6351         (paintRowText): look at the return value of draw and return false if
6352         it also returned false.
6353
6354         * lyxtext.h: added bool return type to drawInset() and draw() so that
6355         if we have a change in the row so that the rowbreak has to be redone
6356         we abort drawing as it will be called again.
6357
6358 2002-05-02  Juergen Vigna  <jug@sad.it>
6359
6360         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6361         a change in the maintext also if we're inside an inset.
6362         (Dispatch): set the cursor again after a break line and after the
6363         screen has been updated as it could be we're in a different row.
6364
6365         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6366         to set the cursor behind the pargraph with > size().
6367         (setCursor): check also for the same paragraph when checking where
6368         to put the cursor if we have a NFR inset.
6369
6370         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6371         parts of layout read further up as it still was in the wrong
6372         position.
6373
6374 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6375
6376         * screen.C (drawFromTo): change sine fullRebreak always return
6377         true.
6378
6379         * buffer.C (parseSingleLyXformat2Token): reindent some
6380
6381         * BufferView_pimpl.C (update): change since fullRebreak always
6382         return true.
6383         (Dispatch): git rid of the last hardcoded "Standard"s.
6384
6385 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6386
6387         * text2.[Ch] (fullRebreak): make it return void now that we always
6388         returned true.
6389
6390 2002-04-30  Juergen Vigna  <jug@sad.it>
6391
6392         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6393         ert compatibility check for "latex" layout.
6394
6395 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6396
6397         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6398         minipages: use col% instead of p%, and also use the current font.
6399         (makeLaTeXFile): Fix use babel condition.
6400         (parseSingleLyXformat2Token): Correct font when reading old floats.
6401
6402 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6403
6404         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6405         inserting list of floats.
6406
6407 2002-04-25  Herbert Voss  <voss@lyx.org>
6408
6409         * MenuBackend.C (expand): don't add the graphics extensions to the
6410         export menu
6411
6412 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6413
6414         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6415         non-existing layout, do not complain if it was the default layout
6416         of the original class (bug #342)
6417
6418 2002-04-24  Juergen Vigna  <jug@sad.it>
6419
6420         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6421         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6422
6423 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6424
6425         * buffer.C (getBibkeyList): If using \bibliography, return the
6426         option field with the reference itself. Enables us to provide natbib
6427         support when using \bibliography.
6428
6429 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6430
6431         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6432
6433         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6434         natbib is provided by the LaTeX class.
6435
6436 2002-04-23  Juergen Vigna  <jug@sad.it>
6437
6438         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6439         Wakeup functions.
6440
6441         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6442
6443 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6444
6445         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6446
6447         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6448         ensuremath around textordmasculine, textordfeminine and
6449         textdegree.
6450
6451 2002-04-19  Juergen Vigna  <jug@sad.it>
6452
6453         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6454         reinitializing the buffer otherwise row-dimensions may be wrong.
6455         (update): reset also the selection cursors if they do exits otherwise
6456         their x/y positions may be wrong.
6457
6458         * text2.C (cursorDown): don't enter the inset if we came from a row
6459         above and are one row over the inset.
6460
6461         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6462         really leaving an inset.
6463
6464 2002-04-18  Juergen Vigna  <jug@sad.it>
6465
6466         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6467         of the selected paragraph does not have the selected layout also if
6468         the last one had!
6469
6470         * text2.C (setLayout): fixed bug which did not change last selected
6471         paragraph.
6472
6473         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6474         changed the read and substituted \\end_float with \\end_inset!
6475
6476         * BufferView_pimpl.C (cursorPrevious):
6477         (cursorNext): fixed to make it work with rows heigher than the work
6478         area without moving the cursor only the draw of the row.
6479         (workAreaMotionNotify): fix jumping over high rows.
6480
6481 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6482
6483         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6484         Ressler.
6485
6486 2002-04-16  Juergen Vigna  <jug@sad.it>
6487
6488         * text2.C (setCursor): set also the irow().
6489         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6490         (cursorUp):
6491         (cursorDown): support for locking an inset if the x_fix value goes
6492         inside it. That way I can transverse insets too with cursor up/down.
6493
6494         * lyxrow.h: added irow helper function same as other (i) functions.
6495
6496         * BufferView_pimpl.C (cursorPrevious):
6497         (cursorNext): fixed for insets!
6498
6499 2002-04-15  Juergen Vigna  <jug@sad.it>
6500
6501         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6502         position otherwise it is wrong in some cases.
6503
6504         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6505         inside the inset before the call.
6506
6507 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6508
6509         * buffer.[Ch] (getBibkeyList): make it const.
6510
6511 2002-04-12  Juergen Vigna  <jug@sad.it>
6512
6513         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6514
6515         * text2.C (getCursorX): new helper function
6516         (setCursor): compute also ix_
6517         (setCursorFromCoordinates): set also ix.
6518
6519         * lyxcursor.h: added ix_ and helper functions.
6520
6521         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6522
6523         * buffer.C (insertStringAsLines): dont break paragraph if the this
6524         paragraph is inside an inset which does not permit it!
6525
6526         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6527         also with no chars on this paragraph.
6528         (paintRowText): only paint stuff if it's inside the workarea!
6529
6530         * paragraph.C (breakParagraph): honor keepempty flag and break the
6531         paragraph always below not above.
6532
6533         * BufferView2.C (unlockInset): update the paragraph layout on inset
6534         unlock as we changed paragraph in such a case.
6535
6536         * lyxfind.C (LyXFind): clear the former selection if not found!
6537
6538         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6539         again called in insertChar().
6540
6541         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6542         an inset which uses the whole row!
6543         (rightMargin): ditto.
6544         (insertChar): force a rebreak if we inserted an inset!
6545
6546 2002-03-28  Herbert Voss  <voss@lyx.org>
6547
6548         * lyxlength.[Ch]: add inBP() to get the right PS-point
6549         units (BigPoint). With inPixels we have rounding errors
6550
6551 2002-04-11  Juergen Vigna  <jug@sad.it>
6552
6553         * text2.C (setCursorFromCoordinates): set iy to the right value.
6554         (setCursor): add check if row->previous exists!
6555
6556         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6557         an old float_type as this was the case in the old code!
6558
6559         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6560
6561         * BufferView2.C (showLockedInsetCursor): use iy
6562         (fitLockedInsetCursor): ditto
6563
6564         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6565         locked insets as there we have the right value now.
6566
6567         * lyxcursor.C: added iy_ variable and iy functions to set to the
6568         baseline of cursor-y of the locked inset.
6569
6570         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6571         (setCursor): fixed for insets which need a full row.
6572
6573         * text.C (rowLastPrintable): don't ignore the last space when before
6574         an inset which needs a full row.
6575         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6576         as last character of a row when before a inset which needs a full row.
6577
6578 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6579
6580         * version.C.in: update date
6581
6582         * text2.C (fullRebreak): try to always return true and see what
6583         happens...
6584
6585 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6586
6587         * MenuBackend.C (expand): use Floating::listName
6588
6589         * FloatList.C (FloatList): add listName argument to the built-in
6590         floats
6591
6592         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6593         text associated with the float.
6594
6595 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6596
6597         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6598
6599 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6600
6601         * ShareContainer.h: add a couple of missing typenames.
6602
6603 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6604
6605         * lyxrc.C (getDescription): use _() correctly rather than N_().
6606
6607 2002-03-28  Herbert Voss  <voss@lyx.org>
6608
6609         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6610         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6611
6612 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6613
6614         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6615         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6616
6617 2002-03-29  Juergen Vigna  <jug@sad.it>
6618
6619         * lyxfunc.C (dispatch): add a missing fitCursor call.
6620
6621         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6622         it was scrolled by a cursor move, so return the bool status.
6623
6624         * BufferView.C (fitCursor): return the bool flag also to the outside
6625         world as this is needed.
6626
6627         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6628
6629         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6630         call the edit() as it is not needed (and wrong) IMO.
6631         (workAreaButtonPress): set the screen_first variable before evt.
6632         unlock the inset as this may change screen_first and then we have
6633         a wrong y position for the click!
6634
6635 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6636
6637         * MenuBackend.C (expand): another translation that I missed
6638
6639 2002-03-28  Juergen Vigna  <jug@sad.it>
6640
6641         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6642
6643         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6644
6645 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6646
6647         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6648
6649         * MenuBackend.C (expand): fix export/view/update when there is no
6650         document open.
6651
6652 2002-03-27  Herbert Voss  <voss@lyx.org>
6653
6654         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6655         and text%
6656
6657 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6658
6659         * bufferview_funcs.C (currentState): only show paragraph number
6660         for is DEVEL_VERSION is set.
6661
6662         * lyxfunc.C (dispatch): put warning in INFO channel
6663
6664         * MenuBackend.C (expand): translate the name of floats
6665
6666         * FloatList.C (FloatList): mark the float names for translation
6667
6668         * converter.C (convert): use LibScriptSearch
6669
6670 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6671
6672         * MenuBackend.C (defaults): fix default menu (we might as well get
6673         rid of it...)
6674
6675 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6676
6677         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6678         directory.
6679
6680 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6681
6682         * lyxvc.C: reorder includes.
6683
6684 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6687           properly
6688
6689 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6690
6691         * CutAndPaste.C: change layouts earlier on paste
6692           to avoid crashing when calling getFont()
6693
6694 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6695
6696         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6697         irritating #error.
6698
6699 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6700
6701         * WorkArea.C: remove 'Pending' debug message.
6702
6703         * most files: ws cleanup
6704
6705         * buffer.[Ch]: ws changes
6706
6707         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6708
6709 2002-03-21  Juergen Vigna  <jug@sad.it>
6710
6711         * tabular.C (SetMultiColumn): collapse also the contents of the
6712         cells and set the last border right. Added a Buffer const * param.
6713
6714 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6715
6716         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6717         linking or not.
6718
6719 2002-03-19  Juergen Vigna  <jug@sad.it>
6720
6721         * text2.C (clearSelection): reset also xsel_cache.
6722
6723         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6724         where it needs to be called (John tells us to do so too :)
6725         (selectionLost): reset sel_cache.
6726
6727         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6728
6729 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * text2.C (setCursorIntern): put debuging code in INSETS channel
6732
6733 2002-03-19  André Pönitz <poenitz@gmx.net>
6734
6735         * lyxfunc.C: tiny whitespace change
6736
6737 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6738
6739         * ToolbarDefaults.C (init):
6740         * LyXAction.C (init):
6741         * commandtags.h:
6742         * BufferView_pimpl.C (Dispatch):
6743         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6744
6745 2002-03-19  Allan Rae  <rae@lyx.org>
6746
6747         * exporter.C (Export): removeAutoInsets before doing anything else.
6748         While I've just introduced a dependency on BufferView this really is
6749         the best place to clean the buffer otherwise you need to cleanup in
6750         a dozen places before calling export or cleanup in a dozen functions
6751         that export calls.
6752
6753         * converter.C (runLaTeX):
6754         (scanLog): Better handling of removeAutoInsets and screen updates.
6755
6756         * lyxfunc.C (dispatch): small whitespace changes
6757
6758 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6759
6760         * WorkArea.C (C_WorkAreaEvent): return a value.
6761         (event_cb): return 1 if we handled the event, 0 otherwise.
6762
6763         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6764
6765 2002-03-18  Juergen Vigna  <jug@sad.it>
6766
6767         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6768         (GetAdditionalWidth): ditto.
6769         (RightLine): ditto.
6770         (LeftLine): ditto.
6771
6772         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6773         inset if we're there actually (probably not used right now but this
6774         is the direction to go for unifying code).
6775         (paste): disable code to clear the selection.
6776
6777         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6778         inside an InsetText and move the check further up as it is in the
6779         wrong place.
6780
6781         * text2.C (pasteSelection): set a selection over the pasted text.
6782
6783 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6784
6785         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6786         and libgraphics to build on Cygwin.
6787
6788 2002-03-15  Juergen Vigna  <jug@sad.it>
6789
6790         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6791         inserting an Inset into the paragraph. I know this is not the best
6792         fix but we already use current_view in CutAndPaste so we will remove
6793         all of it's using at the same time.
6794
6795         * buffer.C (sgmlError): deactivated function till it is rewritten in
6796         the right mode, now it can create problems.
6797
6798         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6799         before accessing it.
6800
6801 2002-03-14  Juergen Vigna  <jug@sad.it>
6802
6803         * undo_funcs.C (textHandleUndo): do the right thing when updating
6804         the inset after the undo/redo.
6805
6806         * text2.C (setCursor): just some testcode for #44 not ready yet.
6807
6808         * undo_funcs.C (textHandleUndo): set the next() and previous()
6809         pointers of the paragraph to 0 before deleting otherwise we have
6810         problems with the Paragraph::[destructor].
6811
6812         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6813         on a paragraph insertion.
6814
6815 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6816
6817         * buffer.C (asciiParagraph): use += operator for char append to
6818         string.
6819
6820         * paragraph.C (getFontSettings): compare >= not just >
6821         (highestFontInRange): ditto
6822         (setFont): ditto
6823
6824 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6825
6826         * paragraph.C: change several algorithm to be more appripriate for
6827         the problem domain. This is lookip in FontList and in the InsetList.
6828
6829 2002-03-13  André Pönitz <poenitz@gmx.net>
6830
6831         * commandtags.h:
6832         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6833
6834 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * commandtags.h:
6837         * LyXAction.C:
6838         * lyxfunc.C:
6839         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6840
6841 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6842
6843         * Painter.C (display): anon helper function, adjust code for this
6844         change.
6845         (pixmap): remove function.
6846
6847         * Painter.h: remove private display variable.
6848
6849         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6850
6851 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6852
6853         * WorkArea.[Ch]: remove figinset_canvas cruft.
6854
6855 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6856
6857         * lyxtextclass.C (operator): add one item cache optimization.
6858
6859         * bufferlist.h: doxy changes
6860
6861         * bufferlist.C: ws changes
6862
6863         * DepTable.[Ch] (ext_exist): place const in the right spot.
6864
6865         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6866         call resizeInsets.
6867         (workAreaExpose): call resizeInsets when the with BufferView changes.
6868         (Dispatch): adjust for protectedBlank removal
6869         (specialChar): call updateInset if the insert went ok.
6870
6871         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6872         specialChar instead.
6873
6874         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6875
6876         * BufferView.h: doxy change
6877
6878         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6879
6880         * lyxtextclass.C (operator[]): remove non-const version
6881         (defaultLayout): remove non-const version
6882
6883 2002-03-12  Juergen Vigna  <jug@sad.it>
6884
6885         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6886         did resize the LyXText too.
6887
6888         * buffer.C (readLyXformat2): set layout information on newly allocated
6889         paragraphs.
6890
6891         * tabular.C (OldFormatRead): set layout information on the paragraph.
6892
6893 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6894
6895         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6896
6897 2002-03-11  Juergen Vigna  <jug@sad.it>
6898
6899         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6900         plainly wrong.
6901         (resizeCurrentBuffer): force also the insets to resize themselfes.
6902         (moveCursorUpdate): fixed up for InsetText.
6903
6904 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6905
6906         * commandtags.h:
6907         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6908         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6909         value of Dialogs::tooltipsEnabled().
6910         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6911
6912 2002-03-08  Juergen Vigna  <jug@sad.it>
6913
6914         * BufferView_pimpl.C (updateInset): update inset inside inset also
6915         if it isn't inside theLockingInset().
6916
6917 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6918
6919         * buffer.C (asciiParagraph): redo some of the word and line length
6920         handling.
6921         (getLists): look for Caption instead of caption.
6922
6923 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6924
6925         * buffer.C (Buffer): initialize niceFile to true
6926         (makeLaTeXFile):
6927         (makeLinuxDocFile):
6928         (makeDocBookFile): make sure niceFile is true on exit
6929
6930 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6931
6932         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6933
6934 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6935
6936         * LyXSendto.C: remove.
6937         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6938         * lyx_gui.C: remove now-redundant comment.
6939         * ColorHandler.h: remove forward declaration of class WorkArea.
6940         * lyxfunc.C: remove #include "WorkArea.h".
6941
6942 2002-03-07  Juergen Vigna  <jug@sad.it>
6943
6944         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6945         got moved away with the DEPM and also set the inset_owner always
6946         right which before could have been omitted.
6947
6948 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6949
6950         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6951         wanted layout is not found.
6952
6953 2002-03-07  Juergen Vigna  <jug@sad.it>
6954
6955         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6956
6957 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6958
6959         * paragraph.C (breakParagraph): use default layout not layout of
6960         prev paragraph.
6961         (Paragraph): clear ParagraphParameters.
6962
6963 2002-03-06  Juergen Vigna  <jug@sad.it>
6964
6965         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6966         otherwise it would not be a valid lenght. Fixed a special case in
6967         the minipage compatibility read where we end the document with a
6968         minipage.
6969
6970         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6971         was set as it could be 0 for InsetTexts first entry.
6972
6973 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6974
6975         * paragraph.C (writeFile): if layout is empty write out
6976         defaultLayoutName().
6977
6978         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6979         file without named layout we set layout to defaultLayoutName().
6980
6981 2002-03-06  Juergen Vigna  <jug@sad.it>
6982
6983         * CutAndPaste.C (copySelection): set layout for new paragraph.
6984
6985         * text.C (prepareToPrint): leave ERT inset left aligned
6986         (leftMargin): don't indent paragraphs inside ERT insets
6987
6988 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6989
6990         * paragraph.C (breakParagraph): dont call clear do the work manually
6991
6992         * paragraph.[Ch] (clear): remove function
6993
6994 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6995
6996         * paragraph.C (Paragraph): dont call clear, the work has already
6997         been done.
6998
6999         * lyxtextclass.C (operator): assert if n is empty
7000
7001         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7002         work manually instead.
7003
7004 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7005
7006         * BufferView_pimpl.C: protect selectionLost against text == 0
7007
7008 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7009
7010         * text.C (breakParagraph): fix a setting layout to '0' problem.
7011
7012 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7013
7014         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7015         final location of file, for the included files, and graphics.
7016
7017 2002-03-05  Juergen Vigna  <jug@sad.it>
7018
7019         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7020
7021 2002-03-04  Juergen Vigna  <jug@sad.it>
7022
7023         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7024
7025         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7026         last column of multicolumn cells.
7027         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7028
7029 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7030
7031         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7032         file if it doesn't go to a temporary file.
7033
7034         * buffer.C (sgmlOpenTag):
7035         (sgmlCloseTag):  remove extra newline insertion.
7036
7037 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7038
7039         * text.C (getRowNearY): comment out debug msg
7040
7041 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7042
7043         * text2.C: first -> first_y
7044
7045         * text.C (getRowNearY): add some attemts at a possible
7046         optimization, not working.
7047
7048         * tabular.[Ch]: add BufferParams to several function so that newly
7049         created paragraph can be initialized to he default layotu for the
7050         buffers textclass.
7051
7052         * tabular-old.C (ReadOld): add buf->params to call of Init
7053
7054         * screen.C: rename text->first to text->first_y
7055
7056         * paragraph.C (breakParagraph): always set layout in the broken
7057         paragraph
7058
7059         * lyxtextclass.C (Read): remove lowercase
7060         (hasLayout): ditto
7061         (operator): ditto
7062         (delete_layout): ditto
7063
7064         * lyxtext.h: rename first -> first_y
7065
7066         * lyxlayout.C (Read): remove lowercase
7067         (name): ditto
7068         (setName): ditto
7069         (obsoleted_by): ditto
7070
7071         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7072
7073         * buffer.C (insertErtContents): add params are to InsetERT
7074         (parseSingleLyXformat2Token): add code to check if a paragraphs
7075         layout really exist.
7076         (parseSingleLyXformat2Token): add params to several inset
7077         constructors
7078         (asciiParagraph): remove lowercase, do the layout comparisons with
7079         no_case
7080
7081         * BufferView_pimpl.C (cursorNext): first -> first_y
7082         (resizeCurrentBuffer): first -> first_y
7083         (updateScrollbar): first -> first_y
7084         (scrollCB): first -> first_y
7085         (workAreaMotionNotify): first -> first_y
7086         (workAreaButtonPress): first -> first_y
7087         (checkInsetHit): first -> first_y
7088         (cursorPrevious): first -> first_y
7089         (cursorNext): first -> first_y
7090         (Dispatch): add buffer_->params to severl inset contructors
7091
7092 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7093
7094         * lyxlayout.C (Read): remove some debug info that I forgot.
7095
7096         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7097         clean up the code slightly.
7098         (makeLinuxDocFile): ditto
7099         (makeDocBookFile): ditto
7100
7101         * text2.C: layout as string
7102
7103         * text.C: layout as string
7104
7105         * paragraph_pimpl.C: layout as string
7106
7107         * paragraph.[Ch]: layout as string
7108
7109         * lyxtextclasslist.[Ch]: layout as string
7110
7111         * lyxtextclass.[Ch]: layout as string
7112
7113         * lyxtext.h: layout as string
7114
7115         * lyxlayout.[Ch]: layout as string
7116
7117         * lyx_cb.C: layout as string
7118
7119         * bufferview_funcs.C: layout as string
7120
7121         * bufferparams.C: layout as string
7122
7123         * buffer.C: layout as string
7124
7125         * LyXView.[Ch]: layout as string
7126
7127         * LaTeXFeatures.[Ch]: layout as string
7128
7129         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7130
7131         * BufferView_pimpl.C: change current_layout to string, remove
7132         lyx::layout_type.
7133         (Dispatch):
7134         (smartQuote):
7135         (insertInset):
7136         (workAreaButtonRelease): layout as string
7137
7138         * BufferView2.C (unlockInset): adjust
7139
7140         * vspace.C (asLatexCommand): use an explict temp variable.
7141
7142 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7143
7144         * Makefile.am: use FRONTEND_*
7145
7146 2002-03-01  Juergen Vigna  <jug@sad.it>
7147
7148         * tabular.C (SetWidthOfMulticolCell): changed to something better
7149         I hope but still work in progress.
7150         (recalculateMulticolumnsOfColumn): renamed function from
7151         recalculateMulticolCells as it is more appropriate now.
7152         (SetWidthOfCell): calculate multicols better.
7153
7154 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7155
7156         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7157
7158         * lyxfunc.C (processKeySym): print sequence also if it is
7159         `deleted' (complete)
7160
7161         * kbsequence.C (print): print sequence even if it is deleted
7162         (complete would be a better word, actually).
7163
7164         * lyxfunc.C (dispatch): print complete options after a prefix key
7165
7166         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7167
7168 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7169
7170         * text2.C (setCharFont): eliminate setCharFont code duplication.
7171
7172 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7173
7174         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7175         LFUN_TABULAR_FEATURE (bug #177)
7176
7177 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7178
7179         * Makefile.am: remove figure.h
7180
7181 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7182
7183         * Bufferview_pimpl.C:
7184         * CutAndPasteC:
7185         * LaTeX.C:
7186         * LyXSendto.C:
7187         * buffer.C:
7188         * bufferlist.C:
7189         * converter.C:
7190         * language.C:
7191         * lyxfunc.C:
7192         * lyxvc.C:
7193         * paragraph.C:
7194         * text.C:
7195         * text2.C: remove #include "lyx_gui_misc.h".
7196
7197         * LaTeX.C: added #include <cstdio>
7198
7199 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7200
7201         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7202         that the paragraph following this one can have.
7203
7204         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7205
7206         * vspace.C (asLatexCommand): fix bogus gcc warning
7207
7208         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7209
7210 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7211
7212         * text2.C (setLayout): get rid of redundant code
7213
7214 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7215
7216         * text2.C (incDepth): make sure depth cannot be increased beyond
7217         reasonable values.
7218
7219 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7220
7221         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7222         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7223
7224         * PainterBase.h (image):
7225         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7226         a LyXImage const *.
7227
7228 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7229
7230         * BufferView.C:
7231         * BufferView.h:
7232         * BufferView_pimpl.C:
7233         * BufferView_pimpl.h:
7234         * LaTeXFeatures.C:
7235         * LyXAction.C:
7236         * LyXView.C:
7237         * Makefile.am:
7238         * UpdateList.h:
7239         * UpdateList.C:
7240         * buffer.C:
7241         * figure.h:
7242         * figureForm.C:
7243         * figureForm.h:
7244         * figure_form.C:
7245         * figure_form.h:
7246         * lyx_cb.C:
7247         * lyx_gui.C:
7248         * lyx_gui_misc.C:
7249         * lyxfunc.C:
7250         * sp_base.h:
7251         * sp_ispell.h:
7252         * sp_pspell.h:
7253         * sp_spell.C: remove fig inset, and the crap house of
7254           cards that follows it
7255
7256 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7257
7258         * Makefile.am:
7259         * lyxserver.C:
7260         * os2_defines.h:
7261         * os2_errortable.h:
7262         * nt_defines.h: move .h into support/
7263
7264         * vms_defines.h: remove
7265
7266         * WorkArea.C: add space in debug output
7267
7268         * text2.C:
7269         * paragraph.C:
7270         * buffer.C: add WITH_WARNINGS
7271
7272         * vc-backend.h:
7273         * vc-backend.C:
7274         * bufferlist.C: s/retrive/retrieve/, add docs
7275
7276         * vspace.h:
7277         * vspace.C:
7278         * kbmap.h:
7279         * lyxlength.h:
7280         * lyxgluelength.h:
7281         * length_common.h:
7282         * chset.h:
7283         * chset.C: add docs
7284
7285         * lyxgui.C: add ID to X error handler
7286
7287         * lyxtestclass.c: fix typo
7288
7289 2002-02-26  Juergen Vigna  <jug@sad.it>
7290
7291         * tabular_funcs.C (write_attribute): changed so that some default
7292         attributes are not written at all.
7293         (getTokenValue): set default values before trying to read the
7294         value so we have the return value always set as default if we don't
7295         find the token we search for.
7296
7297         * tabular.C (Write): write bools as bools not as strings!
7298
7299 2002-02-22  Juergen Vigna  <jug@sad.it>
7300
7301         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7302         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7303
7304         * text.C (leftMargin): don't add an indent for paragraphs inside
7305         tabular cells (fix #208).
7306
7307 2002-02-21  José Matos  <jamatos@fep.up.pt>
7308
7309         * tabular.C (docBook): fixed support for long tables.
7310
7311 2002-02-20  Juergen Vigna  <jug@sad.it>
7312
7313         * text2.C (getFont): get the drawing font of the Inset if this
7314         paragraph is inside an inset (only important for InsetERT for now).
7315
7316         * buffer.C (insertErtContents): use new lanugage params in ERT
7317         constructor.
7318
7319         * CutAndPaste.C: commenting out seemingly uneeded code.
7320
7321 2002-02-19  Allan Rae  <rae@lyx.org>
7322
7323         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7324         Iterators might be simple to use but they also get invalidated.
7325         (removeAutoInsets): renamed saved cursor tracking variables and added
7326         some comments to clarify what everything does.
7327
7328 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7329
7330         * Chktex.C:
7331         * LaTeX.C:
7332         * LyXSendto.C:
7333         * converter.C:
7334         * lyx_cb.C:
7335         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7336         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7337
7338         * lyxfunc.C:
7339         * vc-backend.h: remove #include "support/syscall.h"
7340
7341         * LaTeX.C:
7342         * LyXSendto.C:
7343         * converter.C: rearrange #includes in Lars' approved fashion.
7344
7345         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7346         forward declare class Timeout in the header file.
7347
7348         * XFormsView.C: changes due to the above.
7349
7350         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7351         similar to LyXView.
7352
7353         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7354         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7355
7356 2002-02-18  José Matos  <jamatos@fep.up.pt>
7357
7358         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7359         insets contents.
7360
7361 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7362
7363         * a lot of small ws changes
7364         * add a lot of using std::XXX
7365         * use std construcs some places where approp.
7366         * use some exisint stuff from lyxfunctional where approp.
7367         * Make file changes to use partial linking (lets test this now...)
7368
7369 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7370
7371         * Chktex.C:
7372         * buffer.C:
7373         remove #include "support/syscontr.h" as it's redundant. Always has been.
7374
7375         * Chktex.C:
7376         * LaTeX.C:
7377         * LyXSendto.C:
7378         * converter.C:
7379         * lyx_cb.C:
7380         * vc-backend.C:
7381         change Systemcalls::System to Systemcalls::Wait and
7382         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7383         No change of functionality, just reflects the stripped down Systemcalls
7384         class.
7385
7386 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7387
7388         * debug.[Ch]: add a GRAPHICS type to the enum.
7389
7390 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7391
7392         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7393
7394         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7395         there is an inset.
7396
7397 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7398
7399         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7400         match the changes below.
7401
7402         * text2.C (toggleInset): if there is not editable inset at cursor
7403         position, try to see if cursor is _inside_ a collapsable inset
7404         and close it.
7405
7406 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7407
7408         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7409         document menu has a nice checkbox
7410
7411 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7412
7413         * lyxlength.C (asLatexString): change PW to output as percent of
7414         \textwidth.
7415
7416         * lengthcommon.C: change '%' to 't%'
7417
7418         * lyxfunc.C (dispatch): a few comments from Martin
7419
7420 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7421
7422         * WorkArea.h:
7423         * WorkArea.C:
7424         * BufferView_pimpl.h:
7425         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7426           the X selection.
7427
7428 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7429
7430         * vspace.C (inPixels): fix compiler warning
7431
7432 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7433
7434         * lyxfunc.C (getStatus): fix status message for disabled commands.
7435
7436 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7437
7438         * BufferView_pimpl.C: fix crash on close buffer
7439         during selection (#227)
7440
7441 2002-01-27  Herbert Voss  <voss@lyx.org>
7442
7443         * buffer.C: link old Figure to new graphic inset
7444
7445 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7446
7447         * FontLoader.C (getFontinfo): Change the latex font names in order
7448         to match the names of type1inst.
7449
7450 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7451
7452         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7453
7454         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7455         (extchanged): ditto
7456         (ext_exist): ditto
7457         (remove_files_with_extension): ditto
7458         (remove_file): ditto
7459         (write): ditto
7460
7461         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7462         document is smaller than the work area height. Do not initialize
7463         static variables to 0.
7464
7465 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7468
7469         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7470         LFUN_LAYOUT_PARAGRAPHS.
7471
7472         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7473         tabular. It is possible to provide a possible cell, which will
7474         typically be the actcell from the corresponding insettabular
7475
7476         * lyxfunc.C (getStatus): small cleanup; disable
7477         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7478         true
7479
7480 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7481
7482         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7483
7484         * paragraph.C (startTeXParParams):
7485         (endTeXParParams): new methods. The LaTeX code to
7486         start/end paragraph formatting
7487         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7488         empty (fixes bug #200)
7489
7490         * vspace.C (inPixels): adapt to the change below
7491         (inPixels): [later] more cleanups (remove unused variables)
7492
7493         * lyxlength.C (inPixels): change to use a width and a height as
7494         parameter.
7495
7496 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7497
7498         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7499         Replaced with \paperwidth
7500
7501         * DepTable.C (insert): add std:: qualifier
7502
7503 2002-01-18  Allan Rae  <rae@lyx.org>
7504
7505         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7506         updated also?
7507
7508         * text.C (drawInset): Turned out I didn't know enough about how
7509         rebreaking worked.  This fixes most of the redraw problems.  I see
7510         an occasional cursor trail when a line is broken now and the cursor
7511         placement can seem out by a few pixels also after a rebreak.
7512
7513 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * buffer.C (parseSingleLyXformat2Token): update because minipage
7516         width is now a LyXLength
7517
7518         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7519
7520         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7521         math insets
7522
7523 2002-01-17  Juergen Vigna  <jug@sad.it>
7524
7525         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7526
7527         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7528         is set correctly and the inset is updated correctly.
7529
7530 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7531
7532         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7533         the beginning of the loop.
7534
7535 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * lyxrc.C: improve help for use_scalable_fonts
7538
7539 2002-01-17  Allan Rae  <rae@lyx.org>
7540
7541         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7542
7543 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7544
7545         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7546         make sure to set their inset_owner to the right value (bug #171)
7547
7548 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7549
7550         * DepTable.h
7551         * DepTable.C: Implement mtime checking to reduce time spent doing
7552         CRCs.
7553
7554 2002-01-16  Juergen Vigna  <jug@sad.it>
7555
7556         * tabular.C (GetAdditionalHeight): one of error fixed.
7557
7558         * lyxrc.C (output): small fix in writing use_pspell.
7559
7560 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7561
7562         * sp_base.h: #include LString.h
7563
7564 2002-01-16  Allan Rae  <rae@lyx.org>
7565
7566         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7567         Can someone check this please?
7568
7569         * text.C (drawInset): It was possible that p.row would be removed by
7570         breakAgainOneRow upsetting a few other settings.  There may be another
7571         small tweak possible by setting need_break_row = 0 when p.row has been
7572         removed but I don't know enough about the logic here.
7573
7574 2002-01-15  Allan Rae  <rae@lyx.org>
7575
7576         * text.C (insertChar): removed conditional truism.
7577
7578         * BufferView2.C (removeAutoInsets): More tweaks.
7579         cur_par_prev could be a stray pointer.  Check for trailing empty line
7580         in case last line was cur_par and only had an error inset on it.
7581
7582 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7583
7584         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7585         absolute
7586
7587         * vc-backend.C (most methods):
7588         * exporter.C (Export):
7589         * converter.C (convert):
7590         (runLaTeX):
7591         * LyXSendto.C (SendtoApplyCB):
7592         * lyxfunc.C (dispatch):
7593         (menuNew):
7594         (open):
7595         (doImport):
7596         * lyx_cb.C (AutoSave):
7597         (InsertAsciiFile):
7598         * BufferView_pimpl.C (MenuInsertLyXFile):
7599         * buffer.C (runChktex): use Buffer::filePath().
7600
7601         * buffer.h: rename filename to filename_; rename filepath to
7602         filepath_ and make it private
7603         (filePath): new method
7604
7605         * buffer.C (writeFile): use fileName()
7606         (getLatexName):
7607
7608         * lyx_main.C (init): fix starting  of LyX when the binary is a
7609         link from so,ewhere else.
7610
7611         * minibuffer.C: include <cctype> for isprint
7612
7613 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7614
7615         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7616         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7617         name clash with InsetCollapsable's width function.
7618
7619 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7620
7621         * lastfiles.C: include <iterator>
7622
7623 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7624
7625         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7626         std::count.
7627
7628         * buffer.C (makeLaTeXFile): ditto.
7629         Also make loop operation more transparent.
7630
7631 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7632
7633         * ToolbarDefaults.C: remove trailing comma closing namespace.
7634
7635         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7636
7637         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7638         as in WorkArea.
7639
7640         * trans.C (Load): comment out unused variable, allowed.
7641
7642 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7643
7644         * minibuffer.[Ch] (append_char): new method to recieve input from the
7645         drop-down completion browser. If a key was pressed, then recieve this
7646         char and append it to the existing string.
7647         (peek_event): modify the positioning data passed to the completion
7648         browser so that it can be placed above the minibuffer rather than below.
7649 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7650
7651         * LyXAction.C (init): alloe error-next for readonly documents.
7652
7653         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7654         count.
7655
7656 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * bufferlist.C (readFile): create the buffer _after_ checking that
7659         the file exists.
7660
7661         * lyxfunc.C (verboseDispatch): fix handling of arguments
7662
7663         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7664
7665         * lyxrc.C: use string::erase() instead of initializing to "".
7666
7667
7668 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7669
7670         * BufferView_pimpl.h:
7671         * BufferView_pimpl.C:
7672         * WorkArea.h:
7673         * WorkArea.C:
7674         * text2.C: tell X when we have made a selection for copying
7675
7676 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7677
7678         * BufferView_pimpl.C (MenuInsertLyXFile):
7679         * lyxfunc.C (menuNew):
7680         (open):
7681         (doImport): add shortcuts to directory buttons
7682
7683         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7684         open a float)
7685
7686         * lyxfunc.C (setStatusMessage):
7687         (getStatusMessage): new methods
7688         (getStatus):use setStatusMessage instead of setErrorMessage
7689         (dispatch): when function is disabled, set error message here
7690         [instead of in getStatus previously]
7691
7692         * BufferView_pimpl.C (workAreaButtonRelease): update
7693         toolbar/menubar here too.
7694
7695 2002-01-13  Allan Rae  <rae@lyx.org>
7696
7697         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7698         Now seems indestructible.  Remaining task is to audit all other
7699         code affected by deleteEmptyParagraphMechanism.  One small quirk
7700         left is that an empty document with an error in the preamble can
7701         be made to report an error but no error box appears.  I don't know
7702         where it goes.
7703         (removeAutoInsets): Improved comments.
7704
7705 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7706
7707         * Thesaurus.h:
7708         * Thesaurus.C: update for Aiksaurus 0.14
7709
7710 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7711
7712         * text2.C (firstParagraph): removed member function, all uses
7713         replaces with ownerParagraph
7714         (redoParagraphs): here
7715         (updateInset): here
7716         (toggleAppendix): here
7717         * BufferView2.C (insertErrors): here
7718         (setCursorFromRow): here
7719
7720 2002-01-13  Allan Rae  <rae@lyx.org>
7721
7722         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7723         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7724         There is still a way to segfault this although you may have to do this
7725         multiple times: Have an InsetERT with an unknown command in it.
7726         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7727         <down-arrow>, <Enter> again, View->DVI, BANG!
7728
7729         * text2.C (setCursor):
7730         (deleteEmptyParagraphMechanism):
7731         * lyxtext.h (setCursor):
7732         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7733         Making use of the return value may help fix other bugs.
7734
7735 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7736
7737         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7738
7739         * LyXView.C (updateMenubar): call MenuBar::update here
7740         (updateToolbar): but not here
7741         (showState): do not update toolbar/menubar
7742
7743         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7744         should need to care about that.
7745
7746         * lyxfunc.C (verboseDispatch): simplify a bit
7747         (getStatus): have a version which takes a pseudoaction, and
7748         another which requires a (kb_action,string).
7749
7750         * LyXAction.C (retrieveActionArg): make it work also when action
7751         is not a pseudo-action.
7752         (getActionName): simplify a bit
7753         (helpText):
7754
7755 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7756
7757         * lyxfunc.C (verboseDispatch): new families of methods with
7758         several ways to specify a command and a bool to indicate whether
7759         the command name and shortcut should be displayed in minibuffer
7760         (eventually, we could extend that to a finer bitmask like
7761         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7762         (dispatch): the pristine dispatch command which just, well,
7763         dispatchs! Note it still sets its result to minibuffer; I'm not
7764         sure we want that.
7765
7766         * lyxfunc.h: remove setHintMessage
7767
7768         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7769
7770 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7771
7772         * BufferView_pimpl.C (specialChar): delete new inset if we have
7773         not been able to insert it.
7774
7775         * kbmap.C: revert to using int instead of kb_action, since all we
7776         are dealing with is pseudo-actions.
7777
7778         * LyXAction.C (searchActionArg): change to return int instead of
7779         kb_action, since the result is a pseudoaction.
7780
7781 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7782
7783         * buffer.C (insertErtContents): Fix (partially) the font bug.
7784
7785 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7786
7787         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7788         as the other one is broken on my machine!
7789
7790 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7791
7792         * commandtags.h:
7793         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7794
7795 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7796
7797         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7798         reflect their actual use. Provide compatibility code for older lyxrc
7799         files.
7800
7801         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7802         FL_NORMAL_STYLE.
7803         change names of popup font variables in line with the changes to lyxrc.C
7804
7805 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * buffer.C (asciiParagraph): avoid outputing a word twice after
7808         an inset.
7809
7810         * lyxrc.C (getDescription): document that document_path and
7811         template_path can be empty.
7812
7813 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * LaTeXFeatures.C (getMacros):
7816         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7817
7818         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7819
7820         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7821         getPackages.
7822         (getPackages): rename feature "floats" to "float". Use an array to
7823         iterate over 'simple' features (i.e. just a \usepackage). Add
7824         handling of "amsmath" (renamed from "amsstyle").
7825
7826 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7827
7828         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7829         features list.
7830
7831 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7832
7833         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7834         FuncStaus::FuncStatus & FuncStaus::some_method().
7835
7836 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7837
7838         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7839         of the func_satus stuff. Edited and massaged in various ways by
7840         JMarc.
7841
7842         * lyxfunc.C (getStatus): use FuncStatus
7843
7844 2002-01-08  Juergen Vigna  <jug@sad.it>
7845
7846         * text.C (nextBreakPoint): use function Inset::isChar().
7847
7848         * paragraph.C (TeXOnePar): use function
7849         Inset::forceDefaultParagraphs.
7850
7851         * buffer.C (latexParagraphs): use function
7852         Inset::forceDefaultParagraphs.
7853
7854 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7855
7856         * lyx_gui.C (init): set the style of the menu popups to
7857         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7858
7859 2002-01-07  Juergen Vigna  <jug@sad.it>
7860
7861         * text.C (setHeightOfRow): small fix
7862         (prepareToPrint): don't look at alignment if we don't have the place
7863         for doing it.
7864
7865 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7866
7867         * box.C: New file. Move the Box methods and functions out of box.h,
7868         following Lars' suggestion.
7869
7870 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7871
7872         * box.h: #include "support/LOstream.h", needed for inlined function.
7873
7874         * lyxtextclass.C:
7875         * lyxtextclasslist.C: added some using std declarations.
7876
7877 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * box.h: make signed dimensions to allow insets wider than
7880           the screen (bug #162)
7881
7882         * BufferView_pimpl.C: add some insetHit debug
7883
7884 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7885
7886         * vc-backend.C: add FIXME
7887
7888 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7889
7890         * lyxfunc.C (getStatus): enable code for showing math font status
7891         in toolbar/menu.
7892
7893 2002-01-07  Juergen Vigna  <jug@sad.it>
7894
7895         * text.C (nextBreakPoint): removed debug output not needed anymore.
7896
7897 2002-01-06  Juergen Vigna  <jug@sad.it>
7898
7899         * text.C (nextBreakPoint): fixed up this function we had this bug
7900         since ever but now hopefully we break row better.
7901         (insertChar): we have to check if an inset is the next char as it
7902         could now happen that a large inset is causing a break.
7903
7904 2002-01-05  Juergen Vigna  <jug@sad.it>
7905
7906         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7907         if it doesn't like to be drawed.
7908
7909 2002-01-04  Juergen Vigna  <jug@sad.it>
7910
7911         * BufferView2.C (lockInset): forgot to set a cursor.
7912
7913         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7914
7915 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7916
7917         * FormMathsPanel.C:
7918         * FormMathsPanel.h
7919         * MathsSymbols.C:
7920         * form_maths_panel.C:
7921         * form_maths_panel.h:
7922         * form_maths_panel.fd: implemented sub- and super- buttons in math
7923         panel.
7924
7925         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7926         (or ^ space) to be used as in TeX (req'd by André).
7927
7928         * lyxfunc.C: Allow ^ and _ again to be used both as
7929         super/subscript (mathed) and as themselves (in text).
7930
7931 2002-01-03  Allan Rae  <rae@lyx.org>
7932
7933         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7934         "LyX" or the filename of the current buffer if it has one.  This is a
7935         modified form of John Levon's patch.
7936
7937         * XFormsView.C (setWindowTitle): also set icon title.
7938
7939         * LyXView.h (setWindowTitle): signature changed.
7940         * XFormsView.h (setWindowTitle): ditto.
7941
7942 2002-01-02  Juergen Vigna  <jug@sad.it>
7943
7944         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7945
7946 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7947
7948         * screen.C (topCursorVisible): introduce a temp var for
7949         text->cursor.row(), handle the case where this row is null. (kindo
7950         hachish)
7951
7952         * text2.C (setCursor): add a couple of asserts.
7953
7954         * paragraph.h (inset_iterator): add -> operator
7955
7956         * paragraph.[Ch] (autoDeleteInsets): remove member function
7957
7958         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7959         cursor pos correctly and handle inset deletion by itself.
7960         (insertErrors): move iterator declaration out of for expression
7961
7962         * lyxtextclass.C: add <algorithm>
7963
7964         * Makefile.am: added the new files to sources, removed layout.C
7965
7966         * layout.C: removed file
7967
7968         * layout.h: remove LYX_DUMMY_LAYOUT
7969
7970         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7971         layout.
7972
7973         * lyxlayout.[Ch]:
7974         * lyxtextclass.[Ch]:
7975         * lyxtextclasslist.[Ch]: new files
7976
7977         * include order changes to a lot of files, also changes because of
7978         the six new files.
7979
7980 2001-12-27  Juergen Vigna  <jug@sad.it>
7981
7982         * buffer.C (asciiParagraph): more fixes.
7983
7984         * tabular.C (ascii): make ascii export support export of only the
7985         data separated by a column-delimiter.
7986         (ascii): better support for ascii export.
7987
7988         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7989
7990 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7991
7992         * tabular_funcs.C: use a "using std::getline" instead of the
7993         previous fix from Angus (necessary for cxx + lyxstring)
7994
7995 2001-12-24  Juergen Vigna  <jug@sad.it>
7996
7997         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7998
7999         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8000         problems. First check a minipage also if we have some ert-contents
8001         (not only on par->size(), second set the right depth of the paragraph
8002         on the relink to the root-paragraph-list!
8003
8004         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8005         which then did not anymore update the main paragraphs on undo/redo!
8006
8007 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8008
8009         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8010         code. Support all font-changing funcs (even those which are not in
8011         menu currently). Support for reporting font settings in
8012         mathed (disabled until Andre provides a function on mathed's side).
8013
8014         * func_status.h (toggle): small helper function to set toggle
8015         state on a flag.
8016
8017 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8018
8019         * tabular_funcs.C: getline -> std::getline
8020
8021 2001-12-21  Juergen Vigna  <jug@sad.it>
8022
8023         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8024         accessed and could be 0 (I couldn't generate this but it seems
8025         Michael could!).
8026
8027 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8030         * tabular_funcs.h: here and include iosfwd
8031
8032 2001-12-20  Juergen Vigna  <jug@sad.it>
8033
8034         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8035         inside inset but undo_par was.
8036
8037 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * Thesaurus.C: always include <config.h> in sources.
8040
8041         * Painter.h:
8042         * lyxlookup.h:
8043         * box.h: do not include <config.h> in header files
8044
8045         * text.C (paintLastRow): remove unused variable
8046
8047         * text.C (transformChar):
8048         (insertChar):
8049         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8050
8051         * Painter.C (text):
8052         * font.C (width): rewrite to use uppercase() instead of
8053         islower/toupper.
8054
8055         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8056
8057 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * lyxfind.C: clean up of find failure position change
8060
8061 2001-12-20  Juergen Vigna  <jug@sad.it>
8062
8063         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8064
8065         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8066         (TeXRow): added to LaTeX a single tabular row.
8067         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8068         (Latex): simplified and finally good LT-h/f support.
8069         (various_functions): just small adaptions for LT-h/f support.
8070
8071         * tabular_funcs.[hC]: added and moved here all not classfunctions
8072         of LyXTabular.
8073
8074 2001-12-19  Juergen Vigna  <jug@sad.it>
8075
8076         * tabular.[Ch]: better support for longtabular options (not finished
8077         yet!)
8078
8079 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8080
8081         * text.C (paintLastRow): use the label font instead of the font of
8082         the last character to compute the size of *_BOX. This makes more
8083         sense and avoids a crash with empty paragraphs.
8084         Use Painter::rectangle to draw EMPTY_BOX.
8085
8086 2001-12-19  Juergen Vigna  <jug@sad.it>
8087
8088         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8089         the paragraphs if the replaced paragraph is not the first one!
8090         Tried to delete not used paragraphs but does not work yet so for
8091         now it's inside #ifdef's and by default off!
8092
8093 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * MenuBackend.C: include "lyx_main.h" instead of declaring
8096         lastfiles (actually was declared as LastFiles* instead of a
8097         scoped_ptr).
8098
8099 2001-12-17  Juergen Vigna  <jug@sad.it>
8100
8101         * tabular.C (AppendColumn): applied John's fix
8102
8103 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8104
8105         * BufferView.h:
8106         * BufferView.C:
8107         * BufferView_pimpl.h:
8108         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8109
8110         * Makefile.am:
8111         * box.h: new start of class for above
8112
8113         * lyxfunc.C: ignore space-only minibuffer dispatches.
8114           Show the command name when it doesn't exist
8115
8116         * minibuffer.C: don't add empty lines to the history
8117
8118         * minibuffer.C: add a space on dropdown completion
8119
8120 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8121
8122         * text.C: fix line above/below drawing in insets
8123
8124 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8125
8126         * lyxlength.C (LyXLength): Initialize private variables.
8127
8128 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8129
8130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8131         when inserting error insets.
8132
8133 2001-12-13  Juergen Vigna  <jug@sad.it>
8134
8135         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8136         actually sometimes the before-paragraph.
8137         (setUndo): don't clear the redostack if we're not actually undoing!
8138
8139 2001-12-06  Juergen Vigna  <jug@sad.it>
8140
8141         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8142         and fixed redoing of main paragraph, so we can use it now ;)
8143
8144         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8145
8146 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8149         Juergen's request
8150
8151 2001-12-13  André Pönitz <poenitz@gmx.net>
8152
8153         * undostack.[Ch]:
8154         * undo_func.C: minor cleanup
8155
8156 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8157
8158         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8159         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8160         font in urw-fonts package which is marked as -urw-fontspecific and
8161         does not work (incidentally, changing the encoding in the
8162         fonts.dir of this package to -adobe-fontspecific fixes the
8163         problem).
8164
8165         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8166         is a crash when undoing first paragraph (Juergen, please take a
8167         look). THis does not mean the undo fix is wrong, just that it
8168         uncovers problems.
8169
8170         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8171         the (Paragraph*) version when needed instead of duplicating the
8172         code.
8173
8174         * text.C (workWidth): use Inset::parOwner to find out where the
8175         inset has been inserted. This is a huge performance gain for large
8176         documents with lots of insets. If Inset::parOwner is not set, fall
8177         back on the brute force method
8178
8179         * paragraph_pimpl.C (insertInset):
8180         * paragraph.C (Paragraph):
8181         (cutIntoMinibuffer): set parOwner of insets when
8182         inserting/removing them
8183
8184         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8185
8186 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8187
8188         * commandtags.h:
8189         * LyXAction.C:
8190         * lyx_main.C:
8191         * lyxfunc.C:
8192         * mathed/formulabase.C:
8193         * mathed/math_cursor.[Ch]:
8194         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8195
8196
8197 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8198
8199         * lyxlength.[Ch] (operator!=): new function
8200
8201 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * text.C (workWidth): use Inset::parOwner to find out where the
8204         inset has been inserted. This is a huge performance gain for large
8205         documents with lots of insets. If Inset::parOwner is not set, fall
8206         back on the brute force method
8207
8208         * paragraph_pimpl.C (insertInset):
8209         * paragraph.C (Paragraph):
8210         (cutIntoMinibuffer): set parOwner of insets when
8211         inserting/removing them
8212
8213         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8214
8215 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * tabular-old.C (getTokenValue):
8218         * tabular.C (getTokenValue):
8219         (write_attribute): new versions for LyXLength
8220         (everywhere): adjust the use of widths
8221
8222         * tabular.h: change the type of widths from string to LyXLength
8223
8224 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8225
8226         * paragraph.C: fixed missing line number count when exporting
8227         Environments to LaTeX file
8228
8229         * buffer.C: added informational message for checking line numbers.
8230
8231 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8232
8233         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8234         paragraph, do the 'double space' part, but not the 'empty
8235         paragraph' one.
8236
8237         * text.C (workWidth): small optimization
8238         (getLengthMarkerHeight): use minimal size for negative lengths.
8239
8240 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8241
8242         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8243
8244         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8245
8246 2001-12-11  André Pönitz <poenitz@gmx.net>
8247
8248         * FontLoader.C:
8249         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8250
8251 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * text2.C: keep selection on a setFont()
8254
8255 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8256
8257         * lyx_cb.C: another bv->text misuse, from insert label
8258
8259 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8260
8261         * kbsequence.h:
8262         * kbsequence.C: re-instate nmodifier mask
8263
8264 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8265
8266         * lyx_main.h: make lyxGUI private.
8267
8268 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * lyxfind.C: place the cursor correctly on failed search
8271
8272 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8273
8274         * text.C (getLengthMarkerHeight): for small heights, the arrows
8275         are not always on top/bottom of the text
8276         (drawLengthMarker): smaller arrows; take the left margin in
8277         account; draw also vfills.
8278         (paintFirstRow):
8279         (paintLastRow): remove special code for vfill and standard spaces,
8280         since everything is handled in drawLengthMarker now.
8281
8282 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8283
8284         * buffer.C (insertErtContents): try to handle font and language
8285         interaction a bit better.g
8286
8287         * ColorHandler.C (updateColor): change the hash to cover the whole
8288         LColor enum, ws cleanup
8289         (getGCLinepars): ditto
8290         (getGCLinepars): only lookup in the linecache once.
8291
8292 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8293
8294         * iterators.C (operator++): Make the iterator more robust
8295
8296         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8297         (John's patch)
8298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8299
8300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8301
8302         * lyxtext.h:
8303         * text.C: better added space drawing
8304
8305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * LyXView.C:
8308         * BufferView2.C: fix layout combo update on inset unlock
8309
8310 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * Makefile.am: don't compile unused files
8313
8314 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * lyxfunc.C:
8317         * commandtags.h:
8318         * LyXAction.C: remove old LFUN_LAYOUTNO
8319
8320 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * paragraph_pimpl.h:
8323         * paragraph_pimpl.C: isTextAt() doesn't need font param
8324
8325 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * lyxlex.h:
8328         * lyxlex.C: little cleanup
8329
8330 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * BufferView_pimpl.C: fix insertAscii for insets
8333
8334 2001-12-05  Juergen Vigna  <jug@sad.it>
8335
8336         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8337         set the right font on the "multi" paragraph paste!
8338
8339 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8340
8341         * trans_decl.h:
8342         * trans_mgr.[Ch]:
8343         * trans.[Ch]:
8344         * lyxgluelength.C:
8345         * lyxlength.C: remove out-commented code.
8346
8347         * BufferView_pimpl:
8348         * CutAndPaste.C:
8349         * DepTable.C:
8350         * buffer.C:
8351         * chset.C:
8352         * lastfiles.C:
8353         * lyxlex.C:
8354         * lyxlex_pimpl.C:
8355         * lyxserver.C:
8356         * screen.C:
8357         * tabular-old.C:
8358         * tabular.C:
8359         * text.C:
8360         * trans_mgr.C:
8361         * vc-backend.C: change "while(" to "while ("
8362
8363         * lyxlength.[Ch]: add zero function to check if length is zero or
8364         not
8365         * lyxgluelength.C: use it
8366
8367 2001-12-05  Allan Rae  <rae@lyx.org>
8368
8369         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8370         Works for 2.95.3, from what I understand of Garst's reports this should
8371         work for other g++ versions.  We're screwed if the abs(int) definition
8372         changed between bugfix releases of gcc.
8373
8374 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * text.C: fix chapter label offset !
8377
8378 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * lyxtext.h:
8381         * text.C: fix hfill at end of line, clean up
8382
8383 2001-12-04  Juergen Vigna  <jug@sad.it>
8384
8385         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8386         that we force an update of the inset and it's owners if neccessary.
8387
8388 2001-12-03  Juergen Vigna  <jug@sad.it>
8389
8390         * text.C (rowLast): simplified code
8391
8392 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8393
8394         * lyxfunc.C: fix show options on timeout
8395
8396 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8397
8398         * screen.C (topCursorVisible): scroll half a page when the cursor
8399         reached top of bottom of screen
8400
8401 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * minibuffer.C: deactivate on loss of focus
8404
8405 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8406
8407         * vspace.[Ch] (operator!=): add operator.
8408
8409 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * BufferView_pimpl.C: refuse to open an inset when
8412         there's a selection.
8413
8414 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * BufferView_pimpl.C: allow to click on RHS of full row insets
8417
8418 2001-11-30  Juergen Vigna  <jug@sad.it>
8419
8420         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8421         insets for undo reasons.
8422
8423 2001-11-28  André Pönitz <poenitz@gmx.net>
8424
8425         * vspace.[Ch]: cosmetical changes
8426
8427 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * LyXAction.h:
8430         * LyXAction.C:
8431         * lyxfunc.h:
8432         * lyxfunc.C:
8433         * kbmap.h:
8434         * kbmap.C:
8435         * lyxrc.C:
8436         * kbsequence.h:
8437         * kbsequence.C: part re-write of old kb code
8438
8439         * Painter.C:
8440         * WorkArea.C: remove Lgb_bug_find_hack
8441
8442 2001-11-30  José Matos <jamatos@fep.up.pt>
8443
8444         * buffer.C (makeDocBookFile): add a comment to point a hack.
8445         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8446         Fixed a double write of labels.
8447
8448 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8449
8450         * LaTeX.C:
8451         * LaTeX.h Fixed bug in LaTeX class where it would not
8452         re-run latex if no depfiles were changed, but the .dvi was removed.
8453
8454 2001-11-28  André Pönitz <poenitz@gmx.net>
8455
8456         * all the files from the change on 2001/11/26:
8457         use lyx::layout_type instead of LyXTextClass::size_type
8458         use lyx::textclass_type instead of LyXTextClassList::size_type
8459
8460 2001-11-29  Juergen Vigna  <jug@sad.it>
8461
8462         * text.C: added support for paragraph::isFreeSpacing()
8463
8464         * buffer.C: same as above
8465
8466         * paragraph.h: inserted isFreeSpacing() function to enable
8467         FreeSpacing inside InsetERT.
8468
8469         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8470         of the paragraph's in the cut/copy buffer to 0!
8471
8472         * text2.C (removeRow): remove the assert as it can!
8473
8474         * lyxtext.h: added helper function firstRow returning firstrow and
8475         made firstrow private again.
8476
8477         * BufferView2.C (lockInset): don't relock if we're already locked!
8478
8479         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8480         the only paragraph.
8481         (removeRow): added Assert::(firstrow)
8482
8483         * debug.C: forgot to add INSETTEXT here.
8484
8485 2001-11-28  Juergen Vigna  <jug@sad.it>
8486
8487         * sp_spell.C (initialize): changed error text to more general
8488         spellchecker command use (not only ispell!)
8489
8490         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8491
8492         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8493
8494 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8495
8496         * vspace.C: initialise lyxgluelength on failure
8497
8498 2001-11-28  Allan Rae  <rae@lyx.org>
8499
8500         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8501         declaration & definition that looks like a function declaration.
8502
8503 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8504
8505         * BufferView2.C (copy):
8506         (copyEnvironment): do not clear the selection when doing a copy.
8507
8508         * text.C (paintFirstRow): compilation fix
8509
8510 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8511
8512         * tabular.C (Latex): correct line count when writing latex.
8513
8514 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8515
8516         * paragraph_pimpl.h:
8517         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8518           bug a bit
8519
8520 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * text.C:
8523         * LColor.h:
8524         * LColor.C: change vfillline->added_space
8525
8526         * text.C: add markers and text for added space
8527
8528         * vspace.C: fix comment
8529
8530 2001-11-28  André Pönitz <poenitz@gmx.net>
8531
8532         * paragraph.C: whitespace changes
8533         * all the other files from the change on 2001/11/26:
8534         change *::pos_type into lyx::pos_type
8535
8536 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8537
8538         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8539         language of the document when inserting error insets.
8540
8541 2001-11-26  André Pönitz <poenitz@gmx.net>
8542
8543         * BufferView_pimpl.[Ch]:
8544         *       CutAndPaste.C:
8545         * buffer.[Ch]:
8546         * lyxcursor.[Ch]:
8547         * lyxfind.C:
8548         * lyxfunc.C:
8549         * lyxrow.[Ch]:
8550         * paragraph.[Ch]:
8551         * paragraph_pimpl.[Ch]:
8552         * sp_spell.C:
8553         * text.C:
8554         * text2.C: reduce header dependencies, introduce type for positions
8555
8556 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * <various>: change to use Alert.h
8559
8560 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8561
8562         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8563         when encountering an unknown token.
8564         (readLyXformat2): Show an error message if there were unknown tokens.
8565
8566 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8567
8568         * BufferView2.C:
8569         * BufferView_pimpl.C:
8570         * buffer.C:
8571         * paragraph.h:
8572         * text.C:
8573         * text2.C: use par->isInset()
8574
8575 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * paragraph_pimpl.h:
8578         * paragraph_pimpl.C: cleanup
8579
8580 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8581
8582         * text2.C (removeRow):
8583         * text.C (setHeightOfRow): remove useless (and costly) call to
8584         getRow.
8585
8586 2001-11-20  Allan Rae  <rae@lyx.org>
8587
8588         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8589         Now need Inset*::checkInsertChar() to return true for appropriate
8590         cases so that the characters in the minibuffer will actually be
8591         inserted.
8592
8593 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8594
8595         * text.C: change the order of the includes.
8596         (workWidth): initialize it at once.
8597         (workWidth): make maxw unsigned
8598         (setHeightOfRow): remove unused variable (inset)
8599         (selectSelectedWord): remove unused variable (inset)
8600         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8601
8602 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8603
8604         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8605         server is not running.
8606         (openConnection):
8607         (closeConnection): add debug info when server is disabled.
8608
8609         * ColorHandler.C (getGCForeground): send debug message to GUI
8610         channel.
8611
8612         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8613
8614         * kbmap.C (bind): modify because return conventions of
8615         kb_sequence::parse have changed.
8616
8617         * kbsequence.C (parse): only ignore spaces and not any stupid
8618         control character. This avoids tests like s[i] <= ' ', which are
8619         guaranteed to fail with 8bit characters and signed chars.
8620         Change return code to string::npos when there have been no error
8621         (0 was a bad idea when error is at first character)
8622
8623 2001-11-14  José Matos  <jamatos@fep.up.pt>
8624
8625         * buffer.h:
8626         * buffer.C (simpleDocBookOnePar): removed unused argument.
8627
8628 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8629
8630         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8631         insets which are part of a word. Paragraph::isLetter takes care of
8632         that now. Use Paragraph::isInset to identify insets.
8633         (selectSelectedWord): do not test for hyphenation break.
8634
8635         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8636         that protected spaces are considered as spaces.
8637
8638         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8639         Inset::isLetter.
8640
8641 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * lyxserver.h:
8644         * lyxserver.C: fix it. and small cleanup.
8645
8646 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * BufferView_pimpl.C: use inline helpers
8649
8650         * LaTeXFeatures.h:
8651         * LaTeXFeatures.C: fix typos
8652
8653         * Spacing.h:
8654         * Spacing.C: move spacing_string into class
8655
8656         * ToolbarDefaults.C: move stuff into namespace anon
8657
8658         * layout.h: update enum
8659
8660         * lyxfunc.C: use better debug
8661
8662         * minibuffer.h: fix typo
8663
8664         * debug.h:
8665         * debug.C:
8666         * WorkArea.C: add and use Debug::WORKAREA
8667
8668         * lyxtext.h:
8669         * text.C:
8670         * text2.C: code re-organisation, inline helpers
8671
8672 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8673
8674         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8675         std::vector.empty().
8676
8677 2001-11-09  Allan Rae  <rae@lyx.org>
8678
8679         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8680         '\n's after tables.  Tabular and ERT inset work now makes this no
8681         longer necessary.
8682
8683 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * minibuffer.h:
8686         * minibuffer.C: fix crash, improve drop-down completion
8687
8688 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8689
8690         * lyxserver.h:
8691         * lyxserver.C: invalidate fd's when doing endPipe()
8692
8693 2001-11-08  José Matos  <jamatos@fep.up.pt>
8694
8695         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8696         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8697
8698         * paragraph.h:
8699         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8700
8701 2001-11-07  José Matos  <jamatos@fep.up.pt>
8702
8703         * buffer.h:
8704         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8705         const qualifier.
8706
8707         * buffer.C (sgmlOpenTag):
8708         * buffer.C (sgmlCloseTag): removed debug info.
8709
8710         * buffer.h (sgmlOpenTag):
8711         * buffer.h (sgmlCloseTag): made public.
8712
8713 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8714
8715         * buffer.C (saveParamsAsDefaults):
8716         * lyx_cb.C (MenuLayoutSave): remove
8717
8718         * LyXAction.C (init):
8719         * commandtags.h:
8720         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8721
8722 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * buffer.C (setPaperStuff): removed from here...
8725
8726         * bufferparams.C (setPaperStuff): ... and moved there.
8727
8728 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8729
8730         * minibuffer.h:
8731         * minibuffer.C:
8732         * XFormsView.C: add support for drop-down completion
8733
8734 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8735
8736         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8737         commands.
8738
8739 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8740
8741         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8742         disabled.
8743
8744 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8745
8746         * lyx_main.C: change ref to known bugs
8747
8748 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8749
8750         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8751         to work around older babel problems.
8752
8753 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8754
8755         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8756
8757 2001-10-24  Juergen Vigna  <jug@sad.it>
8758
8759         * tabular-old.C (ReadOld): below variable changes reflected.
8760
8761         * tabular.[Ch]: added ltType struct for longtable header/footer
8762         defines and changed all instances where they are used. Added
8763         future support for double top/bottom rows.
8764
8765 2001-10-24  José Matos  <jamatos@fep.up.pt>
8766
8767         * buffer.h (docbookHandleCaption):
8768         * buffer.C (docbookHandleCaption): removed unused function.
8769         (makeDocBookFile): moved docbook supported version to v4.1.
8770
8771 2001-10-24  José Matos  <jamatos@fep.up.pt>
8772
8773         * tabular.h:
8774         * tabular.C (docbookRow): new function to export docbook code of a row.
8775         (DocBook): now honors the longtable flags.
8776
8777 2001-10-23  José Matos  <jamatos@fep.up.pt>
8778
8779         * LaTeXFeatures.h:
8780         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8781         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8782
8783         * buffer.C (makeLinuxDocFile):
8784         (makeDocBookFile): reworked the preamble, more clean, and with
8785         support for lyx defined entities. Changed the document declaration
8786         to be more XML friendly.
8787
8788         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8789         if we need to output XML that should be done with a filter.
8790
8791 2001-10-22  Juergen Vigna  <jug@sad.it>
8792
8793         * sp_pspell.h (class PSpell): add alive function needed in the
8794         controller to see if the spellchecker could be started.
8795
8796 2001-10-22  Juergen Vigna  <jug@sad.it>
8797
8798         * buffer.C (insertStringAsLines): modify the font for inserting
8799         chars in certain conditions by calling checkInsertChar(font).
8800
8801 2001-10-19  Juergen Vigna  <jug@sad.it>
8802
8803         * text.C (workWidth): use getRow instead of wrong algorithm.
8804         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8805
8806 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * lyxserver.h:
8809         * lyxserver.C:
8810         * lyx_main.h:
8811         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8812
8813 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8814
8815         * text.C (workWidth): do not search for the exact row when
8816         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8817         optimization for big documents.
8818
8819 2001-10-18  Juergen Vigna  <jug@sad.it>
8820
8821         * text.C (workWidth): new function with added Inset * parameter.
8822
8823 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8824
8825         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8826
8827         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8828         change return type of getColumnNearX.
8829
8830
8831         * text.C (changeRegionCase): use uppercase/lowercase instead of
8832         toupper/tolower.
8833         (leftMargin):
8834         (rightMargin): simplify code by factoring out the uses of
8835         textclasslist.
8836         (labelFill):
8837         (numberOfHfills):
8838         (setHeightOfRow):
8839         (appendParagraph): use Paragraph::size_type
8840
8841 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8842
8843         * vspace.C (asLatexString): add a missing break
8844
8845 2001-10-15  Herbert Voss  <voss@perce.de>
8846
8847         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8848
8849 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8850
8851         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8852         is not available.
8853
8854 2001-10-10  André Pönitz <poenitz@gmx.net>
8855
8856         * lyxfunc.C: removed greek_kb_flag.
8857
8858 2001-10-10  Herbert Voss  <voss@perce.de>
8859
8860         * lyx_main.C: delete global string help_lyxdir.
8861
8862 2001-10-09  Herbert Voss  <voss@perce.de>
8863
8864         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8865
8866         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8867
8868         * lyx_main.C: added global string help_lyxdir.
8869
8870         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8871
8872 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8873
8874         * lyxrc.C (set_font_norm_type): support iso8859-4
8875
8876 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8877
8878         * LaTeX.C (deplog): add another regex for MikTeX
8879
8880 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8881
8882         * lyxrc.C (set_font_norm_type): support iso8859-3
8883
8884 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8885
8886         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8887
8888         * LaTeXFeatures.C: remove special case of french and index
8889
8890         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8891         before \begin{document}). This solves several incompatibilities.
8892
8893 2001-10-03  Garst Reese  <reese@isn.net>
8894
8895         * lyx_cb.C: change CheckTex error msg.
8896
8897 2001-10-03  José Matos  <jamatos@fep.up.pt>
8898
8899         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8900
8901 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8902
8903         * .cvsignore: update
8904
8905         * lyx_main.C (commandLineVersionInfo): use new style version info.
8906
8907         * buffer.C (writeFile):
8908         (makeLaTeXFile):
8909         (makeLinuxDocFile):
8910         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8911
8912         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8913
8914         * version.h: update to use stuff in version.C
8915
8916         * version.C.in: new file. Contains version information determined
8917         at compile time. This is a merging of version.h and
8918         version_info.h.in.
8919
8920 2001-10-03  Juergen Vigna  <jug@sad.it>
8921
8922         * BufferView_pimpl.C (update): don't change "dirty" status in
8923         updateInset call.
8924
8925 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8926
8927         * WorkArea.C (c-tor): re-position version string slightly.
8928
8929 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8930
8931         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8932         revert to previous code.
8933
8934         WorkArea.[Ch]: (show, destroySplash): methods removed.
8935
8936         WorkArea.C: rework code so that it's an amalgam of the codes before and
8937         after the splash screen was moved to WorkArea.
8938
8939 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8940
8941         * lyxrc.C (read):
8942         * vspace.C (inPixels):
8943         (lyx_advance):
8944         * kbmap.C (bind):
8945         * buffer.C (insertStringAsLines):
8946         (asciiParagraph): fix types to be large enough
8947
8948         * lyxlex_pimpl.h: change member status from short to int
8949
8950         * layout.h: fix type of endlabeltype
8951
8952         * kbmap.C (bind):
8953         * kbsequence.C (parse): change return type to string::size_type
8954
8955         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8956         variable
8957
8958         * Bullet.C (bulletSize):
8959         (bulletEntry): do not use short ints as parameters
8960
8961         * BufferView2.C (insertLyXFile): change a char to an int.
8962
8963         * WorkArea.C (WorkArea): remove unneeded floats in computation
8964
8965 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8968
8969         * paragraph.C (asString): Do not ignore newline/hfill chars when
8970         copying to the clipboard.
8971
8972 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8973
8974         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8975         after a multi-line inset.
8976
8977 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8978
8979         * paragraph.C (validate): Set NeedLyXFootnoteCode
8980
8981 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8982
8983         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8984         and decrease-error to decrease.
8985
8986 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8987
8988         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8989         it more readable (should be equivalent)
8990
8991 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8992
8993         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8994
8995 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8996
8997         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8998         of a cursor (row, etc.) after a character has been deleted
8999         (deleteEmptyParagraphMechanism): call the method above on _all_
9000         cursors held by the LyXText when a double space has been
9001         detected/deleted.
9002
9003 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9004
9005         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9006         pixmap.
9007         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9008
9009         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9010         background. Use greyOut() and the new show() methods to toggle between
9011         the foreground and background. Add code to remove the splash after
9012         its initial showing.
9013
9014         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9015         (create_forms): no longer call Dialogs::showSplash.
9016
9017 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9018
9019         * .cvsignore: add version_info.h
9020
9021 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9022
9023         * version_info.h.in: new file
9024
9025         * Makefile.am: add version_info.h.in
9026
9027         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9028         version_info.h instead of VERSION_INFO
9029
9030 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9031
9032         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9033         The ERT inset now returns string().
9034
9035 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9036
9037         * lyxtext.h, text.C (selectNextWord): renamed as
9038         selectNextWordToSpellcheck.
9039
9040         * text.C (selectNextWordToSpellcheck): Modified to not select
9041         words inside an ERT inset.
9042
9043 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9044
9045         * lyx_cb.C (MenuLayoutSave): change a bit the question
9046
9047         * sp_base.h: include <sys/types.h>
9048
9049 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9050
9051         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9052
9053 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9054
9055         * several files: fix typos in user-visible strings
9056
9057 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9058
9059         * text2.C (pasteSelection): do not set the selection, since it
9060         will be cleared later. Actually, the intent was to fix the way the
9061         selection was set, but I figured rmoving the code was just as good.
9062
9063 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * FontLoader.C (available): Check if font is available without
9066         loading the font.
9067
9068 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9069
9070         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9071
9072 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9073
9074         * lyxrc.[Ch]: added display_graphics variable and associated code.
9075
9076 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9077
9078         * bufferparams.C (hasClassDefaults): new method. Returns true if
9079         the buffer parameters correspond to known class defaults
9080
9081 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9082
9083         * XFormsView.C (show): set minimum size to the main window.
9084
9085 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9086
9087         * text2.C (copySelection):
9088         (cutSelection):
9089         * lyxfind.C (LyXReplace):
9090         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9091         LyXText::selectionAsString.
9092
9093         * paragraph.C (asString): add "label" argument to the second form
9094
9095         * text2.C (selectionAsString): add "label" argument and pass it to
9096         Paragraph::asString.
9097
9098 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9099
9100         * lyx_main.C (commandLineHelp): remove version information
9101
9102 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9103
9104         * lyx_main.C: add -version commandline option
9105
9106 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * paragraph.h: make the optional constructor arg required instead.
9109         some modifications to other files because of this.
9110
9111         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9112
9113         * lyxserver.C (C_LyXComm_callback): make it static
9114
9115         * lyx_main.C (error_handler): make it static
9116
9117         * lyx_gui.C (LyX_XErrHandler): make it static
9118
9119         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9120
9121         * WorkArea.C: make the extern "C" methods static.
9122
9123         * Makefile.am (lyx_LDADD): simplify
9124
9125 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9126
9127         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9128         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9129
9130         * LyXAction.C (init):
9131         * lyxfunc.C (dispatch): associated code removal.
9132
9133 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9134
9135         * lyxfont.h (isSymbolFont): shut off warning
9136
9137         * text.C (setHeightOfRow):
9138         (getVisibleRow): fix crash with empty paragraphs which have a
9139         bottom line
9140
9141 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9142
9143         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9144         code.
9145
9146 2001-09-04  José Matos  <jamatos@fep.up.pt>
9147         * buffer.C
9148         * buffer.h
9149         * tabular.C (docbook): rename docBook method to docbook.
9150
9151 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9152
9153         * Makefile.am: add dependencies to main.o.
9154
9155 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9156
9157         * FontLoader.C (available): Return false if !lyxrc.use_gui
9158
9159 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9160
9161         * FontInfo.C (query):
9162         * converter.C (view):
9163         * importer.C (Import):
9164         * exporter.C (Export): Can not -> cannot.
9165
9166 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * BufferView_pimpl.C: allow to create index inset even if
9169           string is empty
9170
9171 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9172
9173         * buffer.C (getLists): replace boost::tie code with an explicit pair
9174         as boost::tie can break some compilers.
9175
9176         * iterators.h: Added a std:: declaration to the return type of
9177         ParIterator::size.
9178
9179 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9180
9181         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9182           case.
9183
9184 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9185
9186         * iterators.[Ch]: New files. Provide paragraph iterators.
9187
9188         * buffer.C (changeLanguage): Use paragraph iterators.
9189         (isMultiLingual): ditto
9190
9191         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9192
9193 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9194
9195         * FontLoader.C: Support for cmr font.
9196
9197 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9198
9199         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9200         (available): New method.
9201
9202         * FontInfo.C (getFontname): Use scalable fonts even when
9203         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9204         found.
9205
9206 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9207
9208         * converter.C (Formats::view): reverted! Incorrect fix.
9209
9210 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9211
9212         * converter.C (Formats::view): only output the -paper option
9213         if the dvi viewer is xdvi, thereby fixing bug #233429.
9214
9215 2001-08-23  Herbert Voss  <voss@perce>
9216
9217         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9218
9219 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9220
9221         * Spacing.h (Spacing): Set space to Default on in the default
9222         constructor.
9223
9224 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * vc-backend.h (RCS::versionString): add RCS to version
9227         (CVS::versionString): add CVS to version
9228
9229         * vc-backend.C (scanMaster): do not add CVS to version.
9230         (scanMaster): do not add RCS to version
9231
9232         * lyxvc.C (versionString): new method
9233
9234         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9235
9236 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * Spacing.C (set): initialize fval
9239
9240 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9243         " or \.
9244
9245 2001-08-16  Juergen Vigna  <jug@sad.it>
9246
9247         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9248
9249 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * BufferView_pimpl.C:
9252         * figureForm.C:
9253         * lyxtext.h:
9254         * text2.C: setParagraph takes linespacing now
9255
9256 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * LyxAction.C: add internal LFUN_CITATION_INSERT
9259
9260         * LyXView.C: actually apply fix
9261
9262         * bufferlist.C: fix open non-existent file
9263
9264         * lyxfind.C: fix indentation
9265
9266         * lyxfunc.C: remove unneeded assert, fix typo
9267
9268 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * MenuBackend.C: use "Floatname List"
9271
9272 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9273
9274         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9275         when converting LaTeX layout to insetERT.
9276         Generate a non-collapsed float when reading old float
9277
9278 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9279
9280         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9281         ERT insets.
9282
9283 2001-08-13  Juergen Vigna  <jug@sad.it>
9284
9285         * text.C (fill): return 0 instead of 20 as this seems to be the more
9286         correct value.
9287
9288 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9289
9290         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9291         lyxrc.font_norm.
9292
9293 2001-08-13  Juergen Vigna  <jug@sad.it>
9294
9295         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9296         casesensitive off.
9297         (SearchBackward): comment out the unlocking of the inset_owner this
9298         should not be needed!
9299
9300 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9301
9302         * Many files: Remove inherit_language, and add latex_language
9303
9304         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9305         collapsible insets.
9306
9307 2001-08-10  Juergen Vigna  <jug@sad.it>
9308
9309         * text.C (prepareToPrint): fixed hfill-width in draw!
9310
9311         * BufferView2.C (selectLastWord): save the selection cursor as this
9312         now is cleared in the function LyXText::clearSelection!
9313
9314 2001-08-08  Juergen Vigna  <jug@sad.it>
9315
9316         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9317         BACKSPACE type functions.
9318
9319         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9320         is only cutted from the document but not put in the cut-buffer, where
9321         still the old stuff should be.
9322
9323         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9324
9325         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9326
9327         * tabular.C (SetWidthOfCell): fixed special case where the width
9328         was not updated!
9329         (LeftLine): handle '|' in align_special.
9330         (RightLine): ditto
9331         (LeftAlreadyDrawed): ditto
9332         (SetWidthOfCell): ditto
9333
9334 2001-08-07  Juergen Vigna  <jug@sad.it>
9335
9336         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9337
9338 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9339
9340         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9341         * lyxlex.[hC]: ditto
9342
9343 2001-08-06  Juergen Vigna  <jug@sad.it>
9344
9345         * text.C (getVisibleRow): fix up row clearing a bit.
9346
9347 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * minibuffer.C: make sure the X server sees the changes in the input.
9350
9351 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9352
9353         * paragraph.C (getFont): split into...
9354         (getLabelFont): this
9355         (getLayoutFont): and this
9356         * paragraph_pimpl.C (realizeFont): calling this
9357
9358         * text2.C (getFont): split into...
9359         (getLayoutFont): this
9360         (getLabelFont): and this
9361         (realizeFont): all three calling this
9362
9363         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9364         files where used.
9365
9366 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9367
9368         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9369
9370 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9371
9372         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9373         layouts from the Quote inset insertion.
9374
9375 2001-08-03  Juergen Vigna  <jug@sad.it>
9376
9377         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9378
9379         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9380         only if status not is already CHANGED_IN_DRAW (second level).
9381
9382         * text.C (draw): don't set the need_break_row when inside an
9383         InsetText LyXText.
9384
9385 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9386
9387         * buffer.C (parseSingleLyXformat2Token): handle more latex
9388         conversion cases.
9389
9390         * bufferview_funcs.[hC]: change function names to
9391         begin with small char, adjust other files.
9392
9393 2001-08-02  André Pönitz <poenitz@gmx.net>
9394
9395         * lyxfunc.C:
9396         BufferView_pimpl.C: remove broken special code for math-greek
9397
9398 2001-08-02  Juergen Vigna  <jug@sad.it>
9399
9400         * BufferView_pimpl.C (update): redone this function so that we
9401         update the text again if there was a CHANGE_IN_DRAW.
9402
9403         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9404         (drawFromTo): added a new internal bool which is used by draw() and
9405         redraw() function.
9406         (general): some cursor drawing problems fixed.
9407
9408 2001-08-01  Juergen Vigna  <jug@sad.it>
9409
9410         * lyxfind.C (LyXFind): fixed
9411         (SearchForward): ditto
9412         (SearchBackward): ditto
9413
9414         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9415         spurius drawing of the cursor in the main area.
9416
9417         * text2.C (status): small fix which could lead to a segfault!
9418         (clearSelection): remove unneeded BufferView param.
9419
9420 2001-08-01  André Pönitz <poenitz@gmx.net>
9421
9422         * lyxfunc.C: small change due to changed mathed interface
9423
9424 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9425
9426         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9427
9428 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * lyxfunc.c: fail gracefully if file doesn't exist
9431
9432         * LyXSendto.C:
9433         * buffer.C:
9434         * lyxfunc.C:
9435         * BufferView_pimpl.C: IsDirWriteable() proto changed
9436
9437         * LyXView.C: fix updateWindowTitle() to store the last title
9438
9439 2001-07-31  Juergen Vigna  <jug@sad.it>
9440
9441         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9442         the font (wrong since using of Paragraph::highestFontInRange).
9443
9444         * paragraph.C (highestFontInRange): added a default_size parameter.
9445
9446         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9447         (setHeightOfRow): reformat
9448
9449 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * converter.[hC] + affected files: move to (inital-char)lowercase
9452         function names.
9453
9454         * ParagraphParameters.C (ParagraphParameters): remove commented code
9455
9456         * PainterBase.[Ch]: remove commented code
9457
9458         * LaTeXFeatures.h: add "bool floats" for float.sty
9459
9460         * LaTeXFeatures.C (LaTeXFeatures): init floats
9461         (require): handle float
9462         (getPackages): do it with floats
9463
9464 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9465
9466         * BufferView_pimpl.C (Dispatch): improve handling of
9467         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9468
9469         * commandtags.h: #include lyxfont.h here temporarily to avoid
9470         keybinding bug.
9471
9472         * bufferlist.h: include LString.h here.
9473
9474 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9475
9476         * text2.C (getStringToIndex): new method.
9477
9478 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9479
9480         * *: Reduced header file dependencies all over.
9481
9482 2001-07-30  Baruch Even  <baruch@lyx.org>
9483
9484         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9485
9486 2001-07-29  Baruch Even  <baruch@lyx.org>
9487
9488         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9489
9490 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9491
9492         * ParameterStruct.h (endif): add a default constructor to make
9493         sure that all variables is initialized.
9494
9495         * ParagraphParameters.C (ParagraphParameters): adjust
9496
9497 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9498
9499         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9500         index; also, check that there is something to index, and that it
9501         does not span over several paragraphs.
9502         (doubleClick): use WHOLE_WORD_STRICT for double click.
9503
9504         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9505
9506         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9507         scheme.
9508
9509 2001-07-26  Baruch Even  <baruch@lyx.org>
9510
9511         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9512         an InsetFig figure, backwards compatible reading of old figure code.
9513
9514 2001-07-27  Juergen Vigna  <jug@sad.it>
9515
9516         * text2.C: font.realize function adaption.
9517
9518         * text.C (draw): add a warnings lyxerr text if needed.
9519
9520         * layout.C: font.realize function adaption.
9521
9522         * language.C: add inherit_language and implement it's handlings
9523
9524         * bufferview_funcs.C (StyleReset): remove language parameter from
9525         font creation (should be language_inherit now).
9526
9527         * bufferparams.C (writeFile): handle ignore_language.
9528
9529         * paragraph.C (getFontSettings): the language has to be resolved
9530         otherwise we have problems in LyXFont!
9531
9532         * lyxfont.C (lyxWriteChanges): added document_language parameter
9533         (update): removed unneeded language parameter
9534
9535         * paragraph.C (validate): fixed wrong output of color-package when
9536         using interface colors for certain fonts in certain environments,
9537         which should not seen as that on the final output.
9538
9539 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * BufferView_pimpl.C:
9542         * Thesaurus.h:
9543         * Thesaurus.C:
9544         * Makefile.am:
9545         * commandtags.h:
9546         * LyXAction.C: add thesaurus support
9547
9548         * lyxfind.h:
9549         * lyxfind.C: add "once" parameter, for thesaurus, to not
9550           move to the next match
9551
9552 2001-07-26  Juergen Vigna  <jug@sad.it>
9553
9554         * lyxfont.C (realize): honor ignore_language too!
9555         (resolved): ditto.
9556
9557         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9558
9559         * text.C (draw): one place more for ignore_language to not draw
9560         itself!
9561
9562 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9563
9564         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9565
9566 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9567
9568         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9569         the minipage conversion problem.
9570
9571 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9572
9573         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9574         insert an inset.
9575
9576 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9577
9578         * BufferView.h: don't forward declare WorkArea
9579
9580         * BufferView.C: don't include WorkArea.h
9581
9582 2001-07-25  André Pönitz <poenitz@gmx.net>
9583
9584         * commandtags.h:
9585         * LyXAction.C:
9586         * lyxfunc.C:  new LFUN 'math-space'
9587
9588         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9589
9590 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9591
9592         * text2.C (toggleInset): call open/close
9593
9594 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9595
9596         * lyxfunc.C (dispatch): add debug for the disabled case
9597
9598         * font.C (buttonText): make similar to rectText
9599
9600         * buffer.C (readInset): comment out parsing of insetlist and
9601         insttheorem
9602
9603         * PainterBase.C (rectText): small correction
9604
9605         * BufferView_pimpl.C: comment out insettheorem and insetlist
9606         * LyXAction.C: ditto
9607         * commandtags.h: ditto
9608
9609 2001-07-24  Juergen Vigna  <jug@sad.it>
9610
9611         * text.C (draw): honor the ignore_language.
9612
9613         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9614
9615 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9618         char inset.
9619
9620 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9621
9622         * lyxtext.h: remove unused (and unimplemented) methods
9623
9624 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9625
9626         * text.C (getVisibleRow): honor background color
9627
9628         * PainterBase.h:
9629         * Painter.h: remove default color argument for fillRectangle
9630
9631         * text.C (backgroundColor): new method
9632
9633 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9634
9635         * text.C (getVisibleRow): adjust
9636
9637         * font.[Ch] (rectText): new method, metrics
9638         (buttonText): new method, metrics
9639
9640         * PainterBase.[hC]: make rectText and buttonText always draw and take
9641         fewer paramteres.
9642
9643 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9644
9645         * ToolbarDefaults.C (read):
9646         * MenuBackend.C (read): allow escaping in all strings
9647
9648         * BufferView_pimpl.C (insertAndEditInset): new method.
9649         (Dispatch): use insertAndEditInset whenever appropriate.
9650
9651         * BufferView_pimpl.C (insertNote): removed
9652
9653         * BufferView_pimpl.C (smartQuote): new method, moved from
9654         BufferView; if an insetquote cannot be inserted, insert a '"'
9655         character instead.
9656
9657         * BufferView2.C: remove insertCorrectQuote();
9658
9659         * lyxfunc.C (getStatus): Add support for all remaingin
9660         inset-insert lfuns.
9661
9662         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9663
9664         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9665         command (necessary to pass " as parameter of self-insert.
9666
9667         * text.C (selectWordWhenUnderCursor):
9668         (selectWord): add word_location parameter
9669         (selectWordWhenUnderCursor): same + remove special code for word
9670         boundary.
9671         (selectNextWord): use kind() to guess type of insetspecialchar,
9672         not latex().
9673
9674         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9675         (insertErtContents): create ert insets as collapsed.
9676         (readInset): better compatibility code for Info inset.
9677
9678 2001-07-20  Juergen Vigna  <jug@sad.it>
9679
9680         * lyxfunc.C (dispatch): use always LyXFind now!
9681
9682         * text2.C (init): add a reinit flag so that the LyXText can be
9683         reinited instead of deleted and reallocated (used in InsetText).
9684
9685         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9686
9687         * text.C: ditto
9688
9689         * text2.C: ditto
9690
9691 2001-07-18  Juergen Vigna  <jug@sad.it>
9692
9693         * text.C (selectNextWord): handle insets inside inset by calling
9694         always the bv->text functions so that we can go up the_locking_inset!
9695
9696         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9697         in strange locations when inside an inset!
9698
9699         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9700         handling to include insets.
9701
9702         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9703
9704 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * LyXAction.C (init):
9707         * commandtags.h:
9708         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9709         LIGATURE_BREAK, since the name is so stupid.
9710
9711 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9712
9713         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9714         InsetInfos.
9715
9716         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9717
9718         * sp_form.[Ch]: remove.
9719
9720         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9721
9722         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9723         InsetInfo.
9724
9725         * src/buffer.C (readInset): ditto.
9726
9727 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9728
9729         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9730         menuSeparator(), endOfSentenceDot(), ldots() and
9731         hyphenationPoint(), which are therefore removed.
9732         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9733
9734         * LyXAction.C (init):
9735         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9736
9737         * paragraph.C (getWord): removed.
9738
9739         * BufferView_pimpl.C (Dispatch): use last word or selection for
9740         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9741
9742         * lyx_main.C (queryUserLyXDir): do not ask before creating
9743         user_dir, except if it has been named explicitely.
9744
9745 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9748         a document of zero size.
9749
9750 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9751
9752         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9753         approriately in the c-tor and in require().
9754         (getPackages): output the appropriate LaTeX for natbib support.
9755
9756         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9757         variables "use_natbib" and "use_numerical_citations" when reading the
9758         LyX file.
9759         (readInset): read the various natbib cite commands.
9760         (validate): white-space change.
9761
9762         * bufferparams.[Ch]: new variables "bool use_natbib" and
9763         "bool use_numerical_citations".
9764         (writeFile): output them in the LyX file.
9765
9766 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9767
9768         * lyxfunc.C (getStatus): add support for all the inset insertion
9769         commands.
9770
9771         * text2.C (insertInset):
9772         * paragraph.C (insetAllowed):
9773         * BufferView_pimpl.C (insertInset): update to take in account the
9774         renaming of insertInsetAllowed
9775
9776         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9777
9778         * text2.C (getInset): new method. returns inset at cursor position.
9779
9780         * BufferView_pimpl.C (Dispatch): changes because of this.
9781
9782         * LyXAction.C (init): rename open-stuff to inset-toggle.
9783
9784         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9785
9786         * text2.C (toggleInset): renamed from openStuff; use
9787         Inset::open().
9788
9789 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9790
9791         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9792
9793         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9794
9795 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * buffer.C (readLyXformat2): Add filename to the error dialog
9798
9799 2001-07-18  Juergen Vigna  <jug@sad.it>
9800
9801         * tabular.C (GetCellNumber): put an assert here instead of the check!
9802
9803 2001-07-17  Juergen Vigna  <jug@sad.it>
9804
9805         * BufferView_pimpl.C (toggleSelection): adapted too.
9806
9807         * text.C (selectNextWord): adapted for use with insets.
9808         (selectSelectedWord): ditto
9809
9810 2001-07-17  Juergen Vigna  <jug@sad.it>
9811
9812         * sp_spell.C (PSpell): fix initialitation order.
9813
9814 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * paragraph.C: spacing
9817
9818 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9819
9820         * sp_spell.C: repair language selection for pspell
9821
9822 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9823
9824         * lyxfunc.h: change more methods to begin with lower char.
9825
9826 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9827
9828         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9829         for unknown layouts.
9830
9831 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9832
9833         * buffer.C (readLyXformat2): Generate an error dialog if there are
9834         unknown layouts.
9835
9836 2001-07-16  Juergen Vigna  <jug@sad.it>
9837
9838         * sp_spell.C: always compile ISpell part.
9839
9840         * lyxrc.C: added use_pspell entry and it's handling.
9841
9842 2001-07-13  Juergen Vigna  <jug@sad.it>
9843
9844         * sp_spell.C: removed double includes.
9845
9846 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9847
9848         Consistent use of Lsstream.h:
9849         * Lsstream.h: added using std::stringstream for consistencies sake.
9850
9851         * buffer.C: removed using std::stringstream
9852
9853         * lyxfont.C (stateText):
9854         * paragraph.C (asString):
9855         * text.C (selectNextWord, selectSelectedWord):
9856         * text2.C (setCounter):
9857         * vspace.C (asString, asLatexString):
9858         std::ostringstream -> ostringstream.
9859
9860 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9861
9862         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9863         * commandtags.h: add LFUN_HELP_ABOUTLYX
9864         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9865
9866 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9867
9868         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9869         cursorToggle()
9870         * lyx_gui_misc.C: remove spellchecker
9871         * lyxfunc.C: showSpellchecker
9872         * sp_base.h: added
9873         * sp_ispell.h: added
9874         * sp_pspell.h: added
9875         * sp_spell.C: added
9876         * sp_form.[Ch]: removed
9877         * spellchecker.[Ch]: removed
9878
9879 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9880
9881         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9882         is set.
9883         (simpleTeXSpecialChars): Simply print the input character without
9884         any special translation if pass_thru is set.
9885
9886         * layout.h: Added bool pass_thru to layout class for being able to
9887         implement pass through of a paragraph for Literate Programming.
9888
9889         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9890         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9891         * layout.C (Read): add "passthru" to list of layout tags and add
9892         code to set the pass_thru boolean when it is read.
9893
9894 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9895
9896         * trans_decl.h: remove allowed from KmodInfo
9897
9898         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9899         remove allowed code
9900         (Load): adjust
9901
9902         * paragraph_pimpl.C (erase): use boost::prior
9903
9904         * Painter.C (text): use data() instead of c_str() when length is
9905         also provided.
9906         * WorkArea.C (putClipboard): ditto
9907         * font.h (width): ditto
9908
9909         * BufferView2.C: use it-> instead of (*it). for iterators
9910         * texrow.C: ditto
9911         * paragraph_pimpl.C: ditto
9912         * paragraph.C: ditto
9913         * minibuffer.C: ditto
9914         * language.C: ditto
9915         * kbmap.C: ditto
9916         * encoding.C: ditto
9917         * counters.C: ditto
9918         * converter.C: ditto
9919         * chset.C: ditto
9920         * Variables.C: ditto
9921         * TextCache.C: ditto
9922         * MenuBackend.C: ditto
9923         * LyXAction.C: ditto
9924         * LColor.C: ditto
9925         * FloatList.C: ditto
9926         * DepTable.C: ditto
9927         * ColorHandler.C (LyXColorHandler): ditto
9928
9929 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9930
9931         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9932
9933         * text2.C (openStuff): reintroduce this method (which had been
9934         nuked in NEW_INSETS frenzy).
9935
9936         * lyxfunc.C (Dispatch): when an action has not been handled, use
9937         its name in the error message, not its number.
9938
9939         * paragraph.C (inInset): change method name to begin with lowercase.
9940
9941         * undo_funcs.C:
9942         * text2.C: updates because of this.
9943
9944 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9945
9946         * ToolbarDefaults.C (add): add spaces in error message
9947
9948 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9949
9950         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9951         (readLyXformat2): rename return_par to first_par, use lyxlex's
9952         pushToken and remove the manual push handling.
9953         (parseSingleLyXformat2Token): add another ert comp. variable:
9954         in_tabular, rename return_par to first_par. handle newlines better
9955
9956 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9957
9958         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9959
9960 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9961
9962         * text2.C (getParFromID): removed
9963
9964         * buffer.C (getParFromID): new method moved form lyxtext.
9965         * BufferView2.C (insertErrors): adjust
9966         (setCursorFromRow): adjust
9967         * BufferView_pimpl.C (restorePosition): adjust
9968         * lyxfunc.C (Dispatch): adjust
9969         * undo_funcs.C (textUndo): adjust
9970         (textRedo): adjust
9971         (textHandleUndo): adjust
9972         (textHandleUndo): adjust
9973
9974 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * buffer.C: up' the LYX_FORMAT
9977
9978         * lyxfont.h: turn NO_LATEX on as default
9979
9980         * buffer.C (insertErtContents): new methods of tex style compability.
9981         (parseSingleLyXformat2Token): use it several places.
9982         * tabular.C (OldFormatRead): and here
9983
9984 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * text2.C: remove some commented code.
9987         reindent file.
9988
9989         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9990         * trans.C: changes because of the above.
9991
9992 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * text2.C (setCounter): Fix counters bug with bibliography layout.
9995
9996 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9997
9998         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9999         own member functions
10000         (simpleTeXSpecialChars): ditto
10001
10002 2001-07-06  Juergen Vigna  <jug@sad.it>
10003
10004         * a lot of files: changed the access to LyXText::status and the
10005         call of undo-functions.
10006
10007         * undo.[Ch]: added a inset_id to the undo informations.
10008
10009         * undo_funcs.[Ch]: added and moved here all undo functions.
10010
10011         * lyxtext.h: give the status enum a weight, made status_ a private
10012         variable and made accessor functions for it, removed the whole bunch
10013         of undo-functions as they are now in their own file, make some
10014         functions publically available. Added function ownerParagraph with
10015         int parameter.
10016
10017         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10018         made InInset() a const function, added getParFromID() function.
10019
10020         * buffer.[Ch]: added const version for inset_iterator functions,
10021         added getInsetFromID() function.
10022
10023         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10024         changed undo functions for new version.
10025
10026 2001-07-05  Juergen Vigna  <jug@sad.it>
10027
10028         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10029         unknow mechanism does not call the proper constructor but only this
10030         one also if I request the other!?
10031
10032 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10035
10036         * text2.C (LyXText): use initialization lists.
10037
10038         * lyxtext.h (Selection): initialize set_ and mark_
10039         (init): remove method
10040
10041 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10042
10043         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10044
10045 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10046
10047         * screen.[Ch]: change method names to begin with lowercase
10048
10049         * BufferView_pimpl.C (updateScrollbar): simplify further and
10050         hopefully make it a bit faster.
10051
10052 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10053
10054         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10055         calling directly xforms functions.
10056
10057         * Painter.C (Painter):
10058         * lyx_cb.C (MenuWrite):
10059         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10060         fl_display.
10061
10062         * lyx_gui.C: remove bogus guiruntime extern declaration.
10063
10064 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10065
10066         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10067         in NEW_INSETS
10068         (redoDrawingOfParagraph): ditto
10069         (redoParagraphs): ditto
10070         (cutSelection): don't create a object for CutAndPaste use the
10071         static method directly
10072         (pasteSelection): ditto
10073
10074         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10075         LyXview (+ rename)
10076
10077 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * modifications to some other files because of this.
10080
10081         * Makefile.am (lyx_SOURCES): add XFormsView
10082
10083         * XFormsView.[Ch]: new files
10084
10085         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10086         the main window. Move the gui dependent stuff to XFormsView
10087
10088 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10089
10090         * tabular.C (GetCellInset): update cur_cell also in the row/col
10091         version of this function.
10092
10093         * lyxfunc.C: no need to include figure_form.h here.
10094
10095         * FontLoader.h:
10096         * lyxfunc.h:
10097         * lyxscreen.h:
10098         * text2.C:
10099         * lyxvc.C: no need to include forms.h here.
10100
10101 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10104
10105         * lyxfunc.C (Dispatch):
10106         * Spacing.C (set):
10107         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10108         constructor argument.
10109
10110 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10111
10112         * paragraph.C (Paragraph): dont't clear, and just set layout.
10113         (makeSameLayout): use params's copy contructor.
10114
10115         * ParagraphParameters.[Ch] (makeSame): delete method
10116
10117 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * Variables.[Ch]: fix indentation, rename set to isSet
10120
10121 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10122
10123         * lyxfunc.C (Dispatch): fix typo
10124
10125 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10126
10127         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10128         upper_bound.
10129
10130         * bufferlist.C: include assert.h for emergencyWrite().
10131
10132 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10135           give up at last (bug #425202) !
10136
10137 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyx_gui_misc.C:
10140         * sp_form.h:
10141         * sp_form.C:
10142         * spellchecker.h:
10143         * spellchecker.C: strip spellchecker options and bring up
10144           preferences tab instead
10145
10146 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10147
10148         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10149         the istringstream constructor
10150
10151 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10152
10153         * paragraph.C (getLayout): fix return value
10154
10155         * paragraph.h: do not declare getLayout as inline.
10156
10157         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10158
10159 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10160
10161         * lyxcursor.h (operator<): new func
10162         (operator>): new func
10163         (operator>=): new func
10164         (operator<=): new func
10165
10166         * text.C (changeCase): use selection.start and selection.end
10167         (changeRegionCase): require from to be <= to. Require par to be a
10168         valid paragraph.
10169
10170         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10171
10172 2001-06-27  Juergen Vigna  <jug@sad.it>
10173
10174         * text.C (cursorLeftOneWord): changed to return the cursor and added
10175         overlay with BufferView * parameter which calls this one.
10176         (getWord): added
10177         (selectWord): use new getWord function.
10178         (changeCase): renamed from changeWordCase as and extended to work
10179         also on selections.
10180
10181         * lyxtext.h: added enum word_location
10182
10183         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10184         changeCase as this operates now also on selections.
10185
10186 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10187
10188         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10189
10190         * many files: send debug output to Debug::INFO instead of
10191         Debug::ANY.
10192
10193         * converter.C (View):
10194         (Convert):
10195         (Move): send debug output to Debug::FILES instead of console.
10196
10197 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10198
10199         * lyxfunc.C (getStatus): use func_status
10200
10201         * func_status.h: new header, describing the results of
10202         LyXFunc::getStatus;
10203
10204         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10205         LFUN_MATH_HALIGN.
10206
10207 2001-06-25  The LyX Project  <jug@sad.it>
10208
10209         * buffer.C (sgmlOpenTag):
10210         (sgmlCloseTag):
10211         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10212
10213 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * text2.C: remove some dead code
10216
10217         * tabular.C (GetCellInset): store the last cell checked (gotten)
10218
10219         * tabular.h: add the helper for the speedup
10220
10221         * lyxtext.h: remove some dead code
10222
10223 2001-06-26  The LyX Project  <Asger>
10224
10225         * paragraph.C: Change export to LaTeX of alignment to
10226         \begin{center} and family for better roundtrip work with reLyX.
10227
10228         * Tune the math drawing a bit.
10229
10230 2001-06-25  The LyX Project  <Asger>
10231
10232         * LColor.C (LColor): New color for math background. New color
10233         for buttons.
10234
10235 2001-06-25  The LyX Project  <jug@sad.it>
10236
10237         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10238
10239         * lyxfunc.C (Open):
10240         * bufferlist.C (newFile): do not restrict to files ending with
10241         .lyx
10242
10243         * BufferView_pimpl.C (MenuInsertLyXFile):
10244
10245 2001-06-24  The LyX Project  <jug@sad.it>
10246
10247         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10248         of compare_no_case
10249
10250 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10251
10252         * lyxtext.h: rename most methods to begin with a small char.
10253         Lots of changes because of this.
10254
10255         * paragraph.C (Paragraph): do not call fitToSize
10256         (erase): call Pimpl::erase
10257         (insertChar): call Pimpl::insertChar
10258         (insertInset): call Pipl::insertInset
10259         (breakParagraph): do not call fitToSize
10260         (breakParagraphConservative): do not call fitToSize
10261         (fitToSize): remove method
10262
10263         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10264
10265 2001-06-24  The LyX Project  <Asger>
10266
10267         * Fix Qt compilation^2
10268
10269 2001-06-24  The LyX Project  <jug@sad.it>
10270
10271         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10272         depthHook(getDepth()-1).
10273
10274         * paragraph.h:
10275         * ParagraphParameters.h:
10276         * ParameterStruct.h: change type of depth to unsigned int ==
10277         depth_type. Many adaptations to other files before of that.
10278
10279 2001-06-24  The LyX Project  <Asger>
10280
10281         * Fix Qt compilation.
10282
10283 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10284
10285         * paragraph.h: renamed several methods to begin with small letter.
10286         several changes to many parts of the code because of this.
10287
10288 2001-06-23  The LyX Project  <jug@sad.it>
10289
10290         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10291         rewritten to discard all double spaces when KeepEmpty is off
10292         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10293         to only handle newlines but not fiddle with spaces and friends.
10294
10295         * lyxfunc.C (MenuNew): when doing 'new from template', use
10296         template_path as default directory
10297
10298 2001-06-23  The LyX Project  <Asger>
10299
10300         * Clean-up of header file includes all over
10301         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10302
10303 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10304
10305         * paragraph.h: renamed from lyxparagraph.h
10306
10307 2001-06-23  Asger  <lyx@violet.home.sad.it>
10308
10309         * Buffer.h: Removed Buffer::resize
10310         * BufferList.h: Removed BufferList::resize
10311         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10312         the document lazily when we change the width, or the font settings.
10313
10314 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10317
10318 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * buffer.h: remove out of date comment
10321
10322 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * lyxscreen.h:
10325         * screen.C: fix "theoretical" GC leak
10326
10327 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10328
10329         * LaTeX.C (scanAuxFile):
10330         (deplog): remove trailing \r when reading stream (useful under
10331         win32)
10332
10333 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10334
10335         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10336         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10337         and BufferView::theLockingInset(Inset*), so should use them and not
10338         access bv_->text->the_locking_inset directly.
10339
10340         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10341
10342 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * Makefile.am:
10345         * tex-defs.h: remove old unused file
10346
10347 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * BufferView_pimpl.C: fix typo, remove minibuffer message
10350           when buffer has loaded
10351
10352 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * lyxfunc.C (Dispatch): use stringstream
10355         (MenuNew): use stringstream
10356         (Open): use stringstream
10357
10358         * importer.C (Import): use stringstream
10359
10360         * bufferview_funcs.C (CurrentState): use stringstream
10361
10362         * LaTeX.C (run): use stringstream
10363
10364         * BufferView_pimpl.C (savePosition): use stringstream
10365         (restorePosition): use stringstream
10366         (MenuInsertLyXFile): use stringstream
10367
10368 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10369
10370         * BufferView.C:
10371         * Bullet.C:
10372         * ColorHandler.C:
10373         * FontInfo.C:
10374         * FontLoader.C:
10375         * LColor.C:
10376         * LaTeXFeatures.C:
10377         * Painter.C:
10378         * gettext.C:
10379         * lyx_gui_misc.C:
10380         * lyxserver.C:
10381         * vspace.C: removed // -*- C++ -*- as first line.
10382
10383         * lyxfind.h:
10384         * version.h: added // -*- C++ -*- as first line.
10385
10386 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10387
10388         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10389
10390         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10391         of string
10392
10393 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10396         of floats.
10397
10398 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10399
10400         * gettext.C: include LString.h even when --disable-nls is on.
10401
10402 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10403
10404         * converter.h (Get): changed argument type from int to
10405         FormatList::size_type to avoid unnecessary conversion.
10406
10407         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10408         before using it.
10409
10410 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * gettext.h: include LString.h even when --disable-nls is on.
10413
10414 2001-06-07  Juergen Vigna  <jug@sad.it>
10415
10416         * text.C (BreakAgain): subst spaces with tabs.
10417
10418         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10419         (resizeInsetsLyXText): set force on resizeLyXText.
10420
10421 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * gettext.h (gettext_init):
10424         (locale_init): use a real definition instead of a macro
10425
10426 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10427
10428         * Bufferview_pimpl.C:
10429         * LColor.h:
10430         * LColor.C: further lcolor tidies
10431
10432 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10433
10434         * BufferView_pimpl.C (updateScrollbar): simplify.
10435
10436         * BufferView2.C: don't include insets/insetinfo.h, change
10437         prototype for insertInset and call the Pimpl version. let
10438         updateInset call Pimpl version.
10439
10440         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10441         gotoInset to BufferView::Pimpl
10442
10443 2001-06-01  Juergen Vigna  <jug@sad.it>
10444
10445         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10446         inside a LockingInset (is the update needed at all?).
10447
10448 2001-05-31  Juergen Vigna  <jug@sad.it>
10449
10450         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10451         here not the old one otherwise how should we compare it afterwards
10452         if it's the same!
10453
10454 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10455
10456         * lyxfont.C:
10457         * tabular.C:
10458         * tabular-old.C:
10459         * FontInfo.C: bring C functions into global namespace when
10460         necessary
10461
10462 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10463
10464         * LString.h: make sure config.h has been loaded before LString.h.
10465
10466         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10467         (one for each char read by EatLine!).
10468
10469         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10470         variables.
10471
10472 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10475         to the same as the par we break from
10476
10477 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10480
10481         * MenuBackend.C (expand): also create menu entries for wide
10482         versions of the floats.
10483
10484         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10485
10486         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10487
10488         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10489         frontends/Makefile.am
10490
10491         * text2.C: adjust
10492         * text.C: adjust
10493
10494
10495         * tabular.C (getTokenValue): add std::
10496
10497         * tabular-old.C (getTokenValue): add std::
10498         (getTokenValue): ditto
10499         (getTokenValue): ditto
10500
10501         * screen.C (ToggleSelection): adjust
10502
10503         * lyxtext.h: put selection cursors inside a Selection struct.
10504
10505         * lyxfunc.C (moveCursorUpdate): adjust
10506
10507         * lyxfont.C (latexWriteStartChanges): add std::
10508
10509         * lyxfind.C: adjust
10510
10511         * font.h: delete with(char const *, LyXFont const &)
10512
10513         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10514
10515         * FontInfo.C (getFontname): add std::
10516
10517         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10518         (workAreaButtonPress): adjust
10519         (tripleClick): adjust
10520         (update): adjust
10521         (moveCursorUpdate): adjust
10522         (Dispatch): adjust
10523
10524         * BufferView2.C (gotoInset): adjust
10525
10526 2001-05-30  Juergen Vigna  <jug@sad.it>
10527
10528         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10529         to check pspell I add this as default as I now have new pspell
10530         libraries and they seem to use this.
10531
10532 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10533
10534         * text2.C (CutSelection): make the cursor valid before the call to
10535         ClearSelection.
10536
10537 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10538
10539         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10540         relied on 0 terminated strings and other horrors. Bug found due to
10541         the new assert in lyxstring!
10542
10543         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10544         KP_ keys.
10545
10546 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10549         to latinkeys.bind.
10550
10551         * lyxfunc.C (processKeySym): change method of getting to the
10552         self-insert char.
10553
10554         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10555         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10556         * BufferView_pimpl.[Ch]: here as private methods.
10557
10558 2001-05-28  Juergen Vigna  <jug@sad.it>
10559
10560         * text.C (SetHeightOfRow): added the update() call again as it is
10561         needed to initialize inset dimensions!
10562
10563 2001-05-16  Juergen Vigna  <jug@sad.it>
10564
10565         * text2.C (SetCharFont): Add new function with BufferView * and
10566         bool toggleall parameters for setting insets internal fonts.
10567         (SetFont): Freeze the undo as we may change fonts in Insets and
10568         all this change should be inside only one Undo!
10569
10570         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10571         setting font's in insets as for them we have the SetFont function!
10572
10573 2001-05-15  Juergen Vigna  <jug@sad.it>
10574
10575         * text2.C (ClearSelection): to be sure we REALLY don't have any
10576         selection anymore!
10577
10578         * tabular.C (TeXCellPreamble): fixed the left border problem for
10579         multicolumn cells.
10580
10581 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10584         dependancy file
10585
10586 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10589         LFUN_BREAKPARAGRAPH.
10590
10591         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10592         help test to "internal only", similar for LFUN_INSERT_URL
10593
10594         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10595         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10596         auto_region_delete and deadkeys.
10597
10598 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * LColor.h:
10601         * LColor.C: remove some dead entries, tidy a little
10602
10603 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10606         commented code.
10607         (Dispatch): implement LFUN_ESCAPE
10608
10609         * commandtags.h: add LFUN_ESCAPE
10610
10611         * LyXAction.C (init): add entry for LFUN_ESCAPE
10612
10613         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10614         Remove commented code.
10615         (insertNote): moved here
10616         (open_new_inset): moved here
10617
10618         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10619         BufferView_pimpl
10620
10621 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * kbmap.C (findbinding): clean it up and make it work correctly.
10624
10625         * lyx_main.C (init): do not pass argc and argv as parameters
10626
10627 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10628
10629         * buffer.C: fix path for OS/2 & Win32
10630
10631         * lyx_gui.C:
10632         * lyx_main:
10633         * lyx_main.C: Added os:: class.
10634
10635         * os2_defines.h: update
10636
10637 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10640         better by trying again with reduced state.
10641
10642 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10643
10644         * lyxrc.C (read): print error about invalid key sequence only when
10645         debugging (because not all latinX keysyms are known to some X
10646         servers)
10647
10648         * kbsequence.C (getiso): add a few std:: qualifiers
10649         (getiso): comment out extra return statement.
10650
10651 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10654         handling.
10655         (Dispatch): enhance the accent inset a bit. (not perfect)
10656
10657 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10660
10661 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10662
10663         * bufferlist.C (emergencyWrite): fix assert() call
10664
10665 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10666
10667         * text.C (InsertChar): Added trivial patch to only send the "you
10668         can not do multiple spaces this way" message once during a
10669         session.
10670
10671 2001-05-08  Baruch Even  <baruch@lyx.org>
10672
10673         * Makefile.am: Changed order of libraries to get LyX to link properly
10674         with the gnome frontend.
10675
10676 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10677
10678         * LaTeXFeatures.h: add a std:: qualifier
10679
10680 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10681
10682         * paragraph.C (String): use stringstream
10683
10684 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10685
10686         * paragraph.C (writeFile): remove footflag arg
10687
10688         * buffer.C (makeLaTeXFile): use stringstream
10689         (latexParagraphs): remove footnot gurba
10690
10691         * LaTeXFeatures.C (getPackages): use stringstream
10692         (getMacros): likewise
10693         (getTClassPreamble): likewise
10694         (getFloatDefinitions): new method
10695
10696         * paragraph.C (writeFile): reindent
10697         (Erase): reindent
10698
10699         * WorkArea.h: revert the xpos + etc changes.
10700
10701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10702
10703         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10704
10705         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10706         (pasteSelection): likewise
10707         * text2.C (CreateUndo): likewise
10708
10709 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * minibuffer.C (peek_event): temporarily reduce the functionality
10712         of the minibuffer (to allow args on lfuns)
10713
10714         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10715         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10716
10717         * buffer.C (readInset): add compability reading of old float
10718         lists, add reading of new style float list.
10719         (readInset): avoid reevaluation of inscmd.getCmdName()
10720         (getLists): reindent
10721
10722         * MenuBackend.C (MenuItem): implement parsing of
10723         md_floatlistinsert and md_floatinsert.
10724         (expand::LastFiles): move initalizaton of iterators out of loop,
10725         avoid reevaluation.
10726         (expand::Documents): introduce typdedef vector<string> Strings,
10727         and use it.
10728         (expand::ExportFormats): introduce typedef vector<Format const *>
10729         Formats, and use it.
10730         (expand): implement FloatListInsert and FloatInsert.
10731
10732         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10733         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10734         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10735
10736         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10737         handling.
10738         (Dispatch::LFUN_FLOAT_LIST): implement
10739
10740 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10741
10742         * LaTeX.C (run): Fix problem with --export code.
10743
10744 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10745
10746         * BufferView.[Ch] (workarea): removed.
10747         (getClipboard) new method; wrapper for workarea()->getClipboard()
10748
10749         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10750         bug.
10751
10752         * WorkArea.h (width, height, xpos, ypos): These methods all
10753         returned the dimensions of the work_area sub-area of WorkArea,
10754         resulting in a position error if the WorkArea were resized. Now
10755         return the dimensions of the entire WorkArea.
10756
10757         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10758
10759 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10760
10761         * LaTeX.C (deplog): correct the syntax of regex reg1
10762
10763 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * undo.C: remove !NEW_INSETS cruft
10766
10767 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * text2.C: remove !NEW_INSETS cruft
10770
10771         * text.C: remove !NEW_INSETS cruft
10772
10773         * tabular.C: remove !NEW_INSETS cruft
10774
10775         * spellchecker.C: remove !NEW_INSETS cruft
10776
10777         * lyxtext.h: remove !NEW_INSETS cruft
10778
10779         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10780
10781         * lyxfunc.C: remove !NEW_INSETS cruft
10782
10783         * lyxfind.C: remove !NEW_INSETS cruft
10784
10785         * lyx_cb.C: remove !NEW_INSETS cruft
10786
10787         * figureForm.C: remove  !NEW_INSETS cruft
10788
10789         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10790
10791         * buffer.[Ch]: remove !NEW_INSETS cruft
10792
10793         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10794
10795         * CutAndPaste.C: remove !NEW_INSETS cruft
10796
10797         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10798
10799         * BufferView2.C: remove !NEW_INSETS cruft
10800
10801         * BufferView.h: remove !NEW_INSETS cruft
10802
10803 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * Lsstream.h: include LString.h before the sstream headers to
10806         fix problem with gcc 2.95.3 and lyxstring
10807
10808 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * lyx_main.C: add using directives when needed for C functions
10811         declared in std:: namespace.
10812
10813 2001-04-27  Juergen Vigna  <jug@sad.it>
10814
10815         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10816         (SetHeightOfRow): comment out the update call should not be needed!
10817
10818 2001-04-13  Juergen Vigna  <jug@sad.it>
10819
10820         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10821         (LyXTabular): tried to minimize operator= operations (and realized
10822         hopfully Lars wish).
10823
10824 2001-04-27  Juergen Vigna  <jug@sad.it>
10825
10826         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10827
10828 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10831
10832         * buffer.C (readInset): hack to make listof algorithm work
10833
10834         * BufferView_pimpl.C: hack to make listof algorithm work
10835
10836 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * LyXAction.C: removed all !NEW_INSETS cruft
10839         (init): moved lfun_item in method
10840
10841         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10842
10843 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10844
10845         * BufferView2.C (theLockingInset): white space.
10846
10847 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10848
10849         * minibuffer.C: include <iostream>
10850
10851         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10852
10853         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10854
10855         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10856
10857         * text.[Ch] (TransposeChars): new method
10858
10859 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * call message directly through LyXView instead of through LyXFunc
10862         * BufferView2.C: adjust
10863         * BufferView_pimpl.C: adjust
10864         * FontLoader.C: adjust
10865         * buffer.C: adjust
10866         * bufferview_funcs.C: adjust
10867         * converter.C: adjust
10868         * figureForm.C: adjust
10869         * importer.C: adjust
10870         * lyx_cb.C: adjust
10871         * lyx_gui_misc.C: adjust
10872         * lyxfunc.C: adjust
10873         * lyxvc.C: adjust
10874         * text2.C: adjust
10875         + more files in subdirs
10876
10877         * lyxparagraph.h (size): move up int file
10878         (GetLayout): ditto
10879
10880         * adjust all uses of Assert to lyx::Assert.
10881
10882         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10883         lyxfunctional in namespace lyx
10884         * layout.C (hasLayout): ditto
10885         (GetLayout): ditto
10886         (GetLayout): ditto
10887         (delete_layout): ditto
10888         (NumberOfClass): ditto
10889         * converter.C (GetFormat): ditto
10890         (GetNumber): ditto
10891         (Add): ditto
10892         (Delete): ditto
10893         (SetViewer): ditto
10894         * bufferlist.C (getFileNames): ditto
10895         (emergencyWriteAll): ditto
10896         (exists): ditto
10897         (getBuffer): ditto
10898         * MenuBackend.C (hasSubmenu): ditto
10899         (hasMenu): ditto
10900         (getMenu): ditto
10901         * BufferView_pimpl.C (getInsetByCode): ditto
10902
10903 2001-04-18  Juergen Vigna  <jug@sad.it>
10904
10905         * vspace.C (asLatexString): fixed the 100% problem.
10906
10907 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10908
10909         * lyxfunc.C (Dispatch):
10910         * minibuffer.C:
10911         * minibuffer.h: add a few std:: qualifiers
10912
10913 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * minibuffer.[Ch]: reimplement so that commands is initiated and
10916         run from lyxfunc, simplified som handling, and made the completion
10917         and history code for complete. wip.
10918
10919         * lyxfunc.C (processKeySym): call message
10920         (miniDispatch): new temporary method
10921         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10922         (LFUN_MESSAGE): implement
10923         (LFUN_MESSAGE_PUSH): implement
10924         (LFUN_MESSAGE_POP): implement
10925         (initMiniBuffer): the initial/defualt minibuffer message.
10926
10927         * lyxfont.[Ch]: inline some more getters
10928
10929         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10930
10931         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10932
10933         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10934         (AutoSave): use LFUN_MESSAGE
10935         (Reconfigure): ditto
10936
10937         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10938
10939         * figureForm.C: use LFUN_MESSAGE
10940
10941         * converter.C (runLaTeX): use LFUN_MESSAGE
10942
10943         * bufferview_funcs.C: use LFUN_MESSAGE
10944         (Melt): ditto
10945         (changeDepth): ditto
10946
10947         * bufferparams.h: use boost::
10948
10949         * bufferlist.h: inherit privately from noncopyable
10950
10951         * bufferlist.C (loadLyXFile): remove some commented code.
10952
10953         * buffer.C (runChktex): use LFUN_MESSAGE
10954
10955         * ShareContainer.h: inherit privately from noncopyable
10956
10957         * ParagraphParameters.[hC] (depth): inline it.
10958
10959         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10960         methods.
10961         (message): new method
10962         (messagePush): ditto
10963         (messagePop): ditto
10964         (show): init minibuffer
10965         (showState): direct call
10966
10967         * LaTeX.[Ch]: inherit privately from noncopyable
10968         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10969         instead of WriteStatus.
10970
10971         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10972
10973         * BufferView_pimpl.C (buffer): don't init minibuffer
10974         (workAreaButtonPress): use LFUN_MESSAGE
10975         (workAreaButtonRelease): ditto
10976         (savePosition): ditto
10977         (restorePosition): ditto
10978         (MenuInsertLyXFile): ditto
10979         (workAreaExpose): don't init minibuffer
10980         (update): remove commented code, simplify
10981
10982         * BufferView2.C (openStuff): use LFUN_MESSAGE
10983         (toggleFloat): ditto
10984         (menuUndo): ditto
10985         (menuRedo): ditto
10986         (copyEnvironment): ditto
10987         (pasteEnvironment): ditto
10988         (copy): ditto
10989         (cut): ditto
10990         (paste): ditto
10991         (gotoInset): ditto
10992         (updateInset): remove some commented code
10993
10994         * lastfiles.h: inherit privately from noncopyable
10995         * layout.h: ditto
10996         * lyx_gui.h: ditto
10997         * lyx_main.h: ditto
10998         * lyxlex.h: ditto
10999         * lyxlex_pimpl.h: ditto
11000
11001         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11002         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11003         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11004
11005         * LyXAction.h: inherit privately from noncopyable, add methods
11006         func_begin, func_end, returning iterators to the func map.
11007
11008         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11009         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11010         (func_begin): new method
11011         (func_end): new method
11012
11013         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11014         and not)
11015         (copySelection): ditto
11016         (pasteSelection): ditto
11017
11018         * BufferView.C: whitespace change
11019         * BufferView.h: inherit privately from noncopyable
11020
11021 2001-04-16  Allan Rae  <rae@lyx.org>
11022
11023         * tabular-old.C (l_getline):
11024         * spellchecker.C (sc_check_word):
11025         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11026         an unrecognised preprocessor directive.  So ensure they're wrapped.
11027
11028 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * src/exporter.C (Export): Give an error message when path to file
11031         contains spaces.
11032
11033 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11034
11035         * LaTeX.C (deplog): Always check that foundfile exists.
11036
11037 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11038
11039         * lyx_main.h:
11040         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11041
11042 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * tabular.[Ch] (getLabelList): implement new method
11045
11046         * minibuffer.h: comment ouf setTiimer
11047
11048         * minibuffer.C (ExecutingCB): constify res
11049         (peek_event): constify s
11050         (Set): constify ntext
11051         (Init): constify nicename
11052
11053         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11054
11055         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11056         (savePosition): use two params to Minibuffer::Set
11057         (restorePosition): ditto
11058
11059 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11060
11061         * lyx_main.C: include language.h
11062
11063         * Makefile.am (lyx_main.o): add language.h
11064
11065 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11066
11067         * exporter.C:
11068         * paragraph.C:
11069         * screen.C:
11070         * tabular.C:
11071         * CutAndPaste.C: include gettext.h
11072
11073         * lyxfont.h: remove old hack with ON and OFF.
11074
11075         * lyxparagraph.h:
11076         * lyxfont.h: do not include language.h...
11077
11078         * BufferView2.C:
11079         * LaTeXFeatures.C:
11080         * Painter.C:
11081         * bufferview_funcs.C:
11082         * font.C:
11083         * lyxfont.C:
11084         * text.C:
11085         * text2.C:
11086         * trans_mgr.C:
11087         * paragraph.C: ... but do it here instead
11088
11089 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11092
11093         * tabular.C: small reformat
11094
11095         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11096         NEW_INSETS version
11097         (GetChar): ditto
11098         (BreakParagraph): ditto
11099         (SetOnlyLayout): ditto
11100         (SetLayout): ditto
11101
11102         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11103         with one arg less.
11104
11105         * lastfiles.C: removed most using decl, add std:: where needed
11106
11107         * buffer.C: ws changes
11108
11109         * MenuBackend.C (class compare_format): put into anon namespace
11110         (expand): constify label, names, action, action2
11111         (expand):
11112
11113         * text.C (SingleWidth): constify font
11114         (IsBoundary): constify rtl2
11115         (GetVisibleRow): constify ww
11116
11117         * LaTeX.C (deplog): constify logfile
11118
11119         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11120         start_x, end_x
11121         (workAreaExpose): constify widthChange, heightChange
11122
11123         * lyxrow.C (par): moved
11124         (height): moved
11125         (next): moved
11126         * lyxrow.h: as inlines here
11127
11128         * lyxfont.h (shape): moved from lyxfont.C
11129         (emph): moved from lyxfont.C
11130
11131         * lyxfont.C (LyXFont): use initialization list for all
11132         constructors
11133         (shape): move to lyxfont.h as inline
11134         (emph): move to lyxfont.h as inline
11135
11136
11137 2001-04-04  Juergen Vigna  <jug@sad.it>
11138
11139         * vspace.C: had to include stdio.h for use of sscanf
11140
11141 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11142
11143         * BufferView.h:
11144         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11145         independent of xforms.
11146
11147 2001-04-02  Juergen Vigna  <jug@sad.it>
11148
11149         * spellchecker.C: fixed namespace placing!
11150
11151 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11152
11153         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11154         the LyXParagraph * is 0.
11155
11156 2001-03-29  Juergen Vigna  <jug@sad.it>
11157
11158         * vspace.C: added support for %, c%, p%, l%.
11159         (stringFromUnit): added helper function.
11160         (asLatexString): changed to give right results for the %-values.
11161
11162         * buffer.C: convert the widthp in a width%.
11163
11164 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11167         figureForm.[Ch].
11168
11169         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11170         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11171
11172         * lyx_cb.[Ch]: see above.
11173
11174         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11175         form1.[Ch].
11176
11177         * form1.[Ch]:
11178         * lyx.[Ch]: replaced by figure_form.[Ch].
11179
11180         * lyx_gui.C:
11181         * lyx_gui_misc.C:
11182         * lyxfunc.C: changed headers associated with above changes.
11183
11184 2001-03-27  Juergen Vigna  <jug@sad.it>
11185
11186         * BufferView_pimpl.C: set the temporary cursor right!
11187
11188 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11189
11190         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11191
11192 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11193
11194         * LString.h: removed "using std::getline"!
11195
11196         * BufferView_pimpl.C (Dispatch): changes due to changes in
11197         InsetInclude::Params.
11198
11199         * buffer.C (tag_name): removed redundant break statements as they were
11200         producing lots of warnings with my compiler.
11201
11202 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11203
11204         * LString.h: add "using std::getline" when using the real <string>.
11205
11206 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11207
11208         * buffer.C: removed bitset usage.
11209         PAR_TAG moved to an anonymous name space.
11210         (tag_name): new funtion, also in the anonymous namespace.
11211         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11212         (makeDocBookFile): clean code. Completed transition from string arrays
11213         to string vectors.
11214         (SimpleDocBookOnePar): code clean.
11215
11216 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11217
11218         * tabular.C: add some comments.
11219
11220 2001-03-22  Juergen Vigna  <jug@sad.it>
11221
11222         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11223         compatibility read a bit and fixed bug with minipage in different
11224         depth.
11225
11226 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11227
11228         * buffer.C (pop_tag): removed.
11229         (push_tag): removed.
11230         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11231         array replaced with vector. Added support for CDATA sections.
11232         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11233         at any nest level.
11234         (makeDocBookFile): XML conformant declaration of CDATA section,
11235         fixed bug related to <emphasis> in the first paragraph char.
11236         (sgmlOpenTag): exclude empty tags.
11237         (sgmlCloseTag): ditto.
11238
11239         * buffer.h (pop_tag): removed.
11240         (push_tag): removed.
11241
11242 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11243
11244         * language.h (Languages): added size_type and size().
11245
11246 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11247
11248         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11249         response on compability reading of minipages. One probliem is that
11250         the old usage of minipages was «flertydig»
11251
11252         * several files here and in subdirs: don't use static at file
11253         scope use anon namespaces instead.
11254
11255 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11256
11257         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11258         LaTeX output. This is necessary for Literate document
11259         processing.
11260
11261 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11262
11263         * buffer.C: insert hfill when needed.
11264
11265         * tabular.C (l_getline): use string::erase, small whitespace change.
11266
11267         * BufferView_pimpl.C: try the anon namespace.
11268         * WorkArea.C: ditto
11269
11270 2001-03-16  Juergen Vigna  <jug@sad.it>
11271
11272         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11273         otherwise it won't open options-dialogs.
11274
11275         * buffer.C: honor pextraWidth(p) on converting minipages.
11276
11277         * tabular.C (l_getline): changed the functions to strip trailing \r.
11278
11279 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11280
11281         * BufferView_pimpl.C:
11282         * minibuffer..C: added "using SigC::slot" declaration.
11283
11284 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11285
11286         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11287
11288         * text2.C: ditto
11289
11290         * text.C: ditto
11291
11292         * paragraph.C: ditto
11293
11294         * lyxtext.h: NO_PEXTRA
11295
11296         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11297
11298         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11299         * ParameterStruct.h: ditto
11300         * ParagraphParameters.h: ditto
11301         * lyxparagraph.h: ditto
11302
11303 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11304
11305         * buffer.C: add compability for minipage alignment.
11306         (latexParagraphs): remove unwanted pextra check.
11307
11308         * several files: remove CXX_WORKING_NAMESPACES
11309
11310         * buffer.C (pop_tag): tie is in namespace boost
11311
11312         * BufferView.h: noncopyable is in namespace boost
11313         * lyxlex.h: ditto
11314         * lyx_main.h: ditto
11315         * lyx_gui.h: ditto
11316         * layout.h: ditto
11317         * lastfiles.h: ditto
11318         * bufferlist.h: ditto
11319         * ShareContainer.h: ditto
11320         * LyXView.h: ditto
11321         * LyXAction.h: ditto
11322         * LaTeX.h: ditto
11323
11324 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * Merging changes from BRANCH_MVC back into HEAD.
11327
11328         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11329
11330 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11331
11332         * BufferView_pimpl.C: change from intl.C
11333
11334         * combox.h:
11335         * combox.C:
11336         * Makefile.am: move combox.*
11337
11338         * form1.h:
11339         * form1.C:
11340         * lyx_gui.C:
11341         * intl.h:
11342         * intl.C: remove dialog (covered by prefs)
11343
11344 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11345
11346         * lyxfunc.C (Dispatch): removed redundant break statement.
11347
11348 2001-03-14  Juergen Vigna  <jug@sad.it>
11349
11350         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11351
11352 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11353
11354         * buffer.C: add hack to fix compability reading of minipages.
11355
11356 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * buffer.C (getLists): Cleanup.
11359
11360 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11361
11362         * lyxfont.C (update): don't honor toggleall on font size.
11363
11364 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * bmtable.c:
11367         * bmtable.h:
11368         * Makefile.am: moved to frontends/xforms/
11369
11370         * lyx_gui_misc.C:
11371         * lyxfunc.C:
11372         * BufferView_pimpl.C: changes for moved mathpanel
11373
11374 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * gettext.h: fix gettext_init() in --disable-nls
11377
11378 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11379
11380         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11381
11382 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * lyx.C:
11385         * lyx.h: strip external form
11386
11387 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * BufferView_pimpl.C: add comment, destroySplash()
11390
11391 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * BufferView_pimpl.C:
11394         * LyXAction.C:
11395         * buffer.C:
11396         * commandtags.h:
11397         * lyxfunc.C: use re-worked insetinclude
11398
11399 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11400
11401         * buffer.C: add using std::stringstream.
11402
11403         * lyx_cb.C: readd using std::ios.
11404
11405         * buffer.C: add using std::map.
11406
11407         * BufferView_pimpl.C: add using std::vector.
11408
11409         * ShareContainer.h: add std:: to swap.
11410
11411         * buffer.h: add some typedefs
11412         * buffer.C (getLists): use them
11413         (getLists): renamed from getTocList.
11414         add a counter for the different float types and use it in the
11415         generated string.
11416         (getLists): use the same counter for the NEW_INSETS and the "non"
11417         NEW_INSETS
11418
11419         * lyx_cb.h: remove unused items, includes, using etc.
11420
11421         * ShareContainer.h: remove some commented code, add more comments
11422         and "documentation".
11423
11424 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11425
11426         * buffer.C (getTocList): make the list also when NEW_INSETS is
11427         defined.
11428
11429         * buffer.h: remove TocType
11430
11431         * buffer.C (getTocList): change to return a map<string,
11432         vector<TocItem> >, implement for dynamic number of list.
11433
11434         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11435         * text2.C (PasteSelection): adjust
11436         * CutAndPaste.C (pasteSelection): adjust
11437
11438         * FloatList.C (FloatList): update from the new_insets branch.
11439         * Floating.[Ch]: ditto
11440         * LaTeXFeatures.C: ditto
11441         * buffer.C: ditto
11442         * lyxlex_pimpl.C: ditto
11443
11444         * paragraph.C (Last): remove when NEW_INSETS is defined.
11445
11446         * other file: changes because of the above.
11447
11448 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11449
11450         * lyxparagraph.h: rename next to next_, previous to previous_,
11451         make them private for NEW_INSETS. Rename Next() to next(),
11452         Previous() to previous().
11453
11454         * other files: changes because of the above.
11455
11456 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * BufferView.h:
11459         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11460         problem.
11461
11462 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11463
11464         * main.C (main): pass lyx_localedir to gettext_init().
11465
11466         * gettext.h: remove locale_init and gettext_init macros
11467
11468         * gettext.C (locale_init): new function
11469         (gettext_init): new function
11470
11471         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11472         setlocale().
11473
11474 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11475
11476         * Moved credits to frontends:
11477         * credits.[Ch]: removed
11478         * credits_form.[Ch]: removed
11479         * lyx_gui_misc.C: remove credits stuff
11480         * Makefile.am:
11481
11482 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11483
11484         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11485
11486         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11487         unneeded destructor.
11488
11489         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11490         a standalone pointer again.
11491
11492         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11493
11494 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * Makefile.am:
11497         * filedlg.h:
11498         * filedlg.C:
11499         * LyXAction.C:
11500         * ToolbarDefaults.C:
11501         * bufferlist.C:
11502         * commandtags.h:
11503         * form1.C:
11504         * form1.h:
11505         * lyx_cb.C:
11506         * lyx_cb.h:
11507         * lyxfunc.h:
11508         * lyxfunc.C:
11509         * BufferView_pimpl.C: use new file dialog in GUII
11510
11511         * lyx_cb.h:
11512         * lyx_cb.C: remove LayoutsCB to Toolbar
11513
11514 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11515
11516         * ShareContainer.h (get): add std:: qualifier
11517
11518 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * ShareContainer.h: define a proper ShareContainer::value_type
11521         type (and use typename to please compaq cxx)
11522
11523 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11524
11525         * lyxparagraph.h: move serveral local vars to
11526         ParameterStruct/ParagraphParameters., use ShareContainer in
11527         FontTable., make vars in FontTable private and add getter and
11528         setter.
11529
11530         * paragraph.C: changes because of the above.
11531
11532         * lyxfont.h: remove copy constructor and copy assignment. (the
11533         default ones is ok), move number inside FontBits. move inlines to
11534         lyxfont.C
11535
11536         * lyxfont.C: add number to initializaton of statics, move several
11537         inlines here. constify several local vars. some whitespace
11538         cleanup. Dont hide outerscope variables.
11539
11540         * Spacing.h: add two new constructors to match the set methods.
11541
11542         * ShareContainer.h: new file, will perhaps be moved to support
11543
11544         * ParameterStruct.h: new file
11545
11546         * ParagraphParameters.h: new file
11547
11548         * ParagraphParameters.C: new file
11549
11550         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11551         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11552
11553         * BufferView_pimpl.C: ParagraphParameter changes.
11554         * buffer.C: Likewise.
11555         * bufferview_funcs.C: Likewise.
11556         * text.C: Likewise.
11557         * text2.C: Likewise.
11558
11559 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11560
11561         * lyxfind.C (LyXReplace): do not redefine default argument in
11562         implementation.
11563         (IsStringInText): ditto
11564         (SearchForward): ditto
11565         (SearchBackward): ditto
11566
11567 2001-03-06  Juergen Vigna  <jug@sad.it>
11568
11569         * lyxfind.C (IsStringInText): put parentes around expressions.
11570
11571 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11572
11573         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11574
11575 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11578
11579         * stl_string_fwd.h: add comment
11580
11581         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11582
11583         * tabular.h:
11584         * tabular.C: remove unused DocBook methods
11585
11586         * intl.C:
11587         * language.C:
11588         * paragraph.C:
11589         * buffer.C:
11590         killed DO_USE_DEFAULT_LANGUAGE
11591
11592 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11593
11594         * lyx_gui.C: do not include language.h.
11595
11596         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11597         arguments in function implementation.
11598
11599 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11600
11601         * BufferView_pimpl.C: add <ctime>
11602
11603 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11604
11605         * BufferView_pimpl.C: add using std::find_if
11606
11607 2001-02-27  José Matos  <jamatos@fep.up.pt>
11608
11609         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11610         by OnlyPath.
11611
11612 2001-02-11  José Matos  <jamatos@fep.up.pt>
11613
11614         * buffer.C (makeDocBookFile): command styles now have a parameter as
11615         "title" by default.
11616
11617 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11618
11619         * layout_forms.[Ch]: removed
11620         * lyx_cb.[Ch]: out character
11621         * lyx_gui.C: out character
11622         * lyx_gui_misc.C: out character
11623         * bufferview_funcs.C: : out character,
11624         added toggleall as parameter in ToggleAndShow
11625
11626 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11629
11630         * text2.C (SetCurrentFont): Disable number property at boundary.
11631
11632 2001-02-26  Juergen Vigna  <jug@sad.it>
11633
11634         * lyxfunc.C (getStatus): added a string argument override function so
11635         that this is correctly called from LyXFunc::Dispatch if it contains a
11636         do_not_use_argument which is used!
11637         (Dispatch): added check for "custom" export and call appropriate func.
11638
11639 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11640
11641         * lyxrc.C: Add language_command_local, language_use_babel and
11642         language_global_options.
11643
11644         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11645
11646         * buffer.C (makeLaTeXFile): Use language_use_babel and
11647         language_global_options.
11648
11649 2001-02-23  Juergen Vigna  <jug@sad.it>
11650
11651         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11652         which works with LyXText and putted it inside BufferView. Here now we
11653         only call for that part the BufferView::Dispatch() function.
11654
11655         * BufferView.C (Dispatch): added.
11656
11657         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11658         functions which needs to use a LyXText over from LyXFunc.
11659         (MenuInsertLyXFile): added
11660         (getInsetByCode): added
11661         (moveCursorUpdate): added
11662         (static TEXT): added
11663
11664 2001-02-22  Juergen Vigna  <jug@sad.it>
11665
11666         * BufferView_pimpl.C (update): call a status update to see if LyXText
11667         needs it.
11668
11669 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11670
11671         * vc-backend.C (revert): implement for CVS
11672         (getLog): implement for CVS
11673
11674 2001-02-20  Juergen Vigna  <jug@sad.it>
11675
11676         * text2.C (ClearSelection): added BufferView param for inset_owner call
11677
11678         * lyxfunc.C (TEXT): added this function and use it instead of
11679         directly owner->view()-text of getLyXText().
11680
11681 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11682
11683         * src/layout_forms.C: out preamble
11684         * src/layout_forms.h: out preamble
11685         * src/lyx_cb.C: out preamble
11686         * src/lyx_cb.h: out preamble
11687         * src/lyx_gui.C: out preamble
11688         * src/lyx_gui_misc.C: out preamble
11689         * src/lyxfunc.C: connect with guii preamble
11690
11691 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11692
11693         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11694
11695 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11696
11697         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11698         whether to run bibtex.
11699
11700 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11701
11702         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11703
11704 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11705
11706         * Makefile.am (lyx_SOURCES): removed bibforms.h
11707
11708         * vspace.h: doxygen
11709
11710         * text.C (GetVisibleRow): make several local vars const
11711
11712         * tabular.C: small cleanup.
11713
11714         * lyxserver.C (callback): use compare instead of strncmp
11715
11716         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11717         inlines to after class or to paragraph.C
11718
11719         * lyxfont.h: remove friend operator!=
11720
11721         * converter.h: move friend bool operator< to non friend and after
11722         class def.
11723
11724         * combox.h: small cleanup
11725
11726         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11727         to inlines after class def.
11728
11729         * buffer.C (pop_tag): use string operations instead of strcmp
11730
11731         * bmtable.c: doxygen, small cleanup
11732
11733         * LaTeX.h: remove friend operator==
11734
11735 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11736
11737         * screen.C:
11738         * lyxrc.[Ch]:
11739         * lyxfunc.C:
11740         * lyxfont.[Ch]:
11741         * lyx_cb.C:
11742         * intl.[Ch]:
11743         * commandtags.h:
11744         * buffer.C:
11745         * WorkArea.[Ch]:
11746         * LyXAction.C:
11747         * BufferView_pimpl.C:
11748         * BufferView.[Ch]: remove cruft
11749
11750 2001-02-14  Juergen Vigna  <jug@sad.it>
11751
11752         * lyxfunc.C: removed #if 0 unused code
11753
11754         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11755
11756         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11757
11758         * text2.C (SetSelection): added a BufferView * parameter
11759
11760 2001-02-13  Juergen Vigna  <jug@sad.it>
11761
11762         * lyxfunc.C (Dispatch): fixed protected blank problem.
11763         * BufferView2.C (protectedBlank): added LyxText * parameter.
11764
11765         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11766         (AppendColumn): same as above for column_info.
11767
11768         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11769         (moveCursorUpdate): use a LyXText param for support of InsetText.
11770
11771         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11772         (tripleClick): ditto
11773
11774         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11775
11776         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11777
11778         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11779
11780         * text2.C (SetSelection): set correct update status if inset_owner
11781         (ToggleFree): ditto
11782
11783 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11784
11785         * tabular.C: remove some commented code.
11786
11787 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * BufferView_pimpl.C: call hideSplash()
11790
11791         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11792
11793         * include_form.h:
11794         * bibforms.h: remove
11795
11796         * lyxfunc.C:
11797         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11798           add LFUN_CHILD_CREATE
11799
11800         * counters.h: fix tiny typo
11801
11802         * lyx_cb.C:
11803         * lyx.h:
11804         * lyx_gui.C:
11805         * lyx.C: move splash to frontends/xforms/
11806
11807         * lyx_gui_misc.C: move Include and Bibform to frontends
11808
11809         * lyxvc.h: clarify comment
11810
11811         * vspace.C: tiny housekeeping
11812
11813 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11814
11815         * text.C (PrepareToPrint): RTL Fix.
11816
11817         * paragraph.C (GetUChar): New method.
11818         (String):  Use GetUChar.
11819
11820         * buffer.C (asciiParagraph): Use GetUChar.
11821
11822 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11823
11824         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11825
11826 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * buffer.h:
11829         * buffer.C: rename to getLogName(), handle
11830           build log / latex log nicely
11831
11832 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * MenuBackend.C:
11835         * MenuBackend.h: remove support for reference menuitem type.
11836
11837 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * BufferView_pimpl.C: housekeeping
11840         * BufferView_pimpl.h:
11841         * LyXView.h:
11842         * Makefile.am:
11843         * Timeout.C:
11844         * Timeout.h:
11845         * minibuffer.h: move Timeout GUI-I
11846
11847 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * lyxrc.C (read): Update converters data-structures.
11850
11851 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11852
11853         * LaTeX.h (operator!=): add operator != for Aux_Info
11854
11855 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11858
11859         * LaTeXLog.C: deleted, useful code moved to Buffer
11860
11861         * buffer.h:
11862         * buffer.C: new function getLatexLogName()
11863
11864         * lyx_gui_misc.C:
11865         * lyx_gui.C:
11866         * lyxvc.C:
11867         * lyxvc.h:
11868         * lyxfunc.C: use frontends for LaTeX and VC logs
11869
11870 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * LaTeX.h: yet another std:: that Allan forgot.
11873
11874         * Variables.C (set): renamed from isset(), because this clashes
11875         with some HP-UX macros (grr).
11876
11877 2001-02-06  Allan Rae  <rae@lyx.org>
11878
11879         * LaTeX.h: Another bug fix.  Missing std:: this time.
11880
11881 2001-02-04  Allan Rae  <rae@lyx.org>
11882
11883         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11884         floats problem. I've left it commented out because it's not quite
11885         correct.  It should also test that the current object is a table or
11886         figure inset.  But I haven't gotten around to figuring out how to do
11887         that.  I *think* it'll be something like: "table" == inset.type()
11888
11889         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11890         bool.
11891
11892 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11895         all the citation/databases/styles in the auxilary file.
11896         (run): Rerun latex if there was a babel language error.
11897
11898 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11899
11900         * text.C (Backspace): Preserve the font when changing newline char
11901         with a space.
11902         (BreakParagraph): If the cursor is before a space, delete the space.
11903
11904         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11905
11906 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11907
11908         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11909         new argument (code).
11910         (ChangeCitationsIfUnique): New method.
11911
11912         * paragraph.C (GetPositionOfInset): Handle bibkey.
11913
11914 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * BufferView_pimpl.h: change type of Position::par_pos to
11917         LyXParagraph::size_type.
11918
11919 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11920
11921         * BufferView_pimpl.C (savePosition, restorePosition): Write
11922         messages to minibuffer.
11923
11924 2001-01-28  José Matos  <jamatos@fep.up.pt>
11925
11926         * buffer.C (makeDocBookFile): adds support for document language.
11927         A silly restriction on the name of LatexCommand types where removed.
11928         Added support for CDATA sections, allows to chars unescaped, used
11929         among others in code, to avoid escape < and >.
11930
11931 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11932
11933         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11934         saved positions instrad of a stack. Furthermore, a position is
11935         stored using paragraph id/paragraph position.
11936
11937         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11938         Remove LFUN_REF_BACK.
11939
11940 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * converter.C (dvipdfm_options): New method.
11943
11944 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11945
11946         * vspace.C (isValidLength): Fix for empty input string.
11947
11948 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * LyXAction.C (init): change description of LFUN_FIGURE to
11951         "Insert Graphics"
11952
11953 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11954
11955         * LaTeX.C: add using directive
11956
11957 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11958
11959         * MenuBackend.C (expand): Fix the sorting of the formats.
11960
11961 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * lyx_main.C: tiny error message fix
11964
11965 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11968         calling fl_initialize(). This fixes the problem with ',' as
11969         decimal separator in text files.
11970
11971 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11972
11973         * trans.C (process): Fix the keymap bug.
11974
11975 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * LaTeX.C (scanAuxFiles): New method. Provides support for
11978         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11979         (scanLogFile) Scan for "run BibTeX" messages.
11980
11981         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11982         OT1 font encoding. Also, load the aecompl package if the ae
11983         package is loaded.
11984
11985         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11986
11987 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11988
11989         * texrow.C (increasePos): turn two error messages into debug
11990         messages.
11991
11992 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11993
11994         * LaTeX.C (scanAux): Handle the \@input macro.
11995         (runBibTeX): Use scanAux().
11996
11997         * language.C (latex_options_): New field.
11998
11999         * LaTeXFeatures.C (getMacros): Add language macros.
12000
12001         * buffer.C (makeLaTeXFile): Small fix.
12002
12003 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12004
12005         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12006
12007         * text2.C: add a using directive.
12008
12009 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * BufferView2.C:
12012         * lyx_gui_misc.h:
12013         * lyxfr1.C:
12014         * lyxfunc.C: kill LyXBell.
12015
12016 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * text.C (IsBoundary): Remove the error message
12019
12020         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12021
12022         * lyxrc.C (setDefaults): Correct initialization value for
12023         font_norm_type.
12024
12025 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12026
12027         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12028         gotoError().
12029
12030         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12031         and GotoNextNote().
12032
12033         * src/LyXAction.C: Added reference-next.
12034
12035         * text.C (InsertChar): Use contains instead of strchr.
12036
12037         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12038
12039 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12040
12041         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12042         alignment commands (when needed).
12043
12044         * text.C (InsertChar): Add ':' to number separator chars.