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