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