]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
618d0467dd7f4c23599e0bbf8f80a46ed4c4e105
[lyx.git] / src / ChangeLog
1 2004-04-05  Angus Leeming  <leeming@lyx.org>
2
3         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
4         to enable the frontends to export changes to lyxrc correctly.
5
6         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
7
8 2004-04-05  André Pönitz  <poenitz@gmx.net>
9
10         * cursor.[Ch] (valign, halign...): remove unneeded functions
11
12 2004-04-05  Angus Leeming  <leeming@lyx.org>
13
14         * lyxlength.[Ch] (unit_name et al.): const-correct.
15
16 2004-04-05  Angus Leeming  <leeming@lyx.org>
17
18         * BufferView_pimpl.C:
19         * buffer.C:
20         * counters.C:
21         * cursor.C:
22         * lyxfunc.C
23         * paragraph.C:
24         * pariterator.C:
25         * text.C:
26         * text2.C:
27         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
28
29 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * text3.C (getStatus): add LFUN_BEGINNINGBUF
32
33 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * lyxfind.C: add a couple of inTexted() tests + other small fixes
36         * BufferView_pimpl.[Ch] (getStatus)
37         * BufferView.[Ch] (getStatus): add
38         * lyxfunc.C (getStatus): move lfuns handled in
39         BufferView::dispatch to te function above 
40         * Cursor.C (setSelection): set selection() = true
41
42 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
45
46 2004-03-31  Angus Leeming  <leeming@lyx.org>
47
48         * lyxfunc.C (dispatch): Fall through to the generic
49         Dialogs::show("preamble").
50
51 2004-03-31  Angus Leeming  <leeming@lyx.org>
52
53         * lyxfunc.C (dispatch): Fall through to the generic
54         Dialogs::show("spellchecker").
55
56 2004-03-31  Angus Leeming  <leeming@lyx.org>
57
58         * lyxfunc.C (getStatus, dispatch): changed invocation of the
59         preferences dialog.
60
61 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * BufferView.C
64         * cursor.[Ch]
65         * dociterator.[Ch]:
66         * insetiterator.[Ch]:
67         * lyxfind.C:
68         * lyxfunc.C:
69         * pariterator.[Ch]:
70         * text2.C:
71         * undo.[Ch]: s/DocumentIterator/DocIterator/g
72
73 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
74
75         * BufferView.C (setCursor, putSelectionAt): call edit to open the
76         insets where we are putting the cursor.
77
78 2004-03-31  Angus Leeming  <leeming@lyx.org>
79
80         * lfuns.h:
81         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
82
83         * lyxrc.[Ch] (read, write): overloaded member functions taking
84         a std::[io]stream arguments.
85
86         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
87
88 2004-03-31  Angus Leeming  <leeming@lyx.org>
89
90         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
91         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
92
93         * lyxtextclass.C (load): if the text class couldn't be loaded, then
94         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
95
96 2004-03-31  Angus Leeming  <leeming@lyx.org>
97
98         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
99         the LFUN_ALL_INSETS_TOGGLE code.
100
101 2004-03-30  Angus Leeming  <leeming@lyx.org>
102
103         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
104         has died. Fall through to the generic Dialogs::show("document").
105         
106 2004-03-30  Angus Leeming  <leeming@lyx.org>
107
108         * lfuns.h:
109         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
110         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
111
112         * lyxfunc.C (getStatus, dispatch): define the actions for these
113         lfuns. Little more than a cut and pste job from ControlDocument.C
114
115         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
116
117 2004-03-30  Angus Leeming  <leeming@lyx.org>
118
119         * lfuns.h:
120         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
121         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
122
123         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
124         open/closed state of ollapsable insets. Usage:
125
126         all-inset-toggle <state> <name>, where
127         <state> == "open" || "closed" || "toggle" and
128         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
129
130         * lyxtext.h, text2.C (toggleInset): removed.
131
132         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
133         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
134         now passes LFUN_INSET_TOGGLE to the found inset.
135
136         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
137         is now invoked as "all-insets-toggle toggle branch".
138
139 2004-03-30  Angus Leeming  <leeming@lyx.org>
140
141         * dociterator.C:
142         * insetiterator.C:
143         * pariterator.[Ch]: added/corrected header blurb.
144
145 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * dociterator.[Ch]: add an inset_ member 
148         (backwardPos): implemented
149         (backwardPos, forwardPos): use inset_ when the stack is empty.
150         (doc_iterator_begin, doc_iterator_end): implemented
151         * pariterator.[Ch]: adjust, add begin, end
152         * insetiterator.[Ch]: adjust, add begin, end
153         * cursor.C: 
154         * document.C:
155         * BufferView.C:
156         * BufferView_pimpl.C:
157         * CutAndPaste.C: adjust
158
159 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
160
161         * buffer.C: increment file format to 232.
162         * LaTeXFeatures.C: add bibtopic package.
163         * bufferparams.[Ch]: param \use_bibtopic.
164         
165         * lyxrc.[Ch]: add lyxrc bibtex_command
166         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
167         
168         * buffer.C: increment file format to 231.
169
170 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * dociterator.C: implement forwardPar
173         * iterators.[Ch]: remove, replaced by
174         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
175         * BufferView.C:
176         * BufferView_pimpl.C:
177         * CutAndPaste.C:
178         * buffer.C:
179         * bufferview_funcs.C:
180         * cursor.C:
181         * lyxfind.C
182         * lyxfunc.C
183         * paragraph_funcs.C
184         * toc.C:  
185         * Makefile.am: adjust
186
187 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * CutAndPaste.C (pasteSelection): fix 2 crashes
190         (eraseSelection): fix a crash
191         * paragraph_funcs.C: remove a warning
192
193 2004-03-28  Angus Leeming  <leeming@lyx.org>
194
195         * lfuns.h:
196         * LyXAction.C (init): new LFUN_PRINT.
197
198         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
199
200 2004-03-27  Angus Leeming  <leeming@lyx.org>
201
202         * lfuns.h:
203         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
204
205         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
206
207 2004-03-27  Angus Leeming  <leeming@lyx.org>
208
209         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
210         insetlist always contains non-null pointers to insets.
211
212 2004-03-26  Angus Leeming  <leeming@lyx.org>
213
214         * src/BufferView_pimpl.C:
215         * src/CutAndPaste.C:
216         * src/buffer.C:
217         * src/iterators.C:
218         * src/output_plaintext.C:
219         * src/outputparams.h:
220         * src/paragraph_funcs.C:
221         * src/rowpainter.C:
222         * src/text.C:
223         * src/text2.C:
224         * src/frontends/controllers/ControlErrorList.C:
225         * src/frontends/gtk/FileDialogPrivate.C:
226         * src/frontends/gtk/GPainter.C:
227         * src/frontends/gtk/GToolbar.C:
228         * src/frontends/qt2/QRef.C:
229         * src/mathed/math_scriptinset.C: squash compiler warnings.
230
231 2004-03-26  Angus Leeming  <leeming@lyx.org>
232
233         * ispell.C (LaunchIspell::start):
234         * lyx_cb.C (AutoSaveBuffer::start):
235         invoke run(DontWait) rather than runNonBlocking().
236
237 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
240
241 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * kbsequence.C (print): adjust
244
245         * kbmap.C (printKeySym): rename and change signature
246         (printKey): use LyXKeySym::print()
247
248 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
249
250         * undo.C: add using std::advance to compile for stlport
251
252 2004-03-24  Angus Leeming  <leeming@lyx.org>
253
254         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
255         it leads to a crash when no buffer is present.
256
257 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258             Martin Vermeer  <martin.vermeer@hut.fi>
259
260         * lyxfunc.C (dispatch): 
261         * bufferparams.C (readToken): use the new LColor::setColor 
262
263         * LColor.[Ch] (setColor): new version that takes two strings as
264         argument and creates a new color entry if necessary
265
266 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
267
268         * buffer.C (makeLaTeXFile): if the main latex file that is
269         processed is usually a subdocument of some master, then pretend
270         for a while that it is actually the master
271
272 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
273
274         * buffer.C (getLabelList):
275         (getBibkeyList): use getMasterBuffer()
276         (getMasterBuffer): new method. Returns the main document in the
277         case where one is using included documents.
278
279 2004-03-25  André Pönitz  <poenitz@gmx.net>
280
281         * Makefile.am:
282         * iterators.[Ch]:
283         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
284
285         * ParagraphList_fwd.h: change ParagraphList to a std::vector
286
287         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
288         text*.C over here. Rename namespace CutAndPaste to lyx::cap
289
290         * ParameterStruct.h: merge with ParagraphParameters
291
292         * lyxtext.h: remove LyXText::parOffset() and getPar()
293
294         * text3.C: Remove all 'manual' update calls. We do now one per user
295         interaction which is completely sufficient.
296
297         * Bidi.C:
298         * BufferView.[Ch]:
299         * BufferView_pimpl.C:
300         * FontIterator.[Ch]:
301         * MenuBackend.C:
302         * ParagraphParameters.[Ch]:
303         * buffer.C:
304         * buffer.h:
305         * bufferlist.C:
306         * cursor.[Ch]:
307         * cursor_slice.[Ch]:
308         * dociterator.[Ch]:
309         * errorlist.[Ch]:
310         * factory.C:
311         * lfuns.h:
312         * lyxfind.C:
313         * lyxfunc.C:
314         * output_docbook.[Ch]:
315         * output_latex.[Ch]:
316         * output_linuxdoc.[Ch]:
317         * output_plaintext.[Ch]:
318         * paragraph.[Ch]:
319         * paragraph_funcs.[Ch]:
320         * paragraph_pimpl.[Ch]:
321         * rowpainter.C:
322         * tabular.[Ch]:
323         * text.C:
324         * text2.C:
325         * toc.C:
326         * undo.[Ch]: adjust
327
328         * frontends/controllers/ControlDocument.C:
329         * frontends/controllers/ControlErrorList.C:
330         * frontends/controllers/ControlSpellchecker.C:
331         * insets/inset.C:
332         * insets/inset.h:
333         * insets/insetbase.h:
334         * insets/insetbibitem.C:
335         * insets/insetbox.C:
336         * insets/insetbranch.C:
337         * insets/insetcaption.C:
338         * insets/insetcharstyle.C:
339         * insets/insetcharstyle.h:
340         * insets/insetcollapsable.C:
341         * insets/insetcollapsable.h:
342         * insets/insetert.C:
343         * insets/insetfloat.C:
344         * insets/insetfoot.C:
345         * insets/insetmarginal.C:
346         * insets/insetnote.C:
347         * insets/insetoptarg.C:
348         * insets/insettabular.C:
349         * insets/insettext.C:
350         * insets/insettext.h:
351         * insets/insetwrap.C:
352         * mathed/math_mboxinset.C:
353         * mathed/math_nestinset.C:
354         * mathed/math_scriptinset.C:
355         * mathed/math_scriptinset.h:
356         * support/types.h:
357
358 2004-03-24  Angus Leeming  <leeming@lyx.org>
359
360         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
361         deal with any child processes that have finished but are waiting to
362         communicate this fact to the rest of LyX.
363
364 2004-03-24  Angus Leeming  <leeming@lyx.org>
365
366         64-bit compile fixes.
367
368         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
369         (c-tor): pass lyx::pos_types rather than ints.
370
371         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
372         lyx::pos_type.
373
374         * text.C (Delete): compile fix.
375         (getPar): ensure that function declaration is the same as that in
376         the header file.
377
378 2004-03-23  Angus Leeming  <leeming@lyx.org>
379
380         * ispell.C (LaunchIspell):
381         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
382         a boost::shred_ptr rather than a std::auto_ptr.
383
384 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * lyxfunc.C (getStatus): handle read-only buffers correctly;
387         handle LFUN_FILE_INSERT_*
388
389         * lyxrc.C (setDefaults, getDescription, output, read):
390         * lyxrc.h: remove ps_command
391
392 2004-03-22  Angus Leeming  <leeming@lyx.org>
393
394         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
395         Ensure that error_handler is processed once only and that all data
396         is saved before attempting to output any warning messages.
397
398         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
399
400 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * tabular.C (TeXRow): crash fix (from Kayvan and André)
403
404 2004-03-19  André Pönitz  <poenitz@gmx.net>
405
406         * cursor.[Ch] (reset): take main text inset as argument
407
408         * BufferView: adjust
409         * BufferView_pimpl.C: adjust
410
411         * paragraph.[Ch]: fix completely broken operator=()
412
413 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * LColor.C (getFromLyXName): make sure that the color name is used
416         as lowercase.
417
418 2004-03-17  Angus Leeming  <leeming@lyx.org>
419
420         * lfuns.h:
421         * LyXAction.C (init): remove LFUN_FORKS_KILL.
422
423         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
424         dialog and to kill a forked process.
425
426 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * text2.C (setCursorFromCoordinates): fix font problem
429
430 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
433         bogus "rebuild cursor" code
434
435 2004-03-11  André Pönitz  <poenitz@gmx.net>
436
437         * buffer.[Ch]: use InsetText instead of LyXText as container for
438         the main lyx text.
439
440         * dociterator.[Ch]: drop the BufferView * member which is not needed
441         anymore after the change to buffer.C
442
443         * paragraph_funcs.C:
444         * text.C:
445         * text2.C:
446         * BufferView.[Ch]:
447         * BufferView_pimpl.[Ch]:
448         * cursor.[Ch]:
449         * cursor_slice.[Ch]: adjust
450
451         * text3.C: fix bug in mathDispatch
452
453 2004-03-08  André Pönitz  <poenitz@gmx.net>
454
455         * undo.[Ch]: use 'StableDocumentIterator' as base for
456         the Undo struct.
457
458 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
459
460         * LaTeXFeatures.C:
461         * bufferparams.[Ch]: add jurabib support and param.
462
463         * LaTeX.C: add FIXME/comment.
464
465 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
466
467         * buffer.C: increment file format to 230.
468
469 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
470
471         * cursor.C (dispatch): avoid infinite loops
472
473 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * rowpainter.C (paintSelection): fix x coordinates
476
477 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
478
479         * text.C (rowBreakPoint): fix breaking before displayed insets
480
481 2004-03-01  André Pönitz  <poenitz@gmx.net>
482
483         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
484
485         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
486
487         * Makefile.am:
488         * BufferView.C:
489         * BufferView_pimpl.C:
490         * buffer.C:
491         * lyxfind.C:
492         * lyxfunc.C:
493         * text.C:
494         * text2.C:
495         * text3.C: adjust
496
497 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * lyxtext.h:
500         * text.C:
501         * text2.C:
502         * rowpainter.C:
503         * BufferView_pimpl.C: rename textwidth -> maxwidth,
504         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
505
506 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * Bidi.[Ch] (computeTables): const correctness
509         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
510         fill_hfill, fill_label_hfill and x from Row
511         * lyxtext.h: prepareToPrint returns a RowMetrics
512         * rowPainter.C: adjust
513         * text.C (prepareToPrint): use width, not textWidth. adjust
514         (redoParagraphInternal, cursorX): adjust
515         * text2.C (getColumnNearX): adjust
516         (init): put a default value to the top LyXText::width
517
518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
521
522 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * lyxtext.h: add FontIterator class
525
526         * text.C (FontIterator, operator*, operator->, operator++): add
527         (rowBreakPoint, setRowWidth): adjust (fixing a
528         rebreaking bug)
529
530 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * BufferView_pimpl.C (workAreaDispatch): allow also
533         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
534
535 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * text.C (rowBreakPoint): fix a bug showing with very large insets
538
539 2004-02-25  André Pönitz  <poenitz@gmx.net>
540
541         * text3.C:
542         * cursor.[Ch]: move some mathed specific code to mathed
543
544 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
547         use_tempdir in preferences
548         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
549         tempfile creation
550         * lyx_main.C: ensure that tempdir is valid
551         * lyxlex.h: correct typo
552         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
553         * paragraph.[Ch] (isMultiLingual): make const
554         * cursor.[Ch] (openable): make const
555
556 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
557
558         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
559
560 2004-02-20  André Pönitz  <poenitz@gmx.net>
561
562         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
563
564         * cursor.[Ch]: prepare for localized getStatus()
565
566         * lyxtext.h:
567         * tabular.C:
568         * text.C:
569         * text2.C:
570         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
571
572 2004-02-20  André Pönitz  <poenitz@gmx.net>
573
574         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
575
576 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * text2.C (setCursorFromCoordinates): switch to absolute coords
579         (cursorUp): adjust
580         (cursorDown): adjust
581         * text3.C (dispatch): adjust
582
583 2004-02-16  André Pönitz  <poenitz@gmx.net>
584
585         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
586           insets/ChangeLog)
587
588         * cursor_slice.[Ch]: remove unneeded acessor function
589
590         * lyxtext.h: rename rtl() to isRTL()
591
592         * rowpainter.C:
593         * tabular.C:
594         * text.C:
595         * text2.C:
596         * text3.C: adjust
597
598 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
599
600         * rowpainter.C (paintSelection): coord fix
601
602 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
603
604         * Spacing.C: compile fix
605
606 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * cursor.C (dispatch): restore current_ before returning
609
610 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
611
612         * text2.C (cursorUp, cursorDown): fix coords
613         (moveUp): fix crash
614
615 2004-02-12  André Pönitz  <poenitz@gmx.net>
616
617         * lyxtext.h:
618         * text.C:
619         * text2.C:
620         * text3.C: add LCursor & parameter to most cursor movement functions
621           remove usage of LyXText::cursorRow() and cursorPar()
622
623         * cursor.[Ch]: add textRow() needed members
624
625         * BufferView.C:
626         * BufferView_pimpl.C:
627         * paragraph.[Ch]:
628         * BufferView.C:
629         * BufferView_pimpl.C: adjust
630
631 2004-02-11  André Pönitz  <poenitz@gmx.net>
632
633         * lyxfunc.C:
634         * BufferView.[Ch]:
635         * BufferView_pimpl.C: shift undo/redo handling
636
637         * cursor.[Ch]: fix mathed crash
638
639         * lyxfind.C:
640         * lyxtext.h: move selectionAsText to LCursor
641
642         * output_latex.C:
643         * paragraph.C:
644         * text.C:
645         * text2.C:
646         * text3.C: adjust
647
648         * rowpainter.C: fix excessive drawing
649
650 2004-02-06  André Pönitz  <poenitz@gmx.net>
651
652         * BufferView.[Ch]:
653         * BufferView_pimpl.[Ch]:
654         * text3.C: move some text specific LFUN handling
655
656 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * text3.C (checkInsetHit): adjust coords
659         * text2.C (getColumnNearX): adjust coords
660         (edit): adjust coords
661         * text.C (getRowNearY): add two asserts
662
663 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
664
665         * converter.C:
666         * format.C: add using std::distance to compile on gcc 2.95/stlport
667
668 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
671
672 2004-02-04  André Pönitz  <poenitz@gmx.net>
673
674         * BufferView.[Ch] (insertInset):
675         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
676
677         * text2.C:
678         * text3.C: adjust
679
680 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
681
682         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
683         on the default clause of the switch
684         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
685         wasn't catched by LCursor::dispatch
686
687 2004-02-03  André Pönitz  <poenitz@gmx.net>
688
689         * BufferView.C:
690         * cursor.[Ch]: some additional asserts
691
692         * undo.[Ch]: remove LyXText dependency in interface
693
694         * lyxfunc.C: adjust
695
696         * lyxtext.h (firstPar, lastPar): remove dead functions
697
698         * text.C:
699         * text2.C:
700         * text3.C:
701         * paragraph.[Ch]: adjust
702
703 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
704
705         * lyxfind.C (find): fix argument order in call to ::find
706
707 2004-02-02  André Pönitz  <poenitz@gmx.net>
708
709         * cursor.[Ch]: remove direct access to anchor
710
711         * text.C: remove findText() hack
712
713 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
714
715         * iterators.[Ch] (lockPath): remove in favour of...
716         * BufferView.[Ch] (setCursor): this addition
717         * BufferView.C (putSelectionAt): adjust
718         * undo.C (performUndoOrRedo): adjust
719         * lyxfunc.C (dispatch): adjust
720
721 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * iterators.C (lockPath): add a missing slice
724         * undo.C (performUndoOrRedo): remove redundant positioning code
725
726 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
727
728         * vc-backend.C (scanMaster): ";" -> ';'
729
730 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
733         std::binary_function
734
735         * lyxtextclass.C (compare_name): rename to...
736         (LayoutNamesEqual): ...this
737
738         * lyxlex_pimpl.C (compare_tags): inherit from
739         std::binary_function, put back into anon namespace
740
741         * lyxfind.C (MatchString): inherig from std::binary_function
742         (findChange): use empty() istead of !size()
743
744         * format.C (FormatNamesEqual): new functor
745         (getFormat): use it
746         (getNumber): use it
747         (add): use it
748         (erase): use it
749         (setViewer): use it
750
751         * converter.C (compare_Converter): rename to...
752         (ConverterEqual): ...this, and fixup a bit.
753         (getConverter): use it, and make function const
754         (getNumber): use it, and make function const
755         (add): use it
756         (erase): use it:
757
758         * bufferlist.C: add using boost::bind
759
760         * MenuBackend.C (MenuNamesEqual): new functor
761         (hasMenu): use it, and make function const
762         (hasSubmenu): use nested bind to get rid of compare_memfun.
763
764 2004-01-30  André Pönitz  <poenitz@gmx.net>
765
766         * BufferView_pimpl.C:
767         * cursor.C:
768         * cursor.h:
769         * cursor_slice.[Ch]:
770         * lyxfunc.C:
771         * lyxtext.h:
772         * paragraph_funcs.C:
773         * paragraph_funcs.h:
774         * rowpainter.C:
775         * text.C:
776         * text2.C:
777         * text3.C: move some of the edit(x,y) handling to the insets
778         some coordinate changes.
779
780 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * text.C: add using statements for std::advance and std::distance
783
784         * paragraph.C: add using statement for std::distance
785
786         * lyxfind.C: add using statement for std::advance
787
788         * cursor.C (region): remove std:: from swap
789         (openable): use nucleus in stead of operator->
790
791         * BufferView.C: add using statements for std::distance and std::swap
792
793 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
794
795         * iterators.C: Remove the pimple, move the needed structures to
796         the header file. Create accessor for the positions stack.
797         (asPosIterator): remove function
798
799         * PosIterator.C (PosIterator): move constructors to top of file
800         (PosIterator): reimplement the constructor taking a ParIterator in
801         terms of setFrom.
802         (setFrom): new function
803         (operator!=): inline it
804
805 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
806
807         * lyxfind.C (replaceAll): use std::advance
808
809         * iterators.h: inherit from std::iterator.
810
811         * PosIterator.C (advance, distance): remove
812         * PosIterator.h: interit from std::iterator.
813
814 2004-01-26  André Pönitz  <poenitz@gmx.net>
815
816         * BufferView.[Ch]:
817         * BufferView_pimpl.[Ch]:
818         * InsetList.[Ch]:
819         * PosIterator.[Ch]:
820         * buffer.h:
821         * bufferview_funcs.C:
822         * cursor.[Ch]:
823         * cursor_slice.h:
824         * factory.[Ch]:
825         * iterators.[Ch]:
826         * lyxfind.C:
827         * lyxfunc.C:
828         * lyxtext.h:
829         * output_docbook.C:
830         * output_latex.C:
831         * output_linuxdoc.C:
832         * output_plaintext.C:
833         * paragraph.[Ch]:
834         * paragraph_funcs.[Ch]:
835         * paragraph_pimpl.[Ch]:
836         * rowpainter.C:
837         * tabular.C:
838         * tabular.h:
839         * text.C:
840         * text2.C:
841         * text3.C: more IU:  dumps most of the rest of the mathcursor
842     implementation into cursor.[Ch]; "globalize" a bit of it.
843
844 2004-01-25  Angus Leeming  <leeming@lyx.org>
845
846         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
847
848 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
849
850         * LaTeXFeatures.h: add nice_ and nice() const
851         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
852
853 2004-01-20  André Pönitz  <poenitz@gmx.net>
854
855         * BufferView.[Ch]:
856         * BufferView_pimpl.C:
857         * PosIterator.C:
858         * bufferview_funcs.C:
859         * cursor.[Ch]:
860         * cursor_slice.[Ch]:
861         * factory.C:
862         * iterators.C:
863         * lyx_cb.C:
864         * lyxfind.C:
865         * lyxfunc.C:
866         * lyxtext.h:
867         * rowpainter.C:
868         * text.C:
869         * text2.C:
870         * text3.C:
871         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
872           LCursor and mathcursor parts to LCursor and InsetBase.
873
874 2004-01-15  André Pönitz  <poenitz@gmx.net>
875
876         * cursor_slice.[Ch]: add a few covienience functions
877
878         * funcrequest.[Ch]: remove BufferView * member
879
880         * BufferView_pimpl.C:
881         * cursor.C:
882         * factory.[Ch]:
883         * lyxfind.[Ch]:
884         * lyxfunc.C:
885         * lyxtext.h:
886         * text3.C:
887         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
888
889 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
890
891         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
892         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
893
894 2004-01-13  André Pönitz  <poenitz@gmx.net>
895
896         * textcursor.[Ch]:
897         * lyxtext.h: hide cursor and selection anchor behind accessor function
898
899         * BufferView.C:
900         * BufferView_pimpl.[Ch]:
901         * PosIterator.C:
902         * bufferview_funcs.C:
903         * cursor.h:
904         * lyxfind.C:
905         * lyxfunc.C:
906         * text.C:
907         * text2.C:
908         * text3.C:
909         * undo.C: adjust
910
911         * cursor.h:
912         * cursor_slice.[Ch]: some integer type changes for inset unification
913
914         * lyxcursor.[hC]: remove, it's CursorSlice now.
915
916         * Makefile.am:
917         * BufferView_pimpl.[Ch]:
918         * bufferview_funcs.C:
919         * cursor_slice.C:
920         * lyxtext.h:
921         * text.C:
922         * text2.C:
923         * text3.C:
924         * textcursor.[Ch]: adjust
925
926 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
927
928         * text2.C (undoSpan): add and use
929         * text.C (breakParagraph): use undoSpan (fix bug 578)
930         * lyxtext.h: adjust
931
932 2004-01-08  Angus Leeming  <leeming@lyx.org>
933
934         * BufferView_pimpl.C (MenuInsertLyXFile):
935         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
936         * lyxfunc.C (menuNew, open, doImport):
937         FileFilterList change to the FileDialog open and save functions.
938
939 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
940
941         * ShareContainer.h: make isEqual and isUnique adaptable
942
943         * CutAndPaste.C: make resetOwnerAndChanges adaptable
944
945 2004-01-07  Angus Leeming  <leeming@lyx.org>
946
947         * LyXAction.C:
948         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
949
950         * BufferView_pimpl.C (dispatch): act on these LFUNs.
951
952         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
953         functions replacing find, replace and replaceAll.
954
955         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
956         LFUN_WORDFIND(FORWARD|BACKWARD).
957
958 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * text.C (breakParagraph): remove an outdated #warning
961
962 2004-01-07  André Pönitz  <poenitz@gmx.net>
963
964         * lyxfind.C: somewhat clearer logic
965
966         * text.C: prevent crash in cursorX on unitialized row cache
967
968 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxcursor.[Ch] (operator>): add
971         * textcursor.C (selStart, selEnd): use std::min and std::max
972
973 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * Chktex.C: include boost/format.hpp
976
977 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
978
979         * InsetList.C: replace functor MathcIt with adaptable functor
980         InsetTablePosLess
981         (insetIterator): modify accordingly
982
983         * BranchList.h: move the BranchNamesEqual functor here from...
984         * BranchList.C: ... to here
985
986         * BranchList.C: new BranchListEqual fuctor, use it. Remove
987         SameName and match.
988         (add): replace a finding loop with std::find_if.
989
990 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
991
992         * output_docbook.C: moving LatexParam functionality into
993         .layout files
994
995 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
996
997         * buffer.C: increment format to 229.
998
999 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1000
1001         * LaTeXFeatures.C:
1002         * lyx_sty.[Ch]: remove minipageindent_def
1003
1004         * LyXAction.C:
1005         * factory.C:
1006         * lfuns.h:
1007         * lyxfunc.C:
1008         * text3.C: remove LFUN_INSET_MINIPAGE
1009
1010 2003-12-28  Angus Leeming  <leeming@lyx.org>
1011
1012         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1013
1014 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1015
1016         * text2.C (setParagraph): fix off-by-one crash
1017
1018 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * output_docbook.C: header stuff for AGU
1021
1022 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * text2.C (redoCursor): remove
1025         * text.C:
1026         * text3.C:
1027         * BufferView_pimpl.C: remove calls to redoCursor and
1028         setCursor(cursor.par(), cursor.pos()) all around
1029
1030 2003-12-15  Angus Leeming  <leeming@lyx.org>
1031
1032         * buffer.C: up the format to 228.
1033
1034 2003-12-15  André Pönitz  <poenitz@gmx.net>
1035
1036         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1037         slices
1038
1039         * Makefile.am:
1040
1041         * BufferView_pimpl.C:
1042         * cursor.[Ch]:
1043         * lyxcursor.[Ch]:
1044         * rowpainter.[Ch]:
1045         * lyxtext.h:
1046         * text.C:
1047         * text2.C:
1048         * text3.C: adjust
1049
1050 2003-12-15  Angus Leeming  <leeming@lyx.org>
1051
1052         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1053         than getFromGUIName to manipulate the color.
1054
1055 2003-12-14  Angus Leeming  <leeming@lyx.org>
1056
1057         * BranchList.[Ch]: minimize the API.
1058         (Branch::getBranch, getColor): now return a 'const &'.
1059         (Branch::setSelected) now returns a bool set to true if the
1060         selection status changes.
1061         (BranchList::clear, size, getColor, setColor, setSelected,
1062         allBranches, allSelected, separator): removed.
1063         (BranchList::find): new functions, returning the Branch with
1064         the given name.
1065         (BranchList::add, remove): return a bool indicating that
1066         the operation was successful.
1067
1068         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1069         new InsetBranch::isBranchSlected member function.
1070
1071         * LColor.[Ch]: mimimize the API.
1072         (fill): renamed as addColor and made private.
1073         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1074         versions of these functions taking a string arg have been removed.
1075
1076         * bufferparams.C (readToken):
1077         * lyxfunc.C (dispatch):
1078         * lyxrc.C (read): changes due to the altered BranchList and
1079         LColor APIs.
1080
1081         * factory.C (createInset, readInset): changes due to altered
1082         InsetBranch c-tor.
1083
1084 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1085
1086         * factory.C:
1087         * lyxfunc.C: remove insetminipage. "minipage-insert"
1088         now produces a frameless minipage box inset.
1089
1090 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * textcursor.[Ch] (selStart,selEnd): add new methods
1093         remove selection::start, end, use LyXCursor::operator<
1094         * lyxcursor.[Ch] (operator<): add
1095         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1096         * BufferView.[Ch] (unsetXSel): add
1097         * text2.C (clearSelection): use unsetXSel,adjust
1098         * text.C: adjust
1099         * text3.C: adjust
1100         * rowpainter.C: adjust
1101         * bufferview_funcs.C (put_selection_at): adjust
1102
1103 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * BufferView_pimpl.C: small coord. correction
1106
1107 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1108
1109         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1110         dragging over the splash screen.
1111
1112 2003-12-11  Angus Leeming  <leeming@lyx.org>
1113
1114         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1115         as it is now handled in LyXText::dispatch.
1116
1117         * text3.C (doInsertInset): remove a level of nesting.
1118
1119 2003-12-11  Angus Leeming  <leeming@lyx.org>
1120
1121         * factory.C (createInset): changes due to the changed interface to
1122         InsetCommandMailer::string2params.
1123
1124 2003-12-10  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1127         'dialog-show-new-inset <inset name>'
1128
1129 2003-12-10  Angus Leeming  <leeming@lyx.org>
1130
1131         * buffer.C: up the format to 227.
1132
1133         * factory.C: the box inset is now identified simply by 'Box'.
1134
1135 2003-12-10  Angus Leeming  <leeming@lyx.org>
1136
1137         * buffer.C: up the format to 226.
1138
1139         * factory.C: the note inset is now identified simply by 'Note'.
1140
1141 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1142
1143         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1144         when a pit is enough. Standarize a couple of loops.
1145
1146 2003-12-05  Angus Leeming  <leeming@lyx.org>
1147
1148         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1149         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1150         data to the re-worked "log" dialog.
1151
1152 2003-12-03  André Pönitz  <poenitz@gmx.net>
1153
1154         * PosIterator.C:
1155         * iterators.C:
1156         * lyxtext.h:
1157         * output_latex.C:
1158         * paragraph_funcs.C:
1159         * text.C:
1160         * text2.C: use Inset::getText instead of Inset::getParagraph
1161
1162 2003-12-03  André Pönitz  <poenitz@gmx.net>
1163
1164         * buffer.[Ch]:
1165         * lyxtext.h:
1166         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1167         InsetText::read() as LyXText::read()
1168
1169 2003-12-02  Angus Leeming  <leeming@lyx.org>
1170
1171         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1172         type. Add a comment in the implementation that the function uses
1173         the stream's bad() function rather than fail() as the std::streams
1174         would do.
1175
1176 2003-12-02  André Pönitz  <poenitz@gmx.net>
1177
1178         * lyxlex.[Ch]: make interface more similar to std::stream
1179
1180         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1181
1182 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1183
1184         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1185
1186 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1187
1188         * vspace.[Ch]: remove VSpace::NONE
1189
1190 2003-12-01  André Pönitz  <poenitz@gmx.net>
1191
1192         * buffer.[Ch]:
1193         * lyxtext.h: move ParagraphList member to LyXText
1194         rename LyXText::ownerParagraphs to LyXText::paragraph
1195
1196         * CutAndPaste.C:
1197         * bufferview_funcs.C:
1198         * iterators.[Ch]:
1199         * lyx_cb.C:
1200         * paragraph.C:
1201         * rowpainter.C:
1202         * tabular.C:
1203         * text.C:
1204         * text2.C:
1205         * text3.C: adjust
1206
1207         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1208
1209         * undo.C: fix cursor positioning
1210
1211 2003-12-01  John Levon  <levon@movementarian.org>
1212
1213         * BufferView_pimpl.C: fix a crash on exit with
1214         a buffer open
1215
1216 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1217
1218         * BranchList.C: fix setSelected() method.
1219
1220 2003-11-28  André Pönitz  <poenitz@gmx.net>
1221
1222         * ParagraphParameters.[Ch]:
1223         * ParameterStruct.h: remove space above/below from Paragraph to
1224          InsetVSpace
1225
1226         * BufferView_pimpl.C:
1227         * factory.C:
1228         * lyxfunc.C:
1229         * lyxtext.h:
1230         * output_latex.C:
1231         * paragraph.C:
1232         * paragraph_funcs.C:
1233         * rowpainter.[Ch]:
1234         * text.C:
1235         * text2.C:
1236         * text3.C: adjust
1237
1238 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1239
1240         * factory.C: Syntax change for CharStyles
1241
1242 2003-11-28  André Pönitz  <poenitz@gmx.net>
1243
1244         * BufferView.[Ch]:
1245         * BufferView.[Ch]:
1246         * buffer.[Ch]:
1247         * buffer.[Ch]: move LyXText member
1248
1249 2003-11-28  André Pönitz  <poenitz@gmx.net>
1250
1251         * BufferView.[Ch]: make LyXText * text a private member
1252
1253         * BufferView_pimpl.C:
1254         * cursor.C:
1255         * iterators.C:
1256         * lyx_cb.C:
1257         * lyxfind.C:
1258         * lyxtext.h:
1259         * rowpainter.[Ch]:
1260         * text.C:
1261         * text2.C:
1262         * undo.C: adjust
1263
1264         * output_plaintext.C: cleanup
1265
1266 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1267
1268         * buffer.C:
1269         * lyxtextclass.[Ch]: parametrize SGML document header
1270
1271 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1272
1273         * converter.[Ch]:
1274         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1275         getFlavor().
1276
1277 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1278
1279         * text2.C (setFont): rework using PosIterator (no more recursive)
1280         (setCharFont): no more needed
1281         (setLayout): no more selection cursors fiddling (done by redoCursor)
1282         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1283         destroy remaining ones)
1284
1285 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1288         * lyxtext.h: ditto
1289         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1290         selection cursors
1291         * lyxfunc.C: adjust
1292         * text3.C: adjust + re-allow multi par depth changes
1293         * textcursor.C: simplify a bit
1294
1295 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * src/buffer.C:
1298         * src/lyxlayout.C:
1299         * src/lyxlayout.h:
1300         * src/lyxtext.h:
1301         * src/output_docbook.C:
1302         * src/output_latex.C:
1303         * src/paragraph.C:
1304         * src/paragraph.h:
1305         * src/sgml.C:
1306         * src/sgml.h:
1307         * src/text2.C: Introducing a number of tags parametrizing various
1308         XML formats that we may want to support
1309
1310 2003-11-25  André Pönitz  <poenitz@gmx.net>
1311
1312         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1313
1314         * lyxtext.h (leftMargin/rightMargin): simplify interface
1315
1316         * rowpainter.C:
1317         * text.C:
1318         * text2.C:
1319         * text3.C: adjust
1320
1321 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1322
1323         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1324         master file to any child files. Fixes bug 546.
1325
1326 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1329
1330 2003-11-24  André Pönitz  <poenitz@gmx.net>
1331
1332         * rowpainter.C: simplification
1333
1334         * text2.C (updateCounters): remove call to redoParagraph on
1335         changed labels as this is far too expensive.
1336
1337 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1338
1339         * converter.C (convert): fix a crash: this function gets
1340         called with buffer == 0 from importer code.
1341
1342 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1343
1344         * text3.C (cursorPrevious): make sure that we do not compare
1345         iterators form different containers.
1346         (cursorNext): ditto
1347
1348         * rowpainter.C (paintSelection): make sure that we do not compare
1349         iterators from different containers.
1350
1351         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1352         iterators from different ParagraphList containers.
1353         [NEXT] ditto
1354
1355         * text2.C (LyXText): change order of initialization slightly
1356         (operator=): new function. copy all variables except cache_par_
1357         (moveUp): make sure that we do not compare iterators from
1358         different ParagraphList constainers.
1359         (moveDown): ditto
1360
1361         * text.C (firstPar): new function
1362         (lastPar): new function
1363         (endPar): new function
1364
1365         * lyxtext.h: move things around and group public functions, public
1366         variables, private functions, private variables
1367
1368 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1369
1370         * factory.C: change call to InsetERT constructor to avoid
1371         additional invocation of method status
1372         * text2.C (toggleInset): remove redundant update() call
1373         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1374         instead of a Bufferview pointer
1375
1376 2003-11-21  André Pönitz  <poenitz@gmx.net>
1377
1378         * rowpainter.C: simplification
1379
1380 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * text3.C (dispatch): make possible to extend a word/row selection
1383         with the mouse
1384
1385 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1386
1387         * lyxtext.h: x0_,y0_ -> xo_,yo_
1388         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1389         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1390         * rowpainter.C (paintRows): paint full paragraphs
1391
1392 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1395         screen coordinates)
1396
1397 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * lyxtext.h: add x0_, y0_
1400         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1401         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1402
1403 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1404
1405         * text2.C (setCursorIntern): move the x_target update here *
1406         * text3.C: change some bv() to true/false in calls to
1407         cursorUp/Down/Right/Left
1408         * cursor.C: use helper function.
1409
1410 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1411
1412         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1413         * paragraph_funcs.[Ch]: correct comment
1414         * rowpainter.C: do not paint selections away from bv->cursor()
1415         Fix a long standing selection painting bug.
1416         * text3.C: generalize mouse-selection code to LyXTexts other that
1417         top one
1418         * textcursor.C: do not use y coords if we can use par offsets
1419
1420 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1423         cursor position after e.g. inset insert)
1424
1425 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * lyxfind.C (replace): adjust to locking removal + some
1428         code simplification
1429
1430 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1431
1432         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1433         of the path
1434
1435 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1436
1437         * lyxlayout.[Ch]:
1438         * output_docbook.C: XML sanitation: new layout
1439         parameters InnerTag and CommandDepth
1440
1441 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1442
1443         * BufferView_pimpl.C:
1444         * factory.C:
1445         * text3.C: Fix the insertion and modification of button-style
1446         insets
1447
1448 2003-11-13  André Pönitz  <poenitz@gmx.net>
1449
1450         * InsetList.[Ch]: remove deleteLyXText
1451
1452         * paragraph.[Ch]: cache beginOfBody position
1453
1454         * Bidi.C:
1455         * text.C:
1456         * text2.C:
1457         * text3.C: remove superfluous update() calls
1458
1459         * vspace.C: cleanup
1460
1461 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1464         * BufferView.C (fitLockedInsetCursor): remove
1465         * cursor.[Ch] (getDim): add
1466         * text.C (getRowNearY): add faster version
1467         * text3.C: remove some update calls
1468
1469 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * LaTeXFeatures.C:
1472         * LyXAction.C:
1473         * MenuBackend.C:
1474         * MenuBackend.h:
1475         * dispatchresult.h:
1476         * factory.C:
1477         * lfuns.h:
1478         * lyxfunc.C:
1479         * lyxtextclass.C:
1480         * lyxtextclass.h:
1481         * text3.C: The Character Style /XML short element patch.
1482
1483 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1484
1485         * text3.C:
1486         * factory.C: Small step to solving 'unable to insert some insets'
1487         problem
1488
1489 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * cursor.[Ch] (updatePos): new function for updating the y
1492         position of the tip inset
1493         * bufferview_funcs.C (put_selection_at):
1494         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1495
1496 2003-11-11  André Pönitz  <poenitz@gmx.net>
1497
1498         * text.C: remove big comment on invalid Paragraph pointers as it is
1499         not valid anymore
1500
1501 2003-11-11  André Pönitz  <poenitz@gmx.net>
1502
1503         * text_funcs.[Ch]: merge with ...
1504
1505         * text.C: ... this
1506
1507         * lyxtext.h:
1508         * text2.C:
1509         * text3.C: adjust
1510
1511         * Makefile.am: remove text_funcs.[Ch]
1512
1513 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1514
1515         * cursor.C (getPos): return absolute cached y coord
1516
1517         * BufferView_pimpl.C (fitCursor): new simplistic code
1518         (workAreaDispatch): add a fitCursor call
1519
1520 2003-11-10  André Pönitz  <poenitz@gmx.net>
1521
1522         * BufferView.[Ch]:
1523         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1524
1525 2003-11-10  André Pönitz  <poenitz@gmx.net>
1526
1527         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1528         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1529         indicate that the cursor needs to leave an inset
1530
1531         * lyxtext.h: remove inset locking
1532
1533         * cursor.[Ch]: re-implement functionality provided by inset locking
1534
1535         * BufferView.[Ch]:
1536         * BufferView_pimpl.[Ch]:
1537         * LyXAction.C:
1538         * bufferview_funcs.[Ch]:
1539         * factory.C:
1540         * funcrequest.[Ch]:
1541         * iterators.C:
1542         * lyx_cb.C:
1543         * lyxfind.C:
1544         * lyxfunc.C:
1545         * text.C:
1546         * text2.C:
1547         * text3.C:
1548         * undo.C: adjust
1549
1550 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * PosIterator.[Ch]: replace the stack with a vector, add inset
1553         accesor
1554         * iterators.[C]: adjust
1555
1556 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1557
1558         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1559         replaced
1560         * paragraph_funcs.C (readParToken): put the correct id in the
1561         error item, not the id of the top paragraph
1562
1563 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1566         * bufferview_funcs.C (put_selection_at): use the above
1567
1568 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1569
1570         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1571
1572 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1573
1574         * output_linuxdoc.h:
1575         * output_plaintext.h:
1576         * output.h:
1577         * output_docbook.h: add #include statements
1578
1579 2003-11-05  José Matos  <jamatos@lyx.org>
1580
1581         * output_docbook.[Ch]:
1582         * output_latex.[Ch]:
1583         * output_linuxdoc.[Ch]:
1584         * output_plaintext.[Ch]: New files for output formats.
1585         * output.[Ch]: New file for helper functions.
1586
1587         * buffer.[Ch]:
1588         * paragraph_funcs.[Ch]: output functions moved to new files.
1589
1590         * outputparams.h: rename of latexrunparams.h
1591
1592         * LaTeX.[Ch]:
1593         * buffer.[Ch]:
1594         * bufferlist.[Ch]:
1595         * converter.[Ch]:
1596         * exporter.C:
1597         * paragraph.[Ch]:
1598         * paragraph_funcs.[Ch]:
1599         * paragraph_pimpl.[Ch]:
1600         * tabular.[Ch]: rename ascii to plaintext
1601         and LatexRunParams to OutputParams.
1602
1603 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1604
1605         * iterators.[Ch] (text): require bv argument
1606         * undo.C (recordUndo):
1607         * lyxfunc.C (dispatch):
1608         * bufferview_funcs.C (put_selection_at): adjust
1609
1610 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1611
1612         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1613
1614 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1615
1616         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1617         nestings
1618
1619 2003-11-04  André Pönitz  <poenitz@gmx.net>
1620
1621         * cursor.[Ch]: restructure
1622
1623         * BufferView.[Ch]:
1624         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1625
1626         * iterators.[Ch] (asCursor): remove
1627
1628         * lfuns.h: remove LFUN_INSET_EDIT
1629
1630         * lyxfunc.C:
1631         * tabular.C:
1632         * text.C:
1633         * text2.C:
1634         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1635
1636 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1637
1638         * lyxfind.[Ch]: complete overhaul
1639         * BufferView_pimpl.C:
1640         * lyxfunc.C: adjust
1641         * paragraph.[Ch] (insert): add
1642
1643 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1644
1645         * BufferView.[Ch]:
1646         * lyxtext.h:
1647         * text.C: remove dead spellcheck code
1648
1649 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * dispatchresult.h: add a val setter
1652
1653         * cursor.C (dispatch): use a tempvar for data_[i]
1654
1655 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * PosIterator.[Ch]: compile fix
1658
1659 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * text.C (cursorPar): deactivate the cursor cache
1662
1663 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1664
1665         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1666
1667 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1668
1669         * text3.C (dispatch): adjust for new DisptchResult semantics.
1670
1671         * lyxfunc.C (dispatch): handle update when return from
1672         Cursor::dispatch, adjust for new DispatchResult semantics.
1673
1674         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1675         DispatchResult(true) mean to not update. Add class functions for
1676         setting dispatched and update, as well as reading.
1677
1678         * cursor.C (dispatch): don't handle update here
1679
1680 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1683         * trans_mgr.C: adjust
1684
1685         * paragraph_funcs.C (readParToken): exception safety
1686
1687         * lyxvc.h: store the vcs pointer in a scoped_ptr
1688         * lyxvc.C: adjust
1689
1690         * lyxsocket.C (serverCallback): exception safety
1691
1692         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1693
1694         * ispell.C (clone): make it return a auto_ptr
1695
1696         * factory.C (createInset): exception safety
1697         (readInset): exception safety
1698
1699         * bufferlist.C (newBuffer): exception safety
1700
1701         * Thesaurus.C (Thesaurus): use initialization for aik_
1702
1703         * MenuBackend.C (expandToc): exception safety.
1704
1705 2003-11-03  André Pönitz  <poenitz@gmx.net>
1706
1707         * buffer.C:
1708         * buffer.h:
1709         * bufferview_funcs.C: remove getInsetFromId()
1710
1711         * lyxcursor.[Ch]:
1712         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1713
1714         * lyxfunc.C:
1715         * text2.C:
1716         * text3.C: adjust
1717
1718 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1719
1720         * PosIterator.C (distance, advance): new
1721         * bufferview_funcs.[Ch] (put_selection_at): new
1722         * iterators.[Ch] (lockPath): new
1723
1724 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1725
1726         * iterators.[Ch] (asPosIterator): added
1727         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1728         * PosIterator.[Ch]: added
1729
1730 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * text3.C:
1733         * lyxfunc.C:
1734         * cursor.C (dispatch):
1735         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1736
1737         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1738         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1739         contructor, add a class function dispatched. Remove operator>=
1740
1741 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1742
1743         * debug.C: only use the default constructor for debugstream
1744         (lyxerr) here.
1745
1746         * main.C (main): include debug.h and setup the lyxerr streambuf
1747         here.
1748
1749 2003-10-31  José Matos  <jamatos@lyx.org>
1750
1751         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1752
1753         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1754         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1755         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1756         * paragraph_pimpl.C (simpleTeXSpecialC):
1757         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1758         add LatexRunParams argument.
1759
1760         * exporter.C (Export): change call accordingly.
1761
1762         * latexrunparams.h: add new member to take care of the other backends.
1763 2003-10-30  José Matos  <jamatos@lyx.org>
1764
1765         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1766         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1767         factorise code for paragraph output.
1768         * buffer.[Ch]:
1769         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1770         move functions.
1771
1772 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1773
1774         * text3.C (dispatch):
1775         * lyxfunc.C (dispatch):
1776         * cursor.C (dispatch):
1777         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1778
1779         * dispatchresult.h: make the dispatch_result_t ctor explicit
1780
1781 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * sgml.[Ch]:
1784         * buffer.C: small refactoring of docbook stuff
1785
1786 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1789         meaning.
1790
1791 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1792
1793         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1794         operator dispatch_result_t, and operators for == != and >=
1795
1796         * cursor.C (dispatch): adjust for operator dispatch_result_t
1797         removal. comment out call to update
1798
1799         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1800
1801 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1802
1803         * text3.C:
1804         * text2.C:
1805         * text.C:
1806         * lyxtext.h:
1807         * lyxfunc.C:
1808         * cursor.C:
1809         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1810         (dispatch):
1811
1812         * dispatchresult.h: new file, DispatchResult broken out of
1813         insets/insetbase.h
1814
1815         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1816
1817 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1818
1819         * text.C (rowBreakPoint): put a hack inside #if 0
1820
1821 2003-10-28  André Pönitz  <poenitz@gmx.net>
1822
1823         * lyxtext.h:
1824         * metricsinfo.C:
1825         * paragraph_funcs.C:
1826         * rowpainter.C:
1827         * text.C:
1828         * text2.C: general cleanup (lots of small stuff)
1829
1830 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1831
1832         * text2.C (cursorEnd): simple fix to the "end key goes to one
1833         before the end on last row" bug
1834
1835 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * text.C (backspace): fix the "zombie characters"
1838
1839 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1842
1843 2003-10-27  André Pönitz  <poenitz@gmx.net>
1844
1845         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1846
1847         * factory.C: handle new InsetPagebreak, InsetLine
1848
1849         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1850         and move handling into new InsetPagebreak, InsetLine
1851
1852         * BufferView_pimpl.C:
1853         * LyXAction.C:
1854         * ParagraphParameters.C:
1855         * ParameterStruct.h:
1856         * lyxfunc.C:
1857         * lyxtext.h:
1858         * paragraph.C:
1859         * paragraph.h:
1860         * paragraph_funcs.C:
1861         * paragraph_pimpl.C:
1862         * rowpainter.C:
1863         * text.C:
1864         * text2.C:
1865         * text3.C: adjust
1866
1867 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * text.C:
1870         * lyxrow_funcs.[Ch]:
1871         * Bidi.C:
1872         * paragraph.C:
1873         * lyxtext.h:
1874         * rowpainter.C:
1875         * text2.C:
1876         * text3.C: remove lastPos uses in favour of Row::endpos
1877
1878 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1879
1880         * undo.C (performUndoOrRedo): fix two crashes by setting a
1881         cursor by hand and reordering some calls. Use bv->lockInset instead
1882         of inset->edit because the latter loses cursor information
1883
1884 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1885
1886         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1887         by Martin
1888         (rowBreakPoint): fix width. change point to point + 1.
1889         Add a missing check.
1890
1891 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1892
1893         * MenuBackend.C:
1894         * lyxfunc.C: fix (at least partly) the problems
1895         with the Nav menu and headers inside branch insets
1896         reported by Kayvan
1897
1898 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * paragraph.C (getChar): add strong asserts
1901
1902         * lyxrow_funcs.C (lastPos): remove hideous hack
1903
1904         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1905         (fill): adjust to that (avoid an infinite loop)
1906
1907 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1908
1909         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1910
1911 2003-10-23  André Pönitz  <poenitz@gmx.net>
1912
1913         * RowList_fwd.h: change list<> to vector<> to gain speed
1914         after suggestion from Alfredo
1915
1916 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1917
1918         * lyxtext.h: move the bidi stuff from here...
1919         * text.C: and here
1920         * text2.C: and here
1921         * Bidi.[Ch]: ... to here
1922
1923 2003-10-23  André Pönitz  <poenitz@gmx.net>
1924
1925         * lyxtext.h:
1926         * text.C (isLastRow, isFirstRow): new functions
1927
1928         * paragraph.h: new width cache member
1929
1930         * rowpainter.C: replace RowList::iterator with Row & where possible
1931
1932         * lyxfunc.C: replace several view()->text with a single call
1933
1934         * toc.C: fix 'unused' warning
1935
1936 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1939         when woring with stream::pos_type
1940         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1941
1942 2003-10-22  André Pönitz  <poenitz@gmx.net>
1943
1944         * lyxtext.h:
1945         * text.C: use Row & instead of RowList::iterator
1946
1947         * lyxrow.h: rename end() to endpos()
1948
1949         * rowpainter.C:
1950         * text.C:
1951         * text2.C: adjust
1952
1953 2003-10-22  Angus Leeming  <leeming@lyx.org>
1954
1955         * buffer.[Ch] (fully_loaded): new member function, returning true
1956         only when the file has been loaded fully.
1957         Used to prevent the premature generation of previews and by the
1958         citation inset to prevent computation of the natbib-style label.
1959
1960         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1961         templates are all set up.
1962
1963         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1964
1965 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * text.C: fixed an "oops" in the "is a bit silly"
1968         bug fix
1969
1970 2003-10-21  André Pönitz  <poenitz@gmx.net>
1971
1972         * FuncStatus.[Ch]: small stuff, whitespace
1973
1974         * lyxfont.[Ch]: operator<<() for debug reasons
1975
1976         * lyxfunc.C:
1977         * lyxrow_funcs.C:
1978         * lyxtext.h: whitespace, spelling
1979
1980         * paragraph.C: naming of variables
1981
1982         * text.C:
1983         * text2.C: small stuff
1984
1985
1986 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1987
1988         * text.C: (1) finish off the inset display() work;
1989         (2) fix the "is a bit silly" bug (accessing char
1990         past end of par).
1991
1992 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1993
1994         * text.C: re-introduce display() for insets, fixing the
1995         various bugs (stretch of line above, math inset
1996         positioning, ...)
1997
1998 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * text.C (rightMargin): remove spurious semicolon
2001
2002         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2003         1415)
2004
2005 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2006
2007         * text3.C: fix one crash due to wrong cursor def
2008
2009 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2010
2011         * vc-backend.C (scanMaster): make the regex static
2012
2013         * LaTeX.C (scanAuxFile): make the regexs static
2014
2015         * text3.C (doInsertInset, dispatch, dispatch):
2016         * text2.C (cursorUp, cursorDown):
2017         * text.C (selectNextWordToSpellcheck):
2018         * BufferView_pimpl.C (dispatch):
2019         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2020
2021 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * lyxsocket.C: include <cerrno>
2024
2025 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2026
2027         * lyxfunc.C (dispatch): remove textcache stuff
2028
2029         * bufferlist.C (release): remove textcache stuff
2030         (closeAll): ditto
2031
2032         * TextCache.C: delete file
2033         * TextCache.h: delete file
2034
2035         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2036
2037         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2038         delete of the bv_->text.
2039         (resizeCurrentBuffer): remove texcache stuff
2040         (workAreaResize): ditto
2041
2042 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2045         action.
2046
2047 2003-10-16  André Pönitz  <poenitz@gmx.net>
2048
2049         * lyxrow.[Ch]:
2050         * paragraph.h:
2051         * rowpainter.C:
2052         * text.C:
2053         * text2.C:
2054         * text3.C: speed up by storing y positions per paragraph plus per-row
2055         offset instead of having a 'full' y position in the row.
2056
2057 2003-10-15  André Pönitz  <poenitz@gmx.net>
2058
2059         * iterators.[Ch]:
2060         * iterators.[Ch]:
2061         * undo.[Ch]: make undo aware of inner insets
2062
2063 2003-10-14  Angus Leeming  <leeming@lyx.org>
2064
2065         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2066         static member functions LyX::ref() and LyX::cref.
2067         (lastfiles): new accessor functions for the new lastfiles_ member var.
2068         (addLyXView, views_): add a new LyXView to the list of views_.
2069         (updateInset): loop over all LyXViews to call their own updateInset
2070         member function, returning a pointer to the Buffer owning the inset.
2071
2072         * BufferView_pimpl.C (loadLyXFile):
2073         * MenuBackend.C (expandLastfiles):
2074         * bufferlist.C (MenuWrite, QuitLyX):
2075         lastfiles is no longer a global variable.
2076         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2077
2078         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2079         static function. Access through LyX::cref().emergencyCleanup().
2080
2081 2003-10-14  André Pönitz  <poenitz@gmx.net>
2082
2083         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2084
2085         * undo.[Ch]: restoring part of 'undo in insets'
2086
2087         * Makefile.am:
2088         * undo_funcs.[Ch]: merge with undo.[Ch]
2089
2090         * tabular.C: small cleansing stuff
2091
2092 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * paragraph_funcs.C (readParToken): report unknown insets as error
2095         boxes. Use the outer paragraph as location (also for unknown
2096         tokens).
2097
2098         * factory.C (readInset): do not abort on reading an unknown inset.
2099         Eat it and return 0.
2100
2101 2003-10-13  Angus Leeming  <leeming@lyx.org>
2102
2103         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2104
2105         * lyxrc.C: displayTranslator is now a function,
2106         declared in GraphicsTypes.h.
2107
2108 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2109
2110         * format.C: new placeholder $$a to pass the socket address.
2111
2112         * bufferlist.[Ch]: new function getBufferFromTmp.
2113
2114         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2115           files in the temporary dir.
2116
2117 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2118
2119         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2120
2121         * Makefile.am: add lyxsocket.[Ch].
2122
2123         * lyx_main.C (error_handler): handle SIGPIPE.
2124
2125 2003-10-13  André Pönitz  <poenitz@gmx.net>
2126
2127         * BufferView_pimpl.C:
2128         * lyxtext.h:
2129         * text.C:
2130         * text2.C:
2131         * text3.C:
2132         * undo_funcs.[Ch]: use paroffset_type instead of
2133           ParagraphList::iterators to prevent multiple conversion
2134           (and get a more robust interface)
2135
2136 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2139         * lyxtext.h: ditto
2140         * text3.C (dispatch): ditto
2141
2142 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2143
2144         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2145         move the onlyfile, use onlyfile instead of foundfile in a couple
2146         of places.
2147
2148         * DepTable.C (update): flush the error stream a bit more
2149
2150 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * lyxserver.C (callback): adjust
2153
2154         * lyxfunc.C (getStatus): add a missing brace in commented code
2155         (ensureBufferClean): reindent
2156         (dispatch): delete version taking a string
2157
2158 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * LaTeX.C (deplog): move found file handlig from here...
2161         (handleFoundFile): .. to new function here.
2162         (deplog): make sure to discover several files mentioned on the
2163         same log line.
2164
2165 2003-10-10  André Pönitz  <poenitz@gmx.net>
2166
2167         * lyxfunc.C:
2168         * lyxtext.h:
2169         * tabular.C:
2170         * text.C:
2171         * text2.C:
2172         * text3.C: fix some of the tabular crashes
2173
2174 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2175
2176         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2177
2178         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2179
2180 2003-10-09  André Pönitz  <poenitz@gmx.net>
2181
2182         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2183
2184         * BufferView.C:
2185         * BufferView_pimpl.C:
2186         * bufferview_funcs.C:
2187         * lyx_cb.C:
2188         * lyxcursor.C:
2189         * lyxfind.C:
2190         * lyxfunc.C:
2191         * lyxtext.h:
2192         * text.C:
2193         * text2.C:
2194         * text3.C:
2195         * text_funcs.[Ch]:
2196         * textcursor.[Ch]:
2197         * undo_funcs.C: adjust
2198
2199 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * text2.C (incrementItemDepth): new function, use a backtracking
2202         algorithm to discover the correct item depth.
2203         (resetEnumCounterIfNeeded): new function, use a backtracking
2204         algorithm to discover if counter reset is needed.
2205         (setCounter): use them. Simplify a bit. Add different labels for
2206         different item depths for itemize.
2207
2208         * paragraph.C (Paragraph): remove initialization of enumdepth
2209         (operator=): ditto
2210
2211         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2212         enumerate and itemize. Change the type of itemdepth to signed char.
2213
2214 2003-10-08  André Pönitz  <poenitz@gmx.net>
2215
2216         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2217           thing assignable.
2218         * text.C:
2219         * text2.C: adjust
2220
2221         * tabular.[Ch]: fix crash after 'row-insert'
2222
2223 2003-10-08  Angus Leeming  <leeming@lyx.org>
2224
2225         Fix doxygen warnings.
2226
2227         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2228         Remove CutAndPaste:: prefix from header file declaration.
2229
2230         * LColor.h (fill): remove LColor:: prefix from declaration.
2231
2232         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2233         use lyx::depth_type rather than Paragraph::depth_type so that
2234         header file and .C file match.
2235
2236         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2237
2238         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2239         * aspell.C: \file aspell_local.C -> \file aspell.C
2240         * gettext.C: \file gettext.C -> \file src/gettext.C
2241         * gettext.h: \file gettext.h -> \file src/gettext.h
2242         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2243         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2244         * text.C: \file text.C -> \file src/text.C
2245
2246         * toc.C: move comment so that doxygen is not confused.
2247
2248 2003-10-07  Angus Leeming  <leeming@lyx.org>
2249
2250         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2251
2252 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2253
2254         * aspell.C:
2255         * aspell_local.h: add forgotten std::string's.
2256
2257 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2258
2259         * LaTeXFeatures.C:
2260         * LyXAction.C:
2261         * factory.C:
2262         * lfuns.h:
2263         * lyxfunc.C:
2264         * text3.C: The Box patch. Fancybox support, minipage, parbox
2265
2266 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2267
2268         * CutAndPaste.h:
2269         * DepTable.h:
2270         * FloatList.h:
2271         * LaTeXFeatures.h:
2272         * ParagraphParameters.h:
2273         * TextCache.h:
2274         * Thesaurus.h:
2275         * bufferlist.h:
2276         * exporter.h:
2277         * importer.h:
2278         * lastfiles.h:
2279         * lyxfind.h:
2280         * lyxfont.h:
2281         * lyxlex.h:
2282         * lyxtextclasslist.h:
2283         * messages.h:
2284         * paragraph.h:
2285         * paragraph_pimpl.C:
2286         * textcursor.h: add <string> and other small fixes to make Lars'
2287         std::string patch compile with STLport.
2288
2289 2003-10-06  Angus Leeming  <leeming@lyx.org>
2290
2291         * LColor.h: Add missing #include <string>.
2292
2293 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2294
2295         * All most all file in all subdirs: Make <string> be the prefered
2296         way of getting to std::string, add using declarations.
2297
2298 2003-10-06  André Pönitz  <poenitz@gmx.net>
2299
2300         * metricsinfo.C: initialize LyXFont before changing attribute.
2301         (fixes the 'math in \emph is upright' bug)
2302
2303 2003-10-06  André Pönitz  <poenitz@gmx.net>
2304
2305         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2306
2307 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2308
2309         * graph.C:
2310         * paragraph_pimpl.C: Small fixes to build using STLport
2311
2312 2003-10-02  André Pönitz  <poenitz@gmx.net>
2313
2314         * lyxfunc.C:
2315         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2316
2317 2003-10-01  André Pönitz  <poenitz@gmx.net>
2318
2319         * factory.C: assert early
2320
2321 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * lyx_main.C: remove the global debug object
2324
2325         * debug.h: adjust for new debugstream
2326
2327         * debug.C: adjust for new debugstream and keep the global debug
2328         object here.
2329
2330 2003-09-22  Angus Leeming  <leeming@lyx.org>
2331
2332         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2333         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2334         an incomplete class LyXFont.
2335
2336 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2337
2338         * factory.C: bug fix in branches
2339
2340 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * lyxfunc.C (processKeySym): adjust
2343         (dispatch): adjust
2344         (dispatch): change arg name from ev to func, adjust
2345         (sendDispatchMessage): ditto
2346
2347         * lyx_main.C (defaultKeyBindings): adjust keybindings
2348         (deadKeyBindings): ditto
2349
2350         * kbsequence.C (addkey): return a FuncRequest
2351
2352         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2353
2354         * kbmap.C (bind): take a FuncRequest as arg, adjust
2355         (read): adjust
2356         (lookup): adjust
2357         (defkey): change to take a FuncRequest as arg, adjust
2358         (findbinding): take a FuncRequest as arg, adjust.
2359
2360         * funcrequest.h (operator=): added
2361
2362         * funcrequest.C (FuncRequest): default kb_action changed from
2363         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2364
2365         * buffer.C (dispatch): simplify
2366         (dispatch): adjust to take a FuncRequest as arg, adjust
2367
2368         * boost.C (assertion_failed): change assertion message slightly
2369
2370         * ToolbarBackend.C (read): simplify
2371
2372         * MenuBackend.C (binding): adjust call to findbinding, add a
2373         message if no binding is found.
2374         (read): simplify
2375         (expandToc): correct by adding a empty FuncRequest
2376
2377         * LyXAction.C: include <boost/assert.hpp>
2378         (isPseudoAction): delete function
2379         (LookupFunc): change name to...
2380         (lookupFunc): this. change return type to FuncRequest.
2381         (getActionName): take kb_action as arg, simplify
2382         (funcHasFlag): add an assert, simplify.
2383
2384 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * toc.C (action): return a FuncRequest, simplify
2387
2388         * lyxfunc.C (processKeySym): adjust
2389         (getStatus): delete version that takes an int.
2390         (getStatus): adjust
2391         (dispatch): delete version that takes action as int
2392         (dispatch): adjust
2393         (sendDispatchMessage): simplify and adjust
2394
2395         * funcrequest.C (getArg): take unsigned int as arg
2396
2397         * ToolbarBackend.C (read): adjust
2398         (add): delete version that takes func as a string.
2399         (getIton): take a FuncRequest as arg
2400
2401         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2402         action.
2403
2404         * MenuBackend.C (MenuItem): add a new construct that only takes a
2405         Kind, simplify the constructor use for submenus.
2406         (add): adjust
2407         (expandLastfiles): adjust
2408         (expandDocuments): adjust
2409         (expandFormats): adjust
2410         (expandFloatListInsert): adjust
2411         (expandFloatInsert): adjust
2412         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2413
2414         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2415         Remove class variables lyx_pseudo_map and lyx_arg_map
2416
2417         * LyXAction.C (searchActionArg): delete function
2418         (getPseudoAction): delete function
2419         (retrieveActionArg): delete function
2420         (LookupFunc): make it return kb_action, simplify.
2421         (getActionName): simplify
2422
2423         * factory.C (createInset): fix new bug
2424
2425 2003-09-19  Angus Leeming  <leeming@lyx.org>
2426
2427         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2428         masterFilename_ parameter in the include inset.
2429
2430         * factory.C (createInset): changes due to the changes to InsetInclude.
2431
2432 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2433
2434         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2435
2436 2003-09-18  Angus Leeming  <leeming@lyx.org>
2437
2438         * buffer.C:
2439         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2440         Inset::fillWithBibKeys.
2441         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2442
2443 2003-09-18  Angus Leeming  <leeming@lyx.org>
2444
2445         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2446         variables.
2447         (ctor): pass and store a 'Buffer const &'
2448         (buffer): new member function.
2449
2450         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2451         '*this' to the LaTeXFeatures ctor.
2452
2453 2003-09-18  Angus Leeming  <leeming@lyx.org>
2454
2455         * LColor.h:
2456         * lyxfont.C:
2457         * lyxfont.h:
2458         * lyxtext.h:
2459         * text.C: rename EnumLColor as LColor_color.
2460
2461 2003-09-18  Angus Leeming  <leeming@lyx.org>
2462
2463         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2464         remove #include "insets/insetbase.h" from cursor.h.
2465
2466 2003-09-18  Angus Leeming  <leeming@lyx.org>
2467
2468         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2469         InsetOld_code to remove #include "inset.h".
2470
2471         * iterators.C: add #include "insets/inset.h"
2472
2473 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2474
2475         * BufferView.C: remove more locking stuff that apparently doesn't
2476         do anything sensible.
2477
2478 2003-09-16  André Pönitz  <poenitz@gmx.net>
2479
2480         * paragraph.[Ch]:
2481         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2482           performance boost.
2483
2484 2003-09-16  Angus Leeming  <leeming@lyx.org>
2485
2486         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2487
2488         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2489         arg/return type.
2490
2491         * paragraph.h: remove #include "lyxfont.h". Forward declare
2492         LyXFont_size.
2493
2494 2003-09-16  Angus Leeming  <leeming@lyx.org>
2495
2496         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2497         of support/textutils.h.
2498         (isWord): move the contents of support/textutils.h's IsWordChar here.
2499
2500         * buffer.C:
2501         * lyxfind.C:
2502         * rowpainter.C:
2503         * text.C:
2504         * text2.C: add #include "paragraph.h".
2505
2506         * rowpainter.C:
2507         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2508
2509 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * main.C:
2512         * lyx_main.C:
2513         * lyx_cb.C:
2514         * buffer.C:
2515         * LaTeX.C: use namespace alias for lyx::support::os
2516
2517 2003-09-16  Angus Leeming  <leeming@lyx.org>
2518
2519         * bufferparams.C:
2520         * bufferview_funcs.C:
2521         * factory.C:
2522         * lyxfunc.C:
2523         * paragraph_pimpl.C:
2524         * rowpainter.C:
2525         * text.C: add #include "LColor.h".
2526
2527 2003-09-16  Angus Leeming  <leeming@lyx.org>
2528
2529         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2530         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2531         return LyXFont &.
2532         Store the FontBits::color variable as an int rather than as an
2533         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2534         file.
2535
2536         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2537         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2538         string calls together.
2539
2540         * lyxrc.C: add #include "LColor.h".
2541
2542 2003-09-15  Angus Leeming  <leeming@lyx.org>
2543
2544         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2545         a cow_ptr.
2546
2547 2003-09-15  Angus Leeming  <leeming@lyx.org>
2548
2549         * LColor.h: add an EnumLColor wrapper for LColor::color.
2550
2551         * lyxfont.[Ch] (color, setColor, realColor):
2552         * lyxtext.h, text.C (backgroundColor):
2553         pass EnumLColor args to/from the functions, rather than LColor::color
2554         ones.
2555
2556         * lyxfont.h:
2557         * lyxtext.h: forward declare EnumLColor.
2558
2559         * lyx_main.C: add #include "LColor.h".
2560
2561 2003-09-15  Angus Leeming  <leeming@lyx.org>
2562
2563         * .cvsignore: add lyx-gtk.
2564
2565 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2566
2567         * Chktex.C
2568         * LaTeX.C
2569         * LaTeXFeatures.C
2570         * ParagraphParameters.C
2571         * Spacing.C
2572         * buffer.C
2573         * bufferparams.C
2574         * bufferview_funcs.C
2575         * chset.C
2576         * counters.C
2577         * funcrequest.C
2578         * lyxfont.C
2579         * lyxgluelength.C
2580         * lyxlength.C
2581         * paragraph.C
2582         * paragraph_funcs.C
2583         * text3.C
2584         * vc-backend.C: remove usage of STRCONV
2585
2586 2003-09-15  Angus Leeming  <leeming@lyx.org>
2587
2588         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2589         explicitly define the color passed to the painter.
2590
2591 2003-09-15  Angus Leeming  <leeming@lyx.org>
2592
2593         * bufferparams.C (BufferParams): reorder member initializers to avoid
2594         compiler warning.
2595
2596 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2599         * text.C (updateRowPositions): remove an unusual nop
2600
2601 2003-09-12  André Pönitz  <poenitz@gmx.net>
2602
2603         * BufferView_pimpl.C:
2604         * Bullet.C:
2605         * layout.h:
2606         * lyxfunc.C:
2607         * lyxlayout.[Ch]:
2608         * lyxtextclass.C:
2609         * rowpainter.C:
2610         * text.C:
2611         * text2.C:
2612         * Counters.[Ch]: finish the 'automatic counters' job
2613
2614 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2615
2616         * aspell.C: include <boost/assert.cpp> (compile fix)
2617
2618 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2619
2620         * boost.C (assertion_failed): use lyx::support::abort instead of
2621         assert.
2622
2623 2003-09-10  Angus Leeming  <leeming@lyx.org>
2624
2625         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2626         with their _fwd progeny.
2627
2628 2003-09-09  Angus Leeming  <leeming@lyx.org>
2629
2630         134 files throughtout the source tree: replace 'using namespace abc;'
2631         directives with the appropriate 'using abc::xyz;' declarations.
2632
2633 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2634
2635         * boost.C (emergencyCleanup): moved here from LAssert.c
2636         (assertion_failed): new function, called by BOOST_ASSERT
2637
2638         * several files: change Assert to BOOST_ASSERT
2639
2640 2003-09-09  Angus Leeming  <leeming@lyx.org>
2641
2642         * buffer.[Ch]: Add an Impl class and move Buffer's member
2643         variables into it. As a result move several header files out of
2644         buffer.h.
2645
2646         Add header files to lots of .C files all over the tree as a result.
2647
2648 2003-09-09  Angus Leeming  <leeming@lyx.org>
2649
2650         * buffer.[Ch]: make Buffer's member variables private. Add
2651         accessor functions.
2652
2653         Lots of changes all over the tree as a result.
2654
2655 2003-09-08  Angus Leeming  <leeming@lyx.org>
2656
2657         * graph.C: #include <config.h>.
2658
2659 2003-09-08  Angus Leeming  <leeming@lyx.org>
2660
2661         * BranchList.C:
2662         * BufferView.C:
2663         * BufferView_pimpl.C:
2664         * CutAndPaste.C:
2665         * DepTable.C:
2666         * LaTeX.C:
2667         * LaTeXFeatures.C:
2668         * LyXAction.C:
2669         * MenuBackend.C:
2670         * TextCache.C:
2671         * aspell.C:
2672         * buffer.C:
2673         * bufferlist.C:
2674         * changes.C:
2675         * chset.C:
2676         * converter.C:
2677         * counters.C:
2678         * debug.C:
2679         * graph.C:
2680         * ispell.C:
2681         * lyx_cb.C:
2682         * lyxfind.C:
2683         * lyxfunc.C:
2684         * lyxlex_pimpl.C:
2685         * lyxrc.C:
2686         * lyxrow.C:
2687         * paragraph.C:
2688         * rowpainter.C:
2689         * texrow.C:
2690         * text.C:
2691         * text2.C:
2692         * toc.C: remove redundant using directives.
2693
2694 2003-09-07  Angus Leeming  <leeming@lyx.org>
2695
2696         * LaTeXFeatures.h: remove #include "support/types.h".
2697         * ToolbarBackend.h: remove #include <algorithm>.
2698         * changes.h: remove #include <ctime>.
2699         * debug.h: remove #include <iosfwd>.
2700         * graph.h: remove #include "support/std_string.h".
2701         * lyx_main.h: remove #include <csignal>.
2702         * lyxlex_pimpl.h: remove #include <fstream>.
2703         * sgml.h: remove #include <algorithm>, <utility>.
2704         * toc.h: remove #include "support/std_ostream.h".
2705         Add #include <iosfwd>.
2706
2707 2003-09-07  Angus Leeming  <leeming@lyx.org>
2708
2709         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2710
2711         * converter.h: forward declare LatexRunParams.
2712         * encoding.h: remove #include "lyxrc.h".
2713         * lyxtext.h: remove #include "LColor.h".
2714         * lyxtextclass.h: remove #include "support/types.h".
2715         * trans.h: remove #include "tex-accent.h".
2716         * trans_mgr.h: remove #include "tex-accent.h".
2717         * insets/inset.h: remove #include "support/types.h", <vector>.
2718         * insets/insetcollapsable.h: remove #include "LColor.h".
2719         * insets/insetinclude.h: remove #include "dimension.h".
2720         * insets/insetlatexaccent.h: remove #include "dimension.h".
2721         * insets/insetoptarg.h:: remove #include "insettext.h".
2722         * insets/insettext.h: remove #include "dimension.h",
2723         <boost/shared_ptr.hpp>
2724
2725         * insets/renderers.h: add #include "dimension.h".
2726         * insets/updatableinset.h: add #include "support/types.h".
2727
2728         * many .C files: Associated changes.
2729
2730 2003-09-06  Angus Leeming  <leeming@lyx.org>
2731
2732         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2733         one, inside testInvariant.
2734
2735         * PrinterParams.C: new file.
2736         * PrinterParams.[Ch]: move the function bodies out of line.
2737
2738 2003-09-06  Angus Leeming  <leeming@lyx.org>
2739
2740         * ParagraphParameters.h: forward declare ParameterStruct rather than
2741         including its header file.
2742         (depth): moved out-of-line.
2743
2744 2003-09-06  Angus Leeming  <leeming@lyx.org>
2745
2746         * BufferView_pimpl.h:
2747         * kbmap.h:
2748         * kbsequence.h:
2749         * lyxfunc.h: forward declare LyXKeySym rather than
2750         #include "frontends/LyXKeySym.h".
2751
2752         * BufferView_pimpl.C:
2753         * kbmap.C:
2754         * kbsequence.C:
2755         * lyxfunc.C: associated changes.
2756
2757 2003-09-06  Angus Leeming  <leeming@lyx.org>
2758
2759         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2760         As a result, can remove the #include "insets/inset.h" from BufferView.h
2761
2762 2003-09-06  Angus Leeming  <leeming@lyx.org>
2763
2764         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2765         As a result, can remove the #include "insets/inset.h" from BufferView.h
2766
2767 2003-09-06  Angus Leeming  <leeming@lyx.org>
2768
2769         * buffer_funcs.C:
2770         * buffer.h:
2771         * bufferlist.C:
2772         * BufferView.C:
2773         * bufferview_funcs.C:
2774         * BufferView_pimpl.C:
2775         * CutAndPaste.C:
2776         * lyx_cb.C:
2777         * lyxfunc.C:
2778         * paragraph.h:
2779         * ParagraphParameters.C:
2780         * tabular.C:
2781         * text3.C:
2782         * toc.C:
2783         * undo_funcs.C:
2784         * frontends/controllers/ControlDocument.C:
2785         * insets/insetcaption.C: rearrange the #includes into some sort of
2786         coherent order.
2787
2788         * buffer.h: remove #includes ErrorList.h, undo.h
2789
2790 2003-09-06  Angus Leeming  <leeming@lyx.org>
2791
2792         * support/types.h: add a 'depth_type' typedef, used to store the
2793         nesting depth of a paragraph.
2794
2795         * paragraph.h:
2796         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2797         defining explicitly.
2798
2799         * buffer.h:
2800         * paragraph_funcs.h:
2801         * ParagraphParameters.h:
2802         * sgml.h: use lyx::depth_type rather than Paragraph or
2803         ParameterStruct's depth_type.
2804
2805         * buffer.h
2806         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2807
2808         * BufferView.C:
2809         * BufferView_pimpl.C:
2810         * CutAndPaste.C:
2811         * ParagraphParameters.C:
2812         * buffer_funcs.C:
2813         * bufferlist.C:
2814         * bufferview_funcs.C:
2815         * lyx_cb.C:
2816         * lyxfunc.C:
2817         * tabular.C:
2818         * text3.C:
2819         * toc.C:
2820         * undo_funcs.C:
2821         * frontends/LyXView.C:
2822         * frontends/controllers/ControlDocument.C:
2823         * frontends/controllers/ControlErrorList.C:
2824         * insets/insetbibitem.C:
2825         * insets/insetbranch.C:
2826         * insets/insetcaption.C:
2827         * insets/insetcollapsable.C:
2828         * insets/insetenv.C:
2829         * insets/insetert.C:
2830         * insets/insetfloat.C:
2831         * insets/insetfoot.C:
2832         * insets/insetfootlike.C:
2833         * insets/insetnewline.C:
2834         * insets/insetquotes.C:
2835         * insets/insettabular.C:
2836         * insets/insettext.C:
2837         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2838
2839         * frontends/controllers/ControlChanges.C: #include "changes.h".
2840
2841 2003-09-06  Angus Leeming  <leeming@lyx.org>
2842
2843         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2844         than #including paragraph.h.
2845
2846         * ParagraphList.h:
2847         * RowList.h: deleted. Superfluous.
2848
2849         * CutAndPaste.h:
2850         * iterators.h:
2851         * lyxcursor.h:
2852         * lyxtext.h:
2853         * text_funcs.h:
2854         * undo.h:
2855         * undo_funcs.h:
2856         * insets/inset.h:
2857         * insets/insettext.h: use ParagraphList_fwd.h rather than
2858         ParagraphList.h.
2859
2860         * paragraph.h: don't forward declare ParagraphList.
2861
2862         * buffer.h:
2863         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2864         rather than ParagraphList.h. paragraph.h is still needed for the
2865         Paragraph::depth_type parameters.
2866
2867         * textcursor.h: enable it to compile stand-alone in light of the
2868         above changes.
2869
2870         * bufferview_funcs.C:
2871         * iterators.C:
2872         * lyxfunc.C:
2873         * lyxrow_funcs.C:
2874         * paragraph.C:
2875         * rowpainter.C:
2876         * text.C:
2877         * text2.C:
2878         * text3.C:
2879         * text_funcs.C:
2880         * textcursor.C:
2881         * undo.C:
2882         * frontends/controllers/ControlParagraph.C:
2883         * frontends/controllers/ControlTabular.C:
2884         * insets/insetmarginal.C:
2885         * insets/insetminipage.C:
2886         * insets/insetnote.C:
2887         * insets/insetoptarg.C: add header files needed to compile again.
2888
2889 2003-09-06  Angus Leeming  <leeming@lyx.org>
2890
2891         * RowList_fwd.h: new file, forward-declaring Row rather than
2892         #including lyxrow.h.
2893
2894         * lyxrow_funcs.h:
2895         * lyxtext.h:
2896         * paragraph.h:
2897         * insets/insettext.h: use it instead of RowList.h
2898
2899         * bufferview_funcs.C:
2900         * lyxfunc.C:
2901         * lyxrow_funcs.C:
2902         * paragraph.C:
2903         * rowpainter.C:
2904         * text.C:
2905         * text2.C:
2906         * text3.C: #include "RowList.h".
2907
2908 2003-09-05  Angus Leeming  <leeming@lyx.org>
2909
2910         * factory.C (createInset):
2911         * vspace.C (c-tor): replace sscanf call with an istringstream.
2912         * ispell.C: re-add missing HP/UX headers.
2913         * lyxserver.C: re-add missing  os2 headers.
2914
2915 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2916
2917         * BranchList.C:
2918         * graph.C:
2919         * ispell.C:
2920         * lastfiles.C:
2921         * lyx_cb.C:
2922         * lyxserver.C:
2923         * texrow.C:
2924         * text3.C: re-add missing system headers, needed for 2.95.2.
2925
2926 2003-09-05  Angus Leeming  <leeming@lyx.org>
2927
2928         Changes most place everywhere due to the removal of using directives
2929         from support/std_sstream.h.
2930
2931 2003-09-05  Angus Leeming  <leeming@lyx.org>
2932
2933         Replace LString.h with support/std_string.h,
2934         Lsstream.h with support/std_sstream.h,
2935         support/LIstream.h with support/std_istream.h,
2936         support/LOstream.h with support/std_ostream.h.
2937
2938         Changes resulting throughout the tree.
2939
2940 2003-09-05  Angus Leeming  <leeming@lyx.org>
2941
2942         * sgml.h: ensure that the header file can be compiled stand-alone.
2943         * *.C: strip out redundant #includes. (320 in total.)
2944
2945 2003-09-04  Angus Leeming  <leeming@lyx.org>
2946
2947         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2948         here (from getPackages).
2949
2950         * debug.[Ch]: add a new EXTERNAL tag.
2951
2952 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2953
2954         * text2.C (cursorEnd): simplify
2955         (setCursor): adjust
2956         (getColumnNearX): adjust
2957
2958         * text.C (computeBidiTables): adjust
2959         (fill): adjust
2960
2961         * rowpainter.C (paintChars): adjust
2962         (paintSelection): adjust
2963         (paintChangeBar): adjust
2964         (paintText): adjust
2965
2966         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2967         lastPos instead.
2968         (numberOfSeparators): adjust
2969
2970 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2971
2972         * LyXAction.C:
2973         * box.[Ch]:
2974         * lfuns.h:
2975         * lyxfunc.C:
2976         * text3.C: Restricts the mouse click functionality
2977         of insets like bibtex, include, toc and floatlist to the visible
2978         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2979         up the dialogs. Cursor has to be in front of the inset (i.e.
2980         start of row) for this to function.
2981
2982 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2983
2984         * bufferview_funcs.C (currentState): output row information
2985
2986 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2987
2988         * bufferview_funcs.C (currentState): output paragraph position
2989
2990 2003-09-04  Angus Leeming  <leeming@lyx.org>
2991
2992         * FloatList.h: move out #include "Floating.h".
2993         * LaTeX.h: move out #include "DepTable.h".
2994         * LyXAction.h: move out #include "funcrequest.h".
2995         * buffer.h: move out #include "author.h", "iterators.h".
2996         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2997         * lyx_main.h: move out #include "errorlist.h".
2998         * lyxfunc.h: move out #include "FuncStatus.h".
2999         * lyxtext: move out #include "lyxcursor.h".
3000         * paragraph_pimpl.h: move out #include "counters.h".
3001
3002 2003-09-03  Angus Leeming  <leeming@lyx.org>
3003
3004         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3005         preamble_snippets list, enabling us to add snippets to the preamble
3006         only if the snippet was not there already.
3007
3008 2003-09-04  Angus Leeming  <leeming@lyx.org>
3009
3010         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3011
3012 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3015         update
3016
3017 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3018
3019         * BranchList.C: point fix, earlier forgotten
3020
3021 2003-09-02  Angus Leeming  <leeming@lyx.org>
3022
3023         * box.C (contains): renamed from 'contained' after a fantastic
3024         amount of hot air.
3025
3026 2003-09-02  John Levon  <levon@movementarian.org>
3027
3028         * BufferView.C:
3029         * lyxcursor.h:
3030         * lyxcursor.C:
3031         * lyxfunc.C:
3032         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3033
3034 2003-09-02  John Levon  <levon@movementarian.org>
3035
3036         * text2.C: simplification of cursorEnd(), including partial
3037         fix for bug 1376
3038
3039 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * buffer.C (readFile): add a space
3042
3043 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3046
3047 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * buffer.C (readFile): new function, take a filename and a
3050         ParagraphList::iterator
3051         (readFile): adjust
3052         (readFile): adjust, make it private. don't use setStream, make
3053         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3054         always contain the filename.
3055
3056         * BufferView.C (insertLyXFile): simplify and make it work for
3057         gzipped files.
3058
3059 2003-08-30  John Levon  <levon@movementarian.org>
3060
3061         * Makefile.am: fix dist (from Kayvan)
3062
3063 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * most files: change to use const Buffer refs
3066
3067 2003-08-27  André Pönitz  <poenitz@gmx.net>
3068
3069         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3070         on top of ownerPar().
3071
3072 2003-08-27  John Levon  <levon@movementarian.org>
3073
3074         * funcrequest.C: properly initialise POD members
3075
3076 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3077
3078         * lyxtext.h (top_y): move top_y from here
3079         * text.C:
3080         * text2.C:
3081         * text3.C:
3082         * BufferView.[Ch]:
3083         * BufferView_pimpl.[Ch]: to here
3084         * frontends/screen.C:
3085         * insets/insettabular.C:
3086         * insets/insettext.C: adjust
3087         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3088
3089 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3090
3091         * BufferView.[Ch]:
3092         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3093
3094 2003-08-26  André Pönitz  <poenitz@gmx.net>
3095
3096         * paragraph_func.[Ch] (outerPar): new function
3097
3098         * paragraph.C:
3099         * paragraph_funcs.C:
3100         * paragraph_funcs.h:
3101         * paragraph_pimpl.C:
3102         * text2.C: remove Inset::par_owner
3103
3104 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3105
3106         * lyxrow_funcs.C:
3107         * lyxtext.h:
3108         * text.C:
3109         * text2.C: eliminates the needFullRow/display() stuff
3110         altogether, putting the logic in metrics/draw in the insets.
3111
3112 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3113
3114         * text2.C (redoParagraphInternal, redoParagraphs):
3115         * text.C (redoParagraph): add a call to updateRowPositions at the
3116         end of each 'metrics-like' call. Remove all others.
3117         (getRow): remove the 'y-computing' version.
3118         (getRowNearY): do not compute nor return the real y. Solve the
3119         'y < 0' problem and simplify.
3120
3121 2003-08-22  Angus Leeming  <leeming@lyx.org>
3122
3123         * *.[Ch]: clean-up of licence and author blurbs.
3124         Also move config.h out of a few .h files and into a few .C files.
3125
3126 2003-08-22  André Pönitz  <poenitz@gmx.net>
3127
3128         * lyxrow.[Ch]: add x_ and *fill_ members
3129
3130         * lyxtext.h:
3131         * text.C:
3132         * rowpainter.C:
3133         * text2.C: adjust/remove prepareToPrint() calls
3134
3135 2003-08-22  André Pönitz  <poenitz@gmx.net>
3136
3137         * lyxrow.[Ch]: add  end_ member
3138
3139         * lyxrow_funcs.C: use LyXRow::end_
3140
3141         * lyxtext.h (singleWidth): add LyXFont parameter
3142
3143         * rowpainter.C:
3144         * text2.C: adjust LyXText::singleWidth() calls
3145
3146         * text.C (redoParagraph): simplify row breaking logic
3147
3148
3149 2003-08-19  André Pönitz  <poenitz@gmx.net>
3150
3151         * funcrequest.C: initialize button_ member
3152
3153         * text3.C:
3154         * rowpainter.[Ch]: interface consolidation
3155
3156 2003-08-18  André Pönitz  <poenitz@gmx.net>
3157
3158         * BufferView.C:
3159         * BufferView_pimpl.C:
3160         * lyxfind.C:
3161         * paragraph_funcs.C:
3162         * rowpainter.C:
3163         * text3.C: remove LyXScreen::draw() and fitCursor calls
3164
3165         * BranchList.h: remove spurious semicolons
3166
3167         * MenuBackend.C: fix branchlist related crash
3168
3169 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3170
3171         * BranchList.[Ch]:
3172         * InsetList.[Ch]:
3173         * LColor.[Ch]:
3174         * LyXAction.C:
3175         * Makefile.am:
3176         * MenuBackend.[Ch]:
3177         * bufferparams.[Ch]:
3178         * factory.C:
3179         * lfuns.h:
3180         * lyxfunc.C:
3181         * text3.C: implements the 'branch inset'
3182         idea. This allows the output of various versions of a document
3183         from a single source version, selectively outputing or suppressing
3184         output of parts of the text.
3185         This implementation contains a 'branch list editor' in a separate
3186         tab of the document settings dialog. Branches are user definable
3187         and have a "display colour" to distinguish them on-screen.
3188
3189         ColorHandler was somewhat cleaned up.
3190         (1) make possible a dynamically growing LColor list by allowing
3191         the graphic context cache to grow along (vector);
3192         (2) eliminate an IMHO unnecessary step in colour allocation.
3193
3194 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3195
3196         * BufferView_pimpl.C: compile fix
3197
3198 2003-08-15  André Pönitz  <poenitz@gmx.net>
3199
3200         * rowpainter.C: remove extra metrics calls
3201
3202         * lyxtext.h: merge the two constructors into a single one,
3203           pass reference to owner's par list
3204
3205         * BufferView_pimpl.C:
3206         * text.C:
3207         * text2.C: adjust
3208
3209 2003-08-15  André Pönitz  <poenitz@gmx.net>
3210
3211         * lyxrow_funcs.[Ch]:
3212         * lyxtext.h:
3213         * paragraph.h:
3214         * paragraph_funcs.C:
3215         * rowpainter.C:
3216         * text.C:
3217         * text2.C:
3218         * text3.C:
3219         * text_funcs.C: split LyXText::rowlist_ into individual
3220         Paragraph::rows_ chunks
3221
3222         * BufferView.[Ch]:
3223         * BufferView_pimpl.[Ch]:
3224         * lyxfind.C:
3225         * lyxtext.h:
3226         * text3.C: remove toggleSelection()
3227
3228 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3229
3230         * bufferlist.C: beautify two alerts (shorter text of buttons)
3231         * buffer.C: Remove redundant ' ' from message
3232         * tabular.h:
3233         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3234         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3235         rename VALIGN_CENTER to VALIGN_MIDDLE
3236
3237 2003-08-11  André Pönitz  <poenitz@gmx.net>
3238
3239         * lyxtext.h (getPar):
3240         * text.C: new function
3241
3242 2003-08-11  André Pönitz  <poenitz@gmx.net>
3243
3244         * Makefile.am:
3245         * tracer.[Ch]: remove unneeded files
3246
3247         * InsetList.[Ch]: remove resizeInsetsLyXText()
3248
3249         * lyxtext.h:
3250         * text.C:
3251         * text2.C:
3252         * text3.C: merge insertParagraphs() and appendParagraph()
3253         remove breakAgain(), update()
3254
3255         * BufferView_pimpl.[Ch]:
3256         * bufferview_funcs.[Ch]:
3257         * lyxfunc.C:
3258         * paragraph.[Ch]:
3259         * rowpainter.C:
3260         * tabular.C: adjust after text & InsetList changes.
3261
3262 2003-08-08  André Pönitz  <poenitz@gmx.net>
3263
3264         * text.C (insertChar, backspace): replace rowlist fiddling
3265         with rebreak of full par
3266
3267         * lyxtext.h:
3268         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3269         checkParagraph, updateInset): removed
3270
3271 2003-08-07  André Pönitz  <poenitz@gmx.net>
3272
3273         * paragraph.C:
3274         * text3.C: merge some LFUN handlers, remove dead code
3275
3276 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3277
3278         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3279
3280 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3281
3282         * text2.C (DEPM): fix part of bug 1255 and 1256
3283
3284 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285
3286         * BufferView_pimpl.C (workAreaDispatch): change to use
3287         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3288         that are no mouse related.
3289
3290 2003-08-05  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView.[Ch]:
3293         * BufferView_pimpl.[Ch]:
3294         * bufferview_funcs.C:
3295         * text2.C:
3296         * text3.C: rip out "deep update"
3297
3298         * textcursor.[Ch] (last_sel_cursor): remove unused member
3299
3300 2003-08-04  André Pönitz  <poenitz@gmx.net>
3301
3302         * BufferView.[Ch]:
3303         * BufferView_pimpl.[Ch]:
3304         * ParagraphParameters.C:
3305         * bufferview_funcs.C:
3306         * lyx_cb.C:
3307         * lyxfind.C:
3308         * lyxfunc.C:
3309         * text.C:
3310         * text2.C:
3311         * text3.C: replace "complicated" BufferView::update(...) calls with
3312         simpler ones.
3313
3314         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3315
3316 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3317
3318         * Makefile.am (lyx_SOURCES): add paper.h
3319
3320 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3321
3322         * Makefile.am: move things around so that both lyx-qt and
3323         lyx-xforms can be built (according to --with-frontend). Then lyx
3324         is a symbolic link to lyx-[firstfrontend]
3325
3326 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3327
3328         * Always use std::endl with lyxerr
3329
3330 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3331
3332         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3333
3334 2003-08-01  André Pönitz  <poenitz@gmx.net>
3335
3336         * BufferView.[Ch]:
3337         * BufferView_pimpl.[Ch]:
3338         * lyxfunc.C:
3339         * text3.C: merge BufferView::repaint() and BufferView::update()
3340
3341 2003-08-01  José Matos  <jamatos@lyx.org>
3342
3343         * buffer.[Ch]: file_format is no longer a buffer data element.
3344
3345 2003-08-01  André Pönitz  <poenitz@gmx.net>
3346
3347         * BufferView.C:
3348         * lyxtext.h:
3349         * text.C:
3350         * text2.C: make redoParagraph more independent of current cursor
3351
3352         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3353         * text.C:
3354         * text2.C: remove unneeded members
3355
3356 2003-07-30  André Pönitz  <poenitz@gmx.net>
3357
3358         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3359
3360         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3361           create a single function...
3362
3363         * paragraph_funcs.C (moveItem): ... here.
3364
3365         * text.C:
3366           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3367
3368 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3369
3370         * LColor.[Ch]: Add comment and greyedout logical colors.
3371
3372 2003-07-30  André Pönitz  <poenitz@gmx.net>
3373
3374         * tabular.C: don't use Assert too heavily. This crashes where it
3375           shouldn't
3376
3377 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3380         is disabled (bug 1232)
3381
3382 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3383
3384         * factory.C: limited 'arg' scope
3385
3386 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * factory.C: fixed Note submenu issues
3389
3390 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * factory.C: submenu for Note/Comment/Greyedout
3393
3394 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * lyx_main.C (LyX):
3397         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3398
3399 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * LaTeXFeatures.C:
3402         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3403         greyedout. Patch provided by Jürgen Spitzmüller.
3404
3405 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3406
3407         * kbmap.C (read): fix error message when reading bind files
3408
3409 2003-07-29  Angus Leeming  <leeming@lyx.org>
3410
3411         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3412         certainly does not do what it purports to do. I am doing it, and
3413         us, a favour by killing it.
3414
3415 2003-07-28  José Matos  <jamatos@lyx.org>
3416
3417         * buffer.C (readBody, do_writeFile):
3418         * paragraph.C(readParagraph): \end_document replaces \the_end.
3419
3420 2003-07-29  André Pönitz  <poenitz@gmx.net>
3421
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.[Ch]:
3424         * lyxfunc.C:
3425         * text2.C:
3426         * text3.C:
3427         * textcursor.[Ch]: remove toggleToggle & Co
3428
3429 2003-07-28  José Matos  <jamatos@fep.up.pt>
3430
3431         * buffer.C (readParagraph):
3432         * params_func (readParToken, readParagraph):
3433         * paragraph.C (write): \layout -> \begin_layout.
3434
3435 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * lyxlex_pimpl.C (setFile): clean up slightly.
3438
3439         * bufferparams.h: add compressed var
3440
3441         * buffer_funcs.C (readFile): adjust for LyXLex change
3442         (newFile): ditto + simplify
3443
3444         * buffer.C (writeFile): handle writing of compressed files
3445
3446         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3447         Check if the file is compressed and set a bufferparm if so.
3448
3449         * Makefile.am (lyx_LDADD): remove explicit -lz
3450
3451 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3452
3453         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3454         makeDocBookFile): put the real LyX version in the first line of
3455         the file
3456
3457         * version.h:
3458         * version.C.in: remove lyx_docversion
3459
3460         * tabular.C (write_attribute): add a template-based version to
3461         write enums properly
3462
3463 2003-07-28  André Pönitz  <poenitz@gmx.net>
3464
3465         * lyxtext.h:
3466         * text.C:
3467         * text2.C:
3468         * text3.C: use doubles again for x-coordinates. They are needed.
3469
3470 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * messages.C (getLocaleDir): use lyx_localedir()
3473
3474         * lyxlex_pimpl.C (setFile): compress stuff
3475
3476         * buffer.C (writeFile): add some compression stuff
3477         (do_writeFile): new func, dont call expliti close... will this
3478         breake anything?
3479
3480         * Makefile.am (lyx_LDADD): add -lz
3481
3482 2003-07-28  José Matos  <jamatos@fep.up.pt>
3483
3484         * buffer.C: increment file format.
3485         * paragraph_funcs (readParagraph, readParToken):
3486         * paragraph.C (readParagraph): add \end_layout.
3487
3488 2003-07-27  Angus Leeming  <leeming@lyx.org>
3489
3490         * Makefile.am: remove special casing for configure-time setting of
3491         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3492
3493         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3494         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3495
3496 2003-07-26  André Pönitz  <poenitz@gmx.net>
3497
3498         * paragraph_func.[Ch]:
3499         * paragraph.C (realizeFont): inline it whereever it is used
3500
3501         * rowpainter.C:
3502         * text.C:
3503         * text2.C:
3504         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3505
3506
3507 2003-07-26  André Pönitz  <poenitz@gmx.net>
3508
3509         *       lyxtext.h:
3510         * text.C:
3511         * text2.C: get rid of LyXText::need_break_row
3512
3513 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * toc.[Ch]: put namespace toc inside namespace lyx
3516
3517         * MenuBackend.C (expandToc2): adjust for lyx::toc
3518         (expandToc): ditto
3519
3520         * lyxfunc.C (dispatch): adjust for lyx::find
3521
3522         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3523         lyx::find instead. Reorganize a bit.
3524         (LyXReplace): rename to replace
3525         (LyXFind): rename to find
3526
3527         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3528         (dispatch): ditto
3529
3530 2003-07-26  André Pönitz  <poenitz@gmx.net>
3531
3532         * text.C (setHeightOfRow): restrict scope of temporary variable
3533
3534         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3535           code (never has been used?)
3536
3537 2003-07-27  Asger Alstrup  <alstrup@local>
3538
3539         * text.C (fill): Optimise algorithm to exploit that we can reuse
3540         the LyXFont for many characters.
3541         (setHeightOfRow): Same thing.
3542         (rowBreakPoint): Same thing.
3543
3544 2003-07-26  Asger Alstrup  <alstrup@local>
3545
3546         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3547
3548         * text.C (singleWidth): Spurious font copying in hot-spot
3549         singleWidth avoided. Reorder tests for arabic for efficiency.
3550
3551         * text.C (fill): handle empty paragraphs better.
3552
3553 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3554
3555         * ispell.C:
3556         * encoding.h: add includes
3557
3558         * lyxrc.C: remove reading of bind files
3559
3560         * lyx_main.C (init): setup bindings and menus only if we have a
3561         gui.
3562
3563         * kbmap.C (read): new method. Do the actual reading of bind
3564         files.
3565
3566         * converter.C (dvipdfm_options):
3567         * bufferparams.C:
3568         * lyxrc.C (read):
3569         (output): adapt PAPER_* enums.
3570
3571         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3572
3573         * bufferparams.h: remove paper-related enums from there
3574
3575         * paper.h: New file. A trivial header file to hold paper-related
3576         enums. It should later expand to contain many paper-related
3577         horrors access.
3578
3579         * lyxrc.C: declare extern displayTranslator
3580
3581 2003-07-27  José Matos  <jamatos@fep.up.pt>
3582
3583         * tabular.[Ch] (linuxdoc): add support for tables and figures
3584         (linuxdoc).
3585
3586 2003-07-27  José Matos  <jamatos@fep.up.pt>
3587
3588         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3589         consistency in both functions.
3590         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3591
3592 2003-07-26  Asger Alstrup  <alstrup@local>
3593
3594         * rowpainter.C (paintRows): Change algorithm to work directly on
3595         the insets rather than asking every character in the document
3596         whether its an inset.
3597
3598 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * buffer.C (openFileWrite): factorize some code
3601
3602 2003-07-26  Angus Leeming  <leeming@lyx.org>
3603
3604         * lyx_cb.C:
3605         * lyx_main.[Ch]: replace occurances of system_tempdir with
3606         os::getTmpDir().
3607
3608 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * rename Inset to InsetOld
3611
3612 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3613
3614         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3615         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3616         which I think is a bit clearer. EDIT is gone, since it was
3617         premature optimisation, and broken for mathed anyway.
3618         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3619         with cursor positioning in insets as well (math insets still do not
3620         work, but that's a different story anyway.) It mysteriously
3621         crashes sometimes with undo in the first paragraph, but I'm fairly
3622         confident that this is a compiler bug.
3623
3624 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * paragraph.C (Paragraph): adjust for new clone return type
3627         (operator==): ditto
3628         (copyIntoMinibuffer): ditto
3629
3630 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3631
3632         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3633         by not having a special case, and always doing a full rebreak of
3634         the document after undo.
3635
3636 2003-07-23  Angus Leeming  <leeming@lyx.org>
3637
3638         * factory.C (createInset): InsetExternal::setParams now takes a
3639         Buffer const * arg.
3640
3641 2003-07-23  Angus Leeming  <leeming@lyx.org>
3642
3643         * factory.C (createInset): changed interface to the external and
3644         graphics mailers' string2params functions.
3645
3646 2003-07-23  Angus Leeming  <leeming@lyx.org>
3647
3648         * factory.C (createInset): pass a
3649         Buffer const * parameter to InsetExternalMailer's string2params.
3650
3651 2003-07-22  John Levon  <levon@movementarian.org>
3652
3653         * Thesaurus.h: include the right aiksaurus header
3654
3655 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3656
3657         * MenuBackend.C (expand): check menu shortcuts unconditionally
3658
3659 2003-07-21  Angus Leeming  <leeming@lyx.org>
3660
3661         * factory.C (createInset): pass a
3662         buffer_path parameter to InsetGraphicsMailer's string2params.
3663
3664 2003-07-21  Angus Leeming  <leeming@lyx.org>
3665
3666         * BufferView_pimpl.C (buffer):
3667         * buffer.C (d-tor):
3668         * lyx_main.C (LyX):
3669         * lyxfunc.C (dispatch):
3670         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3671         rather than the grfx shortcut.
3672
3673 2003-07-21  André Pönitz  <poenitz@gmx.net>
3674
3675         * rowpainter.C: remove unused variables
3676
3677         * tabular_funcs.C:
3678         * tabular_funcs.h: move to tabular.C
3679         * Makefile.am: adjust
3680
3681         * tabular.[Ch]: basic optical cleaning
3682
3683         * author.h: pass references, not values
3684
3685 2003-07-18  André Pönitz  <poenitz@gmx.net>
3686
3687         * lyxtext.h:
3688         * metricsinfo.C:
3689         * metricsinfo.h:
3690         * rowpainter.C:
3691         * text.C:
3692         * text2.C:
3693         * text3.C: two-phase drawing for InsetText and InsetTabular
3694         some float -> int changes.
3695
3696 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * lyx_main.C: fix the fix
3699
3700 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * lyx_main.C: fix a crash in batch mode if no files specified
3703         * converter.C: ws
3704
3705 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * format.[Ch] (papersize): moved to BufferParams
3708         * converter.[Ch] (dvips_options): moved to BufferParams
3709         (dvipdfm_options): moved to anon namespace
3710         * bufferparams.[Ch]: added above functions.
3711
3712 2003-07-17  André Pönitz  <poenitz@gmx.net>
3713
3714         * lyxtext.h:
3715         * rowpainter.C:
3716         * text2.C: don't call inset->update() anymore
3717
3718         * metricsinfo.[Ch]: add convenience constructor
3719
3720 2003-07-16  André Pönitz  <poenitz@gmx.net>
3721
3722         * lyxcursor.[Ch]:
3723         * lyxfunc.[Ch]:
3724         * text.C:
3725         * text2.C: replace the LyXCursor::irow_ member with
3726          on-demand computation of the value
3727
3728 2003-07-16  John Levon  <levon@movementarian.org>
3729
3730         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3731
3732 2003-07-15  André Pönitz  <poenitz@gmx.net>
3733
3734         * text.C:
3735         * text2.C: remove no more needed refresh_row
3736
3737 2003-07-15  André Pönitz  <poenitz@gmx.net>
3738
3739         * lyxtext.h:
3740         * rowpainter.C:
3741         * text2.C:
3742         * text3.C: refresh_status tristate -> need_update bool
3743
3744 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3745
3746         * lyxtext.h (init): remove reinit argument (act as if always true)
3747         * text2.C: adjust to that
3748
3749 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3750
3751         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3752         * text3.C: use it to delete selections in some cases
3753         (bugs 441, 673, 702, 954).
3754
3755 2003-07-14  André Pönitz  <poenitz@gmx.net>
3756
3757         * rowpainter.[Ch]: reduce interface
3758
3759 2003-07-14  André Pönitz  <poenitz@gmx.net>
3760
3761         * BufferView_pimpl.C:
3762         * text2.C: adjust after removing unused BufferView * argument
3763
3764 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3765
3766         * text2.C (init): fix a crash fired on resize
3767
3768 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * buffer.[Ch]: added new closing signal
3771         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3772         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3773         BufferView::Pimpl via the closing the signal
3774
3775 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * buffer.[Ch]: take out all bv-related from buffer
3778         * BufferView.C:
3779         * BufferView_pimpl.[Ch]: connect to new signals
3780         * CutAndPaste.C: removed useless asserts
3781         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3782         * lyxvc.[Ch]:
3783         * vc-backend.[Ch]:
3784         * lyxfunc.C: moved view-related funciontality from vc here
3785         * paragraph.C: removed outdated comments
3786         * text.C: ws
3787
3788 2003-07-10  André Pönitz  <poenitz@gmx.net>
3789
3790         * BufferView_pimpl.C:
3791         * tabular.h:
3792         * tabular_funcs.C:
3793         * text.C:
3794         * text2.C: remove InsetText::InnerCache, clean up consequences
3795
3796 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3797
3798         * ispell.C: fix two typos in error messages
3799
3800 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * Extend Note inset to other forms of annotation like Comment
3803         and Greyedout. Right button click gives dialog.
3804
3805         Files modified or added (+):
3806
3807         * insetnote.[Ch]
3808         * FormNote.[Ch]      +
3809         * ControlNote.[Ch]   +
3810         * form_note.fd       +
3811         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3812         frontends/controllers
3813         * xforms/Dialogs.C
3814         * factory.C
3815
3816 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3817
3818         * aspell.C: add missing namespace lyx::support
3819
3820 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * BufferView.[Ch] (newFile): Add
3823         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3824         * LaTeX.[Ch] (message): added this signal and use it
3825         * buffer.[Ch] (busy, message): added these signals and use them
3826         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3827         * converter.C:
3828         * exporter.C:
3829         * format.C:
3830         * importer.C: use buffer signals instead of direct bv calling
3831         * lyx_cb.[Ch] (ShowMessage): removed
3832         * lyx_main.C:
3833         * lyxfunc.C:
3834         * paragraph_funcs.C:
3835         * text2.C: use buffer signals
3836
3837 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * introduce namespace lyx::graphics
3840
3841 2003-07-02  André Pönitz  <poenitz@gmx.net>
3842
3843         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3844
3845 2003-07-01  André Pönitz  <poenitz@gmx.net>
3846
3847         * text.C:
3848         * text2.C:
3849         * text3.C:
3850         * text_funcs.[Ch]:
3851         * textcursor.h:
3852         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3853           text*.C to text_func.C
3854
3855 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * introduce namespace lyx::support
3858
3859 2003-06-30  André Pönitz  <poenitz@gmx.net>
3860
3861         * Chktex.C:
3862         * funcrequest.C:
3863         * lyxtext.h:
3864         * text.C: re-enable --with-included-string
3865
3866 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3867
3868         * textcursor.C: add <config.h>
3869
3870         * text.C (getWord): remove const from word_location arg
3871
3872         * lyxvc.C (getLogFile): fix const type order
3873
3874         * lyxtext.h: remove const from word_location arg, add arg name
3875
3876         * lyxlayout.h: currect type on labeltype.
3877
3878         * importer.C: correct \file
3879
3880         * converter.C (intToFormat): use std:: on ret val, ws changes
3881
3882         * bufferlist.h: correct \file
3883
3884         * buffer.C (makeLinuxDocFile): fix const type order
3885         (makeDocBookFile): ditto
3886         (fillWithBibKeys): use std:: on stdlib args.
3887
3888         * CutAndPaste.C: fix authors.
3889         (availableSelections): use std:: on return vector
3890
3891 2003-06-27  André Pönitz  <poenitz@gmx.net>
3892
3893         * BufferView_pimpl.C:
3894         * bufferview_funcs.C:
3895         * lyxcursor.C:
3896         * lyxcursor.h:
3897         * lyxfunc.C:
3898         * lyxtext.h:
3899         * rowpainter.C:
3900         * text.C:
3901         * text2.C:
3902         * text3.C: remove LyXCursor::row_ member
3903
3904         * lyxtext.h:
3905         * text.C: rename fullRebreak() to partialRebreak() and implement
3906           a fullRebreak() that really bereks fully
3907
3908         * textcursor.h: new struct for cursor-related data
3909
3910 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3911
3912         * lyx_main.C (LyX): get full path of document loaded on the
3913         command line
3914
3915 2003-06-26  André Pönitz  <poenitz@gmx.net>
3916
3917         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3918           remove unused/broken operator>,<,>=.
3919
3920         *       text.C: remove only use of broken operator<= in an Assert().
3921
3922 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3923
3924         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3925         moved errorlist_.clear to showErrorList
3926
3927 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3928
3929         * converter.C (scanLog, runLaTeX):
3930         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3931         move the bv->showErrorList call to the callers
3932         * lyxfunc.C: i.e. here...
3933         * text2.C: and here
3934         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3935         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3936         namespace, the second to...
3937         * buffer_funcs (BufferFormat, parseErrors): added
3938         * errorlist.C (ErrorList(TeXErrors const &)): removed
3939
3940 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3941
3942         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3943
3944 2003-06-24  "Garst R. Reese" <reese@isn.net>
3945
3946         * debug.C: fix typo
3947
3948 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3949
3950         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3951
3952         * version.C.in: change docversion to 1.4
3953
3954 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * buffer.C: fix a bug just introduced
3957
3958 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3959
3960         * buffer.[Ch]: added the parseError signal and use it, removed
3961         sgmlError
3962         * BufferView.[Ch] (addError): moved to ...
3963         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3964         to the Buffer::parseError signal to catch (guess what) parse errors
3965         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3966
3967 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3970         ability to create a buffer and to return an existing one from
3971         the list. Moved these functions to...
3972         * buffer_funcs.[Ch]: added
3973         * BufferView.[Ch] (loadLyXFile): added
3974         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3975         job removed from bufferlist::loadLyXFile.
3976         * buffer.C (setReadOnly): make it work without view
3977         (i.e added an if (users))
3978
3979 2003-06-19  Angus Leeming  <leeming@lyx.org>
3980
3981         * lfuns.h:
3982         * LyXAction.C (init):
3983         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3984         with LFUN_DIALOG_SHOW <name> <data>.
3985
3986 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3987
3988         * CutAndPaste.C (availableSelections): small compilation fix for
3989         ancient (gcc 2.9x) compilers
3990
3991 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * text3.C (cursorNext): add tmp var
3994
3995         * text2.C (updateCounters): for function calling out of for clause
3996         (replaceSelectionWithString): ditto
3997         (insertStringAsParagraphs): ditto
3998         (getColumnNearX): add tmp var
3999         (setCursorFromCoordinates): add tmp var
4000         (cursorDownParagraph): add tmp var
4001         (deleteEmptyParagraphMechanism): add tmp var
4002
4003         * text.C (insertChar): add tmp var
4004
4005         * rowpainter.C (paintDepthBar): add tmp var
4006
4007         * CutAndPaste.C (availableSelections): potentially check all
4008         paragraphs in a cut to fill the shown strings.
4009
4010 2003-06-18  André Pönitz  <poenitz@gmx.net>
4011
4012         * kbmap.[Ch]: use vector<> instead of list<>
4013
4014 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4015
4016         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4017         pasteSelection with index
4018
4019         * text2.C (pasteSelection): modify, call pasteSelection with index
4020
4021         * paragraph.C (asString): reimplement version with no interval to
4022         call the one with interval.
4023
4024         * lyxtext.h: add index arg to pasteSelection
4025
4026         * MenuBackend.C (MenuItem): handle PasteRecent
4027         (Menu::read::Menutags): add md_pasterecent
4028         (read): handle it
4029         (expandPasteRecent): new function
4030         (expand): use it
4031
4032         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4033
4034         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4035         the limited stack
4036         (availableSelections): new function
4037
4038 2003-06-17  Angus Leeming  <leeming@lyx.org>
4039
4040         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4041
4042 2003-06-17  Angus Leeming  <leeming@lyx.org>
4043
4044         * lfuns.h:
4045         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4046
4047         * lyxfunc.C (dispatch): invoke it.
4048
4049 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4050
4051         * iterators.C (operator++, ParPosition): reintroduce some
4052         const_cast for the benefit of older compilers.
4053
4054 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4055
4056         * text3.C (dispatch): do not modify clipboard when doing
4057         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4058         LFUN_DELETE_SKIP on a selection selection
4059
4060 2003-06-16  André Pönitz  <poenitz@gmx.net>
4061
4062         * BufferView.C:
4063         * buffer.C:
4064         * buffer.h:
4065         * paragraph.C:
4066         * tabular.[Ch]: IU of clone() and getLabelList();
4067
4068 2003-06-13  André Pönitz  <poenitz@gmx.net>
4069
4070         * tabular.h: compactification
4071
4072 2003-06-12  André Pönitz  <poenitz@gmx.net>
4073
4074         * tabular.C:
4075         * tabular.h:
4076         * tabular_funcs.h: some renaming plus whitespace
4077
4078 2003-06-12  André Pönitz  <poenitz@gmx.net>
4079
4080         * BufferView.C:
4081         * BufferView_pimpl.C:
4082         * CutAndPaste.C:
4083         * buffer.C:
4084         * iterators.[Ch]:
4085         * lyxfunc.C:
4086         * text.C:
4087         * toc.C: Return a Paragraph & for ParIterator::operator*()
4088
4089 2003-06-11  John Levon  <levon@movementarian.org>
4090
4091         * lyx_main.C:
4092         * ToolbarBackend.h:
4093         * ToolbarBackend.C: add "Toolbars" section and
4094         put the flags there
4095
4096 2003-06-10  Angus Leeming  <leeming@lyx.org>
4097
4098         * lfuns.h:
4099         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4100
4101         * lyxfunc.C (dispatch): invoke it.
4102
4103 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * main.C: protect <ios> with HAVE_IOS
4106         (main): protect sync_with_stdio with HAVE_IOS
4107
4108 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4109
4110         * text2.C (cutSelection): adjust
4111         (pasteSelection): adjust
4112
4113         * messages.C: handle get of empty string
4114
4115         * main.C (main): use sync_with_stdio(false)
4116
4117         * lyxfunc.C (dispatch): adjust
4118
4119         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4120         (WriteAs): remove unneeded BufferView arg.
4121
4122         * bufferparams.h: use correct types on papersize, papersize2 and
4123         paperpackage.
4124
4125         * bufferparams.C (readToken): adjust for type
4126         (writeLaTeX): add missing cases to switch.
4127
4128         * bufferlist.C (quitWriteBuffer): adjust
4129         (close): adjust
4130
4131         * buffer.C (asciiParagraph): remove some commented code.
4132
4133         * CutAndPaste.C: remove current_view extern variable.
4134         (cutSelection): add BufferParams arg.
4135         (eraseSelection): add BufferParams arg.
4136         (pasteSelection): add Buffer const & arg
4137
4138 2003-06-07  John Levon  <levon@movementarian.org>
4139
4140         * buffer.C:
4141         * paragraph_funcs.C:
4142         * paragraph_pimpl.C:
4143         * text.C:
4144         * text2.C:
4145         * paragraph.h:
4146         * paragraph.C: allow InsetERT to freely space lines,
4147         and some consolidation of code
4148
4149 2003-06-06  José Matos  <jamatos@fep.up.pt>
4150
4151         * buffer.C (makeDocBookFile): fix bug #821
4152
4153 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4154
4155         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4156
4157 2003-06-04  Angus Leeming  <leeming@lyx.org>
4158
4159         * buffer.C: bump format to 224.
4160
4161 2003-06-05  André Pönitz  <poenitz@gmx.net>
4162
4163         * text2.C (redoParagraphs): remove two const_cast<>
4164
4165 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4166
4167         * ParagraphList.h: remove last remnants of NO_STD_LIST
4168
4169 2003-06-03  Angus Leeming  <leeming@lyx.org>
4170
4171         * factory.C (createInset): small change to the way InsetExternal's params
4172         are set.
4173
4174 2003-06-04  André Pönitz  <poenitz@gmx.net>
4175
4176         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4177
4178         * paragraph_pimpl.h:
4179         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4180
4181         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4182
4183         * undo_funcs.C: make some simple cases of undo work again
4184
4185 2003-06-03  John Levon  <levon@movementarian.org>
4186
4187         * ispell.C: HPUX doesn't have sys/select.h
4188         (from Albert Chin)
4189
4190 2003-06-03  John Levon  <levon@movementarian.org>
4191
4192         * CutAndPaste.C: update tabular and include inset
4193         buffer references
4194
4195         * buffer.h:
4196         * paragraph.h:
4197         * paragraph.C: remove owningBuffer(), don't pass Buffer
4198         to clone()
4199
4200         * factory.C: insetGraphicsParams changed
4201
4202 2003-06-02  John Levon  <levon@movementarian.org>
4203
4204         * LyXAction.C:
4205         * factory.C:
4206         * lfuns.h:
4207         * lyxfunc.C:
4208         * text3.C: remove insetparent
4209
4210 2003-06-02  John Levon  <levon@movementarian.org>
4211
4212         * buffer.h:
4213         * buffer.C: fix inset_iterator.end(), move out of line
4214         (bug 1149)
4215
4216 2003-06-01  John Levon  <levon@movementarian.org>
4217
4218         * text3.C: use a proper cut/paste when doing inset
4219         insert (from Jürgen Spitzmüller)
4220
4221 2003-06-01  John Levon  <levon@movementarian.org>
4222
4223         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4224
4225 2003-05-30  André Pönitz  <poenitz@gmx.net>
4226
4227         * rowpainter.C: unify second drawing phase
4228
4229 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * trans_mgr.C: remove one case of current_view
4232
4233         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4234
4235         * paragraph_funcs.h: remove paragraph.h include
4236
4237         * paragraph.h: delete NO_STD_LIST stuff
4238
4239         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4240
4241         * buffer.h: remove paragraph.h include
4242
4243         * ParagraphList.C: delete file
4244
4245         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4246
4247         * toc.C (getTocList): adjust
4248
4249         * paragraph_pimpl.C (validate): adjust
4250
4251         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4252
4253         * paragraph.C (Paragraph): adjust
4254         (getPositionOfInset): use const_iterator, adjust
4255         (bibitem): use const_iterator, adjust
4256         (setInsetOwner): adjust
4257
4258         * iterators.C (operator++): adjust
4259
4260         * InsetList.[Ch]: Replace selfmade iterator with standard
4261         vector::iterator also introduce const_iterator. Remove getPos,
4262         getInset and setInset from InsetTable. Adjust accordingly.
4263
4264         * BufferView.C (lockInset): adjust
4265         (ChangeInsets): adjust
4266
4267         * tabular.[Ch]: delete commented same_id functions
4268
4269 2003-05-28  John Levon  <levon@movementarian.org>
4270
4271         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4272
4273 2003-05-28  André Pönitz  <poenitz@gmx.net>
4274
4275         * metricsinfo.[Ch]: remove 'fullredraw' member
4276
4277 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4278
4279         * lyxtextclass.C (operator): remove caching.
4280
4281 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4282
4283         * text3.C: adjust
4284
4285         * text2.C (cursorBottom): adjust
4286         (setCounter): use ParagraphList::find, adjust
4287
4288         * text.C (workWidth): use ParagraphList::find, adjust
4289
4290         * lyxcursor.C (LyXCursor): adjust
4291
4292         * buffer.C (inset_iterator): adjust
4293
4294         * ParagraphList.h: make iterator(value_type) private, make
4295         ParagraphList a friend of iterator.
4296
4297         * ParagraphList.C (find): new function
4298
4299         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4300
4301 2003-05-27  André Pönitz  <poenitz@gmx.net>
4302
4303         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4304
4305 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4306
4307         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4308
4309 2003-05-26  John Levon  <levon@movementarian.org>
4310
4311         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4312
4313 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * remove same_id from function signatures, adjust.
4316
4317 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4320
4321         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4322
4323         * paragraph.C (Paragraph): get rid of same_ids parameter
4324
4325         * ParagraphList.C (insert): adjust
4326         (push_back): adjust
4327
4328 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * paragraph_funcs.C (breakParagraph): adjust
4331         (breakParagraphConservative): adjust
4332
4333         * buffer.C (readParagraph): adjust
4334
4335         * ParagraphList.C (insert): take a reference instead of a pointer
4336         (insert): adjust
4337
4338         * paragraph.[Ch] (id): new function
4339
4340         * bufferlist.C (newFile): adjust
4341
4342         * ParagraphList.C (ParagraphList): adjust
4343         (assign): adjust
4344         (push_back): take a reference instead of a pointer.
4345
4346         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4347
4348         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4349         instead.
4350
4351         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4352         set else use old code.
4353
4354         * ParagraphList.C: remove all NO_NEXT code and only compile this
4355         code of NO_STD_LIST is set.
4356
4357 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4358
4359         * BufferView_pimpl.C:
4360         * TextCache.C:
4361         * TextCache.h:
4362         * bufferlist.C:
4363         * errorlist.h:
4364         * format.C:
4365         * format.h:
4366         * graph.C:
4367         * lyxfunc.C:
4368         * lyxrc.C:
4369         * graphics/GraphicsConverter.C:
4370         * graphics/PreviewLoader.C: header adjustment
4371
4372 2003-05-23  Angus Leeming  <leeming@lyx.org>
4373
4374         * LaTeXFeatures.[Ch] (useBabel): new method.
4375         * bufferparams.C (writeLaTeX): use it.
4376
4377 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * ParagraphList.h (set): remove unused function.
4380
4381 2003-05-23  André Pönitz  <poenitz@gmx.net>
4382
4383         * BufferView.C:
4384         * BufferView_pimpl.C:
4385         * buffer.C:
4386         * buffer.h:
4387         * lyxfunc.C:
4388         * undo_funcs.C: setUndo reworked
4389
4390         * iterators.[Ch]: add access to topmost ParagraphList
4391
4392         * lyxtext.[Ch] (workWidth): add a const
4393
4394 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * texrow.[Ch] (increasePos): remove function
4397         * exporter.C (export): removed unused var and outdated comment
4398
4399 2003-05-23  Angus Leeming  <leeming@lyx.org>
4400
4401         * latexrunparams.h: rename fragile as moving_arg.
4402         * paragraph.C (simpleTeXOnePar): ditto.
4403         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4404
4405 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4408         (createUndo): ditto
4409         (textUndoOrRedo): comment out a currently unused var.
4410
4411         * paragraph.h (NO_NEXT): enable NO_NEXT
4412
4413         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4414
4415         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4416
4417         * exporter.C (Export): adjust for removeAutoInsets removal.
4418
4419         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4420
4421         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4422
4423         * BufferView.[Ch] (removeAutoInsets): delete function
4424
4425 2003-05-22  Angus Leeming  <leeming@lyx.org>
4426
4427         * latexrunparams.h: add a free_spacing variable.
4428
4429         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4430         to pass moving_arg, as the data is stored in runparams.fragile.
4431
4432         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4433         to Inset::latexOptional or to simpleTeXOnePar.
4434
4435         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4436         free_spacing arg to Inset::latexOptional.
4437
4438         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4439         free_spacing arg.
4440
4441 2003-05-22  Angus Leeming  <leeming@lyx.org>
4442
4443         * latexrunparams.h: add fragile and use_babel variables.
4444
4445         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4446         * buffer.C (makeLaTeXFile): store this returned value in
4447         runparams.use_babel, thus passing it to the inset::latex methods.
4448
4449         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4450         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4451
4452         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4453         longer has a fragile arg, as it is stored in runparams.fragile.
4454
4455         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4456         moving_arg parameter as the data is stored in runparams.fragile.
4457
4458         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4459         a fragile parameter as the data is stored in runparams.fragile.
4460
4461 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4464
4465 2003-05-22  Angus Leeming  <leeming@lyx.org>
4466
4467         * latexrunparams.h: add a 'bool nice' which defaults to false.
4468
4469         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4470         now encapsulated within runparams.
4471
4472         * bufferlist.C (updateIncludedTeXfiles):
4473         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4474
4475 2003-05-22  Angus Leeming  <leeming@lyx.org>
4476
4477         * latexrunparams.h: new file containing struct LatexRunParams.
4478         * Makefile.am: add new file.
4479
4480         * LaTeX.[Ch] (c-tor, run):
4481         * buffer.[Ch] (makeLaTeXFile):
4482         * bufferlist.[Ch] (updateIncludedTeXfiles):
4483         * converter.C (convert, scanLog):
4484         * converter.[Ch] (runLaTeX):
4485         * exporter.C (Export):
4486         * paragraph.[Ch] (simpleTeXOnePar):
4487         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4488         * paragraph_funcs.[Ch] (latexParagraphs):
4489         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4490         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4491         pass around a LatexRunParams parameter.
4492
4493 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * paragraph.[Ch]: remove unused constructor
4496
4497         * ParagraphList.C (erase): new function, taking two iterators
4498
4499 2003-05-22  André Pönitz  <poenitz@gmx.net>
4500
4501         * undo_funcs.C: remove duplicated code
4502
4503         * iterator.[Ch]: operator=
4504
4505 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * tabular.C (SetMultiColumn): ws changes
4508
4509         * rowpainter.C (paintFirst): get rid of a ->previous
4510
4511         * lyx_cb.C (getPossibleLabel): parlist simplification
4512
4513         * BufferView.C (ChangeInsets): simplify slightly.
4514
4515 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4516
4517         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4518         * lfuns.h: new LFUN_SPACE
4519         * lyxfunc.C: protected space has a new lfun
4520         * paragraph_funcs.C: read new space insets
4521         * text3.C:
4522         * factory.C: handle new space insets
4523
4524 2003-05-22  André Pönitz  <poenitz@gmx.net>
4525
4526         * BufferView.C:
4527         * BufferView_pimpl.C:
4528         * buffer.[Ch]:
4529         * lyxfunc.C:
4530         * undo_funcs.C: return a ParIterator from getParFromID.
4531
4532         * iterators.[Ch]: add two const's
4533
4534 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * toc.C (getTocList): adjust
4537
4538         * iterators.[Ch]: rework for parlist
4539
4540         * buffer.C (par_iterator_begin): adjust
4541         (par_iterator_end): adjust
4542
4543         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4544
4545         * BufferView.C (removeAutoInsets): adjust
4546         (ChangeInsets): adjust
4547
4548 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * text.C (top_y): fix bug 1110
4551
4552 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4553
4554         * errorlist.[Ch]: added
4555         * buffer.C:
4556         * BufferView.[Ch]:
4557         * BufferView_pimpl.C:
4558         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4559         instead
4560
4561 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * Makefile.am: ensure that lyx is relinked upon changes to the
4564         various "convenience" libs.
4565
4566 2003-05-20  Angus Leeming  <leeming@lyx.org>
4567
4568         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4569         files are compiled in alphabetical order again.
4570
4571         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4572
4573 2003-05-19  Angus Leeming  <leeming@lyx.org>
4574
4575         * gettext.[Ch]: remove "char const * _(char const *)".
4576
4577 2003-05-19  André Pönitz  <poenitz@gmx.net>
4578
4579         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4580
4581         * Makefile.am:
4582         * BufferView.C:
4583         * DepTable.h:
4584         * LaTeXFeatures.C:
4585         * buffer.C:
4586         * lyxfont.C:
4587         * lyxlex.h:
4588         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4589
4590 2003-05-19  André Pönitz  <poenitz@gmx.net>
4591
4592         * buffer.C:
4593         * lyxlayout.[Ch]:
4594         * lyxtextclass.[Ch]:
4595         * paragraph.C:
4596         * paragraph_funcs.[Ch]:
4597         * text2.C:
4598         * text3.C: more insetenv work
4599
4600 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * ParagraphParameters.C (params2string): small bug fixed
4603
4604 2003-05-16  André Pönitz  <poenitz@gmx.net>
4605
4606         * debug.C:
4607         * bufferview_funcs.C: patch from Kornel Benko to prevent
4608           crash when _(...) is called twice in a statement
4609
4610 2003-05-16  André Pönitz  <poenitz@gmx.net>
4611
4612         * BufferView.C:
4613         * lyxfunc.C:
4614         * text.C:
4615         * text2.C:
4616         * text3.C:
4617         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4618
4619 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * lyx_main.C (init): remove spurious static_cast
4622
4623 2003-05-14  André Pönitz  <poenitz@gmx.net>
4624
4625         * BufferView.C: fix format string
4626
4627 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * BufferView.[Ch] (insertErrors): removed
4630         * BufferView.[Ch] (showErrorList): added
4631         * buffer.C (runChkTeX):
4632         * converter.C (scanLog): call showErrorList instead of inserterrors
4633
4634 2003-05-13  André Pönitz  <poenitz@gmx.net>
4635
4636         * BufferView_pimpl.C:
4637         * buffer.C:
4638         * bufferview_func.C:
4639         * MenuBackend.C:
4640         * lyxfunc.C:
4641         * lyxrc.C:
4642         * tex-accent.C:
4643         * text3.C:
4644         * toc.C:
4645         * tabular_funcs.h: tostr() from its own header
4646
4647         * ParagraphParameters.C:
4648         * ToolbarBackend.C:
4649         * bufferparams.C:
4650         * format.C:
4651         * lyxlex_pimpl.C:
4652         * text3.C: STRCONV()
4653
4654 2003-05-12  André Pönitz  <poenitz@gmx.net>
4655
4656         * BufferView.C:
4657         * BufferView_pimpl.C:
4658         * CutAndPaste.C:
4659         * LaTeX.C:
4660         * LaTeXFeatures.C:
4661         * ParagraphParameters.C:
4662         * buffer.C:
4663         * bufferlist.C:
4664         * bufferparams.C:
4665         * bufferview_funcs.C:
4666         * converter.C:
4667         * counters.C:
4668         * debug.C:
4669         * exporter.C:
4670         * format.C:
4671         * importer.C:
4672         * lyx_cb.C:
4673         * lyx_main.C:
4674         * lyxfont.C:
4675         * lyxfunc.C:
4676         * lyxvc.C:
4677         * paragraph.C:
4678         * paragraph_funcs.C:
4679         * tabular.C:
4680         * tabular_funcs.C:
4681         * text2.C:
4682         * text3.C:  boost::format -> bformat  all over the place
4683
4684
4685 2003-05-09  André Pönitz  <poenitz@gmx.net>
4686
4687         * LColor.[Ch]: Pimpl the #include <map> away
4688
4689 2003-05-09  John Levon  <levon@movementarian.org>
4690
4691         * bufferlist.C: never remove emergency saves
4692
4693 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * Makefile.am: better lib building
4696
4697 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4700         instead.
4701         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4702         (simpleTeXSpecialChars): adjust
4703         (simpleTeXSpecialChars): adjust
4704         * paragraph.C (simpleTeXOnePar): adjust
4705         * buffer.C (makeLaTeXFile): adjust
4706
4707         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4708
4709         * text2.C (changeDepth): parlist cleanup
4710         (getColumnNearX): ditto
4711
4712         * rowpainter.C (getLabelFont): parlist cleanup
4713
4714         * bufferlist.C (newFile): parlist cleanup
4715
4716         * CutAndPaste.C (eraseSelection): parlist cleanup
4717
4718         * BufferView_pimpl.C (trackChanges): parlist cleanup
4719         (dispatch): ditto
4720
4721         * BufferView.C (lockInset): parlist cleanup.
4722         (ChangeInsets): ditto
4723
4724 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * CutAndPaste.h: Update file header.
4727
4728         * CutAndPaste.C: Update file header.
4729         Store the parts cut out of the Document in a limited_stack.
4730         (copySelection): adjust
4731         (pasteSelection): new function, takes the index in the limited stack.
4732         (nrOfParagraphs): adjust
4733         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4734         simplify error inset insertion.
4735         (checkPastePossible): adjust
4736
4737 2003-05-06  John Levon  <levon@movementarian.org>
4738
4739         * text2.C: don't cast wrap inset to float
4740
4741 2003-05-05  André Pönitz  <poenitz@gmx.net>
4742
4743         * iterator.C:
4744         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4745
4746         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4747           few naked Paragraph *.
4748
4749 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4750
4751         * bufferparams.C: Output warning if a document with missing
4752         TeX document class is loaded
4753         * exporter.C: Disable TeX exports if the document class is missing
4754         * lyxtextclass.C:
4755         * lyxtextclass.h:
4756         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4757         isTeXClassAvailable()
4758
4759 2003-05-03  John Levon  <levon@movementarian.org>
4760
4761         * BufferView.h:
4762         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4763         explicit cursor show/hide
4764
4765         * BufferView_pimpl.h:
4766         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4767         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4768
4769         * lyxfunc.C: hide cursor before dispatching.
4770
4771         * lyx_cb.C:
4772         * lyxfind.C:
4773         * text.C:
4774         * text3.C: remove explicit cursor hides
4775
4776 2003-05-02  André Pönitz  <poenitz@gmx.net>
4777
4778         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4779
4780         * undo_funcs.C:
4781         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4782           linked lists
4783
4784         * text2.C: tiny whitespace
4785
4786 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * undo_funcs.C: almost only ws changes.
4789
4790         * ParagraphList.C (splice): just return if pl is empty.
4791
4792 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * ParagraphList.C (splice): new function.
4795
4796         * CutAndPaste.C (pasteSelection): use it
4797
4798 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * CutAndPaste.C (pasteSelection): remove the last next and
4801         previous from this file.
4802
4803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * CutAndPaste.C (pasteSelection): more clean up, user proper
4806         ParagraphList functions for pasteing.
4807
4808         * ParagraphList.C (insert): new function, three arg insert
4809
4810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * ParagraphList.C (insert): new function, three arg insert
4813
4814         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4815         not on paragraphs.
4816
4817 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4820
4821 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4824
4825 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4828         (copySelection): clean up a bit.
4829         (pasteSelection): use make_pair
4830
4831         * ParagraphList.C (ParagraphList): implement copy constructor
4832         (operator=): implement, base on copy constructor.
4833         (assign): new func
4834
4835         * paragraph.C (erase): return a bool
4836
4837         * paragraph_pimpl.C (erasePos): remove function, move contents...
4838         (erase): ... here. Return a bool.
4839         (erase): call erase instead of erasePos.
4840
4841 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * ParagraphList.h: define PitPosPair
4844         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4845         ParagraphList, fix a bug on pasting multiple pars
4846         * text2.C: change interface to C&P
4847
4848 2003-04-30  André Pönitz  <poenitz@gmx.net>
4849
4850         * undo_func.C: revert part of yesterday's patch 2
4851
4852 2003-04-30  John Levon  <levon@movementarian.org>
4853
4854         * LColor.C: s/tabular/table/
4855
4856 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * text3.C (dispatch): do not convert iterator -> pointer
4859         * undo_funcs.C (setCursorParUndo): ditto
4860         * text_funcs.C (transposeChars): ditto
4861
4862         * text2.C (setLayout): ws changes only
4863
4864         * text.C (breakParagraph): do not convert iterator -> pointer
4865         (insertChar): ditto
4866         (acceptChange): ditto
4867         (rejectChange): ditto
4868         (changeCase): ditto
4869         (Delete): ditto
4870         (backspace): ditto
4871
4872         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4873         pointer
4874
4875 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * text3.C (gotoInset): YABG (yet another bad getChar)
4878
4879 2003-04-29  André Pönitz  <poenitz@gmx.net>
4880
4881         * paragraph.h: make operator= private unimplemented as long as
4882           it is unusable
4883
4884         * ParagraphList.C: whitespace
4885
4886         * paragraph.[Ch]:
4887         * paragraph_pimpl.[Ch]:
4888         * paragraph_funcs.C:
4889         * CutAndPaste.C:
4890         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4891
4892         * text2.C:
4893           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4894
4895 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4898         * paragraph.[Ch] (erase):
4899         * paragraph_pimpl.[Ch] (erase): change return type and value
4900         * text2.C (cutSelection): some rework
4901
4902 2003-04-28  John Levon  <levon@movementarian.org>
4903
4904         * bufferlist.C: changes for unsaved changes dialog
4905
4906 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * bufferlist.C (newFile): set language (messages_) for new
4909         documents also.
4910
4911         * buffer.C (readFile): ws changes only.
4912
4913 2003-04-28  André Pönitz  <poenitz@gmx.net>
4914
4915         * undo_funcs.C:
4916         * lyxfunc.C:
4917         * buffer.[Ch]:
4918         * BufferView_pimpl.C:
4919         * BufferView.C: getParFromID related ParagraphList::iterator changes
4920
4921 2003-04-28  André Pönitz  <poenitz@gmx.net>
4922
4923         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4924           Changes
4925
4926 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * messages.C: remove one more localedir class variable.
4929
4930 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * messages.C (getLocaleDir): singleton generation function
4933         (Pimpl): use it.
4934         (Messages): add a default constructor.
4935
4936         * main.C (main): do not setup localedir here, do not call
4937         gettext_init.
4938
4939         * gettext.C (_): use it.
4940         (gettext_init): delete funciton
4941
4942 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * gettext.C (getLyXMessages): new singleton generating function.
4945
4946         * buffer.C (updateDocLang): adjust
4947
4948         * Makefile.am (messages.o): add target
4949         (main.o): remove target
4950
4951 2003-04-27  John Levon  <levon@movementarian.org>
4952
4953         * bufferlist.C:
4954         * lyx_cb.C:
4955         * lyxfunc.C:
4956         * lyxvc.C: specify cancel button in Alert::prompt
4957
4958 2003-04-26  John Levon  <levon@movementarian.org>
4959
4960         * text3.C:
4961         * lyxfunc.C:
4962         * lfuns.h:
4963         * LyXAction.C: add LFUN_INSET_SETTINGS
4964
4965         * lyxfunc.C: don't enable tabular-feature when there's
4966         just any locking inset
4967
4968 2003-04-26  John Levon  <levon@movementarian.org>
4969
4970         * bufferlist.C: re-add Cancel to buffer close question
4971
4972         * lyxfunc.C: fix import UI a bit
4973
4974 2003-04-25  John Levon  <levon@movementarian.org>
4975
4976         * gettext.C: remove the broken asserts for now
4977
4978 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * messages.C: make case where setlocale cannot comply work better.
4981
4982         * buffer.C (updateDocLang): new function
4983         (changeLanguage): use it
4984         (readFile): use it
4985
4986         * text2.C (setCounter): use B_ a bit.
4987
4988         * lyxlayout.C (Read): be sure to trim the label strings.
4989
4990         * messages.C (Messages): fix typo in comment
4991
4992         * buffer.C (readFile): set message_ after file is loaded.
4993         (makeDocBookFile): remove double return
4994         (changeLanguage): reset message_ upon language change.
4995         (B_): new func, use this to get translated buffer strings.
4996
4997         * main.C: add myself and Jean Marc as authors.
4998
4999 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * messages.[hC]: pimplify Messages, and three different pimpls to be
5002         used in different circumstances.
5003
5004         * gettext.[Ch]: change for use with new message code.
5005
5006 2003-04-24 André Pönitz <poenitz@gmx.net>
5007
5008         * factory.C: support for eqref
5009
5010 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * messages.[Ch]: add missing char
5013
5014         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5015
5016         * messages.[Ch]: New files
5017
5018 2003-04-18  John Levon  <levon@movementarian.org>
5019
5020         * BufferView.h:
5021         * BufferView.C:
5022         * BufferView_pimpl.C:
5023         * lfuns.h:
5024         * LyXAction.C:
5025         * lyxtext.h:
5026         * text2.C: remove layout-copy/paste (bug 778)
5027
5028 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5031
5032 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5035         if they succeed. Act accordingly.
5036
5037 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text2.C (setCharFont): adjust
5040         (setCounter): adjust
5041         (insertStringAsLines): adjust
5042
5043         * text.C (leftMargin): adjust
5044         (setHeightOfRow): adjust
5045
5046         * rowpainter.C (paintFirst): adjust
5047         (paintLast): adjust
5048
5049         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5050         (outerHook): ditto
5051         (isFirstInSequence): ditto
5052         (getEndLabel): ditto
5053         (outerFont): adjust
5054
5055         * paragraph.C (getParLanguage): comment out some hard stuff.
5056
5057         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5058         (sgmlError): ditto
5059         (simpleDocBookOnePar): ditto
5060         (makeDocBookFile): use ParagraphList::iterator
5061
5062         * CutAndPaste.C (pasteSelection): adjust
5063
5064 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * text2.C (getFont): adjust
5067         (getLayoutFont): adjust
5068         (getLabelFont): adjust
5069
5070         * paragraph_funcs.C (TeXOnePar): adjust
5071
5072         * buffer.C (simpleLinuxDocOnePar): adjust
5073         (simpleDocBookOnePar): adjust
5074
5075         * CutAndPaste.C (pasteSelection): adjust
5076
5077         * BufferView.C (getEncoding): adjust
5078
5079         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5080
5081 2003-04-16  John Levon  <levon@movementarian.org>
5082
5083         * lyxfind.C: use parlist stuff for search/changes
5084
5085 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5088
5089         * text2.C (deleteEmptyParagraphMechanism): adjust
5090
5091         * text2.[Ch] (ownerParagraph): delete func (both of them
5092
5093 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5096
5097 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * ParagraphList.C: prepare for NO_NEXT
5100
5101 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * text2.C (getFont): adjust
5104         (getLayoutFont): adjust
5105         (getLabelFont): adjust
5106
5107         * paragraph.C (getFont): adjust
5108         (getLabelFont): adjust
5109         (getLayoutFont): adjust
5110
5111         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5112
5113 2003-04-15  John Levon  <levon@movementarian.org>
5114
5115         From Angus Leeming
5116
5117         * lyx_main.C: handle Include in .ui files
5118
5119 2003-04-15  John Levon  <levon@movementarian.org>
5120
5121         * MenuBackend.C: make the doc files length shorter
5122
5123         * ToolbarBackend.h:
5124         * ToolbarBackend.C: handle toolbar placement flags,
5125         Minibuffer
5126
5127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5130         adjust
5131
5132         * paragraph_funcs.C (TeXOnePar): adjust
5133
5134         * paragraph.C (getLabelFont): add outerfont arg, adjust
5135         (getLayoutFont): ditto
5136         (simpleTeXOnePar): adjust
5137
5138         * paragraph_pimpl.C (realizeFont): delete func
5139
5140 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5143         row argument, constify cur argument.
5144
5145 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * text2.C (getFont): adjust
5148         (getLayoutFont): adjust
5149         (getLabelFont): adjust
5150
5151         * paragraph_funcs.C (TeXOnePar): adjust
5152         (outerFont): new func...
5153         (realizeFont): ...moved out from here, changed this to facilitate
5154         transition
5155
5156         * paragraph.C (getFont): take outerfont as arg, adjust
5157         (simpleTeXOnePar): add outerfont arg, adjust
5158
5159         * buffer.C (simpleLinuxDocOnePar): adjust
5160         (simpleDocBookOnePar): adjust
5161
5162         * CutAndPaste.C (pasteSelection): adjust
5163
5164         * BufferView.C (getEncoding): adjust
5165
5166 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * text2.C (setCharFont): adjust
5169         (setCounter): adjust
5170
5171         * text.C (leftMargin): adjust
5172         (setHeightOfRow): adjust
5173
5174         * rowpainter.C (paintFirst): adjust
5175         (paintLast): adjust
5176
5177         * paragraph_pimpl.C (realizeFont): adjust
5178
5179         * paragraph.C (isFirstInSequence): move from here...
5180         * paragraph_funcs.C (isFirstInSequence): ...to here
5181
5182         * paragraph.C (outerHook): move from here...
5183         * paragraph_funcs.C (outerHook): ...to here
5184
5185         * paragraph.C (depthHook): move from here...
5186         * paragraph_funcs.C (depthHook): ...to here
5187
5188         * paragraph.C (getEndLabel): move from here...
5189         * paragraph_funcs.C (getEndLabel): ...to here
5190
5191         * text2.C (realizeFont): move from here...
5192         * paragraph_funcs.C (realizeFont): ...to here
5193
5194 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5197
5198 2003-04-14  Angus Leeming  <leeming@lyx.org>
5199
5200         * LColor.[Ch]: scrap LColor mathcursor.
5201
5202 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * lyxlex.[Ch] (text): delete function
5205         * trans.C (Load): adjust
5206         * paragraph_funcs.C (readParToken): adjust
5207
5208 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5211         vector<char> instead of a char[].
5212
5213         * lyxlex_pimpl.C (getString): adjust
5214         (next): adjust
5215         (lex): use getString
5216         (eatLine): adjust
5217         (nextToken): adjust
5218
5219         * lyxlex.C (text): use pimpl_->getString()
5220         (getBool): ditto
5221         (findToken): ditto
5222
5223 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5226         (makeFontEntriesLayoutSpecific): temp var for par.size()
5227         (setLayout): temp var for ownerParagraphs().end()
5228         (fullRebreak): temp var for rows().end()
5229         (selectionAsString): temp var for boost::next(startpit), realize
5230         that the while really is a regular for loop.
5231         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5232         setCursor in one place.
5233         (setParagraph): temp vr for ownerParagraphs().end()
5234         (updateCounters): make the while loop a for loop
5235         (cutSelection): temp var for ownerParagraphs().end()
5236         (updateInset): make the do {} while() a regular for loop
5237         (getCursorX): use temp vars
5238         (setCurrentFont): use temp vars
5239         (getColumnNearX): use temp vars
5240
5241 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * text.C (transformChar): use temp var for getChar
5244         (computeBidiTables): use temp var for row->par()
5245         (fill): move temp vars for row->par() and pit->layout() earlier in
5246         the function.
5247         (labelFill): use temp var for row->par()
5248         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5249         asc and desc, realize that pit never changes and that firstpit is
5250         just a duplicate and not needed. Exchange rit->par() with pit in a
5251         lot of places.
5252         (breakAgain): use a temp var for boost::next(rit)
5253         (breakAgainOneRow): ditto
5254         (breakParagraph): use a temp var for rows().begin()
5255         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5256         (cursorRightOneWord): use temp var for cursor.par() and
5257         cursor.pos(), remove usage of tmpcursor.
5258         (cursorLeftOneWord): use temp var for cursor.par() and
5259         cursor.pos() only set cur at end of function.
5260
5261 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * text.C, text2.C: exchange all usage of Paragraph::next with
5264         boost::next(ParagraphList::iterator)
5265
5266         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5267
5268         * text2.C (cursorTop): simplify implementation
5269         (cursorBottom): ditto
5270         (setParagraph): use ParagraphList::iterator
5271         (setCurrentFont): adjust
5272         (getColumnNearX): adjust
5273         (cursorRight): adjust
5274         (cursorLeft): remove usage of Paragraph::previous
5275         (cursorUpParagraph): ditto
5276         (deleteEmptyParagraphMechanism): slight cleanup
5277
5278         * text.C (isBoundary): take a Paragraph const & instead of a
5279         pointer as arg.
5280         (addressBreakPoint): ditto
5281         (leftMargin): remove usage of Paragraph::previous.
5282         (setHeightOfRow): ditto
5283         (cursorLeftOneWord): ditto
5284         (selectNextWordToSpellcheck): ditto
5285         (Delete): ditto
5286         (backspace): ditto
5287         (breakParagraph): remove one usage of Paragraph::next
5288         (redoParagraph): ditto
5289         (acceptChange): ditto
5290         (insertChar): adjust
5291         (rowBreakPoint): adjust
5292
5293         * bufferview_funcs.C (toggleAndShow): adjust
5294
5295 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5298         methods to access it.
5299         * lyxtext.h:
5300         * text.C: Added updateRowPositions to compute all row positions.
5301         Make top_y and getRowNearY() to use the cached y position
5302
5303 2003-04-11  John Levon  <levon@movementarian.org>
5304
5305         * text.C (rowBreakPoint): reintroduce the labelEnd
5306         checks, code copied from the row fill stuff. Deep voodoo.
5307
5308         * text.C (fill): add a comment and debugging for the
5309         next poor soul.
5310
5311 2003-04-11  John Levon  <levon@movementarian.org>
5312
5313         * text.C: make sure fullrow insets get wrapped to the next line,
5314         even when they're in a manual label
5315
5316 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * text2.C (insertParagraph): make it take ParagraphList::iterator
5319         as arg.
5320         (setLayout): make it return ParagraphList::iterator
5321         (redoParagraphs): ditto
5322         (setCounter): ditto
5323         (checkParagraph): ditto
5324
5325         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5326
5327         * text2.C: adjust several funcs.
5328         (realizeFont): take a ParagraphList::iterator as arg.
5329         (getLayoutFont): ditto
5330         (getLabelFont): ditto
5331         (setCharFont): ditto
5332
5333         * text.C: adjust several funcs.
5334
5335 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * text.C (selectNextWordToSpellcheck): don't accidentally
5338         skip insets
5339
5340 2003-04-10  John Levon  <levon@movementarian.org>
5341
5342         * ToolbarBackend.C (getIcon): special handling for
5343         LFUN_MATH_DELIM
5344
5345 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * text2.C (cursorRight): a getChar assert fixed
5348
5349 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * text2.C (getFont): change to take a ParagraphList::iterator
5352         instead of Paragraph*
5353         Adjust several functions.
5354
5355         * text.C (transformChar): change to take a ParagraphList::iterator
5356         instead of Paragraph*
5357         (singleWidth): ditto
5358         Adjust several functions.
5359
5360         * rowpainter.C: adjust several functions
5361         * rowpainter.h:store a ParagraphList::iterator and not a
5362         Paragraph&.
5363
5364
5365 2003-04-09  John Levon  <levon@movementarian.org>
5366
5367         * lyxfunc.C:
5368         * lfuns.h:
5369         * LyXAction.h:
5370         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5371         and the "help" bits as well
5372
5373 2003-04-09  John Levon  <levon@movementarian.org>
5374
5375         * ToolbarBackend.h:
5376         * ToolbarBackend.C: allow multiple toolbars
5377
5378 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * undo_funcs.C (setCursorParUndo): adjust
5381
5382         * text_funcs.C (transposeChars): adjust
5383
5384         * text3.C (gotoNextInset): adjust
5385         (dispatch): adjust
5386
5387         * text2.C (setLayout): adjust
5388         (changeDepth): adjust
5389         (setFont): adjust
5390         (redoParagraphs): adjust
5391         (selectionAsString): adjust
5392         (setParagraph): adjust
5393         (insertInset): adjust
5394         (cutSelection): adjust
5395         (copySelection): adjust
5396         (pasteSelection): adjust
5397         (insertStringAsLines): adjust
5398         (updateInset): adjust
5399         (setCursor): change to take a ParagraphList::iterator parameter
5400         (setCursorIntern): change to take a ParagraphList::iterator parameter
5401         (setCurrentFont): adjust
5402         (cursorLeft): adjust
5403         (cursorRight): adjust
5404         (deleteEmptyParagraphMechanism): adjust
5405
5406         * text.C (breakParagraph): adjust
5407         (insertChar): adjust
5408         (acceptChange): adjust
5409         (rejectChange): adjust
5410         (selectNextWordToSpellcheck): adjust
5411         (changeCase): adjust
5412         (Delete): adjust
5413         (backspace): adjust
5414
5415         * lyxfind.C (SearchForward): adjust
5416         (SearchBackward): adjust
5417         (nextChange): adjust
5418
5419         * lyxcursor.C (par): adjust
5420
5421         * lyxcursor.h: store a ParagraphList::iterator instead of a
5422         Paragraph*
5423
5424         * lyx_cb.C (getPossibleLabel): adjust
5425
5426         * bufferview_funcs.C (toggleAndShow): adjust
5427
5428         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5429         (dispatch): adjust
5430
5431         * BufferView.C (removeAutoInsets): adjust
5432         (lockedInsetStoreUndo): adjust
5433
5434 2003-04-09  John Levon  <levon@movementarian.org>
5435
5436         * ToolbarBackend.C: try icon without argument
5437         if with argument fails
5438
5439 2003-04-08  John Levon  <levon@movementarian.org>
5440
5441         * ToolbarBackend.h:
5442         * ToolbarBackend.C: add getIcon(), handle tooltip,
5443         and change from "Icon" to "Item".
5444
5445 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * BufferView.C (lockInset): another bad getchar crunched
5448
5449 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5452         again)
5453
5454 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * lyxfind.C (searchForward, searchBackwards): bug 782
5457
5458 2003-04-07  John Levon  <levon@movementarian.org>
5459
5460         * paragraph.C: remove dead comment
5461
5462         * text.C: remove troublesome depth-fiddling code
5463         in leftMargin() and rightMargin() (bug 1017)
5464
5465         * text.C: fix breaking of rows in nested lists
5466         (bug 1004)
5467
5468         * text2.C (updateCounters): fix up depth values
5469         (bug 1013)
5470
5471 2003-04-07  John Levon  <levon@movementarian.org>
5472
5473         * BufferView_pimpl.C: clear message when doc finishes resizing,
5474         and after a mouse event
5475
5476         * lyxfunc.C: clear message after exiting inset
5477
5478 2003-04-07  John Levon  <levon@movementarian.org>
5479
5480         * bufferview_funcs.C: show math status not outside
5481         status in the statusbar
5482
5483 2003-04-07  John Levon  <levon@movementarian.org>
5484
5485         * lyxfunc.C: note status changed after a depth change
5486
5487 2003-04-04  Angus Leeming  <leeming@lyx.org>
5488
5489         * LaTeX.h: move AuxInfo operator==, != out of line.
5490         Remove LaTeX virtual destructor; nothing derives from it.
5491         Move operator()() out of public area and rename it startscript().
5492         Change protected for private.
5493
5494 2003-04-04  Angus Leeming  <leeming@lyx.org>
5495
5496         * lyxfunc.C:
5497         * text2.C: remove unneeded #includes.
5498
5499 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * text2.C (dEPM): fix the heigth of the next row
5502
5503 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * text.C: squashed an invalid getChar requester + some ws changes
5506
5507 2003-04-03  John Levon  <levon@movementarian.org>
5508
5509         * bufferview_funcs.h:
5510         * bufferview_funcs.C:
5511         * lyxfunc.C:
5512         * lyxtext.h:
5513         * text2.C: make getStatus work for the env depth lfuns
5514
5515 2003-04-03  John Levon  <levon@movementarian.org>
5516
5517         * bufferview_funcs.h:
5518         * bufferview_funcs.C:
5519         * lyxfunc.C:
5520         * lyxtext.h:
5521         * text2.C: parlistize decDepth(), by merging it with incDepth()
5522
5523 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxrow.h: store a ParagraphList::iterator instead of a
5526         Paragraph* and adjust other class functions to suit.
5527
5528         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5529         above.
5530
5531 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5532
5533         * text2.C (setCursor): do not anchor to cursor row for the time being
5534
5535 2003-04-02  John Levon  <levon@movementarian.org>
5536
5537         * LyXAction.C:
5538         * lfuns.h:
5539         * lyx_main.C:
5540         * lyxtext.h:
5541         * text.C:
5542         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5543
5544 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * paragraph.h: make ParagraphList and ParagraphList::iterator
5547         friends of Paragraph.
5548
5549         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5550
5551         * ParagraphList.C: Use the private next_ and previous_ from
5552         Paragraph.
5553
5554 2003-04-01  John Levon  <levon@movementarian.org>
5555
5556         * ToolbarBackend.h:
5557         * ToolbarBackend.C:
5558         * Makefile.am: rename, remove defaults gunk
5559
5560         * MenuBackend.h:
5561         * MenuBackend.C: remove defaults gunk
5562
5563         * Languages.h:
5564         * Languages.C: remove defaults gunk
5565
5566         * lyx_main.h:
5567         * lyx_main.C: error out if files couldn't be found.
5568
5569 2003-04-02  John Levon  <levon@movementarian.org>
5570
5571         * text2.C: make incDepth() use parlist
5572
5573 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * undo_funcs.C (firstUndoParagraph): adjust
5576
5577         * text3.C (gotoInset): adjust
5578         (dispatch): adjust, and rewrite loop.
5579
5580         * text2.C (init): adjust, and rewrite loop.
5581         (redoParagraphs): adjust
5582         (updateInset): adjust, and rewrite loop.
5583         (deleteEmptyParagraphMechanism): adjust
5584
5585         * tabular.C (LyXTabular): adjust
5586         (SetMultiColumn): adjust
5587         (TeXRow): adjust
5588
5589         * lyxtext.[Ch] (ownerParagraph): delete function
5590         (ownerParagraphs): new function returns a ParagraphList.
5591
5592         * BufferView.C (removeAutoInsets): adjust
5593         (insertErrors): adjust
5594         (setCursorFromRow): adjust
5595
5596 2003-04-01  Angus Leeming  <leeming@lyx.org>
5597
5598         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5599         in the frontends.
5600
5601 2003-04-02  John Levon  <levon@movementarian.org>
5602
5603         * lyxtext.h:
5604         * text.C:
5605         * Makefile.am:
5606         * text_funcs.h:
5607         * text_funcs.C: make transposeChars a free function
5608
5609         * lyxrow_funcs.C: remove wrong comment
5610
5611 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * lyxtext.h: adjust
5614         * rowpainter.C: adjust
5615         * text.C: adjust
5616         * text2.C: adjust
5617         * text3.C: adjust
5618
5619         * lyxrow_funcs. [Ch]: new files
5620
5621         * lyxrow.[Ch]: remove next and previous pointers
5622         (next,previous): remove accessor functions
5623         (isParEnd): move to lyxrow_funcs
5624         (lastPos): move to lyxrow_funcs
5625         (nextRowIsAllInset): move to lyxrow_funcs
5626         (lastPrintablePos): move to lyxrow_funcs
5627         (numberOfSeparators): move to lyxrow_funcs
5628         (numberOfHfills): move to lyxrow_funcs
5629         (numberOfLabelHfills): move to lyxrow_funcs
5630         (hfillExpansion): move to lyxrow_funcs
5631
5632         * lyxfunc.C: adjust
5633
5634         * bufferview_funcs.C (toggleAndShow): adjust
5635
5636         * RowList.h: Remove class RowList from file leave just a
5637         std::list<Row>.
5638
5639         * RowList.C: delete file
5640
5641         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5642         and lyxrow_funcs.h
5643
5644 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * text3.C (cursorPrevious): adjust
5647         (cursorNext): adjust
5648         (dispatch): adjust
5649
5650         * text2.C (redoHeightOfParagraph): adjust
5651         (redoDrawingOfParagraph): adjust
5652         (setCursor): adjust
5653
5654         * text.C (breakParagraph): adjust
5655         (insertChar): adjust
5656         (backspace): adjust
5657
5658         * rowpainter.C (RowPainter): adjust
5659         (leftMargin): simplify and adjust
5660         (most rowpainter functions): adjust.
5661
5662         * rowpainter.h: store the row as RowList::iterator not as Row*
5663
5664         * lyxcursor.C (row): taka RowList::iterator as arg
5665         (irow): ditto
5666
5667         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5668         of Row*.
5669
5670 2003-04-01  Angus Leeming  <leeming@lyx.org>
5671
5672         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5673         stuff like bool Bool.
5674
5675 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5678         rewrite a loop
5679
5680 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5683         RowList::iterator.
5684
5685         * lyxtext.h (rows): drop one version and leve a const variant that
5686         returns a RowList::iterator.
5687
5688 2003-03-31  Angus Leeming  <leeming@lyx.org>
5689
5690         * text.C (fill): ensure that the signature is the same as that in the
5691         header file.
5692
5693 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * text2.C (redoParagraphs): adjust
5696         (updateCounters): adjust
5697         (checkParagraph): adjust
5698         (getColumnNearX): adjust and reformat a bit.
5699
5700         * text.C (top_y): adjust
5701         (workWidth): adjust
5702         (leftMargin): adjust
5703         (prepareToPrint): adjust
5704         (getRow): adjust
5705         (getRowNearY): adjust
5706
5707         * lyxtext.h: make rowlist_ mutable.
5708
5709         * RowList.h: add const_iterator
5710         * RowList.C: adjust for RowList::const_iterator.
5711
5712         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5713         adjust.
5714
5715 2003-03-31  John Levon  <levon@movementarian.org>
5716
5717         * lyxrc.h:
5718         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5719
5720         * lyx_main.C: set default fonts from using lyx_gui funcs
5721
5722         * exporter.C: pdf_mode moved from lyxrc
5723
5724         * lyx_cb.C:
5725         * lyxfunc.C: changes from above
5726
5727 2003-03-31  John Levon  <levon@movementarian.org>
5728
5729         * lyx_main.C: fix to the last fix
5730
5731 2003-03-31  John Levon  <levon@movementarian.org>
5732
5733         * bufferlist.C: "Load original" -> "Load Original"
5734
5735         * converter.C:
5736         * exporter.C:
5737         * importer.C:
5738         * lyx_main.C:
5739         * format.C: more Alert cleanups
5740
5741 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * text2.C (removeParagraph): make it take a RowList::iterator as
5744         arg, adjust.
5745         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5746         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5747
5748         * text.C (anchor_row): make it take a RowList::iterator as arg,
5749         adjust.
5750         (computeBidiTables): make it take a const reference to Row instead
5751         of Row pointer, adjust.
5752         (leftMargin): make it take a RowList::iterator as arg, adjust.
5753         (rowBreakPoint): adjust
5754         (breakAgainOneRow): make it take a RowList::iterator as arg,
5755         adjust.
5756         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5757
5758         * bufferview_funcs.C (toggleAndShow): adjust
5759
5760 2003-03-30  John Levon  <levon@movementarian.org>
5761
5762         * Makefile.am:
5763         * BoostFormat.h:
5764         * boost-inst.C: moved to support
5765
5766         * several files: changes as a result
5767
5768 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * text2.C (LyXText): adjust.
5771         (init): adjust
5772         (removeRow): make it take a RowList::iterator as arg, adjust.
5773         (fullRebreak): adjust
5774         (deleteEmptyParagraphMechanism): adjust
5775         (clearPaint): adjust
5776         (postPaint): adjust
5777
5778         * text.C (top_y): adjust
5779         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5780         (breakAgain): make it take a RowList::iterator as arg, adjust.
5781         (breakParagraph): adjust
5782         (insertChar): adjust
5783         (backspace): adjust
5784
5785         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5786         need_break_row, and refresh_row.
5787
5788         * text3.C (dispatch): adjust
5789
5790         * text2.C (checkParagraph): adjust
5791         (setCursor): adjust
5792         (setCursorFromCoordinates): adjust
5793
5794         * text.C (top_y): adjust
5795         (workWidth): adjust
5796         (getRow): make it return a RowList::iterator, adjust
5797         (getRowNearY): make it return a RowList::iterator, adjust
5798
5799         * text2.C (init): adjust
5800         (insertRow): remove function
5801         (insertParagraph): adjust
5802         (redoParagraphs): adjust
5803         (fullRebreak): adjust
5804         (updateCounters): adjust
5805
5806         * text.C (top_y): rewrite to use RowList iterators.
5807         (top_y): adjust
5808         (setHeightOfRow): rewrite to sue RowList iterators.
5809         (appendParagraph): adjust
5810         (breakAgain): adjust
5811         (breakAgainOneRow): adjust
5812         (breakParagraph): adjust
5813         (getRow): adjust
5814         (getRowNearY): adjust, and remove commented code.
5815
5816         * lyxtext.h (firstRow): delete function
5817         (lastRow): delete function
5818         (rows): new function (const and non-const versions.)
5819         (insertRow): delete function
5820
5821         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5822
5823 2003-03-29  John Levon  <levon@movementarian.org>
5824
5825         * BufferView_pimpl.C: always update scrollbar top
5826         because pasting text when we're anchored could mean we
5827         miss an update altogether
5828
5829 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * text2.C (init): use rowlist_.end() and not 0.
5832         (insertRow): change to take a RowList::iterator as arg, adjust
5833         for this.
5834         (insertParagraph): change to take a RowList::iterator as arg,
5835         adjust for this.
5836         (redoParagraphs): remove some debug msgs.
5837
5838         * text.C (appendParagraph): change to take a RowList::iterator
5839         arg, adjust for this.
5840         (breakAgain): add an assert
5841         (breakAgainOneRow): ditto
5842
5843 2003-03-29  John Levon  <levon@movementarian.org>
5844
5845         * text2.C: do not clear selection after inc/decDepth
5846         (bug 550)
5847
5848 2003-03-29  John Levon  <levon@movementarian.org>
5849
5850         * BufferView.C:
5851         * buffer.C: fix broken strerrors according to Lars
5852
5853 2003-03-29  John Levon  <levon@movementarian.org>
5854
5855         * converters.C: more Alert cleanups
5856
5857 2003-03-29  John Levon  <levon@movementarian.org>
5858
5859         * bufferview_funcs.C: remove pointless Alert
5860
5861         * buffer.C: fix confusing error message when
5862         a template is chmoded 000
5863
5864 2003-03-29  John Levon  <levon@movementarian.org>
5865
5866         * BufferView.C:
5867         * BufferView.h:
5868         * BufferView_pimpl.C: Alert fixes
5869
5870         * Makefile.am:
5871         * tabular.C:
5872         * tabular-old.C: remove unused table compat reading
5873
5874 2003-03-29  John Levon  <levon@movementarian.org>
5875
5876         * BufferView.C:
5877         * buffer.C:
5878         * lyx_cb.h:
5879         * lyx_cb.C: more Alert cleanups
5880
5881         * lyxfunc.C: don't allow chktex if not latex document
5882
5883 2003-03-29  John Levon  <levon@movementarian.org>
5884
5885         * lyx_cb.C:
5886         * BufferView.C:
5887         * buffer.C: warnings pushed down from support/,
5888         kill err_alert
5889
5890 2003-03-29  John Levon  <levon@movementarian.org>
5891
5892         * lyxfunc.C: safety check for C-r (revert)
5893
5894 2003-03-29  John Levon  <levon@movementarian.org>
5895
5896         * bufferlist.h:
5897         * bufferlist.C: several UI fixes using Alert::prompt.
5898         Fix the pointless looping quit code. Fix stupid revert
5899         behaviour (bug 938)
5900
5901         * lyxvc.h:
5902         * lyxvc.C:
5903         * lyx_cb.C: use Alert::prompt
5904
5905         * lyx_main.C: remove a silly question
5906
5907         * lyxfunc.C: remove a couple of silly questions,
5908         use Alert::prompt
5909
5910 2003-03-28  John Levon  <levon@movementarian.org>
5911
5912         * text2.C: fix bug 974 (End on empty par)
5913
5914 2003-03-28  John Levon  <levon@movementarian.org>
5915
5916         * BufferView_pimpl.C:
5917         * LyXAction.C:
5918         * lfuns.h: remove do-nothing math greek lfuns
5919
5920 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * lyxgluelength.h (isValidGlueLength): add default arg on
5923         parameter 2. Remove default arg from friend in class.
5924
5925         * lyxlength.h (isValidLength): add default arg on parameter 2.
5926         Remove default arg from friend in class.
5927
5928         * text2.C (LyXText): adjust, initialize refresh_row.
5929         (init): adjust
5930         (removeRow): adjust
5931         (insertRow): adjust
5932         (insertParagraph): adjst
5933         (redoParagraphs): adjust
5934         (fullRebreak): adjust
5935         (updateCounters): adjust
5936         (deleteEmptyParagraphMechanism): first attempt at fixing a
5937         crashing bug.
5938
5939         * text.C (top_y): adjust
5940         (setHeightOfRow): adjust
5941         (getRow): adjust
5942         (getRowNearY): adjust
5943
5944         * lyxtext.h: include RowList.h
5945         (~LyXText): not needed anymore, deleted.
5946         (firstRow): modify for RowList
5947         (lastRow): new function
5948         Delete firstrow and lastrow class variables, add a Rowlist
5949         rowlist_ class variable.
5950
5951         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5952         paragraph is empty.
5953
5954         * RowList.C (insert): fix case where it == begin().
5955
5956 2003-03-26  Angus Leeming  <leeming@lyx.org>
5957
5958         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5959         the thesaurus dialog.
5960
5961 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5964
5965         * RowList.[Ch]: new files
5966
5967         * ParagraphList.C (erase): handle the case where it == begin
5968         correctly.
5969
5970 2003-03-25  John Levon  <levon@movementarian.org>
5971
5972         * Makefile.am:
5973         * aspell_local.h:
5974         * aspell.C: add new aspell support
5975
5976         * lyxrc.h:
5977         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5978         have it accessible.
5979
5980 2003-03-25  Angus Leeming  <leeming@lyx.org>
5981
5982         * lfuns.h:
5983         * LyXAction.C (init): new LFUN_INSET_INSERT.
5984
5985         * BufferView_pimpl.C (dispatch): split out part of the
5986         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5987
5988         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5989         LFUN_INSET_APPLY.
5990
5991 2003-03-25  Angus Leeming  <leeming@lyx.org>
5992
5993         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5994
5995 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5996
5997         * text2.C:
5998         * text3.C: remove useless row->height(0)
5999
6000 2003-03-25  John Levon  <levon@movementarian.org>
6001
6002         * lyxtext.h:
6003         * text2.C:
6004         * text3.C: rename the refreshing stuff to better names
6005
6006 2003-03-24  John Levon  <levon@movementarian.org>
6007
6008         * BufferView_pimpl.h:
6009         * BufferView_pimpl.C: update layout choice on a mouse
6010         press/release
6011
6012 2003-03-23  John Levon  <levon@movementarian.org>
6013
6014         * Makefile.am: fix commandtags.h reference
6015
6016 2003-03-22  John Levon  <levon@movementarian.org>
6017
6018         * BufferView_pimpl.C:
6019         * lyxtext.h:
6020         * rowpainter.C:
6021         * rowpainter.h:
6022         * text.C:
6023         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6024
6025 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6026
6027         * lyxtext.h:
6028         * text.C: take the rtl methods out of line
6029
6030 2003-03-21 André Pönitz <poenitz@gmx.net>
6031
6032         * metricsinfo.[Ch]: new files containing structures to be passed around
6033         during the two-phase-drawing...
6034
6035 2003-03-21 André Pönitz <poenitz@gmx.net>
6036
6037         * lyxtextclass.C: read 'environment' tag.
6038
6039 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6040
6041         * text2.C (removeRow): fix bug 964
6042
6043 2003-03-20  John Levon  <levon@movementarian.org>
6044
6045         * rowpainter.C:
6046         * text.C:
6047         * text2.C: paint cleanups. Inset::update() dropped font
6048         parameter
6049
6050 2003-03-19  John Levon  <levon@movementarian.org>
6051
6052         * lyxfunc.C: only fitcursor/markDirty if available()
6053
6054 2003-03-19  John Levon  <levon@movementarian.org>
6055
6056         * commandtags.h: rename to ...
6057
6058         * lfuns.h: ... this, and renumber / cleanup
6059
6060 2003-03-19  John Levon  <levon@movementarian.org>
6061
6062         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6063         fit the cursor after an lfun
6064
6065         * BufferView.h:
6066         * BufferView.C:
6067         * BufferView_pimpl.h:
6068         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6069
6070         * LyXAction.C: layout-character should have ReadOnly
6071
6072         * ParagraphParameters.C:
6073         * buffer.C:
6074         * bufferview_funcs.C:
6075         * lyx_cb.C:
6076         * lyxfind.C:
6077         * lyxtext.h:
6078         * text.C:
6079         * text2.C:
6080         * text3.C:
6081         * undo_funcs.C: changes from above
6082
6083 2003-03-18  John Levon  <levon@movementarian.org>
6084
6085         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6086         remove it from update()
6087
6088         * lyxfunc.C: update layout choice after an lfun
6089
6090         * text3.C: remove extra updateLayoutChoice()s
6091
6092 2003-03-18  John Levon  <levon@movementarian.org>
6093
6094         * text.C: top_y change means full repaint, fix
6095         a drawing bug with cursor movement
6096
6097 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6098
6099         * lyxtext.h:
6100         * text.C:
6101         * text2.C: anchor row on setCursor
6102
6103 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * lyxtext.h: remove almost all mutable keywords
6106         * text.C:
6107         * text2.C:
6108         * text3.C: remove const keywords accordingly
6109
6110 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6113         anon namespace
6114         (TeXEnvironment): ditto
6115         (TeXOnePar): ditto
6116
6117 2003-03-17  John Levon  <levon@movementarian.org>
6118
6119         * text.C (rowBreakPoint): remove attempt to fix displayed
6120         math insets inside a manual label
6121
6122 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * lyxtext.h: remove BufferView* as first arg from almost all class
6125         functions.
6126         * other files: adjust.
6127
6128 2003-03-17  John Levon  <levon@movementarian.org>
6129
6130         * lyxtext.h:
6131         * undo_funcs.C:
6132         * text2.C: more paint cleanups
6133
6134         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6135
6136         * rowpainter.h:
6137         * rowpainter.C: remove "smart" background painting code
6138
6139 2003-03-16  John Levon  <levon@movementarian.org>
6140
6141         * lyxtext.h:
6142         * text.C:
6143         * text2.C:
6144         * text3.C: add helper functions for setting refresh_row/y
6145
6146 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6147
6148         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6149         newline inset which *can* get inserted in the pass_thru layouts.
6150         This is primarily for literate documents.
6151
6152 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6153
6154         * buffer.C: increment LYX_FORMAT to 223
6155
6156 2003-03-14 André Pönitz <poenitz@gmx.net>
6157
6158         * textclass.h: prepare for environment handling, ws changes
6159         * lyxlayout.C: read latexheader and latexfooter tags
6160
6161 2003-03-14  John Levon  <levon@movementarian.org>
6162
6163         * text2.C: rewrite ::status() a bit
6164
6165 2003-03-13  John Levon  <levon@movementarian.org>
6166
6167         * lyxtext.h: add some docs
6168
6169 2003-03-13  John Levon  <levon@movementarian.org>
6170
6171         * lyxtext.h:
6172         * text.C:
6173         * text2.C:
6174         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6175
6176 2003-03-13  John Levon  <levon@movementarian.org>
6177
6178         * text3.C: fix appendix redrawing
6179
6180 2003-03-13  John Levon  <levon@movementarian.org>
6181
6182         * text.C (setHeightOfRow):
6183         * rowpainter.h:
6184         * rowpainter.C: make appendix mark have the text
6185           "Appendix" so the user knows what it is
6186
6187         * LColor.h:
6188         * LColor.C: s/appendixline/appendix/ from above
6189
6190 2003-03-13  John Levon  <levon@movementarian.org>
6191
6192         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6193
6194         * text.C: fix a getChar(pos) bug properly
6195
6196 2003-03-13  Angus Leeming  <leeming@lyx.org>
6197
6198         * commandtags.h:
6199         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6200         Probably only temporary. Let's see how things pan out.
6201
6202         * BufferView.C (unlockInset):
6203         * BufferView_pimpl.C (fitCursor):
6204         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6205
6206         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6207         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6208
6209         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6210         new functions that convert ParagraphParameters to and from a string.
6211
6212         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6213         BufferView::Pimpl's dispatch.
6214         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6215
6216 2003-03-13 André Pönitz <poenitz@gmx.net>
6217
6218         * lyxfunc.C:
6219         * text3.C:
6220         * factory.C: make it aware of InsetEnv
6221
6222 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6223
6224         * text2.C (setCursor): never ask for one past last
6225         (setCursor): add some debugging messages.
6226
6227         * text.C (singleWidth): never ask for one past last
6228         (singleWidth): ditto
6229         (leftMargin): ditto
6230         (rightMargin): ditto
6231         (rowBreakPoint): ditto
6232         (setHeightOfRow): ditto
6233         (prepareToPrint): ditto
6234
6235         * rowpainter.C (paintBackground): never ask for one past last
6236         (paintText): never ask for one past last
6237
6238         * paragraph_pimpl.C (getChar): make the assert stricter, never
6239         allow the one past last pos to be taken
6240
6241         * paragraph.C (getChar): ws changes only
6242
6243         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6244         (numberOfSeparators): ditto
6245         (numberOfHfills): ditto
6246
6247 2003-03-12  John Levon  <levon@movementarian.org>
6248
6249         * author.h:
6250         * author.C:
6251         * bufferparams.h:
6252         * bufferparams.C:
6253         * paragraph_funcs.C: fix per-buffer authorlists
6254
6255 2003-03-12  John Levon  <levon@movementarian.org>
6256
6257         * text.C: fix newline in right address
6258
6259 2003-03-12  Angus Leeming  <leeming@lyx.org>
6260
6261         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6262         duplicate those in LyXFunc::dispatch.
6263
6264         * commandtags.h:
6265         * LyXAction.C:
6266         * ToolbarDefaults.C:
6267         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6268         Add LFUN_FONTFREE_UPDATE.
6269
6270         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6271         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6272
6273         * bufferview_func.[Ch]: several new functions to facilliate
6274         transfer of data to and from the character dialog.
6275
6276 2003-03-12  John Levon  <levon@movementarian.org>
6277
6278         * buffer.C:
6279         * paragraph.h:
6280         * paragraph.C:
6281         * paragraph_funcs.C:
6282         * paragraph_pimpl.C:
6283         * sgml.C:
6284         * tabular.C:
6285         * text.C:
6286         * text3.C: remove META_NEWLINE in favour of an inset
6287
6288         * rowpainter.h:
6289         * rowpainter.C: remove paintNewline (done by inset)
6290
6291 2003-03-12  John Levon  <levon@movementarian.org>
6292
6293         * paragraph_pimpl.C: complain about bad getChar()s
6294         for a while at least
6295
6296 2003-03-12  John Levon  <levon@movementarian.org>
6297
6298         * buffer.h:
6299         * buffer.C: move paragraph read into a separate function,
6300         a little renaming to reflect that.
6301
6302         * bufferparams.h:
6303         * bufferparams.C: remove the author_ids map, not necessary now
6304
6305         * factory.h:
6306         * factory.C: moved Buffer::readInset to here
6307
6308         * paragraph_funcs.h:
6309         * paragraph_funcs.C: readParagraph free function moved from
6310         buffer.C
6311
6312         * tabular.C: name change
6313
6314 2003-03-12  John Levon  <levon@movementarian.org>
6315
6316         * buffer.C:
6317         * ParagraphParameters.C: move par params input to
6318         a read() method
6319
6320         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6321         behave like a normal read from the stream wrt reading
6322         a line vs. a \\token
6323
6324 2003-03-12  John Levon  <levon@movementarian.org>
6325
6326         * paragraph.C:
6327         * ParagraphParameters.h:
6328         * ParagraphParameters.C: move output code to a
6329         ::write() method
6330
6331 2003-03-12  John Levon  <levon@movementarian.org>
6332
6333         * BufferView.C (insertLyXFile):
6334         * buffer.h:
6335         * buffer.C:
6336         * tabular.C: use a parlist iterator for creating the
6337           document.
6338
6339 2003-03-12  John Levon  <levon@movementarian.org>
6340
6341         * buffer.C: make current_change static local not
6342           static file-scope
6343
6344 2003-03-12  John Levon  <levon@movementarian.org>
6345
6346         * buffer.C: fix insertStringAsLines for change tracking
6347
6348 2003-03-12  John Levon  <levon@movementarian.org>
6349
6350         * BufferView.C:
6351         * tabular.C:
6352         * buffer.h:
6353         * buffer.C:
6354         * bufferparams.h:
6355         * bufferparams.C: move author list into params. Rename some
6356           functions. Move the header reading into a separate token
6357           loop. Move the header token reading into BufferParams.
6358
6359 2003-03-12  John Levon  <levon@movementarian.org>
6360
6361         * changes.C: put debug inside lyxerr.debugging() checks
6362
6363 2003-03-11 André Pönitz <poenitz@gmx.net>
6364
6365         * factory.C: make it aware of InsetHFill
6366
6367 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6368
6369         * buffer.C (latexParagraphs): move function from here...
6370         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6371         args.
6372
6373 2003-03-10  Angus Leeming  <leeming@lyx.org>
6374
6375         * LyXAction.C (init): fix bug in poplating array with multiple entries
6376         with the same LFUN (spotted by JMarc).
6377
6378 2003-03-10  John Levon  <levon@movementarian.org>
6379
6380         * text.C:
6381         * text2.C: move getColumnNearX() near its
6382         only call site
6383
6384 2003-03-10  John Levon  <levon@movementarian.org>
6385
6386         * text.C: fix break before a minipage
6387
6388 2003-03-10  John Levon  <levon@movementarian.org>
6389
6390         * text.C: fix the last commit
6391
6392 2003-03-09  John Levon  <levon@movementarian.org>
6393
6394         * lyxtext.h:
6395         * text.C:
6396         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6397         bug 365 (don't break before insets unless needed). Don't
6398         return a value > last under any circumstances.
6399
6400 2003-03-09  Angus Leeming  <leeming@lyx.org>
6401
6402         * BufferView_pimpl.C (trackChanges, dispatch): call
6403         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6404
6405 2003-03-09  Angus Leeming  <leeming@lyx.org>
6406
6407         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6408         than Dialogs::showAboutlyx().
6409
6410 2003-03-09  Angus Leeming  <leeming@lyx.org>
6411
6412         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6413         than Dialogs::showTabularCreate().
6414
6415 2003-03-09  John Levon  <levon@movementarian.org>
6416
6417         * lyxtext.h:
6418         * text.C:
6419         * text2.C: 3rd arg to nextBreakPoint was always the same.
6420           Use references.
6421
6422 2003-03-08  John Levon  <levon@movementarian.org>
6423
6424         * lyxrow.C:
6425         * paragraph.C:
6426         * paragraph.h:
6427         * rowpainter.C:
6428         * text.C:
6429         * text2.C: Remove the "main" bit from the "main body"
6430           notion.
6431
6432 2003-03-08  John Levon  <levon@movementarian.org>
6433
6434         * text.C (leftMargin): The left margin of an empty
6435         manual label paragraph should not include the label width
6436         string length.
6437
6438         * text.C (prepareToPrint): don't attempt to measure hfills
6439         for empty manual label paragraphs - the answer should be 0
6440
6441 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * CutAndPaste.C: remove commented code and reindent.
6444
6445 2003-03-08  John Levon  <levon@movementarian.org>
6446
6447         * lyxfunc.h:
6448         * lyxfunc.C: move reloadBuffer()
6449
6450         * BufferView.h:
6451         * BufferView.C: to here
6452
6453         * lyxvc.C: add comment
6454
6455         * vc-backend.h:
6456         * vc-backend.C: call bv->reload() to avoid
6457           getStatus() check on MENURELOAD
6458
6459 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6460
6461         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6462         to an old format .dep file.
6463
6464 2003-03-07  Angus Leeming  <leeming@lyx.org>
6465
6466         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6467         when the LFUN_MOUSE_RELEASE should have been handled by
6468         inset->localDispatch.
6469
6470 2003-03-07  Angus Leeming  <leeming@lyx.org>
6471
6472         * BufferView_pimpl.C (dispatch):
6473         * LyXAction.C (init):
6474         * ToolbarDefaults.C (init):
6475         * commandtags.h:
6476         * lyxfunc.C (getStatus):
6477         remove LFUN_INSET_GRAPHICS.
6478
6479         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6480
6481 2003-03-07  Angus Leeming  <leeming@lyx.org>
6482
6483         * commandtags.h:
6484         * LyXAction.C (init):
6485         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6486
6487         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6488
6489         * commandtags.h:
6490         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6491
6492         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6493         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6494
6495 2003-03-07  Angus Leeming  <leeming@lyx.org>
6496
6497         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6498         remove "ert".
6499
6500 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * ParagraphList.C (front): new function
6503         (back): implement
6504
6505 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6506
6507         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6508         and top_row_offset_. removed var first_y.
6509         * text.C (top_y):
6510         * text2.C (LyXText, removeRow):
6511         * text3.C:
6512         * BufferView_pimpl.C:
6513         use these methods instead of using first_y
6514
6515 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * text2.C (pasteSelection): adjust for checkPastePossible
6518
6519         * CutAndPaste.C: remove Paragraph * buf and replace with
6520         ParagraphList paragraphs.
6521         (DeleteBuffer): delete
6522         (cutSelection): change the tc type to textclass_type
6523         (copySelection): change the tc type to textclass_type
6524         (copySelection): adjust for ParagraphList
6525         (pasteSelection): change the tc type to textclass_type
6526         (pasteSelection): adjust for Paragraphlist
6527         (nrOfParagraphs): simplify for ParagraphList
6528         (checkPastePossible): simplify for ParagraphList
6529         (checkPastePossible): remove unused arg
6530
6531         * ParagraphList.C (insert): handle the case where there are no
6532         paragraphs yet.
6533
6534         * CutAndPaste.h: make CutAndPaste a namespace.
6535
6536         * text3.C (dispatch): adjust
6537
6538         * text.C (breakParagraph): add a ParagraphList as arg
6539
6540         * paragraph_funcs.C (breakParagraph): change to take a
6541         BufferParams and a ParagraphList as args.
6542         (breakParagraphConservative): ditto
6543         (mergeParagraph): ditto
6544         (TeXDeeper): add a ParagraphList arg
6545         (TeXEnvironment): ditto
6546         (TeXOnePar): ditto
6547
6548         * buffer.C (readLyXformat2): adjust
6549         (insertStringAsLines): adjust
6550         (latexParagraphs): adjust
6551
6552         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6553         (cutSelection): adjust
6554         (pasteSelection): adjust
6555
6556         * BufferView_pimpl.C (insertInset): adjust
6557
6558 2003-03-05  Angus Leeming  <leeming@lyx.org>
6559
6560         * commandtags.h:
6561         * LyXAction.C (init):
6562         * BufferView_pimpl.C (dispatch):
6563         * lyxfunc.C (getStatus):
6564         remove LFUN_CHILD_INSERT.
6565
6566         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6567
6568 2003-03-05  Angus Leeming  <leeming@lyx.org>
6569
6570         * commandtags.h:
6571         * LyXAction.C (init):
6572         * src/factory.C (createInset):
6573         * lyxfunc.C (getStatus):
6574         * text3.C (dispatch):
6575         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6576
6577         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6578
6579 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * ParagraphList.C (insert): handle insert right before end()
6582         (erase): fix cases where it can be first or last paragraph.
6583
6584 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6587         Paragraph::next and Paragraph::previous
6588         (TeXOnePar): ditto
6589
6590         * text.C (breakParagraph): adjust
6591
6592         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6593         BufferParams& as arg.
6594         (breakParagraph): use ParagraphList::insert
6595         (breakParagraphConservative): take a Buffer* instead of a
6596         BufferParams& as arg.
6597         (breakParagraphConservative): use ParagraphList::insert.
6598
6599         * buffer.C (insertStringAsLines): un-const it
6600         (insertStringAsLines): adjust
6601
6602         * ParagraphList.C (insert): new function
6603
6604         * CutAndPaste.C (pasteSelection): adjust
6605
6606         * text.C (backspace): adjust
6607
6608         * tabular.C (SetMultiColumn): adjust
6609
6610         * CutAndPaste.C (cutSelection): adjust
6611         (pasteSelection): adjust
6612
6613         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6614         Buffer const * as arg
6615
6616         * ParagraphList.C (erase): new function
6617         * paragraph_funcs.C (mergeParagraph): use it
6618         (mergeParagraph): make it take a Buffer* instead of a
6619         BufferParams* as arg
6620
6621         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6622         as arg
6623         (breakParagraphConservative): ditto
6624
6625         * paragraph.h: remove the breakParagraph friend
6626
6627         * paragraph.C (eraseIntern): new function
6628         (setChange): new function
6629
6630         * paragraph_funcs.C (mergeParagraph): make it take a
6631         ParagraphList::iterator instead of a Paragraph *, adjust
6632         accordingly.
6633
6634         * paragraph.h: move an #endif so that the change tracking stuff
6635         also works in the NO_NEXT case.
6636
6637 2003-03-04  Angus Leeming  <leeming@lyx.org>
6638
6639         * commandtags.h:
6640         * LyXAction.C: new LFUN_INSET_MODIFY.
6641
6642         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6643         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6644
6645 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * several files: ws changes only
6648
6649         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6650         (TeXEnvironment): ditto
6651         (TeXDeeper): ditto
6652
6653         * buffer.C (makeLaTeXFile): adjust
6654         (latexParagraphs): make it take ParagraphList::iterator as args
6655
6656 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * buffer.C (latexParagraphs): adjust
6659
6660         * paragraph.C (TeXOnePar): move function...
6661         (optArgInset): move function...
6662         (TeXEnvironment): move function...
6663         * paragraph_pimpl.C (TeXDeeper): move function...
6664         * paragraph_funcs.C: ...here
6665
6666         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6667
6668 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * buffer.C (readInset): remove compability code for old Figure and
6671         InsetInfo insets
6672
6673 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * buffer.C: ws changes
6676         (readInset):
6677
6678         * BufferView_pimpl.C: ditto
6679         * author.C: ditto
6680         * buffer.h: ditto
6681         * bufferlist.h: ditto
6682         * changes.h: ditto
6683         * lyxfunc.C: ditto
6684
6685 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6686
6687         * converter.[Ch]: split into itself +
6688         * graph.[Ch]
6689         * format.[Ch]
6690         * Makefile.am: += graph.[Ch] + format.[Ch]
6691         * MenuBackend.C
6692         * buffer.C
6693         * exporter.C
6694         * importer.C
6695         * lyx_main.C
6696         * lyxfunc.C
6697         * lyxrc.C: added #include "format.h"
6698
6699 2003-02-27  Angus Leeming  <leeming@lyx.org>
6700
6701         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6702           a label.
6703
6704         * factory.C (createInset): add "label" to the factory.
6705
6706         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6707           string and do no more.
6708
6709 2003-02-27  Angus Leeming  <leeming@lyx.org>
6710
6711         * commandtags.h:
6712         * LyXAction.C (init):
6713         * factory.C (createInset):
6714         * BufferView_pimpl.C (dispatch):
6715           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6716
6717         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6718
6719         * lyxfunc.C (dispatch):
6720         * text3.C (dispatch): pass name to params2string.
6721
6722 2003-02-26  Angus Leeming  <leeming@lyx.org>
6723
6724         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6725           blocks together.
6726           Rearrange the ~includes. Strip out the unnecessary ones.
6727
6728         * factory.C (createInset): reformat.
6729           create new insets for the various LFUN_XYZ_APPLY lfuns.
6730
6731 2003-02-26  John Levon  <levon@movementarian.org>
6732
6733         * lyxrow.h:
6734         * lyxrow.C: add isParStart,isParEnd helpers
6735
6736         * paragraph.h: make isInserted/DeletedText take refs
6737
6738         * paragraph_funcs.h:
6739         * paragraph_funcs.C: remove #if 0'd code
6740
6741         * lyxtext.h:
6742         * text3.C:
6743         * text2.C:
6744         * text.C: use lyxrow helpers above.
6745           Move draw and paint routines to RowPainter.
6746           Make several methods use refs not pointers.
6747           Make backgroundColor() const.
6748           Add markChangeInDraw(), isInInset().
6749           Merge changeRegionCase into changeCase.
6750           Make workWidth() shouldn't-happen code into an Assert.
6751
6752         * rowpainter.h:
6753         * rowpainter.C: new class for painting a row.
6754
6755         * vspace.h:
6756         * vspace.C: make inPixels take a ref
6757
6758 2003-02-26  Angus Leeming  <leeming@lyx.org>
6759
6760         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6761         LFUN_REF_APPLY.
6762
6763 2003-02-25  John Levon  <levon@movementarian.org>
6764
6765         * ispell.C: give the forked command a more accurate name
6766
6767 2003-02-22  John Levon  <levon@movementarian.org>
6768
6769         * toc.h:
6770         * toc.C: make TocItem store an id not a Paragraph *
6771           (bug #913)
6772
6773 2003-02-21  Angus Leeming  <leeming@lyx.org>
6774
6775         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6776           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6777           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6778           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6779           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6780           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6781
6782         * BufferView_pimpl.C (dispatch):
6783         * LyXAction.C (init):
6784         * factory.C (createInset):
6785         * lyxfunc.C (getStatus, dispatch):
6786         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6787
6788 2003-02-21  Angus Leeming  <leeming@lyx.org>
6789
6790         * BufferView_pimpl.C (MenuInsertLyXFile):
6791         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6792         * lyxfunc.C (menuNew, open, doImport):
6793           no longer pass a LyXView & to fileDlg.
6794
6795 2003-02-21  Angus Leeming  <leeming@lyx.org>
6796
6797         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6798         * LyXAction.C: change, BIBKEY to BIBITEM.
6799         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6800         Change InsetBibKey to InsetBibitem.
6801         Change BIBKEY_CODE to BIBITEM_CODE.
6802         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6803         * factory.C: replace insetbib.h with insetbibitem.h.
6804         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6805         * paragraph.C: replace insetbib.h with insetbibitem.h.
6806         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6807         Change bibkey() to bibitem().
6808         * text.C: remove insetbib.h.
6809         * text2.C: replace insetbib.h with insetbibitem.h.
6810         change bibkey() to bibitem().
6811         * text3.C: remove insetbib.h.
6812         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6813
6814 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6815
6816         * lyxrc.C (output): enclose user email in quotes (in case there are
6817         several words)
6818
6819 2003-02-18  John Levon  <levon@movementarian.org>
6820
6821         * buffer.h: add std::
6822
6823 2003-02-17  John Levon  <levon@movementarian.org>
6824
6825         * SpellBase.h:
6826         * ispell.h:
6827         * ispell.C:
6828         * pspell.h:
6829         * pspell.C: reworking. Especially in ispell, a large
6830           number of clean ups and bug fixes.
6831
6832         * lyxfunc.C: fix revert to behave sensibly
6833
6834 2003-02-17 André Pönitz <poenitz@gmx.net>
6835
6836         * LyXAction.C:
6837         * commandtags.h: new LFUN_INSERT_BIBKEY
6838
6839         * layout.h:
6840         * lyxlayout.C:
6841         * buffer.C:
6842         * factory.C:
6843         * text.C:
6844         * text2.C:
6845         * text3.C:
6846         * paragraph.[Ch]:
6847         * paragraph_func.C: remove special bibkey handling
6848
6849 2003-02-17  John Levon  <levon@movementarian.org>
6850
6851         * text.C (Delete): fix case where delete at the end of
6852           the very first paragraph would not merge the pars
6853
6854 2003-02-17  John Levon  <levon@movementarian.org>
6855
6856         * lyxrow.C: fix lastPrintablePos()
6857
6858 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * bufferparams.C (writeLaTeX): add a std:here
6861
6862         * buffer.C: and remove a using directive there
6863
6864 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6865
6866         * buffer.C (makeLaTeXFile): move the code that generates the
6867           preamble...
6868
6869         * bufferparams.C (writeLaTeX): ... in this new method
6870
6871         * LaTeXFeatures.C (getEncodingSet): make const
6872           (getLanguages): make const
6873
6874         * MenuBackend.C (binding): returns the binding associated to this
6875           action
6876           (add): sets the status of each item by calling getStatus. Adds
6877           some intelligence.
6878           (read): add support for OptSubMenu
6879           (expand): remove extra separator at the end of expanded menu
6880
6881 2003-02-15  John Levon  <levon@movementarian.org>
6882
6883         * BufferView.C:
6884         * BufferView_pimpl.C:
6885         * bufferlist.h:
6886         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6887           inset code that had no actual effect. Remove unneeded status
6888           code.
6889
6890 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6891
6892         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6893           in preamble
6894
6895 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6896
6897         * text.C (drawLengthMarker): also draw an arrow marker for
6898           symbolic lengths (medskip...)
6899
6900 2003-02-14  John Levon  <levon@movementarian.org>
6901
6902         * tabular.h:
6903         * tabular.C: better method names
6904
6905 2003-02-14  John Levon  <levon@movementarian.org>
6906
6907         * BufferView_pimpl.C:
6908         * bufferlist.C:
6909         * buffer.C:
6910         * converter.C:
6911         * lyx_cb.C:
6912         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6913           it's a more accurate name. Remove some pointless uses.
6914
6915 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6916
6917         * text2.C (LyXText): change order of initilizers to shut off
6918           warnings
6919
6920 2003-02-14  John Levon  <levon@movementarian.org>
6921
6922         * buffer.C: use ParIterator for getParFromID()
6923
6924         * paragraph.h:
6925         * paragraph.C:
6926         * paragraph_pimpl.h:
6927         * paragraph_pimpl.C: remove unused getParFromID()
6928
6929 2003-02-14  John Levon  <levon@movementarian.org>
6930
6931         * buffer.C: remove some very old #if 0'd parse code
6932
6933 2003-02-13  John Levon  <levon@movementarian.org>
6934
6935         * text.h:
6936         * text.C:
6937         * text2.C: move hfillExpansion(), numberOfSeparators(),
6938           rowLast(), rowLastPrintable(), numberofHfills(),
6939           numberOfLabelHfills() ...
6940
6941         * lyxrow.h:
6942         * lyxrow.C: ... to member functions here.
6943
6944         * paragraph.h:
6945         * paragraph.C:
6946         * lyxtext.h:
6947         * text.C: remove LyXText::beginningOfMainBody(), and call
6948           p->beginningOfMainBody() directly. Move the check for
6949           LABEL_MANUAL into the latter.
6950
6951         * text.h:
6952         * text.C:
6953         * text2.C:
6954         * vspace.C:
6955         * BufferView.h:
6956         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6957
6958         * text.h:
6959         * text.C:
6960         * text2.C:
6961         * text3.C:
6962         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6963           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6964
6965 2003-02-13  John Levon  <levon@movementarian.org>
6966
6967         * CutAndPaste.C: remove debug
6968
6969 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6970
6971         * paragraph.C (asString): remove two unused variables
6972
6973         * lyxtextclass.C (readTitleType):
6974           (Read):
6975           (LyXTextClass): handle new members titletype_ and titlename_
6976
6977         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6978
6979 2003-02-09  John Levon  <levon@movementarian.org>
6980
6981         * buffer.h:
6982         * buffer.C: replace hand-coded list with a map for the dep clean
6983
6984 2003-02-08  John Levon  <levon@movementarian.org>
6985
6986         * LaTeX.C: consolidate code into showRunMessage() helper
6987
6988 2003-02-08  John Levon  <levon@movementarian.org>
6989
6990         * lyxfind.C:
6991         * lyxtext.h:
6992         * text2.C:
6993         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6994           and pass the size in explicitly
6995
6996         * BufferView_pimpl.h:
6997         * BufferView_pimpl.C:
6998         * BufferView.h:
6999         * BufferView.C: add getCurrentChange()
7000
7001         * BufferView_pimpl.h:
7002         * BufferView_pimpl.C: handle change lfuns
7003
7004         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7005           for changes. Mark pasted paragraphs as new.
7006
7007         * support/lyxtime.h:
7008         * support/lyxtime.C:
7009         * DepTable.C: abstract time_t as lyx::time_type
7010
7011         * LColor.h:
7012         * LColor.C: add colours for new text, deleted text, changebars
7013
7014         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7015           package use "usenames" option.
7016
7017         * commandtags.h:
7018         * lyxfunc.C:
7019         * LyXAction.C: add change lfuns
7020
7021         * Makefile.am:
7022         * author.h:
7023         * author.C: author handling
7024
7025         * buffer.h:
7026         * buffer.C: add a per-buffer author list, with first entry as
7027           current author. Handle new .lyx tokens for change tracking. Output
7028           author list to .lyx file. Output dvipost stuff to .tex preamble.
7029           Bump lyx format to 222.
7030
7031         * bufferlist.h:
7032         * bufferlist.C: add setCurrentAuthor() to reset current author details
7033           in all buffers.
7034
7035         * bufferparams.h:
7036         * bufferparams.C: add param for tracking
7037
7038         * bufferview_funcs.C: output change info in minibuffer
7039
7040         * Makefile.am:
7041         * changes.h:
7042         * changes.C: add change-tracking structure
7043
7044         * debug.h:
7045         * debug.C: add CHANGES debug flag
7046
7047         * lyxfind.h:
7048         * lyxfind.C: add code for finding the next change piece
7049
7050         * lyxrc.h:
7051         * lyxrc.C: add user_name and user_email
7052
7053         * lyxrow.h:
7054         * lyxrow.C: add a metric for the top of the text line
7055
7056         * lyxtext.h:
7057         * text.C: implement accept/rejectChange()
7058
7059         * lyxtext.h:
7060         * text.C: paint changebars. Paint new/deleted text in the chosen
7061         colours. Strike through deleted text.
7062
7063         * paragraph.h:
7064         * paragraph.C:
7065         * paragraph_pimpl.h:
7066         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7067           in the current change to the insert functions. Rework erase to
7068           mark text as deleted, adding an eraseIntern() and a range-based
7069           erase(). Implement per-paragraph change lookup and
7070           accept/reject.
7071
7072         * paragraph_funcs.C: Fixup paste for change tracking.
7073
7074         * tabular.C: mark added row/columns as new.
7075
7076         * text.C: fix rowLast() to never return -1. Don't allow
7077           spellchecking of deleted text. Track transpose changes. Don't
7078           allow paragraph break or merge where appropriate.
7079
7080         * text2.C: leave cursor at end of selection after a cut.
7081
7082 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7083
7084         * text.C (getLengthMarkerHeight):
7085         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7086         visible on screen too.
7087
7088 2003-02-07  John Levon  <levon@movementarian.org>
7089
7090         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7091
7092 2003-02-05  Angus Leeming  <leeming@lyx.org>
7093
7094         * lyxserver.C (read_ready): revert my patch of 11 September last year
7095         as it sends PC cpu through the roof. Presumably this means that
7096         the lyxserver will no longer run on an Alpha...
7097
7098 2003-01-30  Angus Leeming  <leeming@lyx.org>
7099
7100         * factory.C (createInset): create an InsetCommandParam of type "index"
7101         and use it to 'do the right thing'.
7102
7103         * text2.C (getStringToIndex): ensure that cursor position is always
7104         reset to the reset_cursor position.
7105
7106 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7107
7108         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7109         disabled.
7110
7111 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7112
7113         * bufferview.C:
7114         * lyxcb.C:
7115         * lyxfunc.C: Output messages with identical spelling, punctuation,
7116         and spaces
7117
7118 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7119
7120         * MenuBackend.C (expandFormats): List only viewable export formats
7121         in "View" menu
7122
7123         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7124         message
7125
7126         * lyxfunc.C (getStatus): Make sure that formats other than
7127         "fax" can also be disabled
7128
7129 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * text3.C (dispatch): put the lfuns that insert insets in 3
7132         groups, and call doInsertInset with appropriate arguments.
7133         (doInsertInset): new function, that creates an inset and inserts
7134         it according to some boolean parameters.
7135
7136 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * buffer.C (readFile): remember to pass on 'par' when calling
7139         readFile recursively.
7140
7141 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7142
7143         * MenuBackend.C (expandFormats): add "..." to import formats.
7144
7145 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7146
7147         * paragraph.C (asString): Remove XForms RTL hacks.
7148
7149 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7150         * buffer.C: fix typo
7151
7152 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * Makefile.am (LIBS): delete var
7155         (lyx_LDADD): add @LIBS@ here instead.
7156
7157 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7158
7159         * Clarify the meaning of "wheel mouse jump"
7160
7161 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7162
7163         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7164         tabular in a float
7165
7166 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7167
7168         * importer.C (Loaders): do not preallocate 3 elements in the
7169         vector, since one ends up with 6 elements otherwise
7170
7171 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7172
7173         * DepTable.C (write): write the file name as last element of the
7174         .dep file (because it may contain spaces)
7175         (read): read info in the right order
7176
7177 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7178
7179         * paragraph_pimpl.C (simpleTeXBlanks):
7180         (simpleTeXSpecialChars):
7181         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7182
7183         * tabular.C (latex): add some missing case statements. Reindent.
7184
7185         * MenuBackend.C (expandToc): remove unused variable.
7186
7187 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7188
7189         * LColor.C:
7190         * LaTeX.C:
7191         * LyXAction.C:
7192         * MenuBackend.C:
7193         * buffer.C:
7194         * exporter.C:
7195         * lyxfunc.C:
7196         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7197         and the like.
7198
7199 2003-01-05  John Levon  <levon@movementarian.org>
7200
7201         * BufferView.h:
7202         * BufferView.C: add getEncoding()
7203
7204         * kbsequence.h:
7205         * kbsequence.C: do not store last keypress
7206
7207         * lyxfunc.h:
7208         * lyxfunc.C: store last keypress here instead. Pass encoding
7209           to getISOEncoded()
7210
7211 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7212
7213         * lyx_main.C (init): remove annoying error message when following
7214         symbolic links (bug #780)
7215
7216 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7217
7218         * text.C (insertChar):
7219         * lyxrc.C (getDescription): remove extra spaces
7220
7221 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7222
7223         * lyxrc.C (getDescription): remove extra spaces
7224
7225 2002-12-20  John Levon  <levon@movementarian.org>
7226
7227         * text3.C: hack fix for page up/down across tall rows
7228
7229 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7230
7231         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7232         not been invoked
7233
7234 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7235
7236         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7237         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7238         thesaurus is not compiled in
7239
7240 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7241
7242         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7243
7244 2002-12-16  Angus Leeming  <leeming@lyx.org>
7245
7246         * lyxrc.[Ch]:
7247         * lyx_main.C (init): remove override_x_deadkeys stuff.
7248
7249 2002-12-12  John Levon  <levon@movementarian.org>
7250
7251         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7252           insert. Only remove shift modifier under strict
7253           circumstances.
7254
7255 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * MenuBackend.C (expandToc): fix crash.
7258
7259 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * MenuBackend.C (expandToc): gettext on float names.
7262
7263 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7264
7265         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7266         implement bool empty() [bug 490]
7267
7268 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7271
7272 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * several files: ws changes
7275
7276 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * text2.C (setCounter): clean up a bit, use boost.format.
7279         (updateCounters): initialize par upon declaration.
7280
7281         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7282         if the layout exists. We do not just store the layout any more.
7283         (SwitchLayoutsBetweenClasses): use boost.format
7284
7285 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7286
7287         * converter.C (convert): if from and to files are the same, use a
7288         temporary files as intermediary
7289
7290 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7291
7292         * commandtags.h:
7293         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7294
7295 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7296
7297         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7298
7299 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * tabular.C (asciiPrintCell): use string(size, char) instead of
7302         explicit loop.
7303
7304         * sgml.C (openTag): fix order of arguments to string constructor
7305         (closeTag): ditto
7306
7307         * lyxfunc.C (dispatch): use boost.format
7308
7309         * lots of files: change "c" -> 'c'
7310
7311 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7312
7313         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7314
7315 2002-11-25  Angus Leeming  <leeming@lyx.org>
7316
7317         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7318
7319         * lyx_main.C (init): compile fix.
7320
7321 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * lyx_cb.C (start): boost.formatify
7324         do not include <iostream>
7325
7326         * lengthcommon.C: ws only
7327
7328         * boost-inst.C,BoostFormat.h: add more explict instantations
7329
7330 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * lots of files: handle USE_BOOST_FORMAT
7333
7334 2002-11-21  John Levon  <levon@movementarian.org>
7335
7336         * pspell.C: fix compile
7337
7338 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7339
7340         * lyxfunc.C (dispatch): use boost::format
7341         (open): ditto
7342         (doImport): ditto
7343
7344         * lyxfont.C (stateText): use boost::format
7345
7346         * lyx_main.C (LyX): use boost::format
7347         (init): ditto
7348         (queryUserLyXDir): ditto
7349         (readRcFile): ditto
7350         (parse_dbg): ditto
7351         (typedef boost::function): use the recommened syntax.
7352
7353         * importer.C (Import): use boost::format
7354
7355         * debug.C (showLevel): use boost::format
7356
7357         * converter.C (view): use boost::format
7358         (convert): ditto
7359         (move): ditto
7360         (scanLog): ditto
7361
7362         * bufferview_funcs.C (currentState): use boost::format
7363
7364         * bufferlist.C (emergencyWrite): use boost::format
7365
7366         * buffer.C (readLyXformat2): use boost::format
7367         (parseSingleLyXformat2Token): ditto
7368
7369         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7370
7371         * LaTeX.C (run): use boost::format
7372
7373         * Chktex.C (scanLogFile): use boost::format
7374
7375         * BufferView_pimpl.C (savePosition): use boost::format
7376         (restorePosition): ditto
7377         (MenuInsertLyXFile): ditto
7378
7379         * BoostFormat.h: help file for explicit instation.
7380
7381 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * tabular.C (latex): Support for block alignment in fixed width
7384         columns.
7385
7386 2002-11-17  John Levon  <levon@movementarian.org>
7387
7388         * BufferView_pimpl.C:
7389         * lyx_cb.C:
7390         * lyxfunc.C: split filedialog into open/save
7391
7392 2002-11-08  Juergen Vigna  <jug@sad.it>
7393
7394         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7395         by my last patch (hopefully).
7396
7397 2002-11-08  John Levon  <levon@movementarian.org>
7398
7399         * iterators.h:
7400         * iterators.C:
7401         * buffer.h:
7402         * buffer.C:
7403         * paragraph.h:
7404         * paragraph.C:
7405         * toc.h:
7406         * toc.C: ParConstIterator, and use it (from Lars)
7407
7408 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7409
7410         * lyxtextclass.[Ch]: revise and add doxygen comments
7411
7412 2002-11-07  John Levon  <levon@movementarian.org>
7413
7414         * text.C: fix progress value for spellchecker
7415
7416         * toc.C: fix navigate menu for insetwrap inside minipage
7417
7418         * paragraph_funcs.C: added FIXME for suspect code
7419
7420 2002-11-07  John Levon  <levon@movementarian.org>
7421
7422         * BufferView_pimpl.C: fix redrawing of insets
7423           on buffer switch
7424
7425 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7426
7427         * text2.C (updateCounters): fix bug 668
7428
7429 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7430
7431         * text3.C (dispatch): Do not make the buffer dirty when moving the
7432         cursor.
7433
7434 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * vc-backend.C: STRCONV
7437         (scanMaster): ditto
7438
7439         * text2.C (setCounter): STRCONV
7440
7441         * paragraph.C (asString): STRCONV
7442
7443         * lyxlength.C (asString): STRCONV
7444         (asLatexString): ditto
7445
7446         * lyxgluelength.C (asString): STRCONV
7447         (asLatexString): ditto
7448
7449         * lyxfunc.C (dispatch): STRCONV
7450         (open): ditto
7451
7452         * lyxfont.C (stateText): STRCONV
7453
7454         * importer.C (Import): STRCONV
7455
7456         * counters.C (labelItem): STRCONV
7457         (numberLabel): ditto
7458         (numberLabel): remove unused ostringstream o
7459
7460         * chset.C: STRCONV
7461         (loadFile): ditto
7462
7463         * bufferview_funcs.C (currentState): STRCONV
7464
7465         * buffer.C (readFile): STRCONV
7466         (asciiParagraph): ditto
7467         (makeLaTeXFile): ditto
7468
7469         * Spacing.C (writeEnvirBegin): STRCONV
7470
7471         * LaTeXFeatures.C (getLanguages): STRCONV
7472         (getPackages): ditto
7473         (getMacros): ditto
7474         (getBabelOptions): ditto
7475         (getTClassPreamble): ditto
7476         (getLyXSGMLEntities): ditto
7477         (getIncludedFiles): ditto
7478
7479         * LaTeX.C: STRCONV
7480         (run): ditto
7481         (scanAuxFile): ditto
7482         (deplog): ditto
7483
7484         * LString.h: add the STRCONV macros
7485
7486         * BufferView_pimpl.C (savePosition): STRCONV
7487         (restorePosition): ditto
7488         (MenuInsertLyXFile): ditto
7489
7490         * vc-backend.C (scanMaster): change from submatch[...] to
7491         submatch.str(...)
7492
7493         * funcrequest.C: include config.h
7494
7495         * factory.C: include config.h
7496
7497         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7498
7499         * box.C: include config.h
7500
7501         * LaTeX.C (scanAuxFile): change from submatch[...] to
7502         submatch.str(...)
7503         (deplog): ditto
7504
7505 2002-10-25  Angus Leeming  <leeming@lyx.org>
7506
7507         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7508
7509         * ispell.[Ch] (setError): new method.
7510         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7511         Use setError() insetead of goto END.
7512
7513         * lyx_cb.C (AutoSave): move out child process into new class
7514         AutoSaveBuffer.
7515
7516 2002-10-30  John Levon  <levon@movementarian.org>
7517
7518         * text3.C: make start appendix undoable
7519
7520 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7521
7522         * lyxlength.C (inPixels): Fix returned value.
7523
7524         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7525         environment.
7526
7527 2002-10-24  Angus Leeming  <leeming@lyx.org>
7528
7529         * lyxgluelength.h: no need to forward declare BufferParams
7530         or BufferView, so don't.
7531
7532 2002-10-21  John Levon  <levon@movementarian.org>
7533
7534         * BufferView.C: menuUndo ->undo, redo
7535
7536         * BufferView.h: document, remove dead, make some methods private
7537
7538         * paragraph_funcs.h:
7539         * paragraph_funcs.C:
7540         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7541
7542         * buffer.h:
7543         * buffer.C:
7544         * sgml.h:
7545         * sgml.C: move sgml open/close tag into sgml.C
7546
7547         * bufferview_funcs.h: unused prototype
7548
7549         * lyxfunc.h:
7550         * lyxfunc.C: remove unused
7551
7552         * lyxtext.h:
7553         * text.C: remove unused
7554
7555 2002-10-21  John Levon  <levon@movementarian.org>
7556
7557         * BufferView.h:
7558         * BufferView.C:
7559         * BufferView_pimpl.h:
7560         * BufferView_pimpl.C: fix mouse wheel handling based on
7561           patch from Darren Freeman
7562
7563 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7564
7565         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7566
7567 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7568
7569         * lyxlength.C (inPixels): Fix hanfling of negative length.
7570         Fix LyXLength::MU case.
7571
7572 2002-10-16  John Levon  <levon@movementarian.org>
7573
7574         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7575
7576 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7577
7578         * converter.C (view): add support for $$i (file name) and $$p
7579         (file path) for the viewer command. If $$i is not specified, then
7580         it is appended to the command (for compatibility with old syntax)
7581
7582 2002-10-14  Juergen Vigna  <jug@sad.it>
7583
7584         * undo_funcs.C (textHandleUndo): alter the order in which the
7585         new undopar is added to the LyXText, as we have to set first
7586         the right prev/next and then add it as otherwise the rebuild of
7587         LyXText is not correct. Also reset the cursor to the right paragraph,
7588         with this IMO we could remove the hack in "redoParagraphs()".
7589
7590 2002-10-09  Angus Leeming  <leeming@lyx.org>
7591
7592         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7593         to turn off an optimisation if a new inset is to be inserted.
7594
7595 2002-10-11 André Pönitz <poenitz@gmx.net>
7596
7597         * lyxtext.h: make some functions public to allow access
7598         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7599
7600 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7601
7602         * text3.C (dispatch): when changing layout, avoid an infinite loop
7603         [bug #652]
7604
7605 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7606
7607         * lyxrc.C (read): treat a viewer or converter command of "none" as
7608         if it were empty.
7609
7610         * MenuBackend.C (expandFormats): for an update, also allow the
7611         formats that are not viewable
7612
7613         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7614         script if it is newer than the lyxrc.defaults in user directory
7615
7616 2002-10-07 André Pönitz <poenitz@gmx.net>
7617
7618         * text.C: Vitaly Lipatov's small i18n fix
7619
7620 2002-09-25  Angus Leeming  <leeming@lyx.org>
7621
7622         * ispell.h: doxygen fix.
7623
7624 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * buffer.h (readFile): Add a new argument to the method, to allow
7627         reading of old-format templates.
7628
7629 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7630
7631         * toc.C (getTocList): Get TOC from InsetWrap.
7632
7633 2002-09-16  John Levon  <levon@movementarian.org>
7634
7635         * lyxfunc.C: check tabular for cut/copy too
7636
7637 2002-09-12  John Levon  <levon@movementarian.org>
7638
7639         * LyXAction.C: tidy
7640
7641         * factory.h:
7642         * factory.C: add header
7643
7644         * paragraph_funcs.h:
7645         * paragraph_funcs.C: cleanup
7646
7647 2002-09-11  John Levon  <levon@movementarian.org>
7648
7649         * PrinterParams.h: odd/even default to true
7650
7651 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7652
7653         * PrinterParams.h: update printer parameters for new xforms dialog
7654
7655 2002-09-11  Angus Leeming  <leeming@lyx.org>
7656
7657         * lyxserver.C (read_ready): re-write to make it more transparent
7658         and to make it work in coherent fashion under Tru64 Unix.
7659
7660 2002-09-11  André Pönitz <poenitz@gmx.net>
7661
7662         * commandtags.h:
7663         * LyXAction.C:
7664         * text3.C: implement LFUN_WORDSEL
7665
7666 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7669         make floatlist_ a boost::shared_ptr<FloatList>
7670
7671         * lyxtextclass.C: include FloatList.h
7672         (LyXTextClass): initialize floatlist_
7673         (TextClassTags): add TC_NOFLOAT
7674         (Read): match "nofloat" to TC_NOFLOAT and use it.
7675         (readFloat): modify call to floatlist_
7676         (floats): ditto
7677         (floats): ditto
7678
7679         * FloatList.[Ch] (FloatList): remove commented out float
7680         initialization.
7681         (erase): new function
7682
7683 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7684
7685         * MenuBackend.C (expandToc): fix crash when there is no document
7686         open
7687
7688 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7689
7690         * many files: Add insetwrap.
7691
7692 2002-09-09  John Levon  <levon@movementarian.org>
7693
7694         * text2.C: remove confusing and awkward depth wraparound
7695
7696 2002-09-09  John Levon  <levon@movementarian.org>
7697
7698         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7699
7700         * buffer.h:
7701         * buffer.C: remove getIncludeonlyList()
7702
7703         * paragraph.C:
7704         * lyxfunc.C: remove headers
7705
7706 2002-09-09  Juergen Vigna  <jug@sad.it>
7707
7708         * text.C (getColumnNearX): fix form Michael this is most
7709         probably a cut&paste bug.
7710
7711 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7714
7715         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7716         references, ws changes.
7717
7718         * text2.C (init): update counters after init
7719         (insertParagraph): no need to set counter on idividual paragraphs.
7720         (setCounter): access the counters object in the textclass object
7721         on in the buffer object.
7722         (updateCounters): ditto
7723
7724         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7725         shared_ptr<Counters> to avoid loading counters.h in all
7726         compilation units.
7727         (LyXTextClass): initialize ctrs_
7728         (TextClassTags): add TC_COUNTER, and ...
7729         (Read): use it here.
7730         (CounterTags): new tags
7731         (readCounter): new function
7732         (counters): new funtion
7733         (defaultLayoutName): return a const reference
7734
7735         * counters.C (Counters): remove contructor
7736         (newCounter): remove a couple of unneeded statements.
7737         (newCounter): simplify a bit.
7738         (numberLabel): some small formatting changes.
7739
7740         * buffer.[Ch]: remove all traces of counters, move the Counters
7741         object to the LyXTextClass.
7742
7743 2002-09-06  Alain Castera  <castera@in2p3.fr>
7744
7745         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7746         package to set the horizontal alignment on fixed width columns.
7747
7748         * lyx_sty.C:
7749         * lyx_sty.h: added tabularnewline macro def.
7750
7751         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7752
7753 2002-09-06  John Levon  <levon@movementarian.org>
7754
7755         * LyXAction.C: tooltips for sub/superscript
7756
7757         * MenuBackend.C: a bit more verbose
7758
7759         * lyxfunc.C: tiny clean
7760
7761         * undo_funcs.C: document undo_frozen
7762
7763 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * counters.C (Counters): add missing algorithm counter.
7766
7767         * text2.C (setCounter): lookup the counter with layouts latexname
7768         instead of by section number.
7769         (setCounter): use a hackish way to lookup the correct enum
7770         counter.
7771         a float name->type change
7772         reset enum couners with counter name directly instead of depth value.
7773
7774         * counters.C (Counters): remove the push_backs, change to use the
7775         float type not the float name.
7776         (labelItem): remove unused string, float name->type change
7777
7778         * counters.h: don't include vector, loose the enums and sects vectors
7779
7780 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7783         (Read): add float->TC_FLOAT to textclassTags
7784         (Read): and handle it in the switch
7785         (readFloat): new function
7786
7787         * FloatList.C (FloatList): comment out the hardcoded float
7788         definitions.
7789
7790         * lyxlayout.h: ws change.
7791
7792 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7793
7794         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7795
7796 2002-09-03  Angus Leeming  <leeming@lyx.org>
7797
7798         * BufferView_pimpl.h: qualified name is not allowed in member
7799         declaration: WorkArea & Pimpl::workarea() const;
7800
7801         * factory.C: added using std::endl directive.
7802
7803         * text3.C: added using std::find and std::vector directives.
7804
7805 2002-08-29  André Pönitz <poenitz@gmx.net>
7806
7807         * lyxtext.h:
7808         * text2.C: remove unused member number_of_rows
7809
7810         * Makefile.am:
7811         * BufferView2.C: remove file, move contents to...
7812         * BufferView.C: ... here
7813
7814         * BufferView_pimpl.C:
7815         * factory.C: move more inset creation to factory
7816
7817         * vspace.C: avoid direct usage of LyXText, ws changes
7818
7819         * BufferView.[Ch]:
7820                 don't provide direct access to WorkArea, use two simple
7821                 acessors haveSelction() and workHeight() instead
7822
7823
7824 2002-08-29  John Levon  <levon@movementarian.org>
7825
7826         * BufferView_pimpl.C (dispatch): do not continue when
7827           no buffer
7828
7829 2002-08-28  André Pönitz <poenitz@gmx.net>
7830
7831         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7832
7833         * BufferView.h:
7834         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7835
7836 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7837
7838         * buffer.C: increment LYX_FORMAT to 221
7839
7840         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7841         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7842
7843         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7844
7845         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7846
7847 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7848
7849         * factory.C (createInset): use LyXTextClass::floats
7850
7851         * MenuBackend.C (expandFloatListInsert):
7852         (expandFloatInsert):
7853         (expandToc):
7854
7855         * text2.C (setCounter):
7856
7857         * LaTeXFeatures.C (useFloat):
7858         (getFloatDefinitions):
7859
7860         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7861
7862         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7863         floatlist_, with accessor floats().
7864
7865         * FloatList.h: remove global FloatList
7866
7867 2002-08-26  André Pönitz <poenitz@gmx.net>
7868
7869         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7870
7871         * BufferView.h:
7872         * BufferView2.C:
7873         * BufferView_pimpl.C:
7874         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7875
7876 2002-08-25  John Levon  <levon@movementarian.org>
7877
7878         * LyXAction.C: fix margin note description
7879
7880 2002-08-24  John Levon  <levon@movementarian.org>
7881
7882         * buffer.C:
7883         * bufferlist.C:
7884         * bufferview_funcs.C:
7885         * lyxfont.C:
7886         * undo_funcs.C: cleanups
7887
7888         * lyxfunc.C: disable CUT/COPY when no selection
7889
7890 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7891
7892         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7893         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7894
7895         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7896         Add backward compatibility to "mono", "gray" and "no".
7897
7898 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7899
7900         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7901         (and file_format >= 200).
7902
7903 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7904
7905         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7906
7907 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7908
7909         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7910
7911 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7912
7913         * BufferView_pimpl.C:
7914         * LyXAction.C:
7915         * buffer.C:
7916         * commandtags.h:
7917         * lyxfunc.C:
7918         * paragraph.[Ch]:
7919         * text2.C:
7920         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7921         inset and code to make it  work with the paragraph code. The inset
7922         can be anywhere in the paragraph, but will only do the expected
7923         thing in LaTeX if the layout file contains the parameter line
7924                         OptionalArgs    1
7925         (or more generally, a nonzero value) for that layout.
7926
7927 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7928
7929         * paragraph.h: remove the declaration of undefined counters class
7930         function.
7931
7932 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7933
7934         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7935         Dr. Richard Hawkins.
7936
7937 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7938
7939         * paragraph_funcs.h: remove some unneeded includes
7940
7941         * text.C (backspace): pasteParagraph now in global scipe
7942
7943         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7944         (pasteSelection): ditto
7945
7946         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7947         * paragraph_funcs.C (pasteParagraph): ... here
7948
7949 2002-08-20  André Pönitz <poenitz@gmx.net>
7950
7951         * commandtags.h: new LFUNs for swapping/copying table row/colums
7952
7953         * LyXAction.C:
7954         * lyxfunc.C: support for new lfuns
7955
7956 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * tabular.C:
7959         * buffer.[Ch]: remove NO_COMPABILITY stuff
7960
7961 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * boost.C (throw_exception): new file, with helper function for
7964         boost compiled without exceptions.
7965
7966         * paragraph.h:
7967         * lyxlength.C:
7968         * buffer.C:
7969         * ParameterStruct.h:
7970         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7971
7972         * bufferlist.C (emergencyWriteAll): use boost bind
7973
7974         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7975
7976         * text.C: include paragraph_funcs.h
7977         (breakParagraph): breakParagraph is now in global scope
7978
7979         * paragraph_funcs.[Ch]: new files
7980
7981         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7982         global scope
7983
7984         * buffer.C: include paragraph_funcs.h
7985         (insertStringAsLines): breakParagraph is now in global scope
7986
7987         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7988         paragraph_funcs.C
7989
7990         * CutAndPaste.C: include paragraph_funcs.h
7991         (cutSelection): breakParagraphConservative is now in global scope
7992         (pasteSelection): ditto
7993
7994         * buffer.h: declare oprator== and operator!= for
7995         Buffer::inset_iterator
7996
7997         * bufferlist.C (emergencyWrite): don't use fmt(...)
7998
7999         * text3.C: add using std::endl
8000
8001         * BufferView.C (moveCursorUpdate): remove default arg
8002
8003 2002-08-20  André Pönitz <poenitz@gmx.net>
8004
8005         * buffer.[Ch]: move inline functions to .C
8006
8007         * BufferView2.C:
8008         * BufferView_pimpl.C:
8009         * text.C:
8010         * buffer.[Ch]: use improved inset_iterator
8011
8012         * buffer.C:
8013         * paragraph.[Ch]: write one paragraph at a time
8014
8015 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8016
8017         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8018         style if style is not specified.
8019
8020 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8021
8022         * text2.C (setCounter): when searching for right label for a
8023         caption, make sure to recurse to parent insets (so that a caption
8024         in a minipage in a figure float works) (bug #568)
8025
8026 2002-08-20  André Pönitz <poenitz@gmx.net>
8027
8028         * text3.C: new file for LyXText::dispatch() and helpers
8029
8030         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8031
8032         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8033
8034 2002-08-19  André Pönitz <poenitz@gmx.net>
8035
8036         * lyxtext.h:
8037         * text.C: new LyXText::dispatch()
8038
8039         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8040
8041 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8042
8043         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8044
8045         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8046         Hebrew text.
8047
8048 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * Makefile.am: use $(variables) instead of @substitutions@
8051
8052 2002-08-15  André Pönitz <poenitz@gmx.net>
8053
8054         * lyxfunc.C:
8055         * BufferView_pimpl.C: streamlining mathed <-> outer world
8056         interaction
8057
8058         * commandtags.h:
8059         * LyXAction.C: remove unused LFUN_MATH
8060
8061 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8064
8065 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * paragraph.C (Paragraph): reformat a bit
8068         (cutIntoMinibuffer): use builtin InsetList function instad of
8069         doing it manually.
8070         (getInset): ditto
8071
8072         * buffer.C: include boost/bind.hpp, add using std::for_each
8073         (writeFileAscii): use ParagraphList iterators
8074         (validate): use for_each for validate traversal of paragraphs
8075         (getBibkeyList): use ParagraphList iterators
8076         (resizeInsets): use for_each to resizeInsetsLyXText for all
8077         paragraphs.
8078         (getParFromID): use ParagraphList iterators
8079
8080         * BufferView2.C (lockInset): use paragraph list and iterators
8081
8082 2002-08-14  John Levon  <levon@movementarian.org>
8083
8084         * lyxserver.C: remove spurious xforms include
8085
8086 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8087
8088         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8089
8090 2002-08-13  André Pönitz <poenitz@gmx.net>
8091
8092         * LyXAction.[Ch]:
8093         * lyxfunc.C: further cleaning
8094
8095 2002-08-13  André Pönitz <poenitz@gmx.net>
8096
8097         * funcrequest.h: new constructor
8098
8099         * funcrequest.C: move stuff here from .h
8100
8101         * Makefile.am:
8102         * BufferView_pimpl.C:
8103         * LyXAction.C:
8104         * toc.C:
8105         * lyxfunc.C: subsequent changes
8106
8107         * lyxfunc.h: new view() member function
8108
8109         * lyxfunc.C: subsequent changes
8110
8111 2002-08-13  Angus Leeming  <leeming@lyx.org>
8112
8113         * BufferView2.C:
8114         * BufferView_pimpl.C:
8115         * buffer.C:
8116         * converter.C:
8117         * importer.C:
8118         * lyxfunc.C:
8119         * lyxvc.C:
8120         * toc.C:
8121         * vc-backend.C:
8122         changes due to the changed LyXView interface that now returns references
8123         to member variables not pointers.
8124
8125 2002-08-13  Angus Leeming  <leeming@lyx.org>
8126
8127         * WordLangTuple (word, lang_code): return references to strings,
8128         not strings.
8129
8130         * BufferView.h:
8131         * SpellBase.h:
8132         * lyxtext.h: forward-declare WordLangTuple.
8133
8134         * BufferView2.C:
8135         * ispell.C:
8136         * pspell.C:
8137         * text.C: #include "WordLangTuple.h".
8138
8139         * lyxtext.h:
8140         * text.C: (selectNextWordToSpellcheck): constify return type.
8141
8142 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8143
8144         * buffer.C:
8145         * buffer.h:
8146         * lyxtext.h:
8147         * paragraph.C:
8148         * paragraph_pimpl.h:
8149         * text.C:
8150         * text2.C:
8151         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8152         suggested by Angus.
8153         Made updateCounter always count from start of buffer, and removed
8154         second argument (par).
8155         Reverted floats number display to '#'. Perhaps I'll try again when the
8156         code base is sanitized a bit.
8157
8158 2002-08-12  Angus Leeming  <leeming@lyx.org>
8159
8160         * buffer.[Ch] (getLabelList): constify.
8161
8162 2002-08-07  André Pönitz <poenitz@gmx.net>
8163
8164         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8165
8166         * funcrequest.h: extension to keep mouse (x,y) position
8167
8168 2002-08-12  Juergen Vigna  <jug@sad.it>
8169
8170         * BufferView2.C (insertErrors): forbid undo when inserting error
8171         insets.
8172
8173         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8174
8175 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * ParagraphList.[Ch]: new files
8178
8179         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8180
8181         * BufferView2.C (lockInset): ParagraphList changes
8182         * toc.C: ditto
8183         * text2.C: ditto
8184         * bufferlist.C: ditto
8185         * buffer.h: ditto
8186         * buffer.C: ditto
8187
8188 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8191         unused class variable counter_,
8192
8193         * paragraph.[Ch] (getFirstCounter): delete unused function
8194
8195         * counters.C: include LAssert.h
8196         (reset): add a new function with no arg, change other version to
8197         not have def. arg and to not allow empty arg.
8198
8199         * text2.C (setCounter): remove empty arg from call to Counters::reset
8200
8201 2002-08-11  John Levon  <levon@movementarian.org>
8202
8203         * Makefile.am: add WordLangTuple.h
8204
8205 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8206
8207         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8208         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8209
8210         * insets/insettext.C: InsetList changes
8211
8212         * graphics/GraphicsSupport.C (operator()): InsetList changes
8213
8214         * toc.C (getTocList): InsetList changes
8215
8216         * paragraph_pimpl.[Ch]: InsetList changes
8217
8218         * paragraph.[Ch]: InsetList changes
8219
8220         * buffer.C (inset_iterator): InsetList changes
8221         (setParagraph): ditto
8222         * buffer.h (inset_iterator): ditto
8223         * iterators.C (operator++): ditto
8224         * iterators.h: ditto
8225
8226         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8227
8228         * InsetList.[Ch]: new files, most InsetList handling moved out of
8229         paragraph.C.
8230
8231         * BufferView2.C (removeAutoInsets): InsetList changes
8232         (lockInset): ditto
8233         (ChangeInsets): ditto
8234
8235 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * paragraph_pimpl.h (empty): new function
8238
8239         * paragraph.[Ch] (empty): new function
8240
8241         * other files: use the new Paragraph::empty function
8242
8243 2002-08-09  John Levon  <levon@movementarian.org>
8244
8245         * lyxtext.h: remove unused refresh_height
8246
8247 2002-08-09  John Levon  <levon@movementarian.org>
8248
8249         * Makefile.am:
8250         * sgml.h:
8251         * sgml.C:
8252         * buffer.C:
8253         * paragraph.h:
8254         * paragraph.C: move sgml char escaping out of paragraph
8255
8256         * paragraph.h:
8257         * paragraph.C: remove id setter
8258
8259         * buffer.C:
8260         * paragraph.C:
8261         * paragraph_pimpl.C: remove dead tex_code_break_column
8262
8263         * bufferview_funcs.C: small cleanup
8264
8265         * lyxfunc.C: remove dead proto
8266
8267         * lyxtext.h: make some stuff private. Remove some dead stuff.
8268
8269         * lyxgluelength.C: make as[LyX]String() readable
8270
8271 2002-08-08  John Levon  <levon@movementarian.org>
8272
8273         * LyXAction.h:
8274         * LyXAction.C:
8275         * MenuBackend.C:
8276         * ToolbarDefaults.C:
8277         * lyxfunc.C:
8278         * lyxrc.C:
8279         * toc.C: lyxaction cleanup
8280
8281 2002-08-08  John Levon  <levon@movementarian.org>
8282
8283         * BufferView2.C: small cleanup
8284
8285         * lyxfind.h:
8286         * lyxfind.C: move unnecessary header into the .C
8287
8288 2002-08-08  John Levon  <levon@movementarian.org>
8289
8290         * funcrequest.h: just tedious nonsense
8291
8292         * lyx_main.h:
8293         * lyx_main.C: cleanups
8294
8295         * buffer.C:
8296         * vspace.C: remove dead header lyx_main.h
8297
8298 2002-08-07  Angus Leeming  <leeming@lyx.org>
8299
8300         * Paragraph.[Ch]:
8301         * paragraph_pimpl.h:
8302         Forward declare class Counters in paragraph.h by moving the ctrs member
8303         variable into Paragraph::Pimpl.
8304         (counters): new method, returning a reference to pimpl_->ctrs.
8305
8306         * text2.C: ensuing changes.
8307
8308 2002-08-07  John Levon  <levon@movementarian.org>
8309
8310         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8311
8312         * BufferView_pimpl.C: announce X selection on double/triple
8313           click
8314
8315         * lyx_main.C: use correct bool in batch dispatch
8316
8317         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8318
8319 2002-08-07  André Pönitz <poenitz@gmx.net>
8320
8321         * funcrequest.h: new class to wrap a kb_action and its argument
8322
8323         * BufferView.[Ch]:
8324         * BufferView_pimpl[Ch]:
8325         * LaTeX.C:
8326         * LyXAction.[Ch]:
8327         * lyxfunc.[Ch]:
8328         * lyxrc.C: subsequent changes
8329
8330
8331 2002-08-07  John Levon  <levon@movementarian.org>
8332
8333         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8334           document options change.
8335
8336 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8337
8338         * counters.[Ch]
8339         * text2.C
8340         * paragraph.[Ch]
8341         * makefile.am: move counters functionality over from
8342         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8343
8344 2002-08-06  John Levon  <levon@movementarian.org>
8345
8346         * WordLangTuple.h: new file for word + language code tuple
8347
8348         * SpellBase.h:
8349         * pspell.h:
8350         * pspell.C:
8351         * ispell.h:
8352         * ispell.C:
8353         * lyxtext.h:
8354         * text.C:
8355         * text2.C:
8356         * BufferView.h:
8357         * BufferView2.C: use WordLangTuple
8358
8359         * layout.h:
8360         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8361
8362 2002-08-06  John Levon  <levon@movementarian.org>
8363
8364         * lyx_main.C: fix cmdline batch handling
8365
8366 2002-08-06  André Pönitz <poenitz@gmx.net>
8367
8368         * lyxrc.C: set default for show_banner to true
8369
8370 2002-08-06  John Levon  <levon@movementarian.org>
8371
8372         * pspell.C: fix a crash, and allow new aspell to work
8373
8374 2002-08-06  John Levon  <levon@movementarian.org>
8375
8376         * lyxfunc.C:
8377         * kbmap.C: small cleanup
8378
8379         * vspace.h:
8380         * vspace.C: add const
8381
8382 2002-08-05  John Levon  <levon@movementarian.org>
8383
8384         * LyXAction.C: back to tabular-insert
8385
8386 2002-08-04  John Levon  <levon@movementarian.org>
8387
8388         * BufferView.h:
8389         * BufferView.C: cosmetic change
8390
8391         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8392
8393         * bufferlist.C:
8394         * buffer.h:
8395         * buffer.C:
8396         * lyxcb.h:
8397         * lyxcb.C:
8398         * lyxserver.C:
8399         * lyxvc.C:
8400         * vc-backend.C:
8401         * BufferView2.C: purge all "Lyx" not "LyX" strings
8402
8403         * lyxcursor.h:
8404         * lyxcursor.C: attempt to add some documentation
8405
8406         * lyxfunc.C:
8407         * commandtags.h:
8408         * LyXAction.C:
8409         * ToolbarDefaults.C:
8410         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8411           merge with LFUN_TABULAR_INSERT
8412
8413         * Makefile.am:
8414         * SpellBase.h:
8415         * ispell.h:
8416         * ispell.C:
8417         * pspell.h:
8418         * pspell.C: split up i/pspell implementations into separate
8419           files, many cleanups
8420
8421         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8422
8423         * text2.C: some cleanup
8424
8425         * lyxfunc.C: don't check for isp_command == "none" any more, it
8426           didn't make any sense
8427
8428 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8429
8430         * counters.[Ch]
8431         * text2.C
8432         * paragraph.[Ch]
8433         * makefile.am: move counters functionality over
8434         from text2.C/paragraph.[Ch] to counters.[Ch], and
8435         make proper C++.
8436 2002-08-02  John Levon  <levon@movementarian.org>
8437
8438         * buffer.C: s/lyxconvert/lyx2lyx/
8439
8440 2002-08-02  Angus Leeming  <leeming@lyx.org>
8441
8442         * lyxlex.C: revert John's change as it breaks reading of the user
8443         preamble.
8444
8445 2002-08-02  Angus Leeming  <leeming@lyx.org>
8446
8447         * importer.C (Import):
8448         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8449         changes due to LyXView::view() now returning a boost::shared_ptr.
8450
8451 2002-08-02  John Levon  <levon@movementarian.org>
8452
8453         * lyxlex.C: small cleanup
8454
8455 2002-08-02  John Levon  <levon@movementarian.org>
8456
8457         * text2.C (status): small cleanup, no logic change
8458
8459 2002-08-01  John Levon  <levon@movementarian.org>
8460
8461         * buffer.h:
8462         * buffer.C (writeFile): don't output alerts, caller
8463           handles this
8464
8465         * bufferlist.C:
8466         * lyx_cb.C: from above
8467
8468         * lyxfunc.C: allow to open non-existent files
8469
8470 2002-07-31  John Levon  <levon@movementarian.org>
8471
8472         * lyxserver.C: don't let incidental errors get
8473           in the way (errno)
8474
8475 2002-07-30  John Levon  <levon@movementarian.org>
8476
8477         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8478
8479 2002-07-30  John Levon  <levon@movementarian.org>
8480
8481         * lyxserver.h:
8482         * lyxserver.C: remove I/O callback too
8483
8484 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8485
8486         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8487         log.
8488
8489 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8490
8491         * many files: strip,frontStrip -> trim,ltrim,rtrim
8492
8493 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * PrinterParams.h: remove extern containsOnly, and include
8496         support/lstrings.h instead.
8497
8498         * LaTeX.C (scanAuxFile): modify because of strip changes
8499         (deplog): ditto
8500         * buffer.C (makeLaTeXFile): ditto
8501         * bufferparams.C (writeFile): ditt
8502         * lyxfont.C (stateText): ditto
8503         * lyxserver.C (read_ready): ditto
8504         * vc-backend.C (scanMaster): ditto
8505
8506         * BufferView_pimpl.h: ws changes
8507
8508         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8509
8510 2002-07-26  André Pönitz <poenitz@gmx.net>
8511
8512         * kb_sequence.C: remove unnedred usings
8513
8514 2002-07-26  Juergen Vigna  <jug@sad.it>
8515
8516         * lyxfind.C (LyXReplace): we have to check better if the returned
8517         text is not of theLockingInset()->getLockingInset().
8518
8519 2002-07-25  Juergen Vigna  <jug@sad.it>
8520
8521         * lyxfind.C (LyXReplace): don't replace if we don't get the
8522         right LyXText.
8523
8524         * undo_funcs.C (createUndo): remove debugging code.
8525
8526 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8527
8528         * buffer.C (parseSingleLyXformat2Token): Use default placement
8529         when reading old floats.
8530
8531         * FloatList.C (FloatList): Change the default placement of figure
8532         and tables to "tbp".
8533
8534 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * MenuBackend.C: using std::max
8537
8538 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * MenuBackend.C (expandToc):
8541         (expandToc2): code moved from xforms menu frontend. It is now
8542         generic and TOCs are transparent to menu frontends.
8543
8544 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * toc.C (getTocList): protect against buf=0
8547
8548         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8549         Menu as first parameter. Now, this calls itself recursively to
8550         expand a whole tree (this will be useful for TOC handling)
8551         (expandFloatInsert): remove 'wide' version of floats
8552
8553         * MenuBackend.h (submenuname): returns the name of the submenu.
8554         (submenu): returns the submenu itself, provided it has been
8555         created by MenuBackend::expand
8556
8557 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8560         insets which have noFontChange == true. (bug #172)
8561
8562 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * BufferView_pimpl.C: add connection objects and use them...
8565         (Pimpl): here.
8566
8567 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8568
8569         * MenuBackend.C (expandLastfiles):
8570         (expandDocuments):
8571         (expandFormats):
8572         (expandFloatListInsert):
8573         (expandFloatInsert):
8574         (expand): split expand in parts
8575
8576 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * lyx_gui.C: use lyx_gui::exit()
8579
8580 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * LyXAction.C: show the failing pseudo action
8583
8584 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8585
8586         * buffer.C (readFile): Run the lyxconvert script in order to read
8587         old files.
8588
8589 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8590
8591         * LyXAction.C:
8592         * commandtags.h:
8593         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8594
8595 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8596
8597         * LyXAction.C:
8598         * commandtags.h:
8599         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8600
8601 2002-07-22  Herbert Voss  <voss@lyx.org>
8602
8603         * lengthcommon.C:
8604         * lyxlength.[Ch]: add support for the vertical lengths
8605
8606 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * toc.[Ch]: std:: fixes
8609
8610 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8611
8612         * lyxrc.C: do not include lyx_main.h
8613
8614         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8615         for layouts
8616
8617         * lyxrc.C:
8618         * encoding.C:
8619         * bufferlist.C:
8620         * BufferView2.C: include "lyxlex.h"
8621
8622         * tabular.h:
8623         * bufferparams.h: do not #include "lyxlex.h"
8624
8625         * lyxtextclasslist.C (Add): remove method
8626         (classlist): renamed to classlist_
8627
8628         * paragraph_pimpl.C:
8629         * paragraph.C:
8630         * text2.C:
8631         * CutAndPaste.C:
8632         * bufferview_funcs.C:
8633         * bufferlist.C:
8634         * text.C:
8635         * LaTeXFeatures.C:
8636         * buffer.C:
8637         * toc.C (getTocList): use BufferParams::getLyXTextClass
8638
8639         * toc.C (getTocList): use InsetFloat::addToToc
8640
8641         * toc.[Ch]: new files, containing helper functions to handle table
8642         of contents
8643
8644         * lyxfunc.C (dispatch): no need to remove spaces around command
8645         given as a string
8646         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8647         first command of the sequence; it is not very clever, but I do not
8648         have a better idea, actually
8649
8650         * LyXAction.C (LookupFunc): make sure to remove space at the
8651         beginning and end of the command
8652
8653 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * MenuBackend.C (getMenubar): new method: return the menubar of
8656         this menu set
8657         (read): treat differently reading of menu and menubar (in
8658         particular, the menubar has no name now)
8659         (Menu::menubar): remove
8660
8661         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8662         saving is finished
8663
8664 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8665
8666         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8667         a bibitem inset in a RTL paragraph.
8668
8669 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8670
8671         * paragraph_pimpl.C: constify
8672
8673         * BufferView_pimpl.C:
8674         * LaTeX.C:
8675         * lyxfunc.C: fix dispatch in a nicer way
8676
8677 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * lyxfunc.C (dispatch):
8680         * BufferView_pimpl.C:
8681         * BufferView_pimpl.h:
8682         * BufferView.C:
8683         * BufferView.h: rename Dispatch() to dispatch()
8684
8685         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8686
8687         * lyxlayout.C (Read): honor DependsOn tag
8688
8689         * lyxlayout.[Ch] (depends_on): new method
8690
8691         * version.C.in: update lyx_docversion
8692
8693         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8694
8695         * paragraph.C (validate): remove from here...
8696         * paragraph_pimpl.C (validate): ... and move here
8697         (isTextAt): make it const
8698
8699         * buffer.C (getLists): ws cleanup
8700
8701 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8702
8703         * language.C (read): Use iso8859-1 encoding in latex_lang
8704         (this prevents LyX from crashing when using iso10646-1 encoding).
8705
8706 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8707
8708         * text2.C (toggleInset): if cursor is inside an inset, close the
8709         inset and leave cursor _after_ it
8710
8711 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * lyxfunc.C: move minibuffer completion handling out of here
8714
8715 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8716
8717         * BufferView_pimpl.C:
8718         * LaTeX.C: fix dispatch calls
8719
8720 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8721
8722         * text.C (drawChars): Fix Arabic text rendering.
8723
8724 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * LyXAction.C:
8727         * commandtags.h:
8728         * lyxfunc.C: remove message-push/pop
8729
8730         * lyxserver.C:
8731         * lyxfunc.h:
8732         * lyxfunc.C: rationalise some code by removing verboseDispatch
8733           in favour of a bool argument to dispatch()
8734
8735 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8736
8737         * lyx_main.C (init): make sure to read symlinks as absolute paths
8738
8739 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8740
8741         * lyxfunc.h:
8742         * lyxfunc.C: no need for commandshortcut to be a member
8743
8744 2002-07-15  André Pönitz <poenitz@gmx.net>
8745
8746         * converter.C: add support for $$s (scripts from lib/scripts dir)
8747         * lyx_main.C: white space
8748
8749 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * bufferlist.C:
8752         * lyxrc.h:
8753         * lyxrc.C: remove second exit confirmation
8754
8755 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8756
8757         * BufferView.h:
8758         * BufferView.C:
8759         * BufferView2.C:
8760         * BufferView_pimpl.h:
8761         * BufferView_pimpl.C:
8762         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8763
8764 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8765
8766         * MenuBackend.C (expand): add numeric shortcuts to document menu
8767
8768         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8769
8770 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * lyxfont.C (setLyXFamily):
8773         (setLyXSeries):
8774         (setLyXShape):
8775         (setLyXSize):
8776         (setLyXMisc):
8777         (lyxRead):
8778         * debug.C (value):
8779         * buffer.C (asciiParagraph): use ascii_lowercase
8780
8781 2002-07-15  Mike Fabian  <mfabian@suse.de>
8782
8783         * lyxlex_pimpl.C (search_kw):
8784         * lyxlex.C (getLongString):
8785         * converter.h (operator<):
8786         * converter.C (operator<):
8787         * buffer.C (parseSingleLyXformat2Token):
8788         (asciiParagraph):
8789         * ToolbarDefaults.C (read):
8790         * MenuBackend.C (checkShortcuts):
8791         (read):
8792         * LColor.C (getFromGUIName):
8793         (getFromLyXName): use the compare_ascii_no_case instead of
8794         compare_no_case, because in turkish, 'i' is not the lowercase
8795         version of 'I', and thus turkish locale breaks parsing of tags.
8796
8797 2002-07-16  Angus Leeming  <leeming@lyx.org>
8798
8799         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8800         now takes a Buffer const & argument.
8801
8802 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * BufferView.C (resize): check there's a buffer to resize
8805
8806 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * lyxfunc.C: remove dead code
8809
8810         * lyxserver.h:
8811         * lyxserver.C: use lyx_guii::set_read_callback
8812
8813 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8814
8815         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8816         an inset in a RTL paragraph.
8817
8818 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8819
8820         * lyxfunc.C: repaint after a font size update
8821
8822 2002-07-15  André Pönitz <poenitz@gmx.net>
8823
8824         * lyxlength.C: inBP should be able to return negative values
8825
8826 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * lyxfunc.C: use lyx_gui::update_fonts()
8829
8830 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * lyxfunc.C: use lyx_gui::update_color()
8833
8834 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * bufferlist.C:
8837         * lyxfunc.h:
8838         * lyxfunc.C:
8839         * lyxrc.h:
8840         * lyxrc.C: remove file->new asks for name option, and let
8841           buffer-new take an argument
8842
8843 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8844
8845         * BufferView_pimpl.C: remove unneeded extra repaint()
8846
8847 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8848
8849         * LyXAction.C: allow command-sequence with NoBuffer
8850
8851         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8852
8853 2002-07-10  Angus Leeming  <leeming@lyx.org>
8854
8855         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8856
8857 2002-07-09  Angus Leeming  <leeming@lyx.org>
8858
8859         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8860
8861 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * lengthcommon.h: whitespace
8864
8865         * lyxfunc.C: update scrollbar after goto paragraph
8866
8867         * lyxtext.h: factor out page break drawing, and fix it so
8868           page break/added space paints as selected nicely
8869
8870 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * BufferView_pimpl.C: add FIXMEs, clean up a little
8873
8874 2002-07-09  André Pönitz <poenitz@gmx.net>
8875
8876         * lyxfont.[Ch]: support for wasy symbols
8877
8878 2002-07-08  André Pönitz <poenitz@gmx.net>
8879
8880         * BufferView_pimpl.C: apply John's patch for #93.
8881
8882 2002-07-05  Angus Leeming  <leeming@lyx.org>
8883
8884         * BufferView_pimpl.C (buffer): generate previews if desired.
8885
8886         * LColor.h: add "preview" to the color enum.
8887
8888         * LColor.C (LColor): add a corresponding entry to the items array.
8889
8890         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8891         with this buffer.
8892
8893 2002-07-05  Angus Leeming  <leeming@lyx.org>
8894
8895         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8896         The body of the code is now in the method that is passed an ostream &
8897         rather than a file name.
8898         Pass an additional only_preamble parameter, useful for the forthcoming
8899         preview stuff.
8900
8901 2002-07-03  André Pönitz <poenitz@gmx.net>
8902
8903         * lyxfunc.C: simplify getStatus() a bit for math stuff
8904
8905 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8906
8907         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8908
8909 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * text.C (changeRegionCase): do not change case of all the
8912         document when region ends at paragraph end (bug #461)
8913
8914 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * paragraph.C (startTeXParParams):
8917         (endTeXParParams): add \protect when necessary
8918
8919 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * BufferView_pimpl.C (workAreaExpose): remove warning
8922
8923 2002-06-27  Angus Leeming  <leeming@lyx.org>
8924
8925         * Makefile.am: add lyxlayout_ptr_fwd.h.
8926
8927 2002-06-26  André Pönitz <poenitz@gmx.net>
8928
8929         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8930
8931 2002-06-25  Angus Leeming  <leeming@lyx.org>
8932
8933         * lyxfunc.C (dispatch): Comment out the call to
8934         grfx::GCache::changeDisplay. The method no longer exists now that the
8935         pixmap generation part of the graphics loader has been moved into
8936         InsetGraphics.
8937
8938 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8939
8940         * text2.C: layout as layout
8941
8942         * text.C: layout as layout
8943
8944         * tabular.C (OldFormatRead): layout as layout
8945
8946         * paragraph_pimpl.C (TeXDeeper): layout as layout
8947         (realizeFont): layout as layout
8948
8949         * paragraph.C (writeFile): layout as layout
8950         (validate): layout as layout
8951         (getFont): layout as layout
8952         (getLabelFont): layout as layout
8953         (getLayoutFont): layout as layout
8954         (breakParagraph): layout as layout
8955         (stripLeadingSpaces): layout as layout
8956         (getEndLabel): layout as layout
8957         (getMaxDepthAfter): layout as layout
8958         (applyLayout): layout as layout
8959         (TeXOnePar): layout as layout
8960         (simpleTeXOnePar): layout as layout
8961         (TeXEnvironment): layout as layout
8962         (layout): layout as layout
8963         (layout): layout as layout
8964
8965         * lyxtextclass.C (compare_name): new functor to work with
8966         shared_ptr, layout as layout
8967         (Read): layout as layout
8968         (hasLayout): layout as layout
8969         (operator): layout as layout
8970         (delete_layout): layout as layout
8971         (defaultLayout): layout as layout
8972
8973         * lyxlayout_ptr_fwd.h: new file
8974
8975         * lyxlayout.C (Read): layout as layout
8976
8977         * lyx_cb.C (MenuInsertLabel): layout as layout
8978
8979         * bufferlist.C (newFile): layout as layout
8980
8981         * buffer.C (readLyXformat2): layout as layout
8982         (parseSingleLyXformat2Token): layout as layout
8983         (insertStringAsLines): layout as layout
8984         (asciiParagraph): layout as layout
8985         (latexParagraphs): layout as layout
8986         (makeLinuxDocFile): layout as layout
8987         (simpleLinuxDocOnePar): layout as layout
8988         (makeDocBookFile): layout as layout
8989         (simpleDocBookOnePar): layout as layout
8990         (getLists): layout as layout
8991
8992         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8993
8994         * CutAndPaste.C (cutSelection): layout as layout
8995         (pasteSelection): layout as layout
8996         (SwitchLayoutsBetweenClasses): layout as layout
8997
8998         * BufferView_pimpl.C (Dispatch): layout as layout
8999         (smartQuote): layout as layout
9000
9001         * BufferView2.C (unlockInset): layout as layout
9002
9003 2002-06-24  André Pönitz <poenitz@gmx.net>
9004
9005         * lyxfunc.C: fix #487
9006
9007 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9008
9009         * lyxrc.h:
9010         * lyxrc.C:
9011         * lyxfunc.C: remove display_shortcuts, show_banner
9012
9013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9014
9015         * Buffer_pimpl.C: oops, update on resize
9016
9017 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * buffer.C:
9020         * converter.C:
9021         * exporter.C:
9022         * lyxfunc.C:
9023         * BufferView.h:
9024         * BufferView.C: use repaint()
9025
9026         * BufferView_pimpl.h:
9027         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9028           as it's a clearer description. Remove superfluous
9029           redraws.
9030
9031 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * text.C: fix bug 488. Not ideal, but getting
9034           getWord() to work properly for the insets that
9035           matter is more difficult ...
9036
9037 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * BufferView_pimpl.C:
9040         * LyXAction.C:
9041         * commandtags.h:
9042         * lyxfunc.C: remove the six million index lyxfuncs to just
9043           one, and DTRT (bug 458)
9044
9045 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * BufferView.h:
9048         * BufferView.C:
9049         * BufferView_pimpl.h:
9050         * BufferView_pimpl.C: clean up resize() stuff,
9051           and unnecessary updateScreen()s
9052
9053 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * BufferView.h:
9056         * BufferView.C:
9057         * BufferView_pimpl.h:
9058         * BufferView_pimpl.C:
9059         * lyxfind.h:
9060         * lyxfind.C:
9061         * minibuffer.C: remove focus management of workarea,
9062           not needed. Use screen's greyOut()
9063
9064 2002-06-17  Herbert Voss  <voss@lyx.org>
9065
9066         * converter.C: (convert) do not post a message, when converting
9067         fails, let the calling function decide what to do in this case
9068
9069 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * lyxfunc.C: tidy up a little
9072
9073 2002-06-16    <alstrup@diku.dk>
9074
9075         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9076         Got rid of FORMS_H_LOCATION include. Now we are
9077         GUII.
9078
9079 2002-06-15  LyX Development team  <lyx@rilke>
9080
9081         * buffer.[Ch] (sgmlOpenTag):
9082         (sgmlCloseTag): Added support for avoiding pernicious mixed
9083         content. Return number of lines written.
9084
9085         (makeLinuxDocFile):
9086         (makeDocBookFile): Fixed calls to sgml*Tag.
9087         Simple white space clean.
9088
9089         (simpleDocBookOnePar): Simple white space clean.
9090
9091         * tabular.[Ch] (docBook): Renamed to docbook and got another
9092         argument to related with the pernicious mixed content.
9093
9094         (docbookRow): Fixed calls for docbook inset method.
9095
9096 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9097
9098         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9099         so it's X11 independent.
9100
9101         * kb*.[Ch]: ditto.
9102
9103         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9104
9105 2002-06-15  Lyx Development team  <lyx@electronia>
9106
9107         * intl.h: Renamed getTrans to getTransManager.
9108
9109 2002-06-14  Angus Leeming  <leeming@lyx.org>
9110
9111         * Makefile.am: nuke forgotten stl_string_fwd.h.
9112
9113 2002-06-12  Angus Leeming  <leeming@lyx.org>
9114
9115         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9116
9117 2002-06-13  Angus Leeming  <leeming@lyx.org>
9118
9119         * LaTeX.C:
9120         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9121
9122 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9123
9124         * kbmap.C (getiso): add support for cyrillic and greek
9125
9126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * BufferView.h:
9129         * BufferView.C:
9130         * BufferView_pimpl.h:
9131         * BufferView_pimpl.C: move bogus scrolling logic
9132           to xforms
9133
9134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * lyxfunc.C:
9137         * BufferView_pimpl.C: view->resize() change
9138
9139 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9140
9141         * BufferView_pimpl.C: topCursorVisible
9142           prototype change
9143
9144 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9145
9146         * Makefile.am:
9147         * lyx_gui.h:
9148         * lyx_gui.C: move to frontends/
9149
9150         * main.C:
9151         * lyx_main.h:
9152         * lyx_main.C: changes from above
9153
9154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * intl.C:
9157         * intl.h:
9158         * kbmap.C:
9159         * kbsequence.C:
9160         * lyx_cb.C:
9161         * lyx_main.C: minor tidy
9162
9163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9164
9165         * BufferView_pimpl.h:
9166         * BufferView_pimpl.C:
9167         * BufferView.h:
9168         * BufferView.C: make painter() const,
9169           remove dead code
9170
9171         * BufferView2.C: use screen() accessor
9172
9173         * lyx_main.h:
9174         * lyx_main.C: some minor cleanup
9175
9176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9177
9178         * BufferView_pimpl.h:
9179         * BufferView_pimpl.C: remove enter/leaveView,
9180           use workHeight()
9181
9182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * BufferView.h:
9185         * BufferView.C:
9186         * BufferView2.C:
9187         * BufferView_pimpl.h:
9188         * BufferView_pimpl.C: only construct screen once,
9189           rename
9190
9191         * lyxrc.C: remove pointless comment
9192
9193 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * BufferView.h:
9196         * BufferView.C: remove active() and belowMouse()
9197
9198         * BufferView_pimpl.h:
9199         * BufferView_pimpl.C: use workarea() not workarea_,
9200           and make it use a scoped_ptr instead
9201
9202 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * lyx_gui.C: add debug message on BadWindow
9205
9206 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9207
9208         * sp_spell.C: fdopen is not part of the C++ standard.
9209
9210         * paragraph.C (InsetIterator): use >= instead of ==
9211
9212 2002-06-07  Angus Leeming  <leeming@lyx.org>
9213
9214         Fixes needed to compile with Compaq cxx 6.5.
9215         * BufferView_pimpl.C:
9216         * DepTable.C:
9217         * buffer.C:
9218         * converter.C:
9219         * encoding.C:
9220         * lyx_gui.C:
9221         * lyx_main.C:
9222         * lyxtextclasslist.C:
9223         * minibuffer.C:
9224         * sp_spell.C:
9225         * tabular_funcs.C:
9226         * vc-backend.C:
9227         all c-library variables have been moved into namespace std. Wrap
9228         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9229
9230         * lyxlength.C:
9231         * tabular-old.C:
9232         * tabular.C:
9233         Add a using std::abs declaration.
9234
9235         * kbmap.h (modifier_pair):
9236         * paragraph.h (InsetTable, InsetList):
9237         * lyxfont.h (FontBits):
9238         type definition made public.
9239
9240         * bufferlist.C (emergencyWriteAll): the compiler complains that
9241         there is more than one possible lyx::class_fun template to choose from.
9242         I re-named the void specialisation as lyx::void_class_fun.
9243
9244         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9245
9246         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9247         the compiler is is unable to find tostr in write_attribute.
9248
9249 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * buffer.C (sgmlError): hide #warning
9252
9253 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9254
9255         * xtl/*: get rid of xtl, which is not in use anyway
9256
9257         * LyXAction.C (init):
9258         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9259         were unimplemented xtl experimentation
9260
9261 2002-06-04  André Pönitz <poenitz@gmx.net>
9262
9263         * lyxfunc.C: disable array operation on simple formulae
9264
9265 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * converter.C: constify a bit
9268
9269 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * lyx_gui.C: check xforms version correctly
9272
9273 2002-04-30  Herbert Voss  <voss@lyx.org>
9274
9275         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9276         "keep" option
9277
9278 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9279
9280         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9281           attempt to register it with a VCS)
9282
9283 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9284
9285         * lyx_main.C (init): honor variables LYX_DIR_13x and
9286         LYX_USERDIR_13x
9287
9288 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * buffer.h:
9291         * buffer.C:
9292         * lyx_main.C: fix a crash on bad command line,
9293           and give a useful exit status on error
9294
9295         * lyxfunc.C (doImport): allow -i lyx to work
9296
9297 2002-03-30  André Pönitz <poenitz@gmx.net>
9298
9299         * lyxfunc.C: mathed font changes
9300
9301 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * LaTeX.C:
9304         * importer.h:
9305         * importer.C:
9306         * lyx_sty.h:
9307         * lyx_sty.C:
9308         * lyxlex.C:
9309         * lyxrow.h:
9310         * lyxtext.h:
9311         * paragraph.h:
9312         * paragraph.C:
9313         * texrow.h:
9314         * texrow.C:
9315         * text.C:
9316         * trans_mgr.h: srcdocs, and some minor cleanups
9317
9318 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9321         call getFont all the time)
9322
9323 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9324
9325         * switch from SigC signals to boost::signals
9326
9327 2002-05-29  André Pönitz <poenitz@gmx.net>
9328
9329         * paragraph_pimpl.C (getChar): don't call size() too often...
9330
9331 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9332
9333         * paragraph_pimpl.C (insertChar): do not try to update tables when
9334         appending (pos == size())
9335
9336         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9337         in order to reduce drastically the number of comparisons needed to
9338         parse a large document
9339
9340 2002-05-29  André Pönitz <poenitz@gmx.net>
9341
9342         * text.C:
9343         * text2.C:
9344         * lyxtextclass.C:
9345         * sp_pspell.h:
9346         * textclasslist.[Ch]:
9347         * sp_ispell.h: whitespace change
9348
9349 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9350
9351         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9352         lyxaction directly now.
9353
9354 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * trans.C:
9357         * lyxfont.C:
9358         * lyxvc.C: remove unused headers
9359
9360 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9361
9362         * Makefile.am:
9363         * buffer.h:
9364         * undostack.h:
9365         * undostack.C:
9366         * undo_funcs.h:
9367         * undo_funcs.C: some cleanups. Use shared_ptr
9368           and a template for the undo stacks.
9369
9370 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9371
9372         * BufferView_pimpl.h:
9373         * BufferView_pimpl.C:
9374         * kbmap.h:
9375         * kbmap.C:
9376         * kbsequence.h:
9377         * kbsequence.C:
9378         * lyxfunc.h:
9379         * lyxfunc.C:
9380         * text2.C: use key_state/mouse_state
9381
9382 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9385         and LSubstring
9386
9387         * chset.C: change include order
9388         (loadFile): use boost regex and get rid of LRegex and LSubstring
9389
9390         * Makefile.am (BOOST_LIBS): new variable
9391         (lyx_LDADD): use it
9392
9393         * LaTeX.C: change include order.
9394         (scanAuxFile): use boost regex and get rid of LRegex and
9395         LSubstring
9396         (deplog): ditto
9397
9398 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9399
9400         * ColorHandler.h:
9401         * ColorHandler.C:
9402         * FontInfo.h:
9403         * FontInfo.C: moved to frontends/xforms/
9404
9405         * FontLoader.h:
9406         * FontLoader.C: moved into frontends for GUIIzation
9407
9408         * Makefile.am:
9409         * lyx_gui.C:
9410         * lyxfont.C:
9411         * lyxfunc.C: changes from above
9412
9413 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9414
9415         * LColor.C: remove spurious X include
9416
9417         * BufferView_pimpl.C:
9418         * Makefile.am:
9419         * font.h:
9420         * font.C:
9421         * text.C:
9422         * text2.C: move font metrics to frontends/
9423
9424 2002-05-24  Juergen Vigna  <jug@sad.it>
9425
9426         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9427         setting the undo_cursor.
9428
9429         * ParagraphParameters.h: include local includes first.
9430
9431 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * BufferView_pimpl.C:
9434         * BufferView_pimpl.h:
9435         * Makefile.am:
9436         * WorkArea.h:
9437         * WorkArea.C:
9438         * screen.C: move WorkArea into frontends/
9439
9440         * lyxscreen.h:
9441         * screen.C:
9442         * text.C:
9443         * BufferView.C:
9444         * BufferView2.C: move LyXScreen into frontends/
9445
9446         * lyxlookup.h:
9447         * lyxlookup.C:
9448         * lyx_gui.C: move lyxlookup into frontends/xforms/
9449
9450 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * BufferView2.C:
9453         * BufferView_pimpl.C:
9454         * FontLoader.C:
9455         * LyXView.h:
9456         * LyXView.C:
9457         * Makefile.am:
9458         * WorkArea.C:
9459         * XFormsView.h:
9460         * XFormsView.C:
9461         * buffer.C:
9462         * bufferlist.C:
9463         * bufferview_funcs.C:
9464         * converter.C:
9465         * importer.C:
9466         * lyx_cb.C:
9467         * lyx_gui.C:
9468         * lyx_main.C:
9469         * lyx_find.C:
9470         * lyxfunc.C:
9471         * lyxvc.C:
9472         * minibuffer.C:
9473         * text.C:
9474         * text2.C:
9475         * trans.C:
9476         * vc-backend.C: move LyX/XFormsView into frontends/
9477
9478 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9479
9480         * Makefile.am:
9481         * PainterBase.C:
9482         * PainterBase.h:
9483         * Painter.C:
9484         * Painter.h:
9485         * WorkArea.C:
9486         * WorkArea.h:
9487         * screen.C:
9488         * tabular.C:
9489         * text.C:
9490         * text2.C: move Painter to frontends/
9491
9492 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9493
9494         * buffer.C: comment out some some code that depend upon lyx_format
9495         < 220
9496
9497         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9498         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9499
9500         * buffer.h (NO_COMPABILITY): turn off compability
9501
9502         * ColorHandler.C: include scoped_array.hpp
9503
9504         * font.C: Use more specific smart_ptr header.
9505         * Painter.C: ditto
9506         * gettext.C: ditto
9507         * ShareContainer.h: ditto
9508         * lyx_main.h: ditto
9509         * kbmap.h: ditto
9510         * FontInfo.h: ditto
9511         * BufferView_pimpl.h: ditto
9512         * ColorHandler.h: ditto
9513
9514         * kbmap.C (defkey): change call to shared_ptr::reset
9515
9516 2002-05-21  Juergen Vigna  <jug@sad.it>
9517
9518         * buffer.C (insertErtContents): fix to insert ert asis if it is
9519         non empty. Skip it completely if it contains only whitespaces.
9520
9521 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * BufferView_pimpl.C:
9524         * BufferView2.C: clear selection on paste (bug 393)
9525
9526 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * DepTable.C: include ctime
9529
9530 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9531
9532         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9533
9534 2002-05-14  Juergen Vigna  <jug@sad.it>
9535
9536         * text.C (breakParagraph): fixed function to honor the keepempty
9537         layout in the right maner and also to permit the right breaking
9538         algorithm on empty or non empyt keepempty paragraphs.
9539
9540         * paragraph.C (breakParagraph): we have to check also if the par
9541         is really empty (!size()) for isempty otherwise we do the wrong
9542         paragraph break.
9543
9544 2002-05-10  Juergen Vigna  <jug@sad.it>
9545
9546         * buffer.[Ch] : The following are only changes to the ert
9547         compatibility read reading old LaTeX layout and font stuff and
9548         convert it to ERTInsets.
9549
9550         * buffer.h: added isErtInset().
9551
9552         * buffer.C (struct ErtComp): add a fromlayout bool to check
9553         if we're inside a LaTeX layout.
9554         (isErtInset): new helper function.
9555         (insertErtContents): look for other ert insets before this one
9556         and insert the contents there, so that we don't have subsequent
9557         ERT insets with nothing between them. This way we create only one
9558         inset with multiple paragraphs. Also check if we don't insert only
9559         spaces ' ' as they are ignored anyway afterwards in the .tex file
9560         so if we have only spaces we will ignore this latex part in the
9561         new file.
9562         (parseSingleLyXformat2Token \\layout): better compatibility when
9563         reading layout-latex stuff.
9564         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9565         language tag.
9566         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9567         stuff after reading the inset only get the information back from
9568         the stack.
9569
9570 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9571
9572         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9573
9574         * LaTeXFeatures.C (getBabelOptions): New method.
9575
9576 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9577
9578         * BufferView_pimpl.C (Dispatch): work around missing argument for
9579         'layout'
9580
9581 2002-05-08  Juergen Vigna  <jug@sad.it>
9582
9583         * text.C (leftMargin): handle paragraph leftindent.
9584
9585         * paragraph.C (writeFile): write the new \\leftindent tag.
9586         (validate): handle leftindent code.
9587         (TeXEnvironment): handle paragraphleftindent code again.
9588
9589         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9590
9591         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9592         for paragrap_extra indent code and new token \\leftindent.
9593         (latexParagraphs): handle the leftindent as environment.
9594
9595         * ParameterStruct.h: added leftindent support.
9596
9597         * ParagraphParameters.C (leftIndent): added support functions for
9598         the paragraph left indent.
9599
9600         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9601         more appropriate.
9602
9603 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9604
9605         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9606         inside insetERT.
9607
9608         * text.C (computeBidiTables): No bidi in insetERT.
9609
9610         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9611         in RTL documents.
9612
9613 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * version.C.in: pre 5
9616
9617 2002-05-02  José Matos  <jamatos@fep.up.pt>
9618         * buffer.C (makeDocBookFile): white space changes, add newline to
9619         command styles.
9620         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9621
9622         * tabular.C (docBook): fix typo.
9623
9624 2002-05-03  Juergen Vigna  <jug@sad.it>
9625
9626         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9627         change in LyXText as we can not be sure it was not freed.
9628         (drawOneRow): remove unused code.
9629
9630         * text.C (drawInset): redo the calculation of the need_break_row as
9631         it could have a row which was already freed.
9632         (draw): look at the return value of drawInset and return false if
9633         it also returned false.
9634         (paintRowText): look at the return value of draw and return false if
9635         it also returned false.
9636
9637         * lyxtext.h: added bool return type to drawInset() and draw() so that
9638         if we have a change in the row so that the rowbreak has to be redone
9639         we abort drawing as it will be called again.
9640
9641 2002-05-02  Juergen Vigna  <jug@sad.it>
9642
9643         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9644         a change in the maintext also if we're inside an inset.
9645         (Dispatch): set the cursor again after a break line and after the
9646         screen has been updated as it could be we're in a different row.
9647
9648         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9649         to set the cursor behind the pargraph with > size().
9650         (setCursor): check also for the same paragraph when checking where
9651         to put the cursor if we have a NFR inset.
9652
9653         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9654         parts of layout read further up as it still was in the wrong
9655         position.
9656
9657 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9658
9659         * screen.C (drawFromTo): change sine fullRebreak always return
9660         true.
9661
9662         * buffer.C (parseSingleLyXformat2Token): reindent some
9663
9664         * BufferView_pimpl.C (update): change since fullRebreak always
9665         return true.
9666         (Dispatch): git rid of the last hardcoded "Standard"s.
9667
9668 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9669
9670         * text2.[Ch] (fullRebreak): make it return void now that we always
9671         returned true.
9672
9673 2002-04-30  Juergen Vigna  <jug@sad.it>
9674
9675         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9676         ert compatibility check for "latex" layout.
9677
9678 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9681         minipages: use col% instead of p%, and also use the current font.
9682         (makeLaTeXFile): Fix use babel condition.
9683         (parseSingleLyXformat2Token): Correct font when reading old floats.
9684
9685 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9686
9687         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9688         inserting list of floats.
9689
9690 2002-04-25  Herbert Voss  <voss@lyx.org>
9691
9692         * MenuBackend.C (expand): don't add the graphics extensions to the
9693         export menu
9694
9695 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9698         non-existing layout, do not complain if it was the default layout
9699         of the original class (bug #342)
9700
9701 2002-04-24  Juergen Vigna  <jug@sad.it>
9702
9703         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9704         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9705
9706 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9707
9708         * buffer.C (getBibkeyList): If using \bibliography, return the
9709         option field with the reference itself. Enables us to provide natbib
9710         support when using \bibliography.
9711
9712 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9713
9714         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9715
9716         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9717         natbib is provided by the LaTeX class.
9718
9719 2002-04-23  Juergen Vigna  <jug@sad.it>
9720
9721         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9722         Wakeup functions.
9723
9724         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9725
9726 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9729
9730         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9731         ensuremath around textordmasculine, textordfeminine and
9732         textdegree.
9733
9734 2002-04-19  Juergen Vigna  <jug@sad.it>
9735
9736         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9737         reinitializing the buffer otherwise row-dimensions may be wrong.
9738         (update): reset also the selection cursors if they do exits otherwise
9739         their x/y positions may be wrong.
9740
9741         * text2.C (cursorDown): don't enter the inset if we came from a row
9742         above and are one row over the inset.
9743
9744         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9745         really leaving an inset.
9746
9747 2002-04-18  Juergen Vigna  <jug@sad.it>
9748
9749         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9750         of the selected paragraph does not have the selected layout also if
9751         the last one had!
9752
9753         * text2.C (setLayout): fixed bug which did not change last selected
9754         paragraph.
9755
9756         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9757         changed the read and substituted \\end_float with \\end_inset!
9758
9759         * BufferView_pimpl.C (cursorPrevious):
9760         (cursorNext): fixed to make it work with rows heigher than the work
9761         area without moving the cursor only the draw of the row.
9762         (workAreaMotionNotify): fix jumping over high rows.
9763
9764 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9767         Ressler.
9768
9769 2002-04-16  Juergen Vigna  <jug@sad.it>
9770
9771         * text2.C (setCursor): set also the irow().
9772         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9773         (cursorUp):
9774         (cursorDown): support for locking an inset if the x_fix value goes
9775         inside it. That way I can transverse insets too with cursor up/down.
9776
9777         * lyxrow.h: added irow helper function same as other (i) functions.
9778
9779         * BufferView_pimpl.C (cursorPrevious):
9780         (cursorNext): fixed for insets!
9781
9782 2002-04-15  Juergen Vigna  <jug@sad.it>
9783
9784         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9785         position otherwise it is wrong in some cases.
9786
9787         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9788         inside the inset before the call.
9789
9790 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9791
9792         * buffer.[Ch] (getBibkeyList): make it const.
9793
9794 2002-04-12  Juergen Vigna  <jug@sad.it>
9795
9796         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9797
9798         * text2.C (getCursorX): new helper function
9799         (setCursor): compute also ix_
9800         (setCursorFromCoordinates): set also ix.
9801
9802         * lyxcursor.h: added ix_ and helper functions.
9803
9804         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9805
9806         * buffer.C (insertStringAsLines): dont break paragraph if the this
9807         paragraph is inside an inset which does not permit it!
9808
9809         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9810         also with no chars on this paragraph.
9811         (paintRowText): only paint stuff if it's inside the workarea!
9812
9813         * paragraph.C (breakParagraph): honor keepempty flag and break the
9814         paragraph always below not above.
9815
9816         * BufferView2.C (unlockInset): update the paragraph layout on inset
9817         unlock as we changed paragraph in such a case.
9818
9819         * lyxfind.C (LyXFind): clear the former selection if not found!
9820
9821         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9822         again called in insertChar().
9823
9824         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9825         an inset which uses the whole row!
9826         (rightMargin): ditto.
9827         (insertChar): force a rebreak if we inserted an inset!
9828
9829 2002-03-28  Herbert Voss  <voss@lyx.org>
9830
9831         * lyxlength.[Ch]: add inBP() to get the right PS-point
9832         units (BigPoint). With inPixels we have rounding errors
9833
9834 2002-04-11  Juergen Vigna  <jug@sad.it>
9835
9836         * text2.C (setCursorFromCoordinates): set iy to the right value.
9837         (setCursor): add check if row->previous exists!
9838
9839         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9840         an old float_type as this was the case in the old code!
9841
9842         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9843
9844         * BufferView2.C (showLockedInsetCursor): use iy
9845         (fitLockedInsetCursor): ditto
9846
9847         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9848         locked insets as there we have the right value now.
9849
9850         * lyxcursor.C: added iy_ variable and iy functions to set to the
9851         baseline of cursor-y of the locked inset.
9852
9853         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9854         (setCursor): fixed for insets which need a full row.
9855
9856         * text.C (rowLastPrintable): don't ignore the last space when before
9857         an inset which needs a full row.
9858         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9859         as last character of a row when before a inset which needs a full row.
9860
9861 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9862
9863         * version.C.in: update date
9864
9865         * text2.C (fullRebreak): try to always return true and see what
9866         happens...
9867
9868 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * MenuBackend.C (expand): use Floating::listName
9871
9872         * FloatList.C (FloatList): add listName argument to the built-in
9873         floats
9874
9875         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9876         text associated with the float.
9877
9878 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9881
9882 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * ShareContainer.h: add a couple of missing typenames.
9885
9886 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9887
9888         * lyxrc.C (getDescription): use _() correctly rather than N_().
9889
9890 2002-03-28  Herbert Voss  <voss@lyx.org>
9891
9892         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9893         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9894
9895 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9896
9897         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9898         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9899
9900 2002-03-29  Juergen Vigna  <jug@sad.it>
9901
9902         * lyxfunc.C (dispatch): add a missing fitCursor call.
9903
9904         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9905         it was scrolled by a cursor move, so return the bool status.
9906
9907         * BufferView.C (fitCursor): return the bool flag also to the outside
9908         world as this is needed.
9909
9910         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9911
9912         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9913         call the edit() as it is not needed (and wrong) IMO.
9914         (workAreaButtonPress): set the screen_first variable before evt.
9915         unlock the inset as this may change screen_first and then we have
9916         a wrong y position for the click!
9917
9918 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9919
9920         * MenuBackend.C (expand): another translation that I missed
9921
9922 2002-03-28  Juergen Vigna  <jug@sad.it>
9923
9924         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9925
9926         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9927
9928 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9929
9930         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9931
9932         * MenuBackend.C (expand): fix export/view/update when there is no
9933         document open.
9934
9935 2002-03-27  Herbert Voss  <voss@lyx.org>
9936
9937         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9938         and text%
9939
9940 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * bufferview_funcs.C (currentState): only show paragraph number
9943         for is DEVEL_VERSION is set.
9944
9945         * lyxfunc.C (dispatch): put warning in INFO channel
9946
9947         * MenuBackend.C (expand): translate the name of floats
9948
9949         * FloatList.C (FloatList): mark the float names for translation
9950
9951         * converter.C (convert): use LibScriptSearch
9952
9953 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * MenuBackend.C (defaults): fix default menu (we might as well get
9956         rid of it...)
9957
9958 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9961         directory.
9962
9963 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9964
9965         * lyxvc.C: reorder includes.
9966
9967 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9970           properly
9971
9972 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * CutAndPaste.C: change layouts earlier on paste
9975           to avoid crashing when calling getFont()
9976
9977 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9978
9979         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9980         irritating #error.
9981
9982 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * WorkArea.C: remove 'Pending' debug message.
9985
9986         * most files: ws cleanup
9987
9988         * buffer.[Ch]: ws changes
9989
9990         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9991
9992 2002-03-21  Juergen Vigna  <jug@sad.it>
9993
9994         * tabular.C (SetMultiColumn): collapse also the contents of the
9995         cells and set the last border right. Added a Buffer const * param.
9996
9997 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9998
9999         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10000         linking or not.
10001
10002 2002-03-19  Juergen Vigna  <jug@sad.it>
10003
10004         * text2.C (clearSelection): reset also xsel_cache.
10005
10006         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10007         where it needs to be called (John tells us to do so too :)
10008         (selectionLost): reset sel_cache.
10009
10010         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10011
10012 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10013
10014         * text2.C (setCursorIntern): put debuging code in INSETS channel
10015
10016 2002-03-19  André Pönitz <poenitz@gmx.net>
10017
10018         * lyxfunc.C: tiny whitespace change
10019
10020 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * ToolbarDefaults.C (init):
10023         * LyXAction.C (init):
10024         * commandtags.h:
10025         * BufferView_pimpl.C (Dispatch):
10026         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10027
10028 2002-03-19  Allan Rae  <rae@lyx.org>
10029
10030         * exporter.C (Export): removeAutoInsets before doing anything else.
10031         While I've just introduced a dependency on BufferView this really is
10032         the best place to clean the buffer otherwise you need to cleanup in
10033         a dozen places before calling export or cleanup in a dozen functions
10034         that export calls.
10035
10036         * converter.C (runLaTeX):
10037         (scanLog): Better handling of removeAutoInsets and screen updates.
10038
10039         * lyxfunc.C (dispatch): small whitespace changes
10040
10041 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * WorkArea.C (C_WorkAreaEvent): return a value.
10044         (event_cb): return 1 if we handled the event, 0 otherwise.
10045
10046         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10047
10048 2002-03-18  Juergen Vigna  <jug@sad.it>
10049
10050         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10051         (GetAdditionalWidth): ditto.
10052         (RightLine): ditto.
10053         (LeftLine): ditto.
10054
10055         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10056         inset if we're there actually (probably not used right now but this
10057         is the direction to go for unifying code).
10058         (paste): disable code to clear the selection.
10059
10060         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10061         inside an InsetText and move the check further up as it is in the
10062         wrong place.
10063
10064         * text2.C (pasteSelection): set a selection over the pasted text.
10065
10066 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10067
10068         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10069         and libgraphics to build on Cygwin.
10070
10071 2002-03-15  Juergen Vigna  <jug@sad.it>
10072
10073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10074         inserting an Inset into the paragraph. I know this is not the best
10075         fix but we already use current_view in CutAndPaste so we will remove
10076         all of it's using at the same time.
10077
10078         * buffer.C (sgmlError): deactivated function till it is rewritten in
10079         the right mode, now it can create problems.
10080
10081         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10082         before accessing it.
10083
10084 2002-03-14  Juergen Vigna  <jug@sad.it>
10085
10086         * undo_funcs.C (textHandleUndo): do the right thing when updating
10087         the inset after the undo/redo.
10088
10089         * text2.C (setCursor): just some testcode for #44 not ready yet.
10090
10091         * undo_funcs.C (textHandleUndo): set the next() and previous()
10092         pointers of the paragraph to 0 before deleting otherwise we have
10093         problems with the Paragraph::[destructor].
10094
10095         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10096         on a paragraph insertion.
10097
10098 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * buffer.C (asciiParagraph): use += operator for char append to
10101         string.
10102
10103         * paragraph.C (getFontSettings): compare >= not just >
10104         (highestFontInRange): ditto
10105         (setFont): ditto
10106
10107 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * paragraph.C: change several algorithm to be more appripriate for
10110         the problem domain. This is lookip in FontList and in the InsetList.
10111
10112 2002-03-13  André Pönitz <poenitz@gmx.net>
10113
10114         * commandtags.h:
10115         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10116
10117 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * commandtags.h:
10120         * LyXAction.C:
10121         * lyxfunc.C:
10122         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10123
10124 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10125
10126         * Painter.C (display): anon helper function, adjust code for this
10127         change.
10128         (pixmap): remove function.
10129
10130         * Painter.h: remove private display variable.
10131
10132         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10133
10134 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10135
10136         * WorkArea.[Ch]: remove figinset_canvas cruft.
10137
10138 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10139
10140         * lyxtextclass.C (operator): add one item cache optimization.
10141
10142         * bufferlist.h: doxy changes
10143
10144         * bufferlist.C: ws changes
10145
10146         * DepTable.[Ch] (ext_exist): place const in the right spot.
10147
10148         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10149         call resizeInsets.
10150         (workAreaExpose): call resizeInsets when the with BufferView changes.
10151         (Dispatch): adjust for protectedBlank removal
10152         (specialChar): call updateInset if the insert went ok.
10153
10154         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10155         specialChar instead.
10156
10157         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10158
10159         * BufferView.h: doxy change
10160
10161         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10162
10163         * lyxtextclass.C (operator[]): remove non-const version
10164         (defaultLayout): remove non-const version
10165
10166 2002-03-12  Juergen Vigna  <jug@sad.it>
10167
10168         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10169         did resize the LyXText too.
10170
10171         * buffer.C (readLyXformat2): set layout information on newly allocated
10172         paragraphs.
10173
10174         * tabular.C (OldFormatRead): set layout information on the paragraph.
10175
10176 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10177
10178         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10179
10180 2002-03-11  Juergen Vigna  <jug@sad.it>
10181
10182         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10183         plainly wrong.
10184         (resizeCurrentBuffer): force also the insets to resize themselfes.
10185         (moveCursorUpdate): fixed up for InsetText.
10186
10187 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10188
10189         * commandtags.h:
10190         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10191         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10192         value of Dialogs::tooltipsEnabled().
10193         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10194
10195 2002-03-08  Juergen Vigna  <jug@sad.it>
10196
10197         * BufferView_pimpl.C (updateInset): update inset inside inset also
10198         if it isn't inside theLockingInset().
10199
10200 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * buffer.C (asciiParagraph): redo some of the word and line length
10203         handling.
10204         (getLists): look for Caption instead of caption.
10205
10206 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10207
10208         * buffer.C (Buffer): initialize niceFile to true
10209         (makeLaTeXFile):
10210         (makeLinuxDocFile):
10211         (makeDocBookFile): make sure niceFile is true on exit
10212
10213 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10216
10217 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * LyXSendto.C: remove.
10220         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10221         * lyx_gui.C: remove now-redundant comment.
10222         * ColorHandler.h: remove forward declaration of class WorkArea.
10223         * lyxfunc.C: remove #include "WorkArea.h".
10224
10225 2002-03-07  Juergen Vigna  <jug@sad.it>
10226
10227         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10228         got moved away with the DEPM and also set the inset_owner always
10229         right which before could have been omitted.
10230
10231 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10232
10233         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10234         wanted layout is not found.
10235
10236 2002-03-07  Juergen Vigna  <jug@sad.it>
10237
10238         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10239
10240 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * paragraph.C (breakParagraph): use default layout not layout of
10243         prev paragraph.
10244         (Paragraph): clear ParagraphParameters.
10245
10246 2002-03-06  Juergen Vigna  <jug@sad.it>
10247
10248         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10249         otherwise it would not be a valid lenght. Fixed a special case in
10250         the minipage compatibility read where we end the document with a
10251         minipage.
10252
10253         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10254         was set as it could be 0 for InsetTexts first entry.
10255
10256 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10257
10258         * paragraph.C (writeFile): if layout is empty write out
10259         defaultLayoutName().
10260
10261         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10262         file without named layout we set layout to defaultLayoutName().
10263
10264 2002-03-06  Juergen Vigna  <jug@sad.it>
10265
10266         * CutAndPaste.C (copySelection): set layout for new paragraph.
10267
10268         * text.C (prepareToPrint): leave ERT inset left aligned
10269         (leftMargin): don't indent paragraphs inside ERT insets
10270
10271 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10272
10273         * paragraph.C (breakParagraph): dont call clear do the work manually
10274
10275         * paragraph.[Ch] (clear): remove function
10276
10277 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * paragraph.C (Paragraph): dont call clear, the work has already
10280         been done.
10281
10282         * lyxtextclass.C (operator): assert if n is empty
10283
10284         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10285         work manually instead.
10286
10287 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * BufferView_pimpl.C: protect selectionLost against text == 0
10290
10291 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * text.C (breakParagraph): fix a setting layout to '0' problem.
10294
10295 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10296
10297         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10298         final location of file, for the included files, and graphics.
10299
10300 2002-03-05  Juergen Vigna  <jug@sad.it>
10301
10302         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10303
10304 2002-03-04  Juergen Vigna  <jug@sad.it>
10305
10306         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10307
10308         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10309         last column of multicolumn cells.
10310         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10311
10312 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10313
10314         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10315         file if it doesn't go to a temporary file.
10316
10317         * buffer.C (sgmlOpenTag):
10318         (sgmlCloseTag):  remove extra newline insertion.
10319
10320 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * text.C (getRowNearY): comment out debug msg
10323
10324 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10325
10326         * text2.C: first -> first_y
10327
10328         * text.C (getRowNearY): add some attemts at a possible
10329         optimization, not working.
10330
10331         * tabular.[Ch]: add BufferParams to several function so that newly
10332         created paragraph can be initialized to he default layotu for the
10333         buffers textclass.
10334
10335         * tabular-old.C (ReadOld): add buf->params to call of Init
10336
10337         * screen.C: rename text->first to text->first_y
10338
10339         * paragraph.C (breakParagraph): always set layout in the broken
10340         paragraph
10341
10342         * lyxtextclass.C (Read): remove lowercase
10343         (hasLayout): ditto
10344         (operator): ditto
10345         (delete_layout): ditto
10346
10347         * lyxtext.h: rename first -> first_y
10348
10349         * lyxlayout.C (Read): remove lowercase
10350         (name): ditto
10351         (setName): ditto
10352         (obsoleted_by): ditto
10353
10354         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10355
10356         * buffer.C (insertErtContents): add params are to InsetERT
10357         (parseSingleLyXformat2Token): add code to check if a paragraphs
10358         layout really exist.
10359         (parseSingleLyXformat2Token): add params to several inset
10360         constructors
10361         (asciiParagraph): remove lowercase, do the layout comparisons with
10362         no_case
10363
10364         * BufferView_pimpl.C (cursorNext): first -> first_y
10365         (resizeCurrentBuffer): first -> first_y
10366         (updateScrollbar): first -> first_y
10367         (scrollCB): first -> first_y
10368         (workAreaMotionNotify): first -> first_y
10369         (workAreaButtonPress): first -> first_y
10370         (checkInsetHit): first -> first_y
10371         (cursorPrevious): first -> first_y
10372         (cursorNext): first -> first_y
10373         (Dispatch): add buffer_->params to severl inset contructors
10374
10375 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * lyxlayout.C (Read): remove some debug info that I forgot.
10378
10379         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10380         clean up the code slightly.
10381         (makeLinuxDocFile): ditto
10382         (makeDocBookFile): ditto
10383
10384         * text2.C: layout as string
10385
10386         * text.C: layout as string
10387
10388         * paragraph_pimpl.C: layout as string
10389
10390         * paragraph.[Ch]: layout as string
10391
10392         * lyxtextclasslist.[Ch]: layout as string
10393
10394         * lyxtextclass.[Ch]: layout as string
10395
10396         * lyxtext.h: layout as string
10397
10398         * lyxlayout.[Ch]: layout as string
10399
10400         * lyx_cb.C: layout as string
10401
10402         * bufferview_funcs.C: layout as string
10403
10404         * bufferparams.C: layout as string
10405
10406         * buffer.C: layout as string
10407
10408         * LyXView.[Ch]: layout as string
10409
10410         * LaTeXFeatures.[Ch]: layout as string
10411
10412         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10413
10414         * BufferView_pimpl.C: change current_layout to string, remove
10415         lyx::layout_type.
10416         (Dispatch):
10417         (smartQuote):
10418         (insertInset):
10419         (workAreaButtonRelease): layout as string
10420
10421         * BufferView2.C (unlockInset): adjust
10422
10423         * vspace.C (asLatexCommand): use an explict temp variable.
10424
10425 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * Makefile.am: use FRONTEND_*
10428
10429 2002-03-01  Juergen Vigna  <jug@sad.it>
10430
10431         * tabular.C (SetWidthOfMulticolCell): changed to something better
10432         I hope but still work in progress.
10433         (recalculateMulticolumnsOfColumn): renamed function from
10434         recalculateMulticolCells as it is more appropriate now.
10435         (SetWidthOfCell): calculate multicols better.
10436
10437 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10440
10441         * lyxfunc.C (processKeySym): print sequence also if it is
10442         `deleted' (complete)
10443
10444         * kbsequence.C (print): print sequence even if it is deleted
10445         (complete would be a better word, actually).
10446
10447         * lyxfunc.C (dispatch): print complete options after a prefix key
10448
10449         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10450
10451 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10452
10453         * text2.C (setCharFont): eliminate setCharFont code duplication.
10454
10455 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10456
10457         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10458         LFUN_TABULAR_FEATURE (bug #177)
10459
10460 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10461
10462         * Makefile.am: remove figure.h
10463
10464 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10465
10466         * Bufferview_pimpl.C:
10467         * CutAndPasteC:
10468         * LaTeX.C:
10469         * LyXSendto.C:
10470         * buffer.C:
10471         * bufferlist.C:
10472         * converter.C:
10473         * language.C:
10474         * lyxfunc.C:
10475         * lyxvc.C:
10476         * paragraph.C:
10477         * text.C:
10478         * text2.C: remove #include "lyx_gui_misc.h".
10479
10480         * LaTeX.C: added #include <cstdio>
10481
10482 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10483
10484         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10485         that the paragraph following this one can have.
10486
10487         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10488
10489         * vspace.C (asLatexCommand): fix bogus gcc warning
10490
10491         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10492
10493 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10494
10495         * text2.C (setLayout): get rid of redundant code
10496
10497 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10498
10499         * text2.C (incDepth): make sure depth cannot be increased beyond
10500         reasonable values.
10501
10502 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10505         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10506
10507         * PainterBase.h (image):
10508         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10509         a LyXImage const *.
10510
10511 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * BufferView.C:
10514         * BufferView.h:
10515         * BufferView_pimpl.C:
10516         * BufferView_pimpl.h:
10517         * LaTeXFeatures.C:
10518         * LyXAction.C:
10519         * LyXView.C:
10520         * Makefile.am:
10521         * UpdateList.h:
10522         * UpdateList.C:
10523         * buffer.C:
10524         * figure.h:
10525         * figureForm.C:
10526         * figureForm.h:
10527         * figure_form.C:
10528         * figure_form.h:
10529         * lyx_cb.C:
10530         * lyx_gui.C:
10531         * lyx_gui_misc.C:
10532         * lyxfunc.C:
10533         * sp_base.h:
10534         * sp_ispell.h:
10535         * sp_pspell.h:
10536         * sp_spell.C: remove fig inset, and the crap house of
10537           cards that follows it
10538
10539 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * Makefile.am:
10542         * lyxserver.C:
10543         * os2_defines.h:
10544         * os2_errortable.h:
10545         * nt_defines.h: move .h into support/
10546
10547         * vms_defines.h: remove
10548
10549         * WorkArea.C: add space in debug output
10550
10551         * text2.C:
10552         * paragraph.C:
10553         * buffer.C: add WITH_WARNINGS
10554
10555         * vc-backend.h:
10556         * vc-backend.C:
10557         * bufferlist.C: s/retrive/retrieve/, add docs
10558
10559         * vspace.h:
10560         * vspace.C:
10561         * kbmap.h:
10562         * lyxlength.h:
10563         * lyxgluelength.h:
10564         * length_common.h:
10565         * chset.h:
10566         * chset.C: add docs
10567
10568         * lyxgui.C: add ID to X error handler
10569
10570         * lyxtestclass.c: fix typo
10571
10572 2002-02-26  Juergen Vigna  <jug@sad.it>
10573
10574         * tabular_funcs.C (write_attribute): changed so that some default
10575         attributes are not written at all.
10576         (getTokenValue): set default values before trying to read the
10577         value so we have the return value always set as default if we don't
10578         find the token we search for.
10579
10580         * tabular.C (Write): write bools as bools not as strings!
10581
10582 2002-02-22  Juergen Vigna  <jug@sad.it>
10583
10584         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10585         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10586
10587         * text.C (leftMargin): don't add an indent for paragraphs inside
10588         tabular cells (fix #208).
10589
10590 2002-02-21  José Matos  <jamatos@fep.up.pt>
10591
10592         * tabular.C (docBook): fixed support for long tables.
10593
10594 2002-02-20  Juergen Vigna  <jug@sad.it>
10595
10596         * text2.C (getFont): get the drawing font of the Inset if this
10597         paragraph is inside an inset (only important for InsetERT for now).
10598
10599         * buffer.C (insertErtContents): use new lanugage params in ERT
10600         constructor.
10601
10602         * CutAndPaste.C: commenting out seemingly uneeded code.
10603
10604 2002-02-19  Allan Rae  <rae@lyx.org>
10605
10606         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10607         Iterators might be simple to use but they also get invalidated.
10608         (removeAutoInsets): renamed saved cursor tracking variables and added
10609         some comments to clarify what everything does.
10610
10611 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10612
10613         * Chktex.C:
10614         * LaTeX.C:
10615         * LyXSendto.C:
10616         * converter.C:
10617         * lyx_cb.C:
10618         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10619         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10620
10621         * lyxfunc.C:
10622         * vc-backend.h: remove #include "support/syscall.h"
10623
10624         * LaTeX.C:
10625         * LyXSendto.C:
10626         * converter.C: rearrange #includes in Lars' approved fashion.
10627
10628         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10629         forward declare class Timeout in the header file.
10630
10631         * XFormsView.C: changes due to the above.
10632
10633         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10634         similar to LyXView.
10635
10636         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10637         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10638
10639 2002-02-18  José Matos  <jamatos@fep.up.pt>
10640
10641         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10642         insets contents.
10643
10644 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10645
10646         * a lot of small ws changes
10647         * add a lot of using std::XXX
10648         * use std construcs some places where approp.
10649         * use some exisint stuff from lyxfunctional where approp.
10650         * Make file changes to use partial linking (lets test this now...)
10651
10652 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10653
10654         * Chktex.C:
10655         * buffer.C:
10656         remove #include "support/syscontr.h" as it's redundant. Always has been.
10657
10658         * Chktex.C:
10659         * LaTeX.C:
10660         * LyXSendto.C:
10661         * converter.C:
10662         * lyx_cb.C:
10663         * vc-backend.C:
10664         change Systemcalls::System to Systemcalls::Wait and
10665         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10666         No change of functionality, just reflects the stripped down Systemcalls
10667         class.
10668
10669 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10670
10671         * debug.[Ch]: add a GRAPHICS type to the enum.
10672
10673 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10676
10677         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10678         there is an inset.
10679
10680 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10683         match the changes below.
10684
10685         * text2.C (toggleInset): if there is not editable inset at cursor
10686         position, try to see if cursor is _inside_ a collapsable inset
10687         and close it.
10688
10689 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10690
10691         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10692         document menu has a nice checkbox
10693
10694 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * lyxlength.C (asLatexString): change PW to output as percent of
10697         \textwidth.
10698
10699         * lengthcommon.C: change '%' to 't%'
10700
10701         * lyxfunc.C (dispatch): a few comments from Martin
10702
10703 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * WorkArea.h:
10706         * WorkArea.C:
10707         * BufferView_pimpl.h:
10708         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10709           the X selection.
10710
10711 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10712
10713         * vspace.C (inPixels): fix compiler warning
10714
10715 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10716
10717         * lyxfunc.C (getStatus): fix status message for disabled commands.
10718
10719 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView_pimpl.C: fix crash on close buffer
10722         during selection (#227)
10723
10724 2002-01-27  Herbert Voss  <voss@lyx.org>
10725
10726         * buffer.C: link old Figure to new graphic inset
10727
10728 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10729
10730         * FontLoader.C (getFontinfo): Change the latex font names in order
10731         to match the names of type1inst.
10732
10733 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10736
10737         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10738         (extchanged): ditto
10739         (ext_exist): ditto
10740         (remove_files_with_extension): ditto
10741         (remove_file): ditto
10742         (write): ditto
10743
10744         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10745         document is smaller than the work area height. Do not initialize
10746         static variables to 0.
10747
10748 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10751
10752         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10753         LFUN_LAYOUT_PARAGRAPHS.
10754
10755         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10756         tabular. It is possible to provide a possible cell, which will
10757         typically be the actcell from the corresponding insettabular
10758
10759         * lyxfunc.C (getStatus): small cleanup; disable
10760         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10761         true
10762
10763 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10766
10767         * paragraph.C (startTeXParParams):
10768         (endTeXParParams): new methods. The LaTeX code to
10769         start/end paragraph formatting
10770         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10771         empty (fixes bug #200)
10772
10773         * vspace.C (inPixels): adapt to the change below
10774         (inPixels): [later] more cleanups (remove unused variables)
10775
10776         * lyxlength.C (inPixels): change to use a width and a height as
10777         parameter.
10778
10779 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10780
10781         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10782         Replaced with \paperwidth
10783
10784         * DepTable.C (insert): add std:: qualifier
10785
10786 2002-01-18  Allan Rae  <rae@lyx.org>
10787
10788         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10789         updated also?
10790
10791         * text.C (drawInset): Turned out I didn't know enough about how
10792         rebreaking worked.  This fixes most of the redraw problems.  I see
10793         an occasional cursor trail when a line is broken now and the cursor
10794         placement can seem out by a few pixels also after a rebreak.
10795
10796 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * buffer.C (parseSingleLyXformat2Token): update because minipage
10799         width is now a LyXLength
10800
10801         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10802
10803         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10804         math insets
10805
10806 2002-01-17  Juergen Vigna  <jug@sad.it>
10807
10808         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10809
10810         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10811         is set correctly and the inset is updated correctly.
10812
10813 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10816         the beginning of the loop.
10817
10818 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * lyxrc.C: improve help for use_scalable_fonts
10821
10822 2002-01-17  Allan Rae  <rae@lyx.org>
10823
10824         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10825
10826 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10829         make sure to set their inset_owner to the right value (bug #171)
10830
10831 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10832
10833         * DepTable.h
10834         * DepTable.C: Implement mtime checking to reduce time spent doing
10835         CRCs.
10836
10837 2002-01-16  Juergen Vigna  <jug@sad.it>
10838
10839         * tabular.C (GetAdditionalHeight): one of error fixed.
10840
10841         * lyxrc.C (output): small fix in writing use_pspell.
10842
10843 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10844
10845         * sp_base.h: #include LString.h
10846
10847 2002-01-16  Allan Rae  <rae@lyx.org>
10848
10849         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10850         Can someone check this please?
10851
10852         * text.C (drawInset): It was possible that p.row would be removed by
10853         breakAgainOneRow upsetting a few other settings.  There may be another
10854         small tweak possible by setting need_break_row = 0 when p.row has been
10855         removed but I don't know enough about the logic here.
10856
10857 2002-01-15  Allan Rae  <rae@lyx.org>
10858
10859         * text.C (insertChar): removed conditional truism.
10860
10861         * BufferView2.C (removeAutoInsets): More tweaks.
10862         cur_par_prev could be a stray pointer.  Check for trailing empty line
10863         in case last line was cur_par and only had an error inset on it.
10864
10865 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10868         absolute
10869
10870         * vc-backend.C (most methods):
10871         * exporter.C (Export):
10872         * converter.C (convert):
10873         (runLaTeX):
10874         * LyXSendto.C (SendtoApplyCB):
10875         * lyxfunc.C (dispatch):
10876         (menuNew):
10877         (open):
10878         (doImport):
10879         * lyx_cb.C (AutoSave):
10880         (InsertAsciiFile):
10881         * BufferView_pimpl.C (MenuInsertLyXFile):
10882         * buffer.C (runChktex): use Buffer::filePath().
10883
10884         * buffer.h: rename filename to filename_; rename filepath to
10885         filepath_ and make it private
10886         (filePath): new method
10887
10888         * buffer.C (writeFile): use fileName()
10889         (getLatexName):
10890
10891         * lyx_main.C (init): fix starting  of LyX when the binary is a
10892         link from so,ewhere else.
10893
10894         * minibuffer.C: include <cctype> for isprint
10895
10896 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10897
10898         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10899         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10900         name clash with InsetCollapsable's width function.
10901
10902 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * lastfiles.C: include <iterator>
10905
10906 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10907
10908         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10909         std::count.
10910
10911         * buffer.C (makeLaTeXFile): ditto.
10912         Also make loop operation more transparent.
10913
10914 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * ToolbarDefaults.C: remove trailing comma closing namespace.
10917
10918         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10919
10920         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10921         as in WorkArea.
10922
10923         * trans.C (Load): comment out unused variable, allowed.
10924
10925 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10926
10927         * minibuffer.[Ch] (append_char): new method to recieve input from the
10928         drop-down completion browser. If a key was pressed, then recieve this
10929         char and append it to the existing string.
10930         (peek_event): modify the positioning data passed to the completion
10931         browser so that it can be placed above the minibuffer rather than below.
10932 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * LyXAction.C (init): alloe error-next for readonly documents.
10935
10936         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10937         count.
10938
10939 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * bufferlist.C (readFile): create the buffer _after_ checking that
10942         the file exists.
10943
10944         * lyxfunc.C (verboseDispatch): fix handling of arguments
10945
10946         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10947
10948         * lyxrc.C: use string::erase() instead of initializing to "".
10949
10950
10951 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * BufferView_pimpl.h:
10954         * BufferView_pimpl.C:
10955         * WorkArea.h:
10956         * WorkArea.C:
10957         * text2.C: tell X when we have made a selection for copying
10958
10959 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10960
10961         * BufferView_pimpl.C (MenuInsertLyXFile):
10962         * lyxfunc.C (menuNew):
10963         (open):
10964         (doImport): add shortcuts to directory buttons
10965
10966         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10967         open a float)
10968
10969         * lyxfunc.C (setStatusMessage):
10970         (getStatusMessage): new methods
10971         (getStatus):use setStatusMessage instead of setErrorMessage
10972         (dispatch): when function is disabled, set error message here
10973         [instead of in getStatus previously]
10974
10975         * BufferView_pimpl.C (workAreaButtonRelease): update
10976         toolbar/menubar here too.
10977
10978 2002-01-13  Allan Rae  <rae@lyx.org>
10979
10980         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10981         Now seems indestructible.  Remaining task is to audit all other
10982         code affected by deleteEmptyParagraphMechanism.  One small quirk
10983         left is that an empty document with an error in the preamble can
10984         be made to report an error but no error box appears.  I don't know
10985         where it goes.
10986         (removeAutoInsets): Improved comments.
10987
10988 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * Thesaurus.h:
10991         * Thesaurus.C: update for Aiksaurus 0.14
10992
10993 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * text2.C (firstParagraph): removed member function, all uses
10996         replaces with ownerParagraph
10997         (redoParagraphs): here
10998         (updateInset): here
10999         (toggleAppendix): here
11000         * BufferView2.C (insertErrors): here
11001         (setCursorFromRow): here
11002
11003 2002-01-13  Allan Rae  <rae@lyx.org>
11004
11005         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11006         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11007         There is still a way to segfault this although you may have to do this
11008         multiple times: Have an InsetERT with an unknown command in it.
11009         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11010         <down-arrow>, <Enter> again, View->DVI, BANG!
11011
11012         * text2.C (setCursor):
11013         (deleteEmptyParagraphMechanism):
11014         * lyxtext.h (setCursor):
11015         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11016         Making use of the return value may help fix other bugs.
11017
11018 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11019
11020         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11021
11022         * LyXView.C (updateMenubar): call MenuBar::update here
11023         (updateToolbar): but not here
11024         (showState): do not update toolbar/menubar
11025
11026         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11027         should need to care about that.
11028
11029         * lyxfunc.C (verboseDispatch): simplify a bit
11030         (getStatus): have a version which takes a pseudoaction, and
11031         another which requires a (kb_action,string).
11032
11033         * LyXAction.C (retrieveActionArg): make it work also when action
11034         is not a pseudo-action.
11035         (getActionName): simplify a bit
11036         (helpText):
11037
11038 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * lyxfunc.C (verboseDispatch): new families of methods with
11041         several ways to specify a command and a bool to indicate whether
11042         the command name and shortcut should be displayed in minibuffer
11043         (eventually, we could extend that to a finer bitmask like
11044         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11045         (dispatch): the pristine dispatch command which just, well,
11046         dispatchs! Note it still sets its result to minibuffer; I'm not
11047         sure we want that.
11048
11049         * lyxfunc.h: remove setHintMessage
11050
11051         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11052
11053 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * BufferView_pimpl.C (specialChar): delete new inset if we have
11056         not been able to insert it.
11057
11058         * kbmap.C: revert to using int instead of kb_action, since all we
11059         are dealing with is pseudo-actions.
11060
11061         * LyXAction.C (searchActionArg): change to return int instead of
11062         kb_action, since the result is a pseudoaction.
11063
11064 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11065
11066         * buffer.C (insertErtContents): Fix (partially) the font bug.
11067
11068 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11069
11070         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11071         as the other one is broken on my machine!
11072
11073 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11074
11075         * commandtags.h:
11076         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11077
11078 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11079
11080         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11081         reflect their actual use. Provide compatibility code for older lyxrc
11082         files.
11083
11084         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11085         FL_NORMAL_STYLE.
11086         change names of popup font variables in line with the changes to lyxrc.C
11087
11088 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11089
11090         * buffer.C (asciiParagraph): avoid outputing a word twice after
11091         an inset.
11092
11093         * lyxrc.C (getDescription): document that document_path and
11094         template_path can be empty.
11095
11096 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * LaTeXFeatures.C (getMacros):
11099         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11100
11101         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11102
11103         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11104         getPackages.
11105         (getPackages): rename feature "floats" to "float". Use an array to
11106         iterate over 'simple' features (i.e. just a \usepackage). Add
11107         handling of "amsmath" (renamed from "amsstyle").
11108
11109 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11110
11111         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11112         features list.
11113
11114 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11117         FuncStaus::FuncStatus & FuncStaus::some_method().
11118
11119 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11120
11121         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11122         of the func_satus stuff. Edited and massaged in various ways by
11123         JMarc.
11124
11125         * lyxfunc.C (getStatus): use FuncStatus
11126
11127 2002-01-08  Juergen Vigna  <jug@sad.it>
11128
11129         * text.C (nextBreakPoint): use function Inset::isChar().
11130
11131         * paragraph.C (TeXOnePar): use function
11132         Inset::forceDefaultParagraphs.
11133
11134         * buffer.C (latexParagraphs): use function
11135         Inset::forceDefaultParagraphs.
11136
11137 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * lyx_gui.C (init): set the style of the menu popups to
11140         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11141
11142 2002-01-07  Juergen Vigna  <jug@sad.it>
11143
11144         * text.C (setHeightOfRow): small fix
11145         (prepareToPrint): don't look at alignment if we don't have the place
11146         for doing it.
11147
11148 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11149
11150         * box.C: New file. Move the Box methods and functions out of box.h,
11151         following Lars' suggestion.
11152
11153 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11154
11155         * box.h: #include "support/LOstream.h", needed for inlined function.
11156
11157         * lyxtextclass.C:
11158         * lyxtextclasslist.C: added some using std declarations.
11159
11160 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * box.h: make signed dimensions to allow insets wider than
11163           the screen (bug #162)
11164
11165         * BufferView_pimpl.C: add some insetHit debug
11166
11167 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11168
11169         * vc-backend.C: add FIXME
11170
11171 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11172
11173         * lyxfunc.C (getStatus): enable code for showing math font status
11174         in toolbar/menu.
11175
11176 2002-01-07  Juergen Vigna  <jug@sad.it>
11177
11178         * text.C (nextBreakPoint): removed debug output not needed anymore.
11179
11180 2002-01-06  Juergen Vigna  <jug@sad.it>
11181
11182         * text.C (nextBreakPoint): fixed up this function we had this bug
11183         since ever but now hopefully we break row better.
11184         (insertChar): we have to check if an inset is the next char as it
11185         could now happen that a large inset is causing a break.
11186
11187 2002-01-05  Juergen Vigna  <jug@sad.it>
11188
11189         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11190         if it doesn't like to be drawed.
11191
11192 2002-01-04  Juergen Vigna  <jug@sad.it>
11193
11194         * BufferView2.C (lockInset): forgot to set a cursor.
11195
11196         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11197
11198 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11199
11200         * FormMathsPanel.C:
11201         * FormMathsPanel.h
11202         * MathsSymbols.C:
11203         * form_maths_panel.C:
11204         * form_maths_panel.h:
11205         * form_maths_panel.fd: implemented sub- and super- buttons in math
11206         panel.
11207
11208         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11209         (or ^ space) to be used as in TeX (req'd by André).
11210
11211         * lyxfunc.C: Allow ^ and _ again to be used both as
11212         super/subscript (mathed) and as themselves (in text).
11213
11214 2002-01-03  Allan Rae  <rae@lyx.org>
11215
11216         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11217         "LyX" or the filename of the current buffer if it has one.  This is a
11218         modified form of John Levon's patch.
11219
11220         * XFormsView.C (setWindowTitle): also set icon title.
11221
11222         * LyXView.h (setWindowTitle): signature changed.
11223         * XFormsView.h (setWindowTitle): ditto.
11224
11225 2002-01-02  Juergen Vigna  <jug@sad.it>
11226
11227         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11228
11229 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * screen.C (topCursorVisible): introduce a temp var for
11232         text->cursor.row(), handle the case where this row is null. (kindo
11233         hachish)
11234
11235         * text2.C (setCursor): add a couple of asserts.
11236
11237         * paragraph.h (inset_iterator): add -> operator
11238
11239         * paragraph.[Ch] (autoDeleteInsets): remove member function
11240
11241         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11242         cursor pos correctly and handle inset deletion by itself.
11243         (insertErrors): move iterator declaration out of for expression
11244
11245         * lyxtextclass.C: add <algorithm>
11246
11247         * Makefile.am: added the new files to sources, removed layout.C
11248
11249         * layout.C: removed file
11250
11251         * layout.h: remove LYX_DUMMY_LAYOUT
11252
11253         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11254         layout.
11255
11256         * lyxlayout.[Ch]:
11257         * lyxtextclass.[Ch]:
11258         * lyxtextclasslist.[Ch]: new files
11259
11260         * include order changes to a lot of files, also changes because of
11261         the six new files.
11262
11263 2001-12-27  Juergen Vigna  <jug@sad.it>
11264
11265         * buffer.C (asciiParagraph): more fixes.
11266
11267         * tabular.C (ascii): make ascii export support export of only the
11268         data separated by a column-delimiter.
11269         (ascii): better support for ascii export.
11270
11271         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11272
11273 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11274
11275         * tabular_funcs.C: use a "using std::getline" instead of the
11276         previous fix from Angus (necessary for cxx + lyxstring)
11277
11278 2001-12-24  Juergen Vigna  <jug@sad.it>
11279
11280         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11281
11282         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11283         problems. First check a minipage also if we have some ert-contents
11284         (not only on par->size(), second set the right depth of the paragraph
11285         on the relink to the root-paragraph-list!
11286
11287         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11288         which then did not anymore update the main paragraphs on undo/redo!
11289
11290 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11293         code. Support all font-changing funcs (even those which are not in
11294         menu currently). Support for reporting font settings in
11295         mathed (disabled until Andre provides a function on mathed's side).
11296
11297         * func_status.h (toggle): small helper function to set toggle
11298         state on a flag.
11299
11300 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11301
11302         * tabular_funcs.C: getline -> std::getline
11303
11304 2001-12-21  Juergen Vigna  <jug@sad.it>
11305
11306         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11307         accessed and could be 0 (I couldn't generate this but it seems
11308         Michael could!).
11309
11310 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11313         * tabular_funcs.h: here and include iosfwd
11314
11315 2001-12-20  Juergen Vigna  <jug@sad.it>
11316
11317         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11318         inside inset but undo_par was.
11319
11320 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * Thesaurus.C: always include <config.h> in sources.
11323
11324         * Painter.h:
11325         * lyxlookup.h:
11326         * box.h: do not include <config.h> in header files
11327
11328         * text.C (paintLastRow): remove unused variable
11329
11330         * text.C (transformChar):
11331         (insertChar):
11332         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11333
11334         * Painter.C (text):
11335         * font.C (width): rewrite to use uppercase() instead of
11336         islower/toupper.
11337
11338         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11339
11340 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * lyxfind.C: clean up of find failure position change
11343
11344 2001-12-20  Juergen Vigna  <jug@sad.it>
11345
11346         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11347
11348         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11349         (TeXRow): added to LaTeX a single tabular row.
11350         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11351         (Latex): simplified and finally good LT-h/f support.
11352         (various_functions): just small adaptions for LT-h/f support.
11353
11354         * tabular_funcs.[hC]: added and moved here all not classfunctions
11355         of LyXTabular.
11356
11357 2001-12-19  Juergen Vigna  <jug@sad.it>
11358
11359         * tabular.[Ch]: better support for longtabular options (not finished
11360         yet!)
11361
11362 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * text.C (paintLastRow): use the label font instead of the font of
11365         the last character to compute the size of *_BOX. This makes more
11366         sense and avoids a crash with empty paragraphs.
11367         Use Painter::rectangle to draw EMPTY_BOX.
11368
11369 2001-12-19  Juergen Vigna  <jug@sad.it>
11370
11371         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11372         the paragraphs if the replaced paragraph is not the first one!
11373         Tried to delete not used paragraphs but does not work yet so for
11374         now it's inside #ifdef's and by default off!
11375
11376 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * MenuBackend.C: include "lyx_main.h" instead of declaring
11379         lastfiles (actually was declared as LastFiles* instead of a
11380         scoped_ptr).
11381
11382 2001-12-17  Juergen Vigna  <jug@sad.it>
11383
11384         * tabular.C (AppendColumn): applied John's fix
11385
11386 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * BufferView.h:
11389         * BufferView.C:
11390         * BufferView_pimpl.h:
11391         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11392
11393         * Makefile.am:
11394         * box.h: new start of class for above
11395
11396         * lyxfunc.C: ignore space-only minibuffer dispatches.
11397           Show the command name when it doesn't exist
11398
11399         * minibuffer.C: don't add empty lines to the history
11400
11401         * minibuffer.C: add a space on dropdown completion
11402
11403 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * text.C: fix line above/below drawing in insets
11406
11407 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * lyxlength.C (LyXLength): Initialize private variables.
11410
11411 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11412
11413         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11414         when inserting error insets.
11415
11416 2001-12-13  Juergen Vigna  <jug@sad.it>
11417
11418         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11419         actually sometimes the before-paragraph.
11420         (setUndo): don't clear the redostack if we're not actually undoing!
11421
11422 2001-12-06  Juergen Vigna  <jug@sad.it>
11423
11424         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11425         and fixed redoing of main paragraph, so we can use it now ;)
11426
11427         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11428
11429 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11432         Juergen's request
11433
11434 2001-12-13  André Pönitz <poenitz@gmx.net>
11435
11436         * undostack.[Ch]:
11437         * undo_func.C: minor cleanup
11438
11439 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11442         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11443         font in urw-fonts package which is marked as -urw-fontspecific and
11444         does not work (incidentally, changing the encoding in the
11445         fonts.dir of this package to -adobe-fontspecific fixes the
11446         problem).
11447
11448         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11449         is a crash when undoing first paragraph (Juergen, please take a
11450         look). THis does not mean the undo fix is wrong, just that it
11451         uncovers problems.
11452
11453         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11454         the (Paragraph*) version when needed instead of duplicating the
11455         code.
11456
11457         * text.C (workWidth): use Inset::parOwner to find out where the
11458         inset has been inserted. This is a huge performance gain for large
11459         documents with lots of insets. If Inset::parOwner is not set, fall
11460         back on the brute force method
11461
11462         * paragraph_pimpl.C (insertInset):
11463         * paragraph.C (Paragraph):
11464         (cutIntoMinibuffer): set parOwner of insets when
11465         inserting/removing them
11466
11467         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11468
11469 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11470
11471         * commandtags.h:
11472         * LyXAction.C:
11473         * lyx_main.C:
11474         * lyxfunc.C:
11475         * mathed/formulabase.C:
11476         * mathed/math_cursor.[Ch]:
11477         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11478
11479
11480 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * lyxlength.[Ch] (operator!=): new function
11483
11484 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * text.C (workWidth): use Inset::parOwner to find out where the
11487         inset has been inserted. This is a huge performance gain for large
11488         documents with lots of insets. If Inset::parOwner is not set, fall
11489         back on the brute force method
11490
11491         * paragraph_pimpl.C (insertInset):
11492         * paragraph.C (Paragraph):
11493         (cutIntoMinibuffer): set parOwner of insets when
11494         inserting/removing them
11495
11496         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11497
11498 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * tabular-old.C (getTokenValue):
11501         * tabular.C (getTokenValue):
11502         (write_attribute): new versions for LyXLength
11503         (everywhere): adjust the use of widths
11504
11505         * tabular.h: change the type of widths from string to LyXLength
11506
11507 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11508
11509         * paragraph.C: fixed missing line number count when exporting
11510         Environments to LaTeX file
11511
11512         * buffer.C: added informational message for checking line numbers.
11513
11514 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11517         paragraph, do the 'double space' part, but not the 'empty
11518         paragraph' one.
11519
11520         * text.C (workWidth): small optimization
11521         (getLengthMarkerHeight): use minimal size for negative lengths.
11522
11523 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11524
11525         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11526
11527         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11528
11529 2001-12-11  André Pönitz <poenitz@gmx.net>
11530
11531         * FontLoader.C:
11532         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11533
11534 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * text2.C: keep selection on a setFont()
11537
11538 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyx_cb.C: another bv->text misuse, from insert label
11541
11542 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * kbsequence.h:
11545         * kbsequence.C: re-instate nmodifier mask
11546
11547 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11548
11549         * lyx_main.h: make lyxGUI private.
11550
11551 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * lyxfind.C: place the cursor correctly on failed search
11554
11555 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * text.C (getLengthMarkerHeight): for small heights, the arrows
11558         are not always on top/bottom of the text
11559         (drawLengthMarker): smaller arrows; take the left margin in
11560         account; draw also vfills.
11561         (paintFirstRow):
11562         (paintLastRow): remove special code for vfill and standard spaces,
11563         since everything is handled in drawLengthMarker now.
11564
11565 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * buffer.C (insertErtContents): try to handle font and language
11568         interaction a bit better.g
11569
11570         * ColorHandler.C (updateColor): change the hash to cover the whole
11571         LColor enum, ws cleanup
11572         (getGCLinepars): ditto
11573         (getGCLinepars): only lookup in the linecache once.
11574
11575 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11576
11577         * iterators.C (operator++): Make the iterator more robust
11578
11579         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11580         (John's patch)
11581         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11582
11583 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * lyxtext.h:
11586         * text.C: better added space drawing
11587
11588 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * LyXView.C:
11591         * BufferView2.C: fix layout combo update on inset unlock
11592
11593 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * Makefile.am: don't compile unused files
11596
11597 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * lyxfunc.C:
11600         * commandtags.h:
11601         * LyXAction.C: remove old LFUN_LAYOUTNO
11602
11603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * paragraph_pimpl.h:
11606         * paragraph_pimpl.C: isTextAt() doesn't need font param
11607
11608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * lyxlex.h:
11611         * lyxlex.C: little cleanup
11612
11613 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * BufferView_pimpl.C: fix insertAscii for insets
11616
11617 2001-12-05  Juergen Vigna  <jug@sad.it>
11618
11619         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11620         set the right font on the "multi" paragraph paste!
11621
11622 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * trans_decl.h:
11625         * trans_mgr.[Ch]:
11626         * trans.[Ch]:
11627         * lyxgluelength.C:
11628         * lyxlength.C: remove out-commented code.
11629
11630         * BufferView_pimpl:
11631         * CutAndPaste.C:
11632         * DepTable.C:
11633         * buffer.C:
11634         * chset.C:
11635         * lastfiles.C:
11636         * lyxlex.C:
11637         * lyxlex_pimpl.C:
11638         * lyxserver.C:
11639         * screen.C:
11640         * tabular-old.C:
11641         * tabular.C:
11642         * text.C:
11643         * trans_mgr.C:
11644         * vc-backend.C: change "while(" to "while ("
11645
11646         * lyxlength.[Ch]: add zero function to check if length is zero or
11647         not
11648         * lyxgluelength.C: use it
11649
11650 2001-12-05  Allan Rae  <rae@lyx.org>
11651
11652         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11653         Works for 2.95.3, from what I understand of Garst's reports this should
11654         work for other g++ versions.  We're screwed if the abs(int) definition
11655         changed between bugfix releases of gcc.
11656
11657 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * text.C: fix chapter label offset !
11660
11661 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * lyxtext.h:
11664         * text.C: fix hfill at end of line, clean up
11665
11666 2001-12-04  Juergen Vigna  <jug@sad.it>
11667
11668         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11669         that we force an update of the inset and it's owners if neccessary.
11670
11671 2001-12-03  Juergen Vigna  <jug@sad.it>
11672
11673         * text.C (rowLast): simplified code
11674
11675 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * lyxfunc.C: fix show options on timeout
11678
11679 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * screen.C (topCursorVisible): scroll half a page when the cursor
11682         reached top of bottom of screen
11683
11684 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * minibuffer.C: deactivate on loss of focus
11687
11688 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * vspace.[Ch] (operator!=): add operator.
11691
11692 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * BufferView_pimpl.C: refuse to open an inset when
11695         there's a selection.
11696
11697 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * BufferView_pimpl.C: allow to click on RHS of full row insets
11700
11701 2001-11-30  Juergen Vigna  <jug@sad.it>
11702
11703         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11704         insets for undo reasons.
11705
11706 2001-11-28  André Pönitz <poenitz@gmx.net>
11707
11708         * vspace.[Ch]: cosmetical changes
11709
11710 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * LyXAction.h:
11713         * LyXAction.C:
11714         * lyxfunc.h:
11715         * lyxfunc.C:
11716         * kbmap.h:
11717         * kbmap.C:
11718         * lyxrc.C:
11719         * kbsequence.h:
11720         * kbsequence.C: part re-write of old kb code
11721
11722         * Painter.C:
11723         * WorkArea.C: remove Lgb_bug_find_hack
11724
11725 2001-11-30  José Matos <jamatos@fep.up.pt>
11726
11727         * buffer.C (makeDocBookFile): add a comment to point a hack.
11728         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11729         Fixed a double write of labels.
11730
11731 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11732
11733         * LaTeX.C:
11734         * LaTeX.h Fixed bug in LaTeX class where it would not
11735         re-run latex if no depfiles were changed, but the .dvi was removed.
11736
11737 2001-11-28  André Pönitz <poenitz@gmx.net>
11738
11739         * all the files from the change on 2001/11/26:
11740         use lyx::layout_type instead of LyXTextClass::size_type
11741         use lyx::textclass_type instead of LyXTextClassList::size_type
11742
11743 2001-11-29  Juergen Vigna  <jug@sad.it>
11744
11745         * text.C: added support for paragraph::isFreeSpacing()
11746
11747         * buffer.C: same as above
11748
11749         * paragraph.h: inserted isFreeSpacing() function to enable
11750         FreeSpacing inside InsetERT.
11751
11752         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11753         of the paragraph's in the cut/copy buffer to 0!
11754
11755         * text2.C (removeRow): remove the assert as it can!
11756
11757         * lyxtext.h: added helper function firstRow returning firstrow and
11758         made firstrow private again.
11759
11760         * BufferView2.C (lockInset): don't relock if we're already locked!
11761
11762         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11763         the only paragraph.
11764         (removeRow): added Assert::(firstrow)
11765
11766         * debug.C: forgot to add INSETTEXT here.
11767
11768 2001-11-28  Juergen Vigna  <jug@sad.it>
11769
11770         * sp_spell.C (initialize): changed error text to more general
11771         spellchecker command use (not only ispell!)
11772
11773         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11774
11775         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11776
11777 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * vspace.C: initialise lyxgluelength on failure
11780
11781 2001-11-28  Allan Rae  <rae@lyx.org>
11782
11783         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11784         declaration & definition that looks like a function declaration.
11785
11786 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11787
11788         * BufferView2.C (copy):
11789         (copyEnvironment): do not clear the selection when doing a copy.
11790
11791         * text.C (paintFirstRow): compilation fix
11792
11793 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11794
11795         * tabular.C (Latex): correct line count when writing latex.
11796
11797 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * paragraph_pimpl.h:
11800         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11801           bug a bit
11802
11803 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * text.C:
11806         * LColor.h:
11807         * LColor.C: change vfillline->added_space
11808
11809         * text.C: add markers and text for added space
11810
11811         * vspace.C: fix comment
11812
11813 2001-11-28  André Pönitz <poenitz@gmx.net>
11814
11815         * paragraph.C: whitespace changes
11816         * all the other files from the change on 2001/11/26:
11817         change *::pos_type into lyx::pos_type
11818
11819 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11820
11821         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11822         language of the document when inserting error insets.
11823
11824 2001-11-26  André Pönitz <poenitz@gmx.net>
11825
11826         * BufferView_pimpl.[Ch]:
11827         *       CutAndPaste.C:
11828         * buffer.[Ch]:
11829         * lyxcursor.[Ch]:
11830         * lyxfind.C:
11831         * lyxfunc.C:
11832         * lyxrow.[Ch]:
11833         * paragraph.[Ch]:
11834         * paragraph_pimpl.[Ch]:
11835         * sp_spell.C:
11836         * text.C:
11837         * text2.C: reduce header dependencies, introduce type for positions
11838
11839 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * <various>: change to use Alert.h
11842
11843 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11844
11845         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11846         when encountering an unknown token.
11847         (readLyXformat2): Show an error message if there were unknown tokens.
11848
11849 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * BufferView2.C:
11852         * BufferView_pimpl.C:
11853         * buffer.C:
11854         * paragraph.h:
11855         * text.C:
11856         * text2.C: use par->isInset()
11857
11858 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * paragraph_pimpl.h:
11861         * paragraph_pimpl.C: cleanup
11862
11863 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11864
11865         * text2.C (removeRow):
11866         * text.C (setHeightOfRow): remove useless (and costly) call to
11867         getRow.
11868
11869 2001-11-20  Allan Rae  <rae@lyx.org>
11870
11871         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11872         Now need Inset*::checkInsertChar() to return true for appropriate
11873         cases so that the characters in the minibuffer will actually be
11874         inserted.
11875
11876 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * text.C: change the order of the includes.
11879         (workWidth): initialize it at once.
11880         (workWidth): make maxw unsigned
11881         (setHeightOfRow): remove unused variable (inset)
11882         (selectSelectedWord): remove unused variable (inset)
11883         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11884
11885 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11888         server is not running.
11889         (openConnection):
11890         (closeConnection): add debug info when server is disabled.
11891
11892         * ColorHandler.C (getGCForeground): send debug message to GUI
11893         channel.
11894
11895         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11896
11897         * kbmap.C (bind): modify because return conventions of
11898         kb_sequence::parse have changed.
11899
11900         * kbsequence.C (parse): only ignore spaces and not any stupid
11901         control character. This avoids tests like s[i] <= ' ', which are
11902         guaranteed to fail with 8bit characters and signed chars.
11903         Change return code to string::npos when there have been no error
11904         (0 was a bad idea when error is at first character)
11905
11906 2001-11-14  José Matos  <jamatos@fep.up.pt>
11907
11908         * buffer.h:
11909         * buffer.C (simpleDocBookOnePar): removed unused argument.
11910
11911 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11914         insets which are part of a word. Paragraph::isLetter takes care of
11915         that now. Use Paragraph::isInset to identify insets.
11916         (selectSelectedWord): do not test for hyphenation break.
11917
11918         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11919         that protected spaces are considered as spaces.
11920
11921         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11922         Inset::isLetter.
11923
11924 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * lyxserver.h:
11927         * lyxserver.C: fix it. and small cleanup.
11928
11929 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * BufferView_pimpl.C: use inline helpers
11932
11933         * LaTeXFeatures.h:
11934         * LaTeXFeatures.C: fix typos
11935
11936         * Spacing.h:
11937         * Spacing.C: move spacing_string into class
11938
11939         * ToolbarDefaults.C: move stuff into namespace anon
11940
11941         * layout.h: update enum
11942
11943         * lyxfunc.C: use better debug
11944
11945         * minibuffer.h: fix typo
11946
11947         * debug.h:
11948         * debug.C:
11949         * WorkArea.C: add and use Debug::WORKAREA
11950
11951         * lyxtext.h:
11952         * text.C:
11953         * text2.C: code re-organisation, inline helpers
11954
11955 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11956
11957         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11958         std::vector.empty().
11959
11960 2001-11-09  Allan Rae  <rae@lyx.org>
11961
11962         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11963         '\n's after tables.  Tabular and ERT inset work now makes this no
11964         longer necessary.
11965
11966 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11967
11968         * minibuffer.h:
11969         * minibuffer.C: fix crash, improve drop-down completion
11970
11971 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * lyxserver.h:
11974         * lyxserver.C: invalidate fd's when doing endPipe()
11975
11976 2001-11-08  José Matos  <jamatos@fep.up.pt>
11977
11978         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11979         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11980
11981         * paragraph.h:
11982         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11983
11984 2001-11-07  José Matos  <jamatos@fep.up.pt>
11985
11986         * buffer.h:
11987         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11988         const qualifier.
11989
11990         * buffer.C (sgmlOpenTag):
11991         * buffer.C (sgmlCloseTag): removed debug info.
11992
11993         * buffer.h (sgmlOpenTag):
11994         * buffer.h (sgmlCloseTag): made public.
11995
11996 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11997
11998         * buffer.C (saveParamsAsDefaults):
11999         * lyx_cb.C (MenuLayoutSave): remove
12000
12001         * LyXAction.C (init):
12002         * commandtags.h:
12003         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12004
12005 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12006
12007         * buffer.C (setPaperStuff): removed from here...
12008
12009         * bufferparams.C (setPaperStuff): ... and moved there.
12010
12011 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * minibuffer.h:
12014         * minibuffer.C:
12015         * XFormsView.C: add support for drop-down completion
12016
12017 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12018
12019         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12020         commands.
12021
12022 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12025         disabled.
12026
12027 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * lyx_main.C: change ref to known bugs
12030
12031 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12032
12033         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12034         to work around older babel problems.
12035
12036 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12037
12038         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12039
12040 2001-10-24  Juergen Vigna  <jug@sad.it>
12041
12042         * tabular-old.C (ReadOld): below variable changes reflected.
12043
12044         * tabular.[Ch]: added ltType struct for longtable header/footer
12045         defines and changed all instances where they are used. Added
12046         future support for double top/bottom rows.
12047
12048 2001-10-24  José Matos  <jamatos@fep.up.pt>
12049
12050         * buffer.h (docbookHandleCaption):
12051         * buffer.C (docbookHandleCaption): removed unused function.
12052         (makeDocBookFile): moved docbook supported version to v4.1.
12053
12054 2001-10-24  José Matos  <jamatos@fep.up.pt>
12055
12056         * tabular.h:
12057         * tabular.C (docbookRow): new function to export docbook code of a row.
12058         (DocBook): now honors the longtable flags.
12059
12060 2001-10-23  José Matos  <jamatos@fep.up.pt>
12061
12062         * LaTeXFeatures.h:
12063         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12064         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12065
12066         * buffer.C (makeLinuxDocFile):
12067         (makeDocBookFile): reworked the preamble, more clean, and with
12068         support for lyx defined entities. Changed the document declaration
12069         to be more XML friendly.
12070
12071         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12072         if we need to output XML that should be done with a filter.
12073
12074 2001-10-22  Juergen Vigna  <jug@sad.it>
12075
12076         * sp_pspell.h (class PSpell): add alive function needed in the
12077         controller to see if the spellchecker could be started.
12078
12079 2001-10-22  Juergen Vigna  <jug@sad.it>
12080
12081         * buffer.C (insertStringAsLines): modify the font for inserting
12082         chars in certain conditions by calling checkInsertChar(font).
12083
12084 2001-10-19  Juergen Vigna  <jug@sad.it>
12085
12086         * text.C (workWidth): use getRow instead of wrong algorithm.
12087         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12088
12089 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * lyxserver.h:
12092         * lyxserver.C:
12093         * lyx_main.h:
12094         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12095
12096 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12097
12098         * text.C (workWidth): do not search for the exact row when
12099         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12100         optimization for big documents.
12101
12102 2001-10-18  Juergen Vigna  <jug@sad.it>
12103
12104         * text.C (workWidth): new function with added Inset * parameter.
12105
12106 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12109
12110         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12111         change return type of getColumnNearX.
12112
12113
12114         * text.C (changeRegionCase): use uppercase/lowercase instead of
12115         toupper/tolower.
12116         (leftMargin):
12117         (rightMargin): simplify code by factoring out the uses of
12118         textclasslist.
12119         (labelFill):
12120         (numberOfHfills):
12121         (setHeightOfRow):
12122         (appendParagraph): use Paragraph::size_type
12123
12124 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12125
12126         * vspace.C (asLatexString): add a missing break
12127
12128 2001-10-15  Herbert Voss  <voss@perce.de>
12129
12130         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12131
12132 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12133
12134         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12135         is not available.
12136
12137 2001-10-10  André Pönitz <poenitz@gmx.net>
12138
12139         * lyxfunc.C: removed greek_kb_flag.
12140
12141 2001-10-10  Herbert Voss  <voss@perce.de>
12142
12143         * lyx_main.C: delete global string help_lyxdir.
12144
12145 2001-10-09  Herbert Voss  <voss@perce.de>
12146
12147         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12148
12149         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12150
12151         * lyx_main.C: added global string help_lyxdir.
12152
12153         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12154
12155 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12156
12157         * lyxrc.C (set_font_norm_type): support iso8859-4
12158
12159 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12160
12161         * LaTeX.C (deplog): add another regex for MikTeX
12162
12163 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12164
12165         * lyxrc.C (set_font_norm_type): support iso8859-3
12166
12167 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12168
12169         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12170
12171         * LaTeXFeatures.C: remove special case of french and index
12172
12173         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12174         before \begin{document}). This solves several incompatibilities.
12175
12176 2001-10-03  Garst Reese  <reese@isn.net>
12177
12178         * lyx_cb.C: change CheckTex error msg.
12179
12180 2001-10-03  José Matos  <jamatos@fep.up.pt>
12181
12182         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12183
12184 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12185
12186         * .cvsignore: update
12187
12188         * lyx_main.C (commandLineVersionInfo): use new style version info.
12189
12190         * buffer.C (writeFile):
12191         (makeLaTeXFile):
12192         (makeLinuxDocFile):
12193         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12194
12195         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12196
12197         * version.h: update to use stuff in version.C
12198
12199         * version.C.in: new file. Contains version information determined
12200         at compile time. This is a merging of version.h and
12201         version_info.h.in.
12202
12203 2001-10-03  Juergen Vigna  <jug@sad.it>
12204
12205         * BufferView_pimpl.C (update): don't change "dirty" status in
12206         updateInset call.
12207
12208 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12209
12210         * WorkArea.C (c-tor): re-position version string slightly.
12211
12212 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12213
12214         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12215         revert to previous code.
12216
12217         WorkArea.[Ch]: (show, destroySplash): methods removed.
12218
12219         WorkArea.C: rework code so that it's an amalgam of the codes before and
12220         after the splash screen was moved to WorkArea.
12221
12222 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * lyxrc.C (read):
12225         * vspace.C (inPixels):
12226         (lyx_advance):
12227         * kbmap.C (bind):
12228         * buffer.C (insertStringAsLines):
12229         (asciiParagraph): fix types to be large enough
12230
12231         * lyxlex_pimpl.h: change member status from short to int
12232
12233         * layout.h: fix type of endlabeltype
12234
12235         * kbmap.C (bind):
12236         * kbsequence.C (parse): change return type to string::size_type
12237
12238         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12239         variable
12240
12241         * Bullet.C (bulletSize):
12242         (bulletEntry): do not use short ints as parameters
12243
12244         * BufferView2.C (insertLyXFile): change a char to an int.
12245
12246         * WorkArea.C (WorkArea): remove unneeded floats in computation
12247
12248 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12249
12250         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12251
12252         * paragraph.C (asString): Do not ignore newline/hfill chars when
12253         copying to the clipboard.
12254
12255 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12258         after a multi-line inset.
12259
12260 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12261
12262         * paragraph.C (validate): Set NeedLyXFootnoteCode
12263
12264 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12267         and decrease-error to decrease.
12268
12269 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12272         it more readable (should be equivalent)
12273
12274 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12275
12276         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12277
12278 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12279
12280         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12281         of a cursor (row, etc.) after a character has been deleted
12282         (deleteEmptyParagraphMechanism): call the method above on _all_
12283         cursors held by the LyXText when a double space has been
12284         detected/deleted.
12285
12286 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12289         pixmap.
12290         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12291
12292         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12293         background. Use greyOut() and the new show() methods to toggle between
12294         the foreground and background. Add code to remove the splash after
12295         its initial showing.
12296
12297         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12298         (create_forms): no longer call Dialogs::showSplash.
12299
12300 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * .cvsignore: add version_info.h
12303
12304 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12305
12306         * version_info.h.in: new file
12307
12308         * Makefile.am: add version_info.h.in
12309
12310         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12311         version_info.h instead of VERSION_INFO
12312
12313 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12316         The ERT inset now returns string().
12317
12318 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * lyxtext.h, text.C (selectNextWord): renamed as
12321         selectNextWordToSpellcheck.
12322
12323         * text.C (selectNextWordToSpellcheck): Modified to not select
12324         words inside an ERT inset.
12325
12326 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * lyx_cb.C (MenuLayoutSave): change a bit the question
12329
12330         * sp_base.h: include <sys/types.h>
12331
12332 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12333
12334         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12335
12336 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12337
12338         * several files: fix typos in user-visible strings
12339
12340 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * text2.C (pasteSelection): do not set the selection, since it
12343         will be cleared later. Actually, the intent was to fix the way the
12344         selection was set, but I figured rmoving the code was just as good.
12345
12346 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12347
12348         * FontLoader.C (available): Check if font is available without
12349         loading the font.
12350
12351 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12352
12353         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12354
12355 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12356
12357         * lyxrc.[Ch]: added display_graphics variable and associated code.
12358
12359 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12360
12361         * bufferparams.C (hasClassDefaults): new method. Returns true if
12362         the buffer parameters correspond to known class defaults
12363
12364 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12365
12366         * XFormsView.C (show): set minimum size to the main window.
12367
12368 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * text2.C (copySelection):
12371         (cutSelection):
12372         * lyxfind.C (LyXReplace):
12373         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12374         LyXText::selectionAsString.
12375
12376         * paragraph.C (asString): add "label" argument to the second form
12377
12378         * text2.C (selectionAsString): add "label" argument and pass it to
12379         Paragraph::asString.
12380
12381 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12382
12383         * lyx_main.C (commandLineHelp): remove version information
12384
12385 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12386
12387         * lyx_main.C: add -version commandline option
12388
12389 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * paragraph.h: make the optional constructor arg required instead.
12392         some modifications to other files because of this.
12393
12394         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12395
12396         * lyxserver.C (C_LyXComm_callback): make it static
12397
12398         * lyx_main.C (error_handler): make it static
12399
12400         * lyx_gui.C (LyX_XErrHandler): make it static
12401
12402         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12403
12404         * WorkArea.C: make the extern "C" methods static.
12405
12406         * Makefile.am (lyx_LDADD): simplify
12407
12408 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12409
12410         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12411         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12412
12413         * LyXAction.C (init):
12414         * lyxfunc.C (dispatch): associated code removal.
12415
12416 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * lyxfont.h (isSymbolFont): shut off warning
12419
12420         * text.C (setHeightOfRow):
12421         (getVisibleRow): fix crash with empty paragraphs which have a
12422         bottom line
12423
12424 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12425
12426         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12427         code.
12428
12429 2001-09-04  José Matos  <jamatos@fep.up.pt>
12430         * buffer.C
12431         * buffer.h
12432         * tabular.C (docbook): rename docBook method to docbook.
12433
12434 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * Makefile.am: add dependencies to main.o.
12437
12438 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12439
12440         * FontLoader.C (available): Return false if !lyxrc.use_gui
12441
12442 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12443
12444         * FontInfo.C (query):
12445         * converter.C (view):
12446         * importer.C (Import):
12447         * exporter.C (Export): Can not -> cannot.
12448
12449 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * BufferView_pimpl.C: allow to create index inset even if
12452           string is empty
12453
12454 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12455
12456         * buffer.C (getLists): replace boost::tie code with an explicit pair
12457         as boost::tie can break some compilers.
12458
12459         * iterators.h: Added a std:: declaration to the return type of
12460         ParIterator::size.
12461
12462 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12465           case.
12466
12467 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12468
12469         * iterators.[Ch]: New files. Provide paragraph iterators.
12470
12471         * buffer.C (changeLanguage): Use paragraph iterators.
12472         (isMultiLingual): ditto
12473
12474         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12475
12476 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * FontLoader.C: Support for cmr font.
12479
12480 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12481
12482         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12483         (available): New method.
12484
12485         * FontInfo.C (getFontname): Use scalable fonts even when
12486         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12487         found.
12488
12489 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * converter.C (Formats::view): reverted! Incorrect fix.
12492
12493 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * converter.C (Formats::view): only output the -paper option
12496         if the dvi viewer is xdvi, thereby fixing bug #233429.
12497
12498 2001-08-23  Herbert Voss  <voss@perce>
12499
12500         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12501
12502 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12503
12504         * Spacing.h (Spacing): Set space to Default on in the default
12505         constructor.
12506
12507 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * vc-backend.h (RCS::versionString): add RCS to version
12510         (CVS::versionString): add CVS to version
12511
12512         * vc-backend.C (scanMaster): do not add CVS to version.
12513         (scanMaster): do not add RCS to version
12514
12515         * lyxvc.C (versionString): new method
12516
12517         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12518
12519 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12520
12521         * Spacing.C (set): initialize fval
12522
12523 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12524
12525         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12526         " or \.
12527
12528 2001-08-16  Juergen Vigna  <jug@sad.it>
12529
12530         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12531
12532 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * BufferView_pimpl.C:
12535         * figureForm.C:
12536         * lyxtext.h:
12537         * text2.C: setParagraph takes linespacing now
12538
12539 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12540
12541         * LyxAction.C: add internal LFUN_CITATION_INSERT
12542
12543         * LyXView.C: actually apply fix
12544
12545         * bufferlist.C: fix open non-existent file
12546
12547         * lyxfind.C: fix indentation
12548
12549         * lyxfunc.C: remove unneeded assert, fix typo
12550
12551 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * MenuBackend.C: use "Floatname List"
12554
12555 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12558         when converting LaTeX layout to insetERT.
12559         Generate a non-collapsed float when reading old float
12560
12561 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12562
12563         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12564         ERT insets.
12565
12566 2001-08-13  Juergen Vigna  <jug@sad.it>
12567
12568         * text.C (fill): return 0 instead of 20 as this seems to be the more
12569         correct value.
12570
12571 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12572
12573         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12574         lyxrc.font_norm.
12575
12576 2001-08-13  Juergen Vigna  <jug@sad.it>
12577
12578         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12579         casesensitive off.
12580         (SearchBackward): comment out the unlocking of the inset_owner this
12581         should not be needed!
12582
12583 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12584
12585         * Many files: Remove inherit_language, and add latex_language
12586
12587         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12588         collapsible insets.
12589
12590 2001-08-10  Juergen Vigna  <jug@sad.it>
12591
12592         * text.C (prepareToPrint): fixed hfill-width in draw!
12593
12594         * BufferView2.C (selectLastWord): save the selection cursor as this
12595         now is cleared in the function LyXText::clearSelection!
12596
12597 2001-08-08  Juergen Vigna  <jug@sad.it>
12598
12599         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12600         BACKSPACE type functions.
12601
12602         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12603         is only cutted from the document but not put in the cut-buffer, where
12604         still the old stuff should be.
12605
12606         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12607
12608         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12609
12610         * tabular.C (SetWidthOfCell): fixed special case where the width
12611         was not updated!
12612         (LeftLine): handle '|' in align_special.
12613         (RightLine): ditto
12614         (LeftAlreadyDrawed): ditto
12615         (SetWidthOfCell): ditto
12616
12617 2001-08-07  Juergen Vigna  <jug@sad.it>
12618
12619         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12620
12621 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12624         * lyxlex.[hC]: ditto
12625
12626 2001-08-06  Juergen Vigna  <jug@sad.it>
12627
12628         * text.C (getVisibleRow): fix up row clearing a bit.
12629
12630 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * minibuffer.C: make sure the X server sees the changes in the input.
12633
12634 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * paragraph.C (getFont): split into...
12637         (getLabelFont): this
12638         (getLayoutFont): and this
12639         * paragraph_pimpl.C (realizeFont): calling this
12640
12641         * text2.C (getFont): split into...
12642         (getLayoutFont): this
12643         (getLabelFont): and this
12644         (realizeFont): all three calling this
12645
12646         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12647         files where used.
12648
12649 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12650
12651         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12652
12653 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12654
12655         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12656         layouts from the Quote inset insertion.
12657
12658 2001-08-03  Juergen Vigna  <jug@sad.it>
12659
12660         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12661
12662         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12663         only if status not is already CHANGED_IN_DRAW (second level).
12664
12665         * text.C (draw): don't set the need_break_row when inside an
12666         InsetText LyXText.
12667
12668 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * buffer.C (parseSingleLyXformat2Token): handle more latex
12671         conversion cases.
12672
12673         * bufferview_funcs.[hC]: change function names to
12674         begin with small char, adjust other files.
12675
12676 2001-08-02  André Pönitz <poenitz@gmx.net>
12677
12678         * lyxfunc.C:
12679         BufferView_pimpl.C: remove broken special code for math-greek
12680
12681 2001-08-02  Juergen Vigna  <jug@sad.it>
12682
12683         * BufferView_pimpl.C (update): redone this function so that we
12684         update the text again if there was a CHANGE_IN_DRAW.
12685
12686         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12687         (drawFromTo): added a new internal bool which is used by draw() and
12688         redraw() function.
12689         (general): some cursor drawing problems fixed.
12690
12691 2001-08-01  Juergen Vigna  <jug@sad.it>
12692
12693         * lyxfind.C (LyXFind): fixed
12694         (SearchForward): ditto
12695         (SearchBackward): ditto
12696
12697         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12698         spurius drawing of the cursor in the main area.
12699
12700         * text2.C (status): small fix which could lead to a segfault!
12701         (clearSelection): remove unneeded BufferView param.
12702
12703 2001-08-01  André Pönitz <poenitz@gmx.net>
12704
12705         * lyxfunc.C: small change due to changed mathed interface
12706
12707 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12710
12711 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12712
12713         * lyxfunc.c: fail gracefully if file doesn't exist
12714
12715         * LyXSendto.C:
12716         * buffer.C:
12717         * lyxfunc.C:
12718         * BufferView_pimpl.C: IsDirWriteable() proto changed
12719
12720         * LyXView.C: fix updateWindowTitle() to store the last title
12721
12722 2001-07-31  Juergen Vigna  <jug@sad.it>
12723
12724         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12725         the font (wrong since using of Paragraph::highestFontInRange).
12726
12727         * paragraph.C (highestFontInRange): added a default_size parameter.
12728
12729         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12730         (setHeightOfRow): reformat
12731
12732 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * converter.[hC] + affected files: move to (inital-char)lowercase
12735         function names.
12736
12737         * ParagraphParameters.C (ParagraphParameters): remove commented code
12738
12739         * PainterBase.[Ch]: remove commented code
12740
12741         * LaTeXFeatures.h: add "bool floats" for float.sty
12742
12743         * LaTeXFeatures.C (LaTeXFeatures): init floats
12744         (require): handle float
12745         (getPackages): do it with floats
12746
12747 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * BufferView_pimpl.C (Dispatch): improve handling of
12750         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12751
12752         * commandtags.h: #include lyxfont.h here temporarily to avoid
12753         keybinding bug.
12754
12755         * bufferlist.h: include LString.h here.
12756
12757 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12758
12759         * text2.C (getStringToIndex): new method.
12760
12761 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12762
12763         * *: Reduced header file dependencies all over.
12764
12765 2001-07-30  Baruch Even  <baruch@lyx.org>
12766
12767         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12768
12769 2001-07-29  Baruch Even  <baruch@lyx.org>
12770
12771         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12772
12773 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * ParameterStruct.h (endif): add a default constructor to make
12776         sure that all variables is initialized.
12777
12778         * ParagraphParameters.C (ParagraphParameters): adjust
12779
12780 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12781
12782         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12783         index; also, check that there is something to index, and that it
12784         does not span over several paragraphs.
12785         (doubleClick): use WHOLE_WORD_STRICT for double click.
12786
12787         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12788
12789         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12790         scheme.
12791
12792 2001-07-26  Baruch Even  <baruch@lyx.org>
12793
12794         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12795         an InsetFig figure, backwards compatible reading of old figure code.
12796
12797 2001-07-27  Juergen Vigna  <jug@sad.it>
12798
12799         * text2.C: font.realize function adaption.
12800
12801         * text.C (draw): add a warnings lyxerr text if needed.
12802
12803         * layout.C: font.realize function adaption.
12804
12805         * language.C: add inherit_language and implement it's handlings
12806
12807         * bufferview_funcs.C (StyleReset): remove language parameter from
12808         font creation (should be language_inherit now).
12809
12810         * bufferparams.C (writeFile): handle ignore_language.
12811
12812         * paragraph.C (getFontSettings): the language has to be resolved
12813         otherwise we have problems in LyXFont!
12814
12815         * lyxfont.C (lyxWriteChanges): added document_language parameter
12816         (update): removed unneeded language parameter
12817
12818         * paragraph.C (validate): fixed wrong output of color-package when
12819         using interface colors for certain fonts in certain environments,
12820         which should not seen as that on the final output.
12821
12822 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * BufferView_pimpl.C:
12825         * Thesaurus.h:
12826         * Thesaurus.C:
12827         * Makefile.am:
12828         * commandtags.h:
12829         * LyXAction.C: add thesaurus support
12830
12831         * lyxfind.h:
12832         * lyxfind.C: add "once" parameter, for thesaurus, to not
12833           move to the next match
12834
12835 2001-07-26  Juergen Vigna  <jug@sad.it>
12836
12837         * lyxfont.C (realize): honor ignore_language too!
12838         (resolved): ditto.
12839
12840         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12841
12842         * text.C (draw): one place more for ignore_language to not draw
12843         itself!
12844
12845 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12848
12849 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12852         the minipage conversion problem.
12853
12854 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12857         insert an inset.
12858
12859 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12860
12861         * BufferView.h: don't forward declare WorkArea
12862
12863         * BufferView.C: don't include WorkArea.h
12864
12865 2001-07-25  André Pönitz <poenitz@gmx.net>
12866
12867         * commandtags.h:
12868         * LyXAction.C:
12869         * lyxfunc.C:  new LFUN 'math-space'
12870
12871         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12872
12873 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * text2.C (toggleInset): call open/close
12876
12877 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * lyxfunc.C (dispatch): add debug for the disabled case
12880
12881         * font.C (buttonText): make similar to rectText
12882
12883         * buffer.C (readInset): comment out parsing of insetlist and
12884         insttheorem
12885
12886         * PainterBase.C (rectText): small correction
12887
12888         * BufferView_pimpl.C: comment out insettheorem and insetlist
12889         * LyXAction.C: ditto
12890         * commandtags.h: ditto
12891
12892 2001-07-24  Juergen Vigna  <jug@sad.it>
12893
12894         * text.C (draw): honor the ignore_language.
12895
12896         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12897
12898 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12899
12900         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12901         char inset.
12902
12903 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12904
12905         * lyxtext.h: remove unused (and unimplemented) methods
12906
12907 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12908
12909         * text.C (getVisibleRow): honor background color
12910
12911         * PainterBase.h:
12912         * Painter.h: remove default color argument for fillRectangle
12913
12914         * text.C (backgroundColor): new method
12915
12916 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * text.C (getVisibleRow): adjust
12919
12920         * font.[Ch] (rectText): new method, metrics
12921         (buttonText): new method, metrics
12922
12923         * PainterBase.[hC]: make rectText and buttonText always draw and take
12924         fewer paramteres.
12925
12926 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12927
12928         * ToolbarDefaults.C (read):
12929         * MenuBackend.C (read): allow escaping in all strings
12930
12931         * BufferView_pimpl.C (insertAndEditInset): new method.
12932         (Dispatch): use insertAndEditInset whenever appropriate.
12933
12934         * BufferView_pimpl.C (insertNote): removed
12935
12936         * BufferView_pimpl.C (smartQuote): new method, moved from
12937         BufferView; if an insetquote cannot be inserted, insert a '"'
12938         character instead.
12939
12940         * BufferView2.C: remove insertCorrectQuote();
12941
12942         * lyxfunc.C (getStatus): Add support for all remaingin
12943         inset-insert lfuns.
12944
12945         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12946
12947         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12948         command (necessary to pass " as parameter of self-insert.
12949
12950         * text.C (selectWordWhenUnderCursor):
12951         (selectWord): add word_location parameter
12952         (selectWordWhenUnderCursor): same + remove special code for word
12953         boundary.
12954         (selectNextWord): use kind() to guess type of insetspecialchar,
12955         not latex().
12956
12957         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12958         (insertErtContents): create ert insets as collapsed.
12959         (readInset): better compatibility code for Info inset.
12960
12961 2001-07-20  Juergen Vigna  <jug@sad.it>
12962
12963         * lyxfunc.C (dispatch): use always LyXFind now!
12964
12965         * text2.C (init): add a reinit flag so that the LyXText can be
12966         reinited instead of deleted and reallocated (used in InsetText).
12967
12968         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12969
12970         * text.C: ditto
12971
12972         * text2.C: ditto
12973
12974 2001-07-18  Juergen Vigna  <jug@sad.it>
12975
12976         * text.C (selectNextWord): handle insets inside inset by calling
12977         always the bv->text functions so that we can go up the_locking_inset!
12978
12979         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12980         in strange locations when inside an inset!
12981
12982         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12983         handling to include insets.
12984
12985         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12986
12987 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * LyXAction.C (init):
12990         * commandtags.h:
12991         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12992         LIGATURE_BREAK, since the name is so stupid.
12993
12994 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12995
12996         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12997         InsetInfos.
12998
12999         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13000
13001         * sp_form.[Ch]: remove.
13002
13003         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13004
13005         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13006         InsetInfo.
13007
13008         * src/buffer.C (readInset): ditto.
13009
13010 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13011
13012         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13013         menuSeparator(), endOfSentenceDot(), ldots() and
13014         hyphenationPoint(), which are therefore removed.
13015         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13016
13017         * LyXAction.C (init):
13018         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13019
13020         * paragraph.C (getWord): removed.
13021
13022         * BufferView_pimpl.C (Dispatch): use last word or selection for
13023         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13024
13025         * lyx_main.C (queryUserLyXDir): do not ask before creating
13026         user_dir, except if it has been named explicitely.
13027
13028 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13029
13030         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13031         a document of zero size.
13032
13033 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13034
13035         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13036         approriately in the c-tor and in require().
13037         (getPackages): output the appropriate LaTeX for natbib support.
13038
13039         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13040         variables "use_natbib" and "use_numerical_citations" when reading the
13041         LyX file.
13042         (readInset): read the various natbib cite commands.
13043         (validate): white-space change.
13044
13045         * bufferparams.[Ch]: new variables "bool use_natbib" and
13046         "bool use_numerical_citations".
13047         (writeFile): output them in the LyX file.
13048
13049 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13050
13051         * lyxfunc.C (getStatus): add support for all the inset insertion
13052         commands.
13053
13054         * text2.C (insertInset):
13055         * paragraph.C (insetAllowed):
13056         * BufferView_pimpl.C (insertInset): update to take in account the
13057         renaming of insertInsetAllowed
13058
13059         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13060
13061         * text2.C (getInset): new method. returns inset at cursor position.
13062
13063         * BufferView_pimpl.C (Dispatch): changes because of this.
13064
13065         * LyXAction.C (init): rename open-stuff to inset-toggle.
13066
13067         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13068
13069         * text2.C (toggleInset): renamed from openStuff; use
13070         Inset::open().
13071
13072 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13073
13074         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13075
13076         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13077
13078 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * buffer.C (readLyXformat2): Add filename to the error dialog
13081
13082 2001-07-18  Juergen Vigna  <jug@sad.it>
13083
13084         * tabular.C (GetCellNumber): put an assert here instead of the check!
13085
13086 2001-07-17  Juergen Vigna  <jug@sad.it>
13087
13088         * BufferView_pimpl.C (toggleSelection): adapted too.
13089
13090         * text.C (selectNextWord): adapted for use with insets.
13091         (selectSelectedWord): ditto
13092
13093 2001-07-17  Juergen Vigna  <jug@sad.it>
13094
13095         * sp_spell.C (PSpell): fix initialitation order.
13096
13097 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * paragraph.C: spacing
13100
13101 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13102
13103         * sp_spell.C: repair language selection for pspell
13104
13105 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * lyxfunc.h: change more methods to begin with lower char.
13108
13109 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13110
13111         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13112         for unknown layouts.
13113
13114 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13115
13116         * buffer.C (readLyXformat2): Generate an error dialog if there are
13117         unknown layouts.
13118
13119 2001-07-16  Juergen Vigna  <jug@sad.it>
13120
13121         * sp_spell.C: always compile ISpell part.
13122
13123         * lyxrc.C: added use_pspell entry and it's handling.
13124
13125 2001-07-13  Juergen Vigna  <jug@sad.it>
13126
13127         * sp_spell.C: removed double includes.
13128
13129 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13130
13131         Consistent use of Lsstream.h:
13132         * Lsstream.h: added using std::stringstream for consistencies sake.
13133
13134         * buffer.C: removed using std::stringstream
13135
13136         * lyxfont.C (stateText):
13137         * paragraph.C (asString):
13138         * text.C (selectNextWord, selectSelectedWord):
13139         * text2.C (setCounter):
13140         * vspace.C (asString, asLatexString):
13141         std::ostringstream -> ostringstream.
13142
13143 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13144
13145         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13146         * commandtags.h: add LFUN_HELP_ABOUTLYX
13147         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13148
13149 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13150
13151         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13152         cursorToggle()
13153         * lyx_gui_misc.C: remove spellchecker
13154         * lyxfunc.C: showSpellchecker
13155         * sp_base.h: added
13156         * sp_ispell.h: added
13157         * sp_pspell.h: added
13158         * sp_spell.C: added
13159         * sp_form.[Ch]: removed
13160         * spellchecker.[Ch]: removed
13161
13162 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13163
13164         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13165         is set.
13166         (simpleTeXSpecialChars): Simply print the input character without
13167         any special translation if pass_thru is set.
13168
13169         * layout.h: Added bool pass_thru to layout class for being able to
13170         implement pass through of a paragraph for Literate Programming.
13171
13172         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13173         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13174         * layout.C (Read): add "passthru" to list of layout tags and add
13175         code to set the pass_thru boolean when it is read.
13176
13177 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * trans_decl.h: remove allowed from KmodInfo
13180
13181         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13182         remove allowed code
13183         (Load): adjust
13184
13185         * paragraph_pimpl.C (erase): use boost::prior
13186
13187         * Painter.C (text): use data() instead of c_str() when length is
13188         also provided.
13189         * WorkArea.C (putClipboard): ditto
13190         * font.h (width): ditto
13191
13192         * BufferView2.C: use it-> instead of (*it). for iterators
13193         * texrow.C: ditto
13194         * paragraph_pimpl.C: ditto
13195         * paragraph.C: ditto
13196         * minibuffer.C: ditto
13197         * language.C: ditto
13198         * kbmap.C: ditto
13199         * encoding.C: ditto
13200         * counters.C: ditto
13201         * converter.C: ditto
13202         * chset.C: ditto
13203         * Variables.C: ditto
13204         * TextCache.C: ditto
13205         * MenuBackend.C: ditto
13206         * LyXAction.C: ditto
13207         * LColor.C: ditto
13208         * FloatList.C: ditto
13209         * DepTable.C: ditto
13210         * ColorHandler.C (LyXColorHandler): ditto
13211
13212 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13215
13216         * text2.C (openStuff): reintroduce this method (which had been
13217         nuked in NEW_INSETS frenzy).
13218
13219         * lyxfunc.C (Dispatch): when an action has not been handled, use
13220         its name in the error message, not its number.
13221
13222         * paragraph.C (inInset): change method name to begin with lowercase.
13223
13224         * undo_funcs.C:
13225         * text2.C: updates because of this.
13226
13227 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * ToolbarDefaults.C (add): add spaces in error message
13230
13231 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13234         (readLyXformat2): rename return_par to first_par, use lyxlex's
13235         pushToken and remove the manual push handling.
13236         (parseSingleLyXformat2Token): add another ert comp. variable:
13237         in_tabular, rename return_par to first_par. handle newlines better
13238
13239 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13240
13241         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13242
13243 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * text2.C (getParFromID): removed
13246
13247         * buffer.C (getParFromID): new method moved form lyxtext.
13248         * BufferView2.C (insertErrors): adjust
13249         (setCursorFromRow): adjust
13250         * BufferView_pimpl.C (restorePosition): adjust
13251         * lyxfunc.C (Dispatch): adjust
13252         * undo_funcs.C (textUndo): adjust
13253         (textRedo): adjust
13254         (textHandleUndo): adjust
13255         (textHandleUndo): adjust
13256
13257 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * buffer.C: up' the LYX_FORMAT
13260
13261         * lyxfont.h: turn NO_LATEX on as default
13262
13263         * buffer.C (insertErtContents): new methods of tex style compability.
13264         (parseSingleLyXformat2Token): use it several places.
13265         * tabular.C (OldFormatRead): and here
13266
13267 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * text2.C: remove some commented code.
13270         reindent file.
13271
13272         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13273         * trans.C: changes because of the above.
13274
13275 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13276
13277         * text2.C (setCounter): Fix counters bug with bibliography layout.
13278
13279 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13282         own member functions
13283         (simpleTeXSpecialChars): ditto
13284
13285 2001-07-06  Juergen Vigna  <jug@sad.it>
13286
13287         * a lot of files: changed the access to LyXText::status and the
13288         call of undo-functions.
13289
13290         * undo.[Ch]: added a inset_id to the undo informations.
13291
13292         * undo_funcs.[Ch]: added and moved here all undo functions.
13293
13294         * lyxtext.h: give the status enum a weight, made status_ a private
13295         variable and made accessor functions for it, removed the whole bunch
13296         of undo-functions as they are now in their own file, make some
13297         functions publically available. Added function ownerParagraph with
13298         int parameter.
13299
13300         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13301         made InInset() a const function, added getParFromID() function.
13302
13303         * buffer.[Ch]: added const version for inset_iterator functions,
13304         added getInsetFromID() function.
13305
13306         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13307         changed undo functions for new version.
13308
13309 2001-07-05  Juergen Vigna  <jug@sad.it>
13310
13311         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13312         unknow mechanism does not call the proper constructor but only this
13313         one also if I request the other!?
13314
13315 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13318
13319         * text2.C (LyXText): use initialization lists.
13320
13321         * lyxtext.h (Selection): initialize set_ and mark_
13322         (init): remove method
13323
13324 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13327
13328 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * screen.[Ch]: change method names to begin with lowercase
13331
13332         * BufferView_pimpl.C (updateScrollbar): simplify further and
13333         hopefully make it a bit faster.
13334
13335 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13338         calling directly xforms functions.
13339
13340         * Painter.C (Painter):
13341         * lyx_cb.C (MenuWrite):
13342         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13343         fl_display.
13344
13345         * lyx_gui.C: remove bogus guiruntime extern declaration.
13346
13347 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13350         in NEW_INSETS
13351         (redoDrawingOfParagraph): ditto
13352         (redoParagraphs): ditto
13353         (cutSelection): don't create a object for CutAndPaste use the
13354         static method directly
13355         (pasteSelection): ditto
13356
13357         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13358         LyXview (+ rename)
13359
13360 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * modifications to some other files because of this.
13363
13364         * Makefile.am (lyx_SOURCES): add XFormsView
13365
13366         * XFormsView.[Ch]: new files
13367
13368         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13369         the main window. Move the gui dependent stuff to XFormsView
13370
13371 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * tabular.C (GetCellInset): update cur_cell also in the row/col
13374         version of this function.
13375
13376         * lyxfunc.C: no need to include figure_form.h here.
13377
13378         * FontLoader.h:
13379         * lyxfunc.h:
13380         * lyxscreen.h:
13381         * text2.C:
13382         * lyxvc.C: no need to include forms.h here.
13383
13384 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13387
13388         * lyxfunc.C (Dispatch):
13389         * Spacing.C (set):
13390         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13391         constructor argument.
13392
13393 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * paragraph.C (Paragraph): dont't clear, and just set layout.
13396         (makeSameLayout): use params's copy contructor.
13397
13398         * ParagraphParameters.[Ch] (makeSame): delete method
13399
13400 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * Variables.[Ch]: fix indentation, rename set to isSet
13403
13404 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * lyxfunc.C (Dispatch): fix typo
13407
13408 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13411         upper_bound.
13412
13413         * bufferlist.C: include assert.h for emergencyWrite().
13414
13415 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13416
13417         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13418           give up at last (bug #425202) !
13419
13420 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * lyx_gui_misc.C:
13423         * sp_form.h:
13424         * sp_form.C:
13425         * spellchecker.h:
13426         * spellchecker.C: strip spellchecker options and bring up
13427           preferences tab instead
13428
13429 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13432         the istringstream constructor
13433
13434 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * paragraph.C (getLayout): fix return value
13437
13438         * paragraph.h: do not declare getLayout as inline.
13439
13440         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13441
13442 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * lyxcursor.h (operator<): new func
13445         (operator>): new func
13446         (operator>=): new func
13447         (operator<=): new func
13448
13449         * text.C (changeCase): use selection.start and selection.end
13450         (changeRegionCase): require from to be <= to. Require par to be a
13451         valid paragraph.
13452
13453         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13454
13455 2001-06-27  Juergen Vigna  <jug@sad.it>
13456
13457         * text.C (cursorLeftOneWord): changed to return the cursor and added
13458         overlay with BufferView * parameter which calls this one.
13459         (getWord): added
13460         (selectWord): use new getWord function.
13461         (changeCase): renamed from changeWordCase as and extended to work
13462         also on selections.
13463
13464         * lyxtext.h: added enum word_location
13465
13466         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13467         changeCase as this operates now also on selections.
13468
13469 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13470
13471         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13472
13473         * many files: send debug output to Debug::INFO instead of
13474         Debug::ANY.
13475
13476         * converter.C (View):
13477         (Convert):
13478         (Move): send debug output to Debug::FILES instead of console.
13479
13480 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13481
13482         * lyxfunc.C (getStatus): use func_status
13483
13484         * func_status.h: new header, describing the results of
13485         LyXFunc::getStatus;
13486
13487         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13488         LFUN_MATH_HALIGN.
13489
13490 2001-06-25  The LyX Project  <jug@sad.it>
13491
13492         * buffer.C (sgmlOpenTag):
13493         (sgmlCloseTag):
13494         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13495
13496 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * text2.C: remove some dead code
13499
13500         * tabular.C (GetCellInset): store the last cell checked (gotten)
13501
13502         * tabular.h: add the helper for the speedup
13503
13504         * lyxtext.h: remove some dead code
13505
13506 2001-06-26  The LyX Project  <Asger>
13507
13508         * paragraph.C: Change export to LaTeX of alignment to
13509         \begin{center} and family for better roundtrip work with reLyX.
13510
13511         * Tune the math drawing a bit.
13512
13513 2001-06-25  The LyX Project  <Asger>
13514
13515         * LColor.C (LColor): New color for math background. New color
13516         for buttons.
13517
13518 2001-06-25  The LyX Project  <jug@sad.it>
13519
13520         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13521
13522         * lyxfunc.C (Open):
13523         * bufferlist.C (newFile): do not restrict to files ending with
13524         .lyx
13525
13526         * BufferView_pimpl.C (MenuInsertLyXFile):
13527
13528 2001-06-24  The LyX Project  <jug@sad.it>
13529
13530         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13531         of compare_no_case
13532
13533 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * lyxtext.h: rename most methods to begin with a small char.
13536         Lots of changes because of this.
13537
13538         * paragraph.C (Paragraph): do not call fitToSize
13539         (erase): call Pimpl::erase
13540         (insertChar): call Pimpl::insertChar
13541         (insertInset): call Pipl::insertInset
13542         (breakParagraph): do not call fitToSize
13543         (breakParagraphConservative): do not call fitToSize
13544         (fitToSize): remove method
13545
13546         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13547
13548 2001-06-24  The LyX Project  <Asger>
13549
13550         * Fix Qt compilation^2
13551
13552 2001-06-24  The LyX Project  <jug@sad.it>
13553
13554         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13555         depthHook(getDepth()-1).
13556
13557         * paragraph.h:
13558         * ParagraphParameters.h:
13559         * ParameterStruct.h: change type of depth to unsigned int ==
13560         depth_type. Many adaptations to other files before of that.
13561
13562 2001-06-24  The LyX Project  <Asger>
13563
13564         * Fix Qt compilation.
13565
13566 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13567
13568         * paragraph.h: renamed several methods to begin with small letter.
13569         several changes to many parts of the code because of this.
13570
13571 2001-06-23  The LyX Project  <jug@sad.it>
13572
13573         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13574         rewritten to discard all double spaces when KeepEmpty is off
13575         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13576         to only handle newlines but not fiddle with spaces and friends.
13577
13578         * lyxfunc.C (MenuNew): when doing 'new from template', use
13579         template_path as default directory
13580
13581 2001-06-23  The LyX Project  <Asger>
13582
13583         * Clean-up of header file includes all over
13584         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13585
13586 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * paragraph.h: renamed from lyxparagraph.h
13589
13590 2001-06-23  Asger  <lyx@violet.home.sad.it>
13591
13592         * Buffer.h: Removed Buffer::resize
13593         * BufferList.h: Removed BufferList::resize
13594         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13595         the document lazily when we change the width, or the font settings.
13596
13597 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13598
13599         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13600
13601 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * buffer.h: remove out of date comment
13604
13605 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * lyxscreen.h:
13608         * screen.C: fix "theoretical" GC leak
13609
13610 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * LaTeX.C (scanAuxFile):
13613         (deplog): remove trailing \r when reading stream (useful under
13614         win32)
13615
13616 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13619         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13620         and BufferView::theLockingInset(Inset*), so should use them and not
13621         access bv_->text->the_locking_inset directly.
13622
13623         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13624
13625 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * Makefile.am:
13628         * tex-defs.h: remove old unused file
13629
13630 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * BufferView_pimpl.C: fix typo, remove minibuffer message
13633           when buffer has loaded
13634
13635 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * lyxfunc.C (Dispatch): use stringstream
13638         (MenuNew): use stringstream
13639         (Open): use stringstream
13640
13641         * importer.C (Import): use stringstream
13642
13643         * bufferview_funcs.C (CurrentState): use stringstream
13644
13645         * LaTeX.C (run): use stringstream
13646
13647         * BufferView_pimpl.C (savePosition): use stringstream
13648         (restorePosition): use stringstream
13649         (MenuInsertLyXFile): use stringstream
13650
13651 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * BufferView.C:
13654         * Bullet.C:
13655         * ColorHandler.C:
13656         * FontInfo.C:
13657         * FontLoader.C:
13658         * LColor.C:
13659         * LaTeXFeatures.C:
13660         * Painter.C:
13661         * gettext.C:
13662         * lyx_gui_misc.C:
13663         * lyxserver.C:
13664         * vspace.C: removed // -*- C++ -*- as first line.
13665
13666         * lyxfind.h:
13667         * version.h: added // -*- C++ -*- as first line.
13668
13669 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13672
13673         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13674         of string
13675
13676 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13679         of floats.
13680
13681 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * gettext.C: include LString.h even when --disable-nls is on.
13684
13685 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * converter.h (Get): changed argument type from int to
13688         FormatList::size_type to avoid unnecessary conversion.
13689
13690         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13691         before using it.
13692
13693 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * gettext.h: include LString.h even when --disable-nls is on.
13696
13697 2001-06-07  Juergen Vigna  <jug@sad.it>
13698
13699         * text.C (BreakAgain): subst spaces with tabs.
13700
13701         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13702         (resizeInsetsLyXText): set force on resizeLyXText.
13703
13704 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * gettext.h (gettext_init):
13707         (locale_init): use a real definition instead of a macro
13708
13709 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * Bufferview_pimpl.C:
13712         * LColor.h:
13713         * LColor.C: further lcolor tidies
13714
13715 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * BufferView_pimpl.C (updateScrollbar): simplify.
13718
13719         * BufferView2.C: don't include insets/insetinfo.h, change
13720         prototype for insertInset and call the Pimpl version. let
13721         updateInset call Pimpl version.
13722
13723         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13724         gotoInset to BufferView::Pimpl
13725
13726 2001-06-01  Juergen Vigna  <jug@sad.it>
13727
13728         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13729         inside a LockingInset (is the update needed at all?).
13730
13731 2001-05-31  Juergen Vigna  <jug@sad.it>
13732
13733         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13734         here not the old one otherwise how should we compare it afterwards
13735         if it's the same!
13736
13737 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * lyxfont.C:
13740         * tabular.C:
13741         * tabular-old.C:
13742         * FontInfo.C: bring C functions into global namespace when
13743         necessary
13744
13745 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * LString.h: make sure config.h has been loaded before LString.h.
13748
13749         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13750         (one for each char read by EatLine!).
13751
13752         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13753         variables.
13754
13755 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13758         to the same as the par we break from
13759
13760 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13763
13764         * MenuBackend.C (expand): also create menu entries for wide
13765         versions of the floats.
13766
13767         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13768
13769         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13770
13771         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13772         frontends/Makefile.am
13773
13774         * text2.C: adjust
13775         * text.C: adjust
13776
13777
13778         * tabular.C (getTokenValue): add std::
13779
13780         * tabular-old.C (getTokenValue): add std::
13781         (getTokenValue): ditto
13782         (getTokenValue): ditto
13783
13784         * screen.C (ToggleSelection): adjust
13785
13786         * lyxtext.h: put selection cursors inside a Selection struct.
13787
13788         * lyxfunc.C (moveCursorUpdate): adjust
13789
13790         * lyxfont.C (latexWriteStartChanges): add std::
13791
13792         * lyxfind.C: adjust
13793
13794         * font.h: delete with(char const *, LyXFont const &)
13795
13796         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13797
13798         * FontInfo.C (getFontname): add std::
13799
13800         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13801         (workAreaButtonPress): adjust
13802         (tripleClick): adjust
13803         (update): adjust
13804         (moveCursorUpdate): adjust
13805         (Dispatch): adjust
13806
13807         * BufferView2.C (gotoInset): adjust
13808
13809 2001-05-30  Juergen Vigna  <jug@sad.it>
13810
13811         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13812         to check pspell I add this as default as I now have new pspell
13813         libraries and they seem to use this.
13814
13815 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * text2.C (CutSelection): make the cursor valid before the call to
13818         ClearSelection.
13819
13820 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13823         relied on 0 terminated strings and other horrors. Bug found due to
13824         the new assert in lyxstring!
13825
13826         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13827         KP_ keys.
13828
13829 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13832         to latinkeys.bind.
13833
13834         * lyxfunc.C (processKeySym): change method of getting to the
13835         self-insert char.
13836
13837         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13838         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13839         * BufferView_pimpl.[Ch]: here as private methods.
13840
13841 2001-05-28  Juergen Vigna  <jug@sad.it>
13842
13843         * text.C (SetHeightOfRow): added the update() call again as it is
13844         needed to initialize inset dimensions!
13845
13846 2001-05-16  Juergen Vigna  <jug@sad.it>
13847
13848         * text2.C (SetCharFont): Add new function with BufferView * and
13849         bool toggleall parameters for setting insets internal fonts.
13850         (SetFont): Freeze the undo as we may change fonts in Insets and
13851         all this change should be inside only one Undo!
13852
13853         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13854         setting font's in insets as for them we have the SetFont function!
13855
13856 2001-05-15  Juergen Vigna  <jug@sad.it>
13857
13858         * text2.C (ClearSelection): to be sure we REALLY don't have any
13859         selection anymore!
13860
13861         * tabular.C (TeXCellPreamble): fixed the left border problem for
13862         multicolumn cells.
13863
13864 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13865
13866         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13867         dependancy file
13868
13869 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13872         LFUN_BREAKPARAGRAPH.
13873
13874         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13875         help test to "internal only", similar for LFUN_INSERT_URL
13876
13877         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13878         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13879         auto_region_delete and deadkeys.
13880
13881 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * LColor.h:
13884         * LColor.C: remove some dead entries, tidy a little
13885
13886 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13887
13888         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13889         commented code.
13890         (Dispatch): implement LFUN_ESCAPE
13891
13892         * commandtags.h: add LFUN_ESCAPE
13893
13894         * LyXAction.C (init): add entry for LFUN_ESCAPE
13895
13896         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13897         Remove commented code.
13898         (insertNote): moved here
13899         (open_new_inset): moved here
13900
13901         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13902         BufferView_pimpl
13903
13904 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * kbmap.C (findbinding): clean it up and make it work correctly.
13907
13908         * lyx_main.C (init): do not pass argc and argv as parameters
13909
13910 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13911
13912         * buffer.C: fix path for OS/2 & Win32
13913
13914         * lyx_gui.C:
13915         * lyx_main:
13916         * lyx_main.C: Added os:: class.
13917
13918         * os2_defines.h: update
13919
13920 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13921
13922         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13923         better by trying again with reduced state.
13924
13925 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * lyxrc.C (read): print error about invalid key sequence only when
13928         debugging (because not all latinX keysyms are known to some X
13929         servers)
13930
13931         * kbsequence.C (getiso): add a few std:: qualifiers
13932         (getiso): comment out extra return statement.
13933
13934 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13937         handling.
13938         (Dispatch): enhance the accent inset a bit. (not perfect)
13939
13940 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13943
13944 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13945
13946         * bufferlist.C (emergencyWrite): fix assert() call
13947
13948 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13949
13950         * text.C (InsertChar): Added trivial patch to only send the "you
13951         can not do multiple spaces this way" message once during a
13952         session.
13953
13954 2001-05-08  Baruch Even  <baruch@lyx.org>
13955
13956         * Makefile.am: Changed order of libraries to get LyX to link properly
13957         with the gnome frontend.
13958
13959 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * LaTeXFeatures.h: add a std:: qualifier
13962
13963 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * paragraph.C (String): use stringstream
13966
13967 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13968
13969         * paragraph.C (writeFile): remove footflag arg
13970
13971         * buffer.C (makeLaTeXFile): use stringstream
13972         (latexParagraphs): remove footnot gurba
13973
13974         * LaTeXFeatures.C (getPackages): use stringstream
13975         (getMacros): likewise
13976         (getTClassPreamble): likewise
13977         (getFloatDefinitions): new method
13978
13979         * paragraph.C (writeFile): reindent
13980         (Erase): reindent
13981
13982         * WorkArea.h: revert the xpos + etc changes.
13983
13984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13985
13986         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13987
13988         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13989         (pasteSelection): likewise
13990         * text2.C (CreateUndo): likewise
13991
13992 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * minibuffer.C (peek_event): temporarily reduce the functionality
13995         of the minibuffer (to allow args on lfuns)
13996
13997         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13998         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13999
14000         * buffer.C (readInset): add compability reading of old float
14001         lists, add reading of new style float list.
14002         (readInset): avoid reevaluation of inscmd.getCmdName()
14003         (getLists): reindent
14004
14005         * MenuBackend.C (MenuItem): implement parsing of
14006         md_floatlistinsert and md_floatinsert.
14007         (expand::LastFiles): move initalizaton of iterators out of loop,
14008         avoid reevaluation.
14009         (expand::Documents): introduce typdedef vector<string> Strings,
14010         and use it.
14011         (expand::ExportFormats): introduce typedef vector<Format const *>
14012         Formats, and use it.
14013         (expand): implement FloatListInsert and FloatInsert.
14014
14015         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14016         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14017         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14018
14019         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14020         handling.
14021         (Dispatch::LFUN_FLOAT_LIST): implement
14022
14023 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14024
14025         * LaTeX.C (run): Fix problem with --export code.
14026
14027 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14028
14029         * BufferView.[Ch] (workarea): removed.
14030         (getClipboard) new method; wrapper for workarea()->getClipboard()
14031
14032         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14033         bug.
14034
14035         * WorkArea.h (width, height, xpos, ypos): These methods all
14036         returned the dimensions of the work_area sub-area of WorkArea,
14037         resulting in a position error if the WorkArea were resized. Now
14038         return the dimensions of the entire WorkArea.
14039
14040         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14041
14042 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14043
14044         * LaTeX.C (deplog): correct the syntax of regex reg1
14045
14046 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * undo.C: remove !NEW_INSETS cruft
14049
14050 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * text2.C: remove !NEW_INSETS cruft
14053
14054         * text.C: remove !NEW_INSETS cruft
14055
14056         * tabular.C: remove !NEW_INSETS cruft
14057
14058         * spellchecker.C: remove !NEW_INSETS cruft
14059
14060         * lyxtext.h: remove !NEW_INSETS cruft
14061
14062         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14063
14064         * lyxfunc.C: remove !NEW_INSETS cruft
14065
14066         * lyxfind.C: remove !NEW_INSETS cruft
14067
14068         * lyx_cb.C: remove !NEW_INSETS cruft
14069
14070         * figureForm.C: remove  !NEW_INSETS cruft
14071
14072         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14073
14074         * buffer.[Ch]: remove !NEW_INSETS cruft
14075
14076         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14077
14078         * CutAndPaste.C: remove !NEW_INSETS cruft
14079
14080         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14081
14082         * BufferView2.C: remove !NEW_INSETS cruft
14083
14084         * BufferView.h: remove !NEW_INSETS cruft
14085
14086 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * Lsstream.h: include LString.h before the sstream headers to
14089         fix problem with gcc 2.95.3 and lyxstring
14090
14091 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * lyx_main.C: add using directives when needed for C functions
14094         declared in std:: namespace.
14095
14096 2001-04-27  Juergen Vigna  <jug@sad.it>
14097
14098         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14099         (SetHeightOfRow): comment out the update call should not be needed!
14100
14101 2001-04-13  Juergen Vigna  <jug@sad.it>
14102
14103         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14104         (LyXTabular): tried to minimize operator= operations (and realized
14105         hopfully Lars wish).
14106
14107 2001-04-27  Juergen Vigna  <jug@sad.it>
14108
14109         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14110
14111 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14112
14113         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14114
14115         * buffer.C (readInset): hack to make listof algorithm work
14116
14117         * BufferView_pimpl.C: hack to make listof algorithm work
14118
14119 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * LyXAction.C: removed all !NEW_INSETS cruft
14122         (init): moved lfun_item in method
14123
14124         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14125
14126 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14127
14128         * BufferView2.C (theLockingInset): white space.
14129
14130 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * minibuffer.C: include <iostream>
14133
14134         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14135
14136         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14137
14138         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14139
14140         * text.[Ch] (TransposeChars): new method
14141
14142 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * call message directly through LyXView instead of through LyXFunc
14145         * BufferView2.C: adjust
14146         * BufferView_pimpl.C: adjust
14147         * FontLoader.C: adjust
14148         * buffer.C: adjust
14149         * bufferview_funcs.C: adjust
14150         * converter.C: adjust
14151         * figureForm.C: adjust
14152         * importer.C: adjust
14153         * lyx_cb.C: adjust
14154         * lyx_gui_misc.C: adjust
14155         * lyxfunc.C: adjust
14156         * lyxvc.C: adjust
14157         * text2.C: adjust
14158         + more files in subdirs
14159
14160         * lyxparagraph.h (size): move up int file
14161         (GetLayout): ditto
14162
14163         * adjust all uses of Assert to lyx::Assert.
14164
14165         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14166         lyxfunctional in namespace lyx
14167         * layout.C (hasLayout): ditto
14168         (GetLayout): ditto
14169         (GetLayout): ditto
14170         (delete_layout): ditto
14171         (NumberOfClass): ditto
14172         * converter.C (GetFormat): ditto
14173         (GetNumber): ditto
14174         (Add): ditto
14175         (Delete): ditto
14176         (SetViewer): ditto
14177         * bufferlist.C (getFileNames): ditto
14178         (emergencyWriteAll): ditto
14179         (exists): ditto
14180         (getBuffer): ditto
14181         * MenuBackend.C (hasSubmenu): ditto
14182         (hasMenu): ditto
14183         (getMenu): ditto
14184         * BufferView_pimpl.C (getInsetByCode): ditto
14185
14186 2001-04-18  Juergen Vigna  <jug@sad.it>
14187
14188         * vspace.C (asLatexString): fixed the 100% problem.
14189
14190 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * lyxfunc.C (Dispatch):
14193         * minibuffer.C:
14194         * minibuffer.h: add a few std:: qualifiers
14195
14196 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * minibuffer.[Ch]: reimplement so that commands is initiated and
14199         run from lyxfunc, simplified som handling, and made the completion
14200         and history code for complete. wip.
14201
14202         * lyxfunc.C (processKeySym): call message
14203         (miniDispatch): new temporary method
14204         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14205         (LFUN_MESSAGE): implement
14206         (LFUN_MESSAGE_PUSH): implement
14207         (LFUN_MESSAGE_POP): implement
14208         (initMiniBuffer): the initial/defualt minibuffer message.
14209
14210         * lyxfont.[Ch]: inline some more getters
14211
14212         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14213
14214         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14215
14216         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14217         (AutoSave): use LFUN_MESSAGE
14218         (Reconfigure): ditto
14219
14220         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14221
14222         * figureForm.C: use LFUN_MESSAGE
14223
14224         * converter.C (runLaTeX): use LFUN_MESSAGE
14225
14226         * bufferview_funcs.C: use LFUN_MESSAGE
14227         (Melt): ditto
14228         (changeDepth): ditto
14229
14230         * bufferparams.h: use boost::
14231
14232         * bufferlist.h: inherit privately from noncopyable
14233
14234         * bufferlist.C (loadLyXFile): remove some commented code.
14235
14236         * buffer.C (runChktex): use LFUN_MESSAGE
14237
14238         * ShareContainer.h: inherit privately from noncopyable
14239
14240         * ParagraphParameters.[hC] (depth): inline it.
14241
14242         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14243         methods.
14244         (message): new method
14245         (messagePush): ditto
14246         (messagePop): ditto
14247         (show): init minibuffer
14248         (showState): direct call
14249
14250         * LaTeX.[Ch]: inherit privately from noncopyable
14251         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14252         instead of WriteStatus.
14253
14254         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14255
14256         * BufferView_pimpl.C (buffer): don't init minibuffer
14257         (workAreaButtonPress): use LFUN_MESSAGE
14258         (workAreaButtonRelease): ditto
14259         (savePosition): ditto
14260         (restorePosition): ditto
14261         (MenuInsertLyXFile): ditto
14262         (workAreaExpose): don't init minibuffer
14263         (update): remove commented code, simplify
14264
14265         * BufferView2.C (openStuff): use LFUN_MESSAGE
14266         (toggleFloat): ditto
14267         (menuUndo): ditto
14268         (menuRedo): ditto
14269         (copyEnvironment): ditto
14270         (pasteEnvironment): ditto
14271         (copy): ditto
14272         (cut): ditto
14273         (paste): ditto
14274         (gotoInset): ditto
14275         (updateInset): remove some commented code
14276
14277         * lastfiles.h: inherit privately from noncopyable
14278         * layout.h: ditto
14279         * lyx_gui.h: ditto
14280         * lyx_main.h: ditto
14281         * lyxlex.h: ditto
14282         * lyxlex_pimpl.h: ditto
14283
14284         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14285         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14286         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14287
14288         * LyXAction.h: inherit privately from noncopyable, add methods
14289         func_begin, func_end, returning iterators to the func map.
14290
14291         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14292         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14293         (func_begin): new method
14294         (func_end): new method
14295
14296         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14297         and not)
14298         (copySelection): ditto
14299         (pasteSelection): ditto
14300
14301         * BufferView.C: whitespace change
14302         * BufferView.h: inherit privately from noncopyable
14303
14304 2001-04-16  Allan Rae  <rae@lyx.org>
14305
14306         * tabular-old.C (l_getline):
14307         * spellchecker.C (sc_check_word):
14308         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14309         an unrecognised preprocessor directive.  So ensure they're wrapped.
14310
14311 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14312
14313         * src/exporter.C (Export): Give an error message when path to file
14314         contains spaces.
14315
14316 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * LaTeX.C (deplog): Always check that foundfile exists.
14319
14320 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * lyx_main.h:
14323         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14324
14325 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14326
14327         * tabular.[Ch] (getLabelList): implement new method
14328
14329         * minibuffer.h: comment ouf setTiimer
14330
14331         * minibuffer.C (ExecutingCB): constify res
14332         (peek_event): constify s
14333         (Set): constify ntext
14334         (Init): constify nicename
14335
14336         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14337
14338         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14339         (savePosition): use two params to Minibuffer::Set
14340         (restorePosition): ditto
14341
14342 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * lyx_main.C: include language.h
14345
14346         * Makefile.am (lyx_main.o): add language.h
14347
14348 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * exporter.C:
14351         * paragraph.C:
14352         * screen.C:
14353         * tabular.C:
14354         * CutAndPaste.C: include gettext.h
14355
14356         * lyxfont.h: remove old hack with ON and OFF.
14357
14358         * lyxparagraph.h:
14359         * lyxfont.h: do not include language.h...
14360
14361         * BufferView2.C:
14362         * LaTeXFeatures.C:
14363         * Painter.C:
14364         * bufferview_funcs.C:
14365         * font.C:
14366         * lyxfont.C:
14367         * text.C:
14368         * text2.C:
14369         * trans_mgr.C:
14370         * paragraph.C: ... but do it here instead
14371
14372 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14375
14376         * tabular.C: small reformat
14377
14378         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14379         NEW_INSETS version
14380         (GetChar): ditto
14381         (BreakParagraph): ditto
14382         (SetOnlyLayout): ditto
14383         (SetLayout): ditto
14384
14385         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14386         with one arg less.
14387
14388         * lastfiles.C: removed most using decl, add std:: where needed
14389
14390         * buffer.C: ws changes
14391
14392         * MenuBackend.C (class compare_format): put into anon namespace
14393         (expand): constify label, names, action, action2
14394         (expand):
14395
14396         * text.C (SingleWidth): constify font
14397         (IsBoundary): constify rtl2
14398         (GetVisibleRow): constify ww
14399
14400         * LaTeX.C (deplog): constify logfile
14401
14402         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14403         start_x, end_x
14404         (workAreaExpose): constify widthChange, heightChange
14405
14406         * lyxrow.C (par): moved
14407         (height): moved
14408         (next): moved
14409         * lyxrow.h: as inlines here
14410
14411         * lyxfont.h (shape): moved from lyxfont.C
14412         (emph): moved from lyxfont.C
14413
14414         * lyxfont.C (LyXFont): use initialization list for all
14415         constructors
14416         (shape): move to lyxfont.h as inline
14417         (emph): move to lyxfont.h as inline
14418
14419
14420 2001-04-04  Juergen Vigna  <jug@sad.it>
14421
14422         * vspace.C: had to include stdio.h for use of sscanf
14423
14424 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * BufferView.h:
14427         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14428         independent of xforms.
14429
14430 2001-04-02  Juergen Vigna  <jug@sad.it>
14431
14432         * spellchecker.C: fixed namespace placing!
14433
14434 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14437         the LyXParagraph * is 0.
14438
14439 2001-03-29  Juergen Vigna  <jug@sad.it>
14440
14441         * vspace.C: added support for %, c%, p%, l%.
14442         (stringFromUnit): added helper function.
14443         (asLatexString): changed to give right results for the %-values.
14444
14445         * buffer.C: convert the widthp in a width%.
14446
14447 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14448
14449         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14450         figureForm.[Ch].
14451
14452         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14453         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14454
14455         * lyx_cb.[Ch]: see above.
14456
14457         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14458         form1.[Ch].
14459
14460         * form1.[Ch]:
14461         * lyx.[Ch]: replaced by figure_form.[Ch].
14462
14463         * lyx_gui.C:
14464         * lyx_gui_misc.C:
14465         * lyxfunc.C: changed headers associated with above changes.
14466
14467 2001-03-27  Juergen Vigna  <jug@sad.it>
14468
14469         * BufferView_pimpl.C: set the temporary cursor right!
14470
14471 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14474
14475 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * LString.h: removed "using std::getline"!
14478
14479         * BufferView_pimpl.C (Dispatch): changes due to changes in
14480         InsetInclude::Params.
14481
14482         * buffer.C (tag_name): removed redundant break statements as they were
14483         producing lots of warnings with my compiler.
14484
14485 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * LString.h: add "using std::getline" when using the real <string>.
14488
14489 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14490
14491         * buffer.C: removed bitset usage.
14492         PAR_TAG moved to an anonymous name space.
14493         (tag_name): new funtion, also in the anonymous namespace.
14494         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14495         (makeDocBookFile): clean code. Completed transition from string arrays
14496         to string vectors.
14497         (SimpleDocBookOnePar): code clean.
14498
14499 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14500
14501         * tabular.C: add some comments.
14502
14503 2001-03-22  Juergen Vigna  <jug@sad.it>
14504
14505         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14506         compatibility read a bit and fixed bug with minipage in different
14507         depth.
14508
14509 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14510
14511         * buffer.C (pop_tag): removed.
14512         (push_tag): removed.
14513         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14514         array replaced with vector. Added support for CDATA sections.
14515         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14516         at any nest level.
14517         (makeDocBookFile): XML conformant declaration of CDATA section,
14518         fixed bug related to <emphasis> in the first paragraph char.
14519         (sgmlOpenTag): exclude empty tags.
14520         (sgmlCloseTag): ditto.
14521
14522         * buffer.h (pop_tag): removed.
14523         (push_tag): removed.
14524
14525 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14526
14527         * language.h (Languages): added size_type and size().
14528
14529 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14530
14531         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14532         response on compability reading of minipages. One probliem is that
14533         the old usage of minipages was «flertydig»
14534
14535         * several files here and in subdirs: don't use static at file
14536         scope use anon namespaces instead.
14537
14538 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14539
14540         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14541         LaTeX output. This is necessary for Literate document
14542         processing.
14543
14544 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14545
14546         * buffer.C: insert hfill when needed.
14547
14548         * tabular.C (l_getline): use string::erase, small whitespace change.
14549
14550         * BufferView_pimpl.C: try the anon namespace.
14551         * WorkArea.C: ditto
14552
14553 2001-03-16  Juergen Vigna  <jug@sad.it>
14554
14555         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14556         otherwise it won't open options-dialogs.
14557
14558         * buffer.C: honor pextraWidth(p) on converting minipages.
14559
14560         * tabular.C (l_getline): changed the functions to strip trailing \r.
14561
14562 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14563
14564         * BufferView_pimpl.C:
14565         * minibuffer..C: added "using SigC::slot" declaration.
14566
14567 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14568
14569         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14570
14571         * text2.C: ditto
14572
14573         * text.C: ditto
14574
14575         * paragraph.C: ditto
14576
14577         * lyxtext.h: NO_PEXTRA
14578
14579         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14580
14581         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14582         * ParameterStruct.h: ditto
14583         * ParagraphParameters.h: ditto
14584         * lyxparagraph.h: ditto
14585
14586 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14587
14588         * buffer.C: add compability for minipage alignment.
14589         (latexParagraphs): remove unwanted pextra check.
14590
14591         * several files: remove CXX_WORKING_NAMESPACES
14592
14593         * buffer.C (pop_tag): tie is in namespace boost
14594
14595         * BufferView.h: noncopyable is in namespace boost
14596         * lyxlex.h: ditto
14597         * lyx_main.h: ditto
14598         * lyx_gui.h: ditto
14599         * layout.h: ditto
14600         * lastfiles.h: ditto
14601         * bufferlist.h: ditto
14602         * ShareContainer.h: ditto
14603         * LyXView.h: ditto
14604         * LyXAction.h: ditto
14605         * LaTeX.h: ditto
14606
14607 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * Merging changes from BRANCH_MVC back into HEAD.
14610
14611         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14612
14613 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * BufferView_pimpl.C: change from intl.C
14616
14617         * combox.h:
14618         * combox.C:
14619         * Makefile.am: move combox.*
14620
14621         * form1.h:
14622         * form1.C:
14623         * lyx_gui.C:
14624         * intl.h:
14625         * intl.C: remove dialog (covered by prefs)
14626
14627 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14628
14629         * lyxfunc.C (Dispatch): removed redundant break statement.
14630
14631 2001-03-14  Juergen Vigna  <jug@sad.it>
14632
14633         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14634
14635 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14636
14637         * buffer.C: add hack to fix compability reading of minipages.
14638
14639 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14640
14641         * buffer.C (getLists): Cleanup.
14642
14643 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * lyxfont.C (update): don't honor toggleall on font size.
14646
14647 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * bmtable.c:
14650         * bmtable.h:
14651         * Makefile.am: moved to frontends/xforms/
14652
14653         * lyx_gui_misc.C:
14654         * lyxfunc.C:
14655         * BufferView_pimpl.C: changes for moved mathpanel
14656
14657 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * gettext.h: fix gettext_init() in --disable-nls
14660
14661 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14664
14665 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * lyx.C:
14668         * lyx.h: strip external form
14669
14670 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * BufferView_pimpl.C: add comment, destroySplash()
14673
14674 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * BufferView_pimpl.C:
14677         * LyXAction.C:
14678         * buffer.C:
14679         * commandtags.h:
14680         * lyxfunc.C: use re-worked insetinclude
14681
14682 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14683
14684         * buffer.C: add using std::stringstream.
14685
14686         * lyx_cb.C: readd using std::ios.
14687
14688         * buffer.C: add using std::map.
14689
14690         * BufferView_pimpl.C: add using std::vector.
14691
14692         * ShareContainer.h: add std:: to swap.
14693
14694         * buffer.h: add some typedefs
14695         * buffer.C (getLists): use them
14696         (getLists): renamed from getTocList.
14697         add a counter for the different float types and use it in the
14698         generated string.
14699         (getLists): use the same counter for the NEW_INSETS and the "non"
14700         NEW_INSETS
14701
14702         * lyx_cb.h: remove unused items, includes, using etc.
14703
14704         * ShareContainer.h: remove some commented code, add more comments
14705         and "documentation".
14706
14707 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14708
14709         * buffer.C (getTocList): make the list also when NEW_INSETS is
14710         defined.
14711
14712         * buffer.h: remove TocType
14713
14714         * buffer.C (getTocList): change to return a map<string,
14715         vector<TocItem> >, implement for dynamic number of list.
14716
14717         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14718         * text2.C (PasteSelection): adjust
14719         * CutAndPaste.C (pasteSelection): adjust
14720
14721         * FloatList.C (FloatList): update from the new_insets branch.
14722         * Floating.[Ch]: ditto
14723         * LaTeXFeatures.C: ditto
14724         * buffer.C: ditto
14725         * lyxlex_pimpl.C: ditto
14726
14727         * paragraph.C (Last): remove when NEW_INSETS is defined.
14728
14729         * other file: changes because of the above.
14730
14731 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14732
14733         * lyxparagraph.h: rename next to next_, previous to previous_,
14734         make them private for NEW_INSETS. Rename Next() to next(),
14735         Previous() to previous().
14736
14737         * other files: changes because of the above.
14738
14739 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14740
14741         * BufferView.h:
14742         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14743         problem.
14744
14745 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14746
14747         * main.C (main): pass lyx_localedir to gettext_init().
14748
14749         * gettext.h: remove locale_init and gettext_init macros
14750
14751         * gettext.C (locale_init): new function
14752         (gettext_init): new function
14753
14754         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14755         setlocale().
14756
14757 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14758
14759         * Moved credits to frontends:
14760         * credits.[Ch]: removed
14761         * credits_form.[Ch]: removed
14762         * lyx_gui_misc.C: remove credits stuff
14763         * Makefile.am:
14764
14765 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14766
14767         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14768
14769         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14770         unneeded destructor.
14771
14772         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14773         a standalone pointer again.
14774
14775         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14776
14777 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14778
14779         * Makefile.am:
14780         * filedlg.h:
14781         * filedlg.C:
14782         * LyXAction.C:
14783         * ToolbarDefaults.C:
14784         * bufferlist.C:
14785         * commandtags.h:
14786         * form1.C:
14787         * form1.h:
14788         * lyx_cb.C:
14789         * lyx_cb.h:
14790         * lyxfunc.h:
14791         * lyxfunc.C:
14792         * BufferView_pimpl.C: use new file dialog in GUII
14793
14794         * lyx_cb.h:
14795         * lyx_cb.C: remove LayoutsCB to Toolbar
14796
14797 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14798
14799         * ShareContainer.h (get): add std:: qualifier
14800
14801 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * ShareContainer.h: define a proper ShareContainer::value_type
14804         type (and use typename to please compaq cxx)
14805
14806 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14807
14808         * lyxparagraph.h: move serveral local vars to
14809         ParameterStruct/ParagraphParameters., use ShareContainer in
14810         FontTable., make vars in FontTable private and add getter and
14811         setter.
14812
14813         * paragraph.C: changes because of the above.
14814
14815         * lyxfont.h: remove copy constructor and copy assignment. (the
14816         default ones is ok), move number inside FontBits. move inlines to
14817         lyxfont.C
14818
14819         * lyxfont.C: add number to initializaton of statics, move several
14820         inlines here. constify several local vars. some whitespace
14821         cleanup. Dont hide outerscope variables.
14822
14823         * Spacing.h: add two new constructors to match the set methods.
14824
14825         * ShareContainer.h: new file, will perhaps be moved to support
14826
14827         * ParameterStruct.h: new file
14828
14829         * ParagraphParameters.h: new file
14830
14831         * ParagraphParameters.C: new file
14832
14833         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14834         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14835
14836         * BufferView_pimpl.C: ParagraphParameter changes.
14837         * buffer.C: Likewise.
14838         * bufferview_funcs.C: Likewise.
14839         * text.C: Likewise.
14840         * text2.C: Likewise.
14841
14842 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * lyxfind.C (LyXReplace): do not redefine default argument in
14845         implementation.
14846         (IsStringInText): ditto
14847         (SearchForward): ditto
14848         (SearchBackward): ditto
14849
14850 2001-03-06  Juergen Vigna  <jug@sad.it>
14851
14852         * lyxfind.C (IsStringInText): put parentes around expressions.
14853
14854 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14855
14856         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14857
14858 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14861
14862         * stl_string_fwd.h: add comment
14863
14864         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14865
14866         * tabular.h:
14867         * tabular.C: remove unused DocBook methods
14868
14869         * intl.C:
14870         * language.C:
14871         * paragraph.C:
14872         * buffer.C:
14873         killed DO_USE_DEFAULT_LANGUAGE
14874
14875 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14876
14877         * lyx_gui.C: do not include language.h.
14878
14879         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14880         arguments in function implementation.
14881
14882 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14883
14884         * BufferView_pimpl.C: add <ctime>
14885
14886 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14887
14888         * BufferView_pimpl.C: add using std::find_if
14889
14890 2001-02-27  José Matos  <jamatos@fep.up.pt>
14891
14892         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14893         by OnlyPath.
14894
14895 2001-02-11  José Matos  <jamatos@fep.up.pt>
14896
14897         * buffer.C (makeDocBookFile): command styles now have a parameter as
14898         "title" by default.
14899
14900 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14901
14902         * layout_forms.[Ch]: removed
14903         * lyx_cb.[Ch]: out character
14904         * lyx_gui.C: out character
14905         * lyx_gui_misc.C: out character
14906         * bufferview_funcs.C: : out character,
14907         added toggleall as parameter in ToggleAndShow
14908
14909 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14910
14911         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14912
14913         * text2.C (SetCurrentFont): Disable number property at boundary.
14914
14915 2001-02-26  Juergen Vigna  <jug@sad.it>
14916
14917         * lyxfunc.C (getStatus): added a string argument override function so
14918         that this is correctly called from LyXFunc::Dispatch if it contains a
14919         do_not_use_argument which is used!
14920         (Dispatch): added check for "custom" export and call appropriate func.
14921
14922 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14923
14924         * lyxrc.C: Add language_command_local, language_use_babel and
14925         language_global_options.
14926
14927         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14928
14929         * buffer.C (makeLaTeXFile): Use language_use_babel and
14930         language_global_options.
14931
14932 2001-02-23  Juergen Vigna  <jug@sad.it>
14933
14934         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14935         which works with LyXText and putted it inside BufferView. Here now we
14936         only call for that part the BufferView::Dispatch() function.
14937
14938         * BufferView.C (Dispatch): added.
14939
14940         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14941         functions which needs to use a LyXText over from LyXFunc.
14942         (MenuInsertLyXFile): added
14943         (getInsetByCode): added
14944         (moveCursorUpdate): added
14945         (static TEXT): added
14946
14947 2001-02-22  Juergen Vigna  <jug@sad.it>
14948
14949         * BufferView_pimpl.C (update): call a status update to see if LyXText
14950         needs it.
14951
14952 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14953
14954         * vc-backend.C (revert): implement for CVS
14955         (getLog): implement for CVS
14956
14957 2001-02-20  Juergen Vigna  <jug@sad.it>
14958
14959         * text2.C (ClearSelection): added BufferView param for inset_owner call
14960
14961         * lyxfunc.C (TEXT): added this function and use it instead of
14962         directly owner->view()-text of getLyXText().
14963
14964 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14965
14966         * src/layout_forms.C: out preamble
14967         * src/layout_forms.h: out preamble
14968         * src/lyx_cb.C: out preamble
14969         * src/lyx_cb.h: out preamble
14970         * src/lyx_gui.C: out preamble
14971         * src/lyx_gui_misc.C: out preamble
14972         * src/lyxfunc.C: connect with guii preamble
14973
14974 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14975
14976         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14977
14978 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14981         whether to run bibtex.
14982
14983 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14984
14985         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14986
14987 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14988
14989         * Makefile.am (lyx_SOURCES): removed bibforms.h
14990
14991         * vspace.h: doxygen
14992
14993         * text.C (GetVisibleRow): make several local vars const
14994
14995         * tabular.C: small cleanup.
14996
14997         * lyxserver.C (callback): use compare instead of strncmp
14998
14999         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15000         inlines to after class or to paragraph.C
15001
15002         * lyxfont.h: remove friend operator!=
15003
15004         * converter.h: move friend bool operator< to non friend and after
15005         class def.
15006
15007         * combox.h: small cleanup
15008
15009         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15010         to inlines after class def.
15011
15012         * buffer.C (pop_tag): use string operations instead of strcmp
15013
15014         * bmtable.c: doxygen, small cleanup
15015
15016         * LaTeX.h: remove friend operator==
15017
15018 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15019
15020         * screen.C:
15021         * lyxrc.[Ch]:
15022         * lyxfunc.C:
15023         * lyxfont.[Ch]:
15024         * lyx_cb.C:
15025         * intl.[Ch]:
15026         * commandtags.h:
15027         * buffer.C:
15028         * WorkArea.[Ch]:
15029         * LyXAction.C:
15030         * BufferView_pimpl.C:
15031         * BufferView.[Ch]: remove cruft
15032
15033 2001-02-14  Juergen Vigna  <jug@sad.it>
15034
15035         * lyxfunc.C: removed #if 0 unused code
15036
15037         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15038
15039         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15040
15041         * text2.C (SetSelection): added a BufferView * parameter
15042
15043 2001-02-13  Juergen Vigna  <jug@sad.it>
15044
15045         * lyxfunc.C (Dispatch): fixed protected blank problem.
15046         * BufferView2.C (protectedBlank): added LyxText * parameter.
15047
15048         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15049         (AppendColumn): same as above for column_info.
15050
15051         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15052         (moveCursorUpdate): use a LyXText param for support of InsetText.
15053
15054         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15055         (tripleClick): ditto
15056
15057         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15058
15059         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15060
15061         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15062
15063         * text2.C (SetSelection): set correct update status if inset_owner
15064         (ToggleFree): ditto
15065
15066 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15067
15068         * tabular.C: remove some commented code.
15069
15070 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * BufferView_pimpl.C: call hideSplash()
15073
15074         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15075
15076         * include_form.h:
15077         * bibforms.h: remove
15078
15079         * lyxfunc.C:
15080         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15081           add LFUN_CHILD_CREATE
15082
15083         * counters.h: fix tiny typo
15084
15085         * lyx_cb.C:
15086         * lyx.h:
15087         * lyx_gui.C:
15088         * lyx.C: move splash to frontends/xforms/
15089
15090         * lyx_gui_misc.C: move Include and Bibform to frontends
15091
15092         * lyxvc.h: clarify comment
15093
15094         * vspace.C: tiny housekeeping
15095
15096 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15097
15098         * text.C (PrepareToPrint): RTL Fix.
15099
15100         * paragraph.C (GetUChar): New method.
15101         (String):  Use GetUChar.
15102
15103         * buffer.C (asciiParagraph): Use GetUChar.
15104
15105 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15106
15107         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15108
15109 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15110
15111         * buffer.h:
15112         * buffer.C: rename to getLogName(), handle
15113           build log / latex log nicely
15114
15115 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * MenuBackend.C:
15118         * MenuBackend.h: remove support for reference menuitem type.
15119
15120 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * BufferView_pimpl.C: housekeeping
15123         * BufferView_pimpl.h:
15124         * LyXView.h:
15125         * Makefile.am:
15126         * Timeout.C:
15127         * Timeout.h:
15128         * minibuffer.h: move Timeout GUI-I
15129
15130 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * lyxrc.C (read): Update converters data-structures.
15133
15134 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15135
15136         * LaTeX.h (operator!=): add operator != for Aux_Info
15137
15138 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15139
15140         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15141
15142         * LaTeXLog.C: deleted, useful code moved to Buffer
15143
15144         * buffer.h:
15145         * buffer.C: new function getLatexLogName()
15146
15147         * lyx_gui_misc.C:
15148         * lyx_gui.C:
15149         * lyxvc.C:
15150         * lyxvc.h:
15151         * lyxfunc.C: use frontends for LaTeX and VC logs
15152
15153 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * LaTeX.h: yet another std:: that Allan forgot.
15156
15157         * Variables.C (set): renamed from isset(), because this clashes
15158         with some HP-UX macros (grr).
15159
15160 2001-02-06  Allan Rae  <rae@lyx.org>
15161
15162         * LaTeX.h: Another bug fix.  Missing std:: this time.
15163
15164 2001-02-04  Allan Rae  <rae@lyx.org>
15165
15166         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15167         floats problem. I've left it commented out because it's not quite
15168         correct.  It should also test that the current object is a table or
15169         figure inset.  But I haven't gotten around to figuring out how to do
15170         that.  I *think* it'll be something like: "table" == inset.type()
15171
15172         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15173         bool.
15174
15175 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15178         all the citation/databases/styles in the auxilary file.
15179         (run): Rerun latex if there was a babel language error.
15180
15181 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * text.C (Backspace): Preserve the font when changing newline char
15184         with a space.
15185         (BreakParagraph): If the cursor is before a space, delete the space.
15186
15187         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15188
15189 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15190
15191         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15192         new argument (code).
15193         (ChangeCitationsIfUnique): New method.
15194
15195         * paragraph.C (GetPositionOfInset): Handle bibkey.
15196
15197 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * BufferView_pimpl.h: change type of Position::par_pos to
15200         LyXParagraph::size_type.
15201
15202 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15203
15204         * BufferView_pimpl.C (savePosition, restorePosition): Write
15205         messages to minibuffer.
15206
15207 2001-01-28  José Matos  <jamatos@fep.up.pt>
15208
15209         * buffer.C (makeDocBookFile): adds support for document language.
15210         A silly restriction on the name of LatexCommand types where removed.
15211         Added support for CDATA sections, allows to chars unescaped, used
15212         among others in code, to avoid escape < and >.
15213
15214 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15217         saved positions instrad of a stack. Furthermore, a position is
15218         stored using paragraph id/paragraph position.
15219
15220         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15221         Remove LFUN_REF_BACK.
15222
15223 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15224
15225         * converter.C (dvipdfm_options): New method.
15226
15227 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * vspace.C (isValidLength): Fix for empty input string.
15230
15231 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * LyXAction.C (init): change description of LFUN_FIGURE to
15234         "Insert Graphics"
15235
15236 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * LaTeX.C: add using directive
15239
15240 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15241
15242         * MenuBackend.C (expand): Fix the sorting of the formats.
15243
15244 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15245
15246         * lyx_main.C: tiny error message fix
15247
15248 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15251         calling fl_initialize(). This fixes the problem with ',' as
15252         decimal separator in text files.
15253
15254 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15255
15256         * trans.C (process): Fix the keymap bug.
15257
15258 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15259
15260         * LaTeX.C (scanAuxFiles): New method. Provides support for
15261         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15262         (scanLogFile) Scan for "run BibTeX" messages.
15263
15264         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15265         OT1 font encoding. Also, load the aecompl package if the ae
15266         package is loaded.
15267
15268         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15269
15270 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * texrow.C (increasePos): turn two error messages into debug
15273         messages.
15274
15275 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * LaTeX.C (scanAux): Handle the \@input macro.
15278         (runBibTeX): Use scanAux().
15279
15280         * language.C (latex_options_): New field.
15281
15282         * LaTeXFeatures.C (getMacros): Add language macros.
15283
15284         * buffer.C (makeLaTeXFile): Small fix.
15285
15286 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15289
15290         * text2.C: add a using directive.
15291
15292 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * BufferView2.C:
15295         * lyx_gui_misc.h:
15296         * lyxfr1.C:
15297         * lyxfunc.C: kill LyXBell.
15298
15299 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * text.C (IsBoundary): Remove the error message
15302
15303         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15304
15305         * lyxrc.C (setDefaults): Correct initialization value for
15306         font_norm_type.
15307
15308 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15311         gotoError().
15312
15313         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15314         and GotoNextNote().
15315
15316         * src/LyXAction.C: Added reference-next.
15317
15318         * text.C (InsertChar): Use contains instead of strchr.
15319
15320         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15321
15322 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15325         alignment commands (when needed).
15326
15327         * text.C (InsertChar): Add ':' to number separator chars.