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