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